-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathbig-boy-gui.lua
More file actions
204 lines (190 loc) · 5.86 KB
/
big-boy-gui.lua
File metadata and controls
204 lines (190 loc) · 5.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
local library = loadstring(game:GetObjects("rbxassetid://7657867786")[1].Source)()
local settings = {"Rough", "Coarse", "1:1", "Fine", "Very Fine"}
local settingselected = "1:1"
local toolselected = ""
local hitboxexpander = false
local chams = false
local autolocket = false
local leverremote = game:GetService("ReplicatedStorage").Remotes:FindFirstChild("914Lever")
function lever(setting, item)
local args = {
[1] = setting,
[2] = item
}
leverremote:FireServer(unpack(args))
end
local thegui = library:CreateWindow({
Name = "Remote Clockwork Machine",
Themeable = {
Info = "made by Nexity#3200"
}
})
local cctab = thegui:CreateTab({
Name = "CC"
})
local settingmenu = cctab:CreateSection({
Name = "Settings"
})
local itemsmenu = cctab:CreateSection({
Name = "Tools"
})
itemsmenu:AddLabel({
Name = "Type in tool name"
})
itemsmenu:AddTextbox({
Name = "hover over tool to find name",
Value = "Pistol",
Callback = function(tool)
toolselected = tool
end
})
for _, setting in pairs(settings) do
settingmenu:AddButton({
Name = setting,
Callback = function()
settingselected = setting
end
})
end
itemsmenu:AddButton({
Name = "Activate Machine",
Callback = function()
lever(settingselected, toolselected)
end
})
local general = cctab:CreateSection({
Name = "Others"
})
general:AddToggle({
Name = "Auto Lovecraftian Locket",
Callback = function()
if autolocket then
autolocket = false
else
autolocket = true
end
end
})
general:AddToggle({
Name = "Hitbox Expander",
Callback = function()
if hitboxexpander then
hitboxexpander = false
else
hitboxexpander = true
end
end
})
general:AddToggle({
Name = "Chams",
Callback = function()
if chams then
chams = false
else
chams = true
end
end
})
spawn(function()
while true do
if autolocket then
wait(0.2)
if game.Players.LocalPlayer.Character.Humanoid.Health > 350 then
local args = {
[1] = "Lovecraftian Locket"
}
game:GetService("ReplicatedStorage").Remotes.DropItem:InvokeServer(unpack(args))
wait(0.2)
game:GetService("ReplicatedStorage").Remotes.UseLocket:FireServer()
end
else
wait(1)
end
end
end)
spawn(function()
while wait(0.1) do
local plrs = game:GetService("Players")
local lplr = plrs.LocalPlayer
function dov(v)
pcall(function()
v.Character.HumanoidRootPart.Size = Vector3.new(7, 7, 7)
v.Character.HumanoidRootPart.Transparency = 1
v.Character.HumanoidRootPart.BrickColor = BrickColor.new("Really blue")
v.Character.HumanoidRootPart.Material = "Neon"
v.Character.HumanoidRootPart.CanCollide = false
end)
end
function doy(v)
pcall(function()
v.Character.HumanoidRootPart.Size = Vector3.new(1, 1, 1)
v.Character.HumanoidRootPart.Transparency = 1
v.Character.HumanoidRootPart.BrickColor = BrickColor.new("Really blue")
v.Character.HumanoidRootPart.Material = "Neon"
v.Character.HumanoidRootPart.CanCollide = false
end)
end
if hitboxexpander then
if tostring(lplr.Team) == "Prisoner" or tostring(lplr.Team) == "Chaos Insurgency" then
for _, v in pairs(plrs:GetPlayers()) do
if tostring(v.Name) ~= tostring(lplr.Name) and tostring(v.Team) ~= "Prisoner" and tostring(v.Team) ~= "Chaos Insurgency" then
dov(v)
else
doy(v)
end
end
else
for _, v in pairs(plrs:GetPlayers()) do
if tostring(v.Name) ~= tostring(lplr.Name) and tostring(v.Team) ~= "Foundation" then
dov(v)
else
doy(v)
end
end
end
else
for _, v in pairs(plrs:GetPlayers()) do
doy(v)
end
end
end
end)
spawn(function()
function isnil(thing)
return (thing == nil)
end
local function round(n)
return math.floor(tonumber(n) + 0.5)
end
function UpdatePlayerChams()
for i,v in pairs(game:GetService'Players':GetChildren()) do
pcall(function()
if not isnil(v.Character) then
for _,k in pairs(v.Character:GetChildren()) do
if k:IsA'BasePart' and k.Name ~= "HumanoidRootPart" then
if chams then
if k:FindFirstChild("Cham") then
k.Cham.Transparency=.98
else
local cham = Instance.new('BoxHandleAdornment',k)
cham.ZIndex= 10
cham.Adornee=k
cham.AlwaysOnTop=true
cham.Size=k.Size
cham.Transparency=.98
cham.Color3=v.TeamColor.Color
cham.Name = "Cham"
end
elseif k:FindFirstChild("Cham") then
k.Cham.Transparency=1
end
end
end
end
end)
end
end
while wait() do
UpdatePlayerChams()
end
end)