SHOW:
|
|
- or go back to the newest paste.
1 | -- / Rocky2u's Command Script | |
2 | -- / ROBLOX | SethMilkman | |
3 | -- / V3RMILLION | Rocky2u | |
4 | ||
5 | wait() | |
6 | ||
7 | - | local ADMINS = {alessandroGAMER123} |
7 | + | local ADMINS = {ericthefabulous} |
8 | ||
9 | local BANS = {21799524, 133122258, 103000855, 17278822, 149137060, 61967286, 21640881} | |
10 | ||
11 | -- / stuff | |
12 | ||
13 | local VERSION = '1.7.3' | |
14 | local PATCH = '04' | |
15 | local UPDATED = '10/5/2016' | |
16 | local CHANGES = [[ | |
17 | / made ;kick much faster and work faster for others and all | |
18 | / edited ;loadmap a bit | |
19 | ]] | |
20 | ||
21 | function _G.ADD_ADMIN(ID) table.insert(ADMINS, ID) end | |
22 | function _G.ADD_BAN(ID) table.insert(BANS, ID) end | |
23 | ||
24 | local CHANGELOG = ' UPDATED : ' .. UPDATED .. '\n VERSION : ' .. VERSION .. ' ' .. PATCH .. '\n\n [ ' .. VERSION .. ' ] \n' .. CHANGES | |
25 | ||
26 | local gCoreGui = game:GetService('CoreGui') | |
27 | local gInsertService = game:GetService('InsertService') | |
28 | local gLighting = game:GetService('Lighting') | |
29 | local gNetworkClient = game:GetService('NetworkClient') | |
30 | local gPlayers = game:GetService('Players') | |
31 | local gWorkspace = game:GetService('Workspace') | |
32 | ||
33 | local LP = gPlayers.LocalPlayer | |
34 | local MOUSE = LP:GetMouse() | |
35 | ||
36 | local SERVICES = {} | |
37 | local COMMANDS = {} | |
38 | local STD = {} | |
39 | ||
40 | SERVICES.EVENTS = {} | |
41 | ||
42 | local C_PREFIX = ';' | |
43 | local S_PREFIX = '\\' | |
44 | local SPLIT = ' ' | |
45 | ||
46 | for i,v in pairs(gCoreGui:GetChildren()) do if v.Name == 'cmdbar_seth' or v.Name == 'notify_seth' then v:destroy() end end | |
47 | ||
48 | function UPDATE_CHAT(PLAYER) local C = PLAYER.Chatted:connect(function(M) if CHECK_ADMIN(PLAYER) then DEXECUTE(M, PLAYER) end end) table.insert(SERVICES.EVENTS, C) end | |
49 | ||
50 | STD.TABLE = function(T, V) if not T then return false end for i,v in pairs(T) do if v == V then return true end end return false end | |
51 | STD.ENDAT = function(S, V) local SF = S:find(V) if SF then return S:sub(0, SF - string.len(V)), true else return S, false end end | |
52 | ||
53 | function CHECK_ADMIN(PLAYER) if FIND_IN_TABLE(ADMINS, PLAYER.userId) then return true elseif PLAYER.userId == LP.userId then return true end end | |
54 | ||
55 | function EXECUTE(STRING) spawn(function() local S, L = loadstring(STRING) if not S then error(L) else S() end end) end | |
56 | ||
57 | function FCOMMAND(COMMAND) for i,v in pairs(COMMANDS) do if v.N:lower() == COMMAND:lower() or STD.TABLE(v.A, COMMAND:lower()) then return v end end end | |
58 | ||
59 | function GCOMMAND(M) local CMD, HS = STD.ENDAT(M:lower(), SPLIT) if HS then return {CMD, true} else return {CMD, false} end end | |
60 | ||
61 | function GPREFIX(STRING) if STRING:sub(1, string.len(C_PREFIX)) == C_PREFIX then return {'COMMAND', string.len(C_PREFIX) + 1} elseif STRING:sub(1, string.len(S_PREFIX)) == S_PREFIX then return {'EXECUTE', string.len(S_PREFIX) + 1} end return end | |
62 | ||
63 | function GARGS(STRING) local A = {} local NA = nil local HS = nil local S = STRING repeat NA, HS = STD.ENDAT(S:lower(), SPLIT) if NA ~= '' then table.insert(A, NA) S = S:sub(string.len(NA) + string.len(SPLIT) + 1) end until not HS return A end | |
64 | ||
65 | function GCAPARGS(STRING) local A = {} local NA = nil local HS = nil local S = STRING repeat NA, HS = STD.ENDAT(S, SPLIT) if NA ~= '' then table.insert(A, NA) S = S:sub(string.len(NA) + string.len(SPLIT) + 1) end until not HS return A end | |
66 | ||
67 | function ECOMMAND(STRING, SPEAKER) repeat if STRING:find(' ') then STRING = STRING:gsub(' ', ' ') end until not STRING:find(' ') local SCMD, A, CMD SCMD = GCOMMAND(STRING) CMD = FCOMMAND(SCMD[1]) if not CMD then return end A = STRING:sub(string.len(SCMD[1]) + string.len(SPLIT) + 1) local ARGS = GARGS(A) CA = GCAPARGS(A) pcall(function() CMD.F(ARGS, SPEAKER) end) end | |
68 | ||
69 | function DEXECUTE(STRING, SPEAKER) if not CHECK_ADMIN(SPEAKER) then return end STRING = STRING:gsub('/e ', '') local GP = GPREFIX(STRING) if not GP then return end STRING = STRING:sub(GP[2]) if GP[1] == 'EXECUTE' then EXECUTE(STRING) elseif GP[1] == 'COMMAND' then ECOMMAND(STRING, SPEAKER) end end | |
70 | ||
71 | _G.cmd_seth = ECOMMAND | |
72 | ||
73 | SERVER_LOCKED = false | |
74 | ||
75 | gPlayers.PlayerAdded:connect(function(PLAYER) | |
76 | if SERVER_LOCKED then PLAYER.CharacterAdded:connect(function() wait() KICK(PLAYER) return end) end | |
77 | if FIND_IN_TABLE(BANS, PLAYER.userId) then PLAYER.CharacterAdded:connect(function() wait() KICK(PLAYER) return end) end | |
78 | UPDATE_CHAT(PLAYER) | |
79 | if CHECK_ADMIN(PLAYER) then PLAYER.CharacterAdded:connect(function() wait() game.Chat:Chat(PLAYER.Character.Head, printStuff .. 'Welcome, you\'re an admin!') end) end | |
80 | end) | |
81 | ||
82 | function ADD_COMMAND(N, D, A, F) table.insert(COMMANDS, {N = N, D = D, A = A, F = F}) end | |
83 | ||
84 | function GET_PLAYER(NAME, SPEAKER) | |
85 | local NAME_TABLE = {} | |
86 | NAME = NAME:lower() | |
87 | if NAME == 'me' then | |
88 | table.insert(NAME_TABLE, SPEAKER.Name) | |
89 | elseif NAME == 'others' then | |
90 | for i,v in pairs(gPlayers:GetPlayers()) do if v:IsA('Player') then if v.Name ~= SPEAKER.Name then table.insert(NAME_TABLE, v.Name) end end end | |
91 | elseif NAME == 'all' then | |
92 | for i,v in pairs(gPlayers:GetPlayers()) do if v:IsA('Player') then table.insert(NAME_TABLE, v.Name) end end | |
93 | elseif NAME == 'random' then | |
94 | table.insert(NAME_TABLE, gPlayers:GetPlayers()[math.random(1, #gPlayers:GetPlayers())].Name) | |
95 | elseif NAME == 'team' then | |
96 | for i,v in pairs(gPlayers:GetPlayers()) do if v.TeamColor == SPEAKER.TeamColor then table.insert(NAME_TABLE, v.Name) end end | |
97 | elseif NAME == 'nonadmins' then | |
98 | for i,v in pairs(gPlayers:GetPlayers()) do if not CHECK_ADMIN(v) then table.insert(NAME_TABLE, v.Name) end end | |
99 | elseif NAME == 'admins' then | |
100 | for i,v in pairs(gPlayers:GetPlayers()) do if CHECK_ADMIN(v) then table.insert(NAME_TABLE, v.Name) end end | |
101 | elseif NAME == 'nonfriends' then | |
102 | for i,v in pairs(gPlayers:GetPlayers()) do if not v:IsFriendsWith(SPEAKER.userId) then table.insert(NAME_TABLE, v.Name) end end | |
103 | elseif NAME == 'friends' then | |
104 | for i,v in pairs(gPlayers:GetPlayers()) do if v ~= SPEAKER and v:IsFriendsWith(SPEAKER.userId) then table.insert(NAME_TABLE, v.Name) end end | |
105 | elseif NAME == 'nonguests' then | |
106 | for i,v in pairs(gPlayers:GetPlayers()) do if not v.Guest then table.insert(NAME_TABLE, v.Name) end end | |
107 | elseif NAME == 'guests' then | |
108 | for i,v in pairs(gPlayers:GetPlayers()) do if v.Guest then table.insert(NAME_TABLE, v.Name) end end | |
109 | elseif NAME == 'nbcs' then | |
110 | for i,v in pairs(gPlayers:GetPlayers()) do if v.MembershipType == Enum.MembershipType.None then table.insert(NAME_TABLE, v.Name) end end | |
111 | elseif NAME == 'bcs' then | |
112 | for i,v in pairs(gPlayers:GetPlayers()) do if v.MembershipType == Enum.MembershipType.BuildersClub then table.insert(NAME_TABLE, v.Name) end end | |
113 | elseif NAME == 'tbcs' then | |
114 | for i,v in pairs(gPlayers:GetPlayers()) do if v.MembershipType == Enum.MembershipType.TurboBuildersClub then table.insert(NAME_TABLE, v.Name) end end | |
115 | elseif NAME == 'obcs' then | |
116 | for i,v in pairs(gPlayers:GetPlayers()) do if v.MembershipType == Enum.MembershipType.OutrageousBuildersClub then table.insert(NAME_TABLE, v.Name) end end | |
117 | else | |
118 | for i,v in pairs(gPlayers:GetPlayers()) do local L_NAME = v.Name:lower() local F = L_NAME:find(NAME) if F == 1 then table.insert(NAME_TABLE, v.Name) end end | |
119 | end | |
120 | return NAME_TABLE | |
121 | end | |
122 | ||
123 | function GLS(LOWER, START) local AA = '' for i,v in pairs(CA) do if i > START then if AA ~= '' then AA = AA .. ' ' .. v else AA = AA .. v end end end if not LOWER then return AA else return string.lower(AA) end end | |
124 | ||
125 | -- / tables | |
126 | ||
127 | local JAILED = {} | |
128 | ||
129 | -- / stuff | |
130 | ||
131 | printStuff = '[ Rocky2u\'s CMDs ] : ' | |
132 | ||
133 | local DATA = game:GetObjects('rbxassetid://291592144')[1] | |
134 | _G.seth_data = DATA | |
135 | ||
136 | local CMDbar = DATA.guis.cmdbar_seth.CMDbar CMDbar.Parent.Parent = gCoreGui | |
137 | local being_looped = DATA.being_looped | |
138 | ||
139 | wait() | |
140 | ||
141 | local NOCLIP, JESUSFLY, SWIM = false, false, false | |
142 | ||
143 | game:GetService('RunService').Stepped:connect(function() | |
144 | if NOCLIP then | |
145 | if LP.Character:FindFirstChild('Humanoid') then LP.Character.Humanoid:ChangeState(11) end | |
146 | elseif JESUSFLY then | |
147 | if LP.Character:FindFirstChild('Humanoid') then LP.Character.Humanoid:ChangeState(12) end | |
148 | elseif SWIM then | |
149 | if LP.Character:FindFirstChild('Humanoid') then LP.Character.Humanoid:ChangeState(4) end | |
150 | end | |
151 | end) | |
152 | ||
153 | function FIND_IN_TABLE(TABLE, NAME) | |
154 | for i = 1, #TABLE do | |
155 | if TABLE[i] == NAME then | |
156 | return true | |
157 | end | |
158 | end | |
159 | return false | |
160 | end | |
161 | ||
162 | function GET_IN_TABLE(TABLE, NAME) | |
163 | for i = 1, #TABLE do | |
164 | if TABLE[i] == NAME then | |
165 | return i | |
166 | end | |
167 | end | |
168 | return false | |
169 | end | |
170 | ||
171 | local NOTIFY_1 = false | |
172 | local NOTIFY_2 = false | |
173 | ||
174 | function NOTIFY(M, R, G, B) | |
175 | spawn(function() | |
176 | repeat wait() until not NOTIFY_1 | |
177 | local NOTIFY_SETH = DATA.guis.notify_seth:Clone() NOTIFY_SETH.Parent = gCoreGui | |
178 | if NOTIFY_SETH then | |
179 | NOTIFY_SETH.NOTIFY.NOTE.BAR.BackgroundColor3 = Color3.new(R, G, B) | |
180 | NOTIFY_SETH.NOTIFY.NOTE.Text = ' ' .. M | |
181 | repeat wait() until not NOTIFY_1 | |
182 | NOTIFY_1 = true | |
183 | wait(0.5) | |
184 | NOTIFY_SETH.NOTIFY:TweenPosition(UDim2.new(0, 0, 0.7, 0), 'InOut', 'Quad', 0.4, false) wait(0.5) | |
185 | wait(0.5) | |
186 | repeat wait() until not NOTIFY_2 | |
187 | NOTIFY_1 = false | |
188 | NOTIFY_SETH.NOTIFY:TweenPosition(UDim2.new(0, 0, 0.7, -40), 'InOut', 'Quad', 0.4, false) wait(0.5) | |
189 | wait(0.5) | |
190 | NOTIFY_2 = true | |
191 | wait(2.5) | |
192 | NOTIFY_SETH.NOTIFY:TweenPosition(UDim2.new(0, -225, 0.7, -40), 'InOut', 'Quad', 0.4, false) wait(0.5) | |
193 | end | |
194 | wait(1) | |
195 | NOTIFY_SETH:destroy() | |
196 | NOTIFY_2 = false | |
197 | end) | |
198 | end | |
199 | ||
200 | function LOAD_SETH() | |
201 | spawn(function() | |
202 | local load_seth = DATA.guis.loader_seth:Clone() load_seth.Parent = gCoreGui | |
203 | load_seth.MAIN:TweenSizeAndPosition(UDim2.new(0, 300, 0, 200), UDim2.new(0.5, -150, 0.5, -100), 'Out', 'Quad', 0.5, false) wait(0.5) | |
204 | load_seth.MAIN.TEXT.Text = 'Rocky2u\'s\nCommand Script' | |
205 | repeat wait() load_seth.MAIN.TEXT.TextTransparency = load_seth.MAIN.TEXT.TextTransparency - 0.1 until load_seth.MAIN.TEXT.TextTransparency < 0 wait(1) | |
206 | if not gWorkspace.FilteringEnabled then load_seth.MAIN.FE.Text = ' Filtering is disabled' elseif gWorkspace.FilteringEnabled then load_seth.MAIN.FE.Text = ' Filtering is ENABLED' end load_seth.MAIN.FE.TextTransparency = 0 wait(1) | |
207 | load_seth.MAIN.COMMANDS.Text = ' ' .. #COMMANDS .. ' commands!' load_seth.MAIN.COMMANDS.TextTransparency = 0 wait(1) | |
208 | load_seth.MAIN.WELCOME.Text = ' Welcome, ' .. LP.Name load_seth.MAIN.WELCOME.TextTransparency = 0 wait(1) | |
209 | load_seth.MAIN.C.Text = ' Made by SethMilkman' load_seth.MAIN.C.TextTransparency = 0 wait(5) | |
210 | for i,v in pairs(load_seth.MAIN:GetChildren()) do if v:IsA('TextLabel')and v.Name ~= 'TEXT' then v.TextTransparency = 1 end end wait() | |
211 | repeat wait() load_seth.MAIN.TEXT.TextTransparency = load_seth.MAIN.TEXT.TextTransparency + 0.1 until load_seth.MAIN.TEXT.TextTransparency == 1 | |
212 | load_seth.MAIN:TweenSizeAndPosition(UDim2.new(0, 0, 0, 0), UDim2.new(0.5, 0, 0.5, 0), 'Out', 'Quad', 0.5) | |
213 | wait(1) | |
214 | load_seth.MAIN:destroy() | |
215 | end) | |
216 | end | |
217 | ||
218 | local S_INFO = false | |
219 | ||
220 | function SERVER_INFO() | |
221 | if not S_INFO then | |
222 | spawn(function() | |
223 | S_INFO = true | |
224 | local server_seth = DATA.guis.server_seth:Clone() server_seth.Parent = gCoreGui | |
225 | if not gWorkspace.FilteringEnabled then server_seth.MAIN.FE.Text = ' FilteringEnabled | false' elseif gWorkspace.FilteringEnabled then server_seth.MAIN.FE.Text = ' FilteringEnabled | true' end | |
226 | server_seth.MAIN.IP.Text = ' IP Address | ' .. gNetworkClient.ClientReplicator.MachineAddress .. ':' .. gNetworkClient.ClientReplicator.Port | |
227 | server_seth.MAIN.PLACE_ID.Text = ' PlaceId | ' .. game.PlaceId | |
228 | server_seth.MAIN.EXIT.MouseButton1Down:connect(function() S_INFO = false server_seth:destroy() end) | |
229 | while S_INFO do | |
230 | server_seth.MAIN.PLAYERS.Text = ' Players | ' .. gPlayers.NumPlayers .. ' / ' .. gPlayers.MaxPlayers | |
231 | server_seth.MAIN.TIME.Text = ' Time | ' .. gLighting.TimeOfDay | |
232 | wait() | |
233 | end | |
234 | end) | |
235 | end | |
236 | end | |
237 | ||
238 | function KICK(PLAYER) | |
239 | spawn(function() | |
240 | local function SKICK() | |
241 | if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') and PLAYER.Character:FindFirstChild('Torso') then | |
242 | PLAYER.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000) | |
243 | local SP = Instance.new('SkateboardPlatform', PLAYER.Character) SP.Position = PLAYER.Character.HumanoidRootPart.Position SP.Transparency = 1 | |
244 | spawn(function() | |
245 | repeat wait() | |
246 | if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then | |
247 | SP.Position = PLAYER.Character.HumanoidRootPart.Position | |
248 | end | |
249 | until not gPlayers:FindFirstChild(PLAYER.Name) | |
250 | end) | |
251 | PLAYER.Character.Torso.Anchored = true | |
252 | end | |
253 | end | |
254 | spawn(function() | |
255 | repeat wait() if PLAYER ~= nil then SKICK() end until not gPlayers:FindFirstChild(PLAYER.Name) | |
256 | if not gPlayers:FindFirstChild(PLAYER.Name) then | |
257 | NOTIFY('REMOVED ' .. PLAYER.Name, 255, 255, 255) | |
258 | end | |
259 | end) | |
260 | end) | |
261 | end | |
262 | ||
263 | function FIX_LIGHTING() | |
264 | gLighting.Ambient = Color3.new(0.5, 0.5, 0.5) | |
265 | gLighting.Brightness = 1 | |
266 | gLighting.GlobalShadows = true | |
267 | gLighting.Outlines = false | |
268 | gLighting.TimeOfDay = 14 | |
269 | gLighting.FogEnd = 100000 | |
270 | end | |
271 | ||
272 | function MESSAGE_HINT(TYPE, HEADER, MESSAGE, PLAYER) | |
273 | local BV = Instance.new('BoolValue', DATA.messages_hints) BV.Name = PLAYER.Name .. '_MSG_HINT' | |
274 | local SPRAY = gInsertService:LoadAsset(80576967) | |
275 | local S = SPRAY.Spray:Clone() S.Name = '' S.Handle.Transparency = 1 S.SprayGui:destroy() S.SprayPaint:destroy() S.TextureId = '' | |
276 | if TYPE == 'MESSAGE' then | |
277 | local GUI = DATA.guis.message_seth:Clone() GUI.HINT:destroy() GUI.Name = 'SprayGui' GUI.MESSAGE.header.Text = HEADER GUI.MESSAGE.message.Text = MESSAGE GUI.MESSAGE.Visible = true GUI.Parent = S | |
278 | elseif TYPE == 'HINT' then | |
279 | local GUI = DATA.guis.message_seth:Clone() GUI.MESSAGE:destroy() GUI.Name = 'SprayGui' GUI.HINT.Text = MESSAGE GUI.HINT.Visible = true GUI.Parent = S | |
280 | end | |
281 | for i = 1, 100 do | |
282 | wait() | |
283 | PLAYER.Character.Humanoid:EquipTool(S) | |
284 | end | |
285 | PLAYER.Character.Humanoid:UnequipTools() | |
286 | S:destroy() wait() BV:destroy() | |
287 | end | |
288 | ||
289 | function COLOR(PLAYER, BCOLOR) | |
290 | for i,v in pairs(PLAYER.Character:GetChildren()) do if v:IsA('Shirt') or v:IsA('Pants') then v:destroy() elseif v:IsA('ShirtGraphic') then v.Archivable = false v.Graphic = '' end end | |
291 | for i,v in pairs(PLAYER.Character.Head:GetChildren()) do if v:IsA('Decal') then v:destroy() end end | |
292 | for i,v in pairs(PLAYER.Character:GetChildren()) do | |
293 | if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then | |
294 | v.BrickColor = BrickColor.new(BCOLOR) | |
295 | elseif v:IsA('Hat') then | |
296 | v.Handle.BrickColor = BrickColor.new(BCOLOR) | |
297 | for a,b in pairs(v.Handle:GetChildren()) do | |
298 | if b:IsA('SpecialMesh') then | |
299 | b.TextureId = '' | |
300 | end | |
301 | end | |
302 | end | |
303 | end | |
304 | end | |
305 | ||
306 | function LAG(PLAYER) | |
307 | local POS = CFrame.new(math.random(-100000, 100000), math.random(-100000, 100000), math.random(-100000, 100000)) | |
308 | spawn(function() | |
309 | repeat wait() | |
310 | if PLAYER and PLAYER.Character then | |
311 | PLAYER.CameraMode = 'LockFirstPerson' | |
312 | PLAYER.Character.HumanoidRootPart.CFrame = POS | |
313 | PLAYER.Character.Torso.Anchored = true | |
314 | Instance.new('ForceField', PLAYER.Character) | |
315 | Instance.new('Smoke', PLAYER.Character.Head) | |
316 | end | |
317 | until not gPlayers:FindFirstChild(PLAYER.Name) | |
318 | end) | |
319 | end | |
320 | ||
321 | local FLYING = false | |
322 | ||
323 | if LP.Character and LP.Character:FindFirstChild('Humanoid') then | |
324 | LP.Character.Humanoid.Died:connect(function() FLYING = false end) | |
325 | end | |
326 | ||
327 | function sFLY() | |
328 | repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('Torso') and LP.Character:FindFirstChild('Humanoid') | |
329 | repeat wait() until MOUSE | |
330 | ||
331 | local T = LP.Character.Torso | |
332 | local CONTROL = {F = 0, B = 0, L = 0, R = 0} | |
333 | local lCONTROL = {F = 0, B = 0, L = 0, R = 0} | |
334 | local SPEED = 0 | |
335 | ||
336 | local function FLY() | |
337 | FLYING = true | |
338 | local BG = Instance.new('BodyGyro', T) | |
339 | local BV = Instance.new('BodyVelocity', T) | |
340 | BG.P = 9e4 | |
341 | BG.maxTorque = Vector3.new(9e9, 9e9, 9e9) | |
342 | BG.cframe = T.CFrame | |
343 | BV.velocity = Vector3.new(0, 0.1, 0) | |
344 | BV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
345 | spawn(function() | |
346 | repeat wait() | |
347 | LP.Character.Humanoid.PlatformStand = true | |
348 | if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then | |
349 | SPEED = 50 | |
350 | elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then | |
351 | SPEED = 0 | |
352 | end | |
353 | if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then | |
354 | BV.velocity = ((gWorkspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((gWorkspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B) * 0.2, 0).p) - gWorkspace.CurrentCamera.CoordinateFrame.p)) * SPEED | |
355 | lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R} | |
356 | elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then | |
357 | BV.velocity = ((gWorkspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((gWorkspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B) * 0.2, 0).p) - gWorkspace.CurrentCamera.CoordinateFrame.p)) * SPEED | |
358 | else | |
359 | BV.velocity = Vector3.new(0, 0.1, 0) | |
360 | end | |
361 | BG.cframe = gWorkspace.CurrentCamera.CoordinateFrame | |
362 | until not FLYING | |
363 | CONTROL = {F = 0, B = 0, L = 0, R = 0} | |
364 | lCONTROL = {F = 0, B = 0, L = 0, R = 0} | |
365 | SPEED = 0 | |
366 | BG:destroy() | |
367 | BV:destroy() | |
368 | LP.Character.Humanoid.PlatformStand = false | |
369 | end) | |
370 | end | |
371 | ||
372 | MOUSE.KeyDown:connect(function(KEY) | |
373 | if KEY:lower() == 'w' then | |
374 | CONTROL.F = 1 | |
375 | elseif KEY:lower() == 's' then | |
376 | CONTROL.B = -1 | |
377 | elseif KEY:lower() == 'a' then | |
378 | CONTROL.L = -1 | |
379 | elseif KEY:lower() == 'd' then | |
380 | CONTROL.R = 1 | |
381 | end | |
382 | end) | |
383 | ||
384 | MOUSE.KeyUp:connect(function(KEY) | |
385 | if KEY:lower() == 'w' then | |
386 | CONTROL.F = 0 | |
387 | elseif KEY:lower() == 's' then | |
388 | CONTROL.B = 0 | |
389 | elseif KEY:lower() == 'a' then | |
390 | CONTROL.L = 0 | |
391 | elseif KEY:lower() == 'd' then | |
392 | CONTROL.R = 0 | |
393 | end | |
394 | end) | |
395 | FLY() | |
396 | end | |
397 | ||
398 | function NOFLY() | |
399 | FLYING = false | |
400 | LP.Character.Humanoid.PlatformStand = false | |
401 | end | |
402 | ||
403 | function RESET_MODEL(MODEL) | |
404 | for i,v in pairs(MODEL:GetChildren()) do | |
405 | if v:IsA('Part') and v.Name == 'LA_INFECT' or v:IsA('Part') and v.Name == 'RA_INFECT' or v:IsA('Seat') and v.Name == 'FakeTorso' then | |
406 | v:destroy() | |
407 | elseif v:IsA('CharacterMesh') or v:IsA('Shirt') or v:IsA('Pants') or v:IsA('Hat') then | |
408 | v:destroy() | |
409 | elseif v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then | |
410 | v.Transparency = 0 | |
411 | elseif v:IsA('ShirtGraphic') then | |
412 | v.Archivable = false | |
413 | v.Graphic = '' | |
414 | end | |
415 | end | |
416 | for i,v in pairs(MODEL.Torso:GetChildren()) do | |
417 | if v:IsA('SpecialMesh') then | |
418 | v:destroy() | |
419 | end | |
420 | end | |
421 | if MODEL.Head:FindFirstChild('Mesh') then | |
422 | MODEL.Head.Mesh:destroy() | |
423 | end | |
424 | if MODEL.Torso:FindFirstChild('Neck') then MODEL.Torso.Neck.C0 = CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(90), math.rad(180), 0) end | |
425 | if MODEL.Torso:FindFirstChild('Left Shoulder') then MODEL.Torso['Left Shoulder'].C0 = CFrame.new(-1, 0.5, 0) * CFrame.Angles(0, math.rad(-90), 0) end | |
426 | if MODEL.Torso:FindFirstChild('Right Shoulder') then MODEL.Torso['Right Shoulder'].C0 = CFrame.new(1, 0.5, 0) * CFrame.Angles(0, math.rad(90), 0) end | |
427 | if MODEL.Torso:FindFirstChild('Left Hip') then MODEL.Torso['Left Hip'].C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(0, math.rad(-90), 0) end | |
428 | if MODEL.Torso:FindFirstChild('Right Hip') then MODEL.Torso['Right Hip'].C0 = CFrame.new(1, -1, 0) * CFrame.Angles(0, math.rad(90), 0) end | |
429 | end | |
430 | ||
431 | function UPDATE_MODEL(MODEL, USERNAME) | |
432 | local AppModel = gPlayers:GetCharacterAppearanceAsync(gPlayers:GetUserIdFromNameAsync(USERNAME)) | |
433 | MODEL.Name = USERNAME | |
434 | for i,v in pairs(AppModel:GetChildren()) do | |
435 | if v:IsA('SpecialMesh') or v:IsA('BlockMesh') or v:IsA('CylinderMesh') then | |
436 | v.Parent = MODEL.Head | |
437 | elseif v:IsA('Decal') then | |
438 | if MODEL.Head:FindFirstChild('face') then | |
439 | MODEL.Head.face.Texture = v.Texture | |
440 | else | |
441 | local FACE = Instance.new('Decal', MODEL.Head) | |
442 | FACE.Texture = v.Texture | |
443 | end | |
444 | elseif v:IsA('BodyColors') or v:IsA('CharacterMesh') or v:IsA('Shirt') or v:IsA('Pants') or v:IsA('ShirtGraphic') then | |
445 | if MODEL:FindFirstChild('Body Colors') then | |
446 | MODEL['Body Colors']:destroy() | |
447 | end | |
448 | v.Parent = MODEL | |
449 | elseif v:IsA('Hat') then | |
450 | v.Parent = MODEL | |
451 | v.Handle.CFrame = MODEL.Head.CFrame * CFrame.new(0, MODEL.Head.Size.Y / 2, 0) * v.AttachmentPoint:inverse() | |
452 | end | |
453 | end | |
454 | if not MODEL.Head:FindFirstChild('Mesh') then | |
455 | local SM = Instance.new('SpecialMesh', MODEL.Head) | |
456 | SM.MeshType = Enum.MeshType.Head | |
457 | SM.Scale = Vector3.new(1.25, 1.25, 1.25) | |
458 | end | |
459 | end | |
460 | ||
461 | function CREEPER(PLAYER) | |
462 | for i,v in pairs(PLAYER.Character:GetChildren()) do | |
463 | if v:IsA('Shirt') or v:IsA('Pants') then | |
464 | v:destroy() | |
465 | elseif v:IsA('ShirtGraphic') then | |
466 | v.Archivable = false | |
467 | v.Graphic = '' | |
468 | end | |
469 | end | |
470 | for i,v in pairs(PLAYER.Character:GetChildren()) do | |
471 | if v:IsA('Hat') then | |
472 | v:destroy() | |
473 | end | |
474 | end | |
475 | PLAYER.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0) | |
476 | PLAYER.Character.Torso['Right Shoulder'].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0) | |
477 | PLAYER.Character.Torso['Left Shoulder'].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0) | |
478 | PLAYER.Character.Torso['Right Hip'].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0) | |
479 | PLAYER.Character.Torso['Left Hip'].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0) | |
480 | for i,v in pairs(PLAYER.Character:GetChildren()) do | |
481 | if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then | |
482 | v.BrickColor = BrickColor.new('Bright green') | |
483 | end | |
484 | end | |
485 | end | |
486 | ||
487 | function SHREK(PLAYER) | |
488 | for i,v in pairs(PLAYER.Character:GetChildren()) do | |
489 | if v:IsA('Shirt') or v:IsA('Pants') or v:IsA('Hat') or v:IsA('CharacterMesh') then | |
490 | v:destroy() | |
491 | elseif v:IsA('ShirtGraphic') then | |
492 | v.Archivable = false | |
493 | v.Graphic = '' | |
494 | end | |
495 | end | |
496 | for i,v in pairs(PLAYER.Character.Head:GetChildren()) do | |
497 | if v:IsA('Decal') or v:IsA('SpecialMesh') then | |
498 | v:destroy() | |
499 | end | |
500 | end | |
501 | if PLAYER.Character:FindFirstChild('Shirt Graphic') then | |
502 | PLAYER.Character['Shirt Graphic'].Archivable = false | |
503 | PLAYER.Character['Shirt Graphic'].Graphic = '' | |
504 | end | |
505 | local M = Instance.new('SpecialMesh', PLAYER.Character.Head) | |
506 | local S = Instance.new('Shirt', PLAYER.Character) | |
507 | local P = Instance.new('Pants', PLAYER.Character) | |
508 | M.MeshType = 'FileMesh' | |
509 | M.MeshId = 'http://www.roblox.com/asset/?id=19999257' | |
510 | M.Offset = Vector3.new(-0.1, 0.1, 0) | |
511 | M.TextureId = 'http://www.roblox.com/asset/?id=156397869' | |
512 | S.ShirtTemplate = 'rbxassetid://133078194' | |
513 | P.PantsTemplate = 'rbxassetid://133078204' | |
514 | end | |
515 | ||
516 | function DUCK(PLAYER) | |
517 | for i,v in pairs(PLAYER.Character:GetChildren()) do | |
518 | if v:IsA('Part') and v.Name ~= 'Torso' and v.Name ~= 'HumanoidRootPart' then | |
519 | v.Transparency = 1 | |
520 | elseif v:IsA('Shirt') or v:IsA('Pants') or v:IsA('Hat') then | |
521 | v:destroy() | |
522 | elseif v:IsA('ShirtGraphic') then | |
523 | v.Archivable = false | |
524 | v.Graphic = '' | |
525 | end | |
526 | end | |
527 | local DUCK = Instance.new('SpecialMesh', PLAYER.Character.Torso) | |
528 | DUCK.MeshType = 'FileMesh' | |
529 | DUCK.MeshId = 'http://www.roblox.com/asset/?id=9419831' | |
530 | DUCK.TextureId = 'http://www.roblox.com/asset/?id=9419827' | |
531 | DUCK.Scale = Vector3.new(5, 5, 5) | |
532 | if PLAYER.Character.Head:FindFirstChild('face') then | |
533 | PLAYER.Character.Head.face.Transparency = 1 | |
534 | end | |
535 | end | |
536 | ||
537 | function DOG(PLAYER) | |
538 | for i,v in pairs(PLAYER.Character:GetChildren()) do | |
539 | if v:IsA('Shirt') or v:IsA('Pants') then | |
540 | v:destroy() | |
541 | elseif v:IsA('ShirtGraphic') then | |
542 | v.Archivable = false | |
543 | v.Graphic = '' | |
544 | end | |
545 | end | |
546 | PLAYER.Character.Torso.Transparency = 1 | |
547 | PLAYER.Character.Torso.Neck.C0 = CFrame.new(0, -0.5, -2) * CFrame.Angles(math.rad(90), math.rad(180), 0) | |
548 | PLAYER.Character.Torso['Right Shoulder'].C0 = CFrame.new(0.5, -1.5, -1.5) * CFrame.Angles(0, math.rad(90), 0) | |
549 | PLAYER.Character.Torso['Left Shoulder'].C0 = CFrame.new(-0.5, -1.5, -1.5) * CFrame.Angles(0, math.rad(-90), 0) | |
550 | PLAYER.Character.Torso['Right Hip'].C0 = CFrame.new(1.5, -1, 1.5) * CFrame.Angles(0, math.rad(90), 0) | |
551 | PLAYER.Character.Torso['Left Hip'].C0 = CFrame.new(-1.5, -1, 1.5) * CFrame.Angles(0, math.rad(-90), 0) | |
552 | local FakeTorso = Instance.new('Seat', PLAYER.Character) | |
553 | local BF = Instance.new('BodyForce', FakeTorso) | |
554 | local W = Instance.new('Weld', PLAYER.Character.Torso) | |
555 | FakeTorso.Name = 'FakeTorso' | |
556 | FakeTorso.FormFactor = 'Symmetric' | |
557 | FakeTorso.TopSurface = 0 | |
558 | FakeTorso.BottomSurface = 0 | |
559 | FakeTorso.Size = Vector3.new(3,1,4) | |
560 | FakeTorso.BrickColor = BrickColor.new('Brown') | |
561 | FakeTorso.CFrame = PLAYER.Character.Torso.CFrame | |
562 | BF.Force = Vector3.new(0, FakeTorso:GetMass() * 196.25, 0) | |
563 | W.Part0 = PLAYER.Character.Torso | |
564 | W.Part1 = FakeTorso | |
565 | W.C0 = CFrame.new(0, -0.5, 0) | |
566 | for i,v in pairs(PLAYER.Character:GetChildren()) do | |
567 | if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then | |
568 | v.BrickColor = BrickColor.new('Brown') | |
569 | end | |
570 | end | |
571 | end | |
572 | ||
573 | function AYYLMAO(PLAYER) | |
574 | for i,v in pairs(PLAYER.Character:GetChildren()) do | |
575 | if v:IsA('Shirt') or v:IsA('Pants') or v:IsA('Hat') then | |
576 | v:destroy() | |
577 | elseif v:IsA('ShirtGraphic') then | |
578 | v.Archivable = false | |
579 | v.Graphic = '' | |
580 | elseif v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then | |
581 | v.BrickColor = BrickColor.new('Fossil') | |
582 | end | |
583 | end | |
584 | game:GetObjects('rbxassetid://13837194')[1].Parent = PLAYER.Character | |
585 | end | |
586 | ||
587 | function DECALSPAM(INSTANCE, ID) | |
588 | for i,v in pairs(INSTANCE:GetChildren()) do | |
589 | if v:IsA('BasePart') then | |
590 | spawn(function() | |
591 | local FACES = {'Back', 'Bottom', 'Front', 'Left', 'Right', 'Top'} | |
592 | local CURRENT_FACE = 1 | |
593 | for i = 1, 6 do | |
594 | local DECAL = Instance.new('Decal', v) | |
595 | DECAL.Name = 'decal_seth' | |
596 | DECAL.Texture = 'rbxassetid://' .. ID - 1 | |
597 | DECAL.Face = FACES[CURRENT_FACE] | |
598 | CURRENT_FACE = CURRENT_FACE + 1 | |
599 | end | |
600 | end) | |
601 | end | |
602 | DECALSPAM(v, ID) | |
603 | end | |
604 | end | |
605 | ||
606 | function UNDECALSPAM(INSTANCE) | |
607 | for i,v in pairs(INSTANCE:GetChildren()) do | |
608 | if v:IsA('BasePart') then | |
609 | for a,b in pairs(v:GetChildren()) do | |
610 | if b:IsA('Decal') and b.Name == 'decal_seth' then | |
611 | b:destroy() | |
612 | end | |
613 | end | |
614 | end | |
615 | UNDECALSPAM(v) | |
616 | end | |
617 | end | |
618 | ||
619 | function CREATE_DONG(PLAYER, DONG_COLOR) | |
620 | if PLAYER.Character:FindFirstChild('DONG') then | |
621 | PLAYER.Character.DONG:destroy() | |
622 | end | |
623 | local D = Instance.new('Model', PLAYER.Character) | |
624 | D.Name = 'DONG' | |
625 | ||
626 | local BG = Instance.new('BodyGyro', PLAYER.Character.Torso) | |
627 | local MAIN = Instance.new('Part', PLAYER.Character['DONG']) | |
628 | local M1 = Instance.new('CylinderMesh', MAIN) | |
629 | local W1 = Instance.new('Weld', PLAYER.Character.Head) | |
630 | local P1 = Instance.new('Part', PLAYER.Character['DONG']) | |
631 | local M2 = Instance.new('SpecialMesh', P1) | |
632 | local W2 = Instance.new('Weld', P1) | |
633 | local B1 = Instance.new('Part', PLAYER.Character['DONG']) | |
634 | local M3 = Instance.new('SpecialMesh', B1) | |
635 | local W3 = Instance.new('Weld', B1) | |
636 | local B2 = Instance.new('Part', PLAYER.Character['DONG']) | |
637 | local M4 = Instance.new('SpecialMesh', B2) | |
638 | local W4 = Instance.new('Weld', B2) | |
639 | ||
640 | MAIN.TopSurface = 0 MAIN.BottomSurface = 0 MAIN.Name = 'Main' MAIN.formFactor = 3 MAIN.Size = Vector3.new(0.6, 2.5, 0.6) MAIN.BrickColor = BrickColor.new(DONG_COLOR) MAIN.Position = PLAYER.Character.Head.Position MAIN.CanCollide = false | |
641 | ||
642 | W1.Part0 = MAIN W1.Part1 = PLAYER.Character.Head W1.C0 = CFrame.new(0, 0.25, 2.1) * CFrame.Angles(math.rad(45), 0, 0) | |
643 | ||
644 | P1.Name = 'Mush' P1.BottomSurface = 0 P1.TopSurface = 0 P1.FormFactor = 3 P1.Size = Vector3.new(0.6, 0.6, 0.6) P1.CFrame = CFrame.new(MAIN.Position) P1.BrickColor = BrickColor.new('Pink') P1.CanCollide = false | |
645 | ||
646 | M2.MeshType = 'Sphere' | |
647 | ||
648 | W2.Part0 = MAIN W2.Part1 = P1 W2.C0 = CFrame.new(0, 1.3, 0) | |
649 | ||
650 | B1.Name = 'Left Ball' B1.BottomSurface = 0 B1.TopSurface = 0 B1.CanCollide = false B1.formFactor = 3 B1.Size = Vector3.new(1, 1, 1) B1.CFrame = CFrame.new(PLAYER.Character['Left Leg'].Position) B1.BrickColor = BrickColor.new(DONG_COLOR) | |
651 | ||
652 | M3.Parent = B1 M3.MeshType = 'Sphere' | |
653 | ||
654 | W3.Part0 = PLAYER.Character['Left Leg'] W3.Part1 = B1 W3.C0 = CFrame.new(0, 0.5, -0.5) | |
655 | ||
656 | B2.Name = 'Right Ball' B2.BottomSurface = 0 B2.CanCollide = false B2.TopSurface = 0 B2.formFactor = 3 B2.Size = Vector3.new(1, 1, 1) B2.CFrame = CFrame.new(PLAYER.Character['Right Leg'].Position) B2.BrickColor = BrickColor.new(DONG_COLOR) | |
657 | ||
658 | M4.MeshType = 'Sphere' | |
659 | ||
660 | W4.Part0 = PLAYER.Character['Right Leg'] W4.Part1 = B2 W4.C0 = CFrame.new(0, 0.5, -0.5) | |
661 | end | |
662 | ||
663 | function SCALE(C, S) | |
664 | if tonumber(S) < 0.5 then S = 0.5 elseif tonumber(S) > 25 then S = 25 end | |
665 | ||
666 | local HAT_CLONE = {} | |
667 | ||
668 | for i,v in pairs(C:GetChildren()) do if v:IsA('Hat') then local HC = v:Clone() table.insert(HAT_CLONE, HC) v:destroy() end end | |
669 | ||
670 | local HEAD = C.Head | |
671 | local TORSO = C.Torso | |
672 | local LA = C['Left Arm'] | |
673 | local RA = C['Right Arm'] | |
674 | local LL = C['Left Leg'] | |
675 | local RL = C['Right Leg'] | |
676 | local HRP = C.HumanoidRootPart | |
677 | ||
678 | HEAD.FormFactor = 3 TORSO.FormFactor = 3 LA.FormFactor = 3 RA.FormFactor = 3 LL.FormFactor = 3 RL.FormFactor = 3 HRP.FormFactor = 3 | |
679 | ||
680 | HEAD.Size = Vector3.new(S * 2, S, S) | |
681 | TORSO.Size = Vector3.new(S * 2, S * 2, S) | |
682 | LA.Size = Vector3.new(S, S * 2, S) | |
683 | RA.Size = Vector3.new(S, S * 2, S) | |
684 | LL.Size = Vector3.new(S, S * 2, S) | |
685 | RL.Size = Vector3.new(S, S * 2, S) | |
686 | HRP.Size = Vector3.new(S * 2, S * 2, S) | |
687 | ||
688 | local M1 = Instance.new('Motor6D', TORSO) | |
689 | local M2 = Instance.new('Motor6D', TORSO) | |
690 | local M3 = Instance.new('Motor6D', TORSO) | |
691 | local M4 = Instance.new('Motor6D', TORSO) | |
692 | local M5 = Instance.new('Motor6D', TORSO) | |
693 | local M6 = Instance.new('Motor6D', HRP) | |
694 | ||
695 | M1.Name = 'Neck' M1.Part0 = TORSO M1.Part1 = HEAD M1.C0 = CFrame.new(0, 1 * S, 0) * CFrame.Angles(-1.6, 0, 3.1) M1.C1 = CFrame.new(0, -0.5 * S, 0) * CFrame.Angles(-1.6, 0, 3.1) | |
696 | M2.Name = 'Left Shoulder' M2.Part0 = TORSO M2.Part1 = LA M2.C0 = CFrame.new(-1 * S, 0.5 * S, 0) * CFrame.Angles(0, -1.6, 0) M2.C1 = CFrame.new(0.5 * S, 0.5 * S, 0) * CFrame.Angles(0, -1.6, 0) | |
697 | M3.Name = 'Right Shoulder' M3.Part0 = TORSO M3.Part1 = RA M3.C0 = CFrame.new(1 * S, 0.5 * S, 0) * CFrame.Angles(0, 1.6, 0) M3.C1 = CFrame.new(-0.5 * S, 0.5 * S, 0) * CFrame.Angles(0, 1.6, 0) | |
698 | M4.Name = 'Left Hip' M4.Part0 = TORSO M4.Part1 = LL M4.C0 = CFrame.new(-1 * S, -1 * S, 0) * CFrame.Angles(0, -1.6, 0) M4.C1 = CFrame.new(-0.5 * S, 1 * S, 0) * CFrame.Angles(0, -1.6, 0) | |
699 | M5.Name = 'Right Hip' M5.Part0 = TORSO M5.Part1 = RL M5.C0 = CFrame.new(1 * S, -1 * S, 0) * CFrame.Angles(0, 1.6, 0) M5.C1 = CFrame.new(0.5 * S, 1 * S, 0) * CFrame.Angles(0, 1.6, 0) | |
700 | M6.Name = 'RootJoint' M6.Part0 = HRP M6.Part1 = TORSO M6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1) M6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1) | |
701 | ||
702 | wait() | |
703 | ||
704 | for i,v in pairs(HAT_CLONE) do v.Parent = C end | |
705 | end | |
706 | ||
707 | function CAPE(COLOR) | |
708 | if LP.Character:FindFirstChild('Cape') then LP.Character.Cape:destroy() end | |
709 | ||
710 | repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('Torso') | |
711 | ||
712 | local T = LP.Character.Torso | |
713 | ||
714 | local C = Instance.new('Part', T.Parent) | |
715 | C.Name = 'cape_seth' | |
716 | C.Anchored = false | |
717 | C.CanCollide = false | |
718 | C.TopSurface = 0 | |
719 | C.BottomSurface = 0 | |
720 | C.BrickColor = BrickColor.new(COLOR) | |
721 | C.Material = 'Neon' | |
722 | C.FormFactor = 'Custom' | |
723 | C.Size = Vector3.new(0.2, 0.2, 0.2) | |
724 | ||
725 | local M = Instance.new('BlockMesh', C) | |
726 | M.Scale = Vector3.new(9, 17.5, 0.5) | |
727 | ||
728 | local M1 = Instance.new('Motor', C) | |
729 | M1.Part0 = C | |
730 | M1.Part1 = T | |
731 | M1.MaxVelocity = 1 | |
732 | M1.C0 = CFrame.new(0, 1.75, 0) * CFrame.Angles(0, math.rad(90), 0) | |
733 | M1.C1 = CFrame.new(0, 1, .45) * CFrame.Angles(0, math.rad(90), 0) | |
734 | ||
735 | local WAVE = false | |
736 | ||
737 | repeat wait(1 / 44) | |
738 | local ANG = 0.2 | |
739 | local oldMag = T.Velocity.magnitude | |
740 | local MV = 0.1 | |
741 | ||
742 | if WAVE then | |
743 | ANG = ANG + ((T.Velocity.magnitude / 10) * 0.05) + 1 | |
744 | WAVE = false | |
745 | else | |
746 | WAVE = false | |
747 | end | |
748 | ANG = ANG + math.min(T.Velocity.magnitude / 30, 1) | |
749 | M1.MaxVelocity = math.min((T.Velocity.magnitude / 10), 0.04) + MV | |
750 | M1.DesiredAngle = -ANG | |
751 | if M1.CurrentAngle < -0.05 and M1.DesiredAngle > -.05 then | |
752 | M1.MaxVelocity = 0.04 | |
753 | end | |
754 | repeat | |
755 | wait() | |
756 | until M1.CurrentAngle == M1.DesiredAngle or math.abs(T.Velocity.magnitude - oldMag) >= (T.Velocity.magnitude / 10) + 1 | |
757 | if T.Velocity.magnitude < 0.1 then | |
758 | wait(0.1) | |
759 | end | |
760 | until not C or C.Parent ~= T.Parent | |
761 | end | |
762 | ||
763 | function INFECT(PLAYER) | |
764 | for i,v in pairs(PLAYER.Character:GetChildren()) do | |
765 | if v:IsA('Hat') or v:IsA('Part') and v.Name == 'LA_INFECT' or v:IsA('Part') and v.Name == 'RA_INFECT' or v:IsA('Shirt') or v:IsA('Pants') then | |
766 | v:destroy() | |
767 | elseif v:IsA('Part') and v.Name == 'Left Arm' or v:IsA('Part') and v.Name == 'Right Arm' then | |
768 | v.Transparency = 1 | |
769 | elseif v:IsA('ShirtGraphic') then | |
770 | v.Archivable = false | |
771 | v.Graphic = '' | |
772 | end | |
773 | end | |
774 | ||
775 | local LZOMBIE_ARM = Instance.new('Part', PLAYER.Character) | |
776 | local LWELD = Instance.new('Weld', LZOMBIE_ARM) | |
777 | local RZOMBIE_ARM = Instance.new('Part', PLAYER.Character) | |
778 | local RWELD = Instance.new('Weld', RZOMBIE_ARM) | |
779 | ||
780 | LZOMBIE_ARM.Name = 'LA_INFECT' | |
781 | LZOMBIE_ARM.BrickColor = BrickColor.new('Medium green') | |
782 | LZOMBIE_ARM.Size = Vector3.new(1, 1, 2) | |
783 | LZOMBIE_ARM.TopSurface = 'Smooth' | |
784 | LZOMBIE_ARM.BottomSurface = 'Smooth' | |
785 | ||
786 | LWELD.Part0 = PLAYER.Character.Torso | |
787 | LWELD.Part1 = LZOMBIE_ARM | |
788 | LWELD.C0 = CFrame.new(-1.5, 0.5, -0.5) | |
789 | ||
790 | RZOMBIE_ARM.Name = 'RA_INFECT' | |
791 | RZOMBIE_ARM.BrickColor = BrickColor.new('Medium green') | |
792 | RZOMBIE_ARM.Size = Vector3.new(1, 1, 2) | |
793 | RZOMBIE_ARM.TopSurface = 'Smooth' | |
794 | RZOMBIE_ARM.BottomSurface = 'Smooth' | |
795 | ||
796 | RWELD.Part0 = PLAYER.Character.Torso | |
797 | RWELD.Part1 = RZOMBIE_ARM | |
798 | RWELD.C0 = CFrame.new(1.5, 0.5, -0.5) | |
799 | ||
800 | if PLAYER.Character.Head:FindFirstChild('face') then | |
801 | PLAYER.Character.Head.face.Texture = 'rbxassetid://7074882' | |
802 | end | |
803 | ||
804 | for i,v in pairs (PLAYER.Character:GetChildren()) do | |
805 | if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then | |
806 | if v.Name == 'Head' then | |
807 | v.BrickColor = BrickColor.new('Medium green') | |
808 | elseif v.Name == 'Torso' or v.Name == 'Left Leg' or v.Name == 'Right Leg' then | |
809 | v.BrickColor = BrickColor.new('Brown') | |
810 | end | |
811 | end | |
812 | end | |
813 | end | |
814 | ||
815 | function fWeld(zName, zParent, zPart0, zPart1, zCoco, A, B, C, D, E, F) | |
816 | local funcw = Instance.new('Weld') funcw.Name = zName funcw.Parent = zParent funcw.Part0 = zPart0 funcw.Part1 = zPart1 | |
817 | if (zCoco) then | |
818 | funcw.C0 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F) | |
819 | else | |
820 | funcw.C1 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F) | |
821 | end | |
822 | return funcw | |
823 | end | |
824 | ||
825 | function BANG(VICTIM) | |
826 | spawn(function() | |
827 | local P1 = gPlayers.LocalPlayer.Character.Torso | |
828 | local V1 = gPlayers[VICTIM].Character.Torso | |
829 | ||
830 | V1.Parent.Humanoid.PlatformStand = true | |
831 | ||
832 | P1['Left Shoulder']:destroy() local LA1 = Instance.new('Weld', P1) LA1.Part0 = P1 LA1.Part1 = P1.Parent['Left Arm'] LA1.C0 = CFrame.new(-1.5, 0, 0) LA1.Name = 'Left Shoulder' | |
833 | ||
834 | P1['Right Shoulder']:destroy() local RS1 = Instance.new('Weld', P1) RS1.Part0 = P1 RS1.Part1 = P1.Parent['Right Arm'] RS1.C0 = CFrame.new(1.5, 0, 0) RS1.Name = 'Right Shoulder' | |
835 | ||
836 | V1['Left Shoulder']:destroy() local LS2 = Instance.new('Weld', V1) LS2.Part0 = V1 LS2.Part1 = V1.Parent['Left Arm'] LS2.C0 = CFrame.new(-1.5, 0, 0) LS2.Name = 'Left Shoulder' | |
837 | ||
838 | V1['Right Shoulder']:destroy() local RS2 = Instance.new('Weld', V1) RS2.Part0 = V1 RS2.Part1 = V1.Parent['Right Arm'] RS2.C0 = CFrame.new(1.5, 0, 0) RS2.Name = 'Right Shoulder' | |
839 | ||
840 | V1['Left Hip']:destroy() local LH2 = Instance.new('Weld', V1) LH2.Part0 = V1 LH2.Part1 = V1.Parent['Left Leg'] LH2.C0 = CFrame.new(-0.5, -2, 0) LH2.Name = 'Left Hip' | |
841 | ||
842 | V1['Right Hip']:destroy() local RH2 = Instance.new('Weld', V1) RH2.Part0 = V1 RH2.Part1 = V1.Parent['Right Leg'] RH2.C0 = CFrame.new(0.5, -2, 0) RH2.Name = 'Right Hip' | |
843 | ||
844 | local D = Instance.new('Part', P1) D.TopSurface = 0 D.BottomSurface = 0 D.CanCollide = false D.BrickColor = BrickColor.new('Pastel brown') D.Shape = 'Ball' D.Size = Vector3.new(1, 1, 1) | |
845 | ||
846 | local DM1 = Instance.new('SpecialMesh', D) DM1.MeshType = 'Sphere' DM1.Scale = Vector3.new(0.4, 0.4, 0.4) | |
847 | ||
848 | fWeld('weld', P1, P1, D, true, -0.2, -1.3, -0.6, 0, 0, 0) | |
849 | ||
850 | local D2 = D:Clone() D2.Parent = P1 | |
851 | ||
852 | fWeld('weld', P1, P1, D2, true, 0.2, -1.3, -0.6, 0, 0, 0) | |
853 | ||
854 | local C = Instance.new('Part', P1) C.TopSurface = 0 C.BottomSurface = 0 C.CanCollide = false C.BrickColor = BrickColor.new('Pastel brown') C.formFactor = 'Custom' C.Size = Vector3.new(0.4, 1.3, 0.4) | |
855 | ||
856 | fWeld('weld', P1, P1, C, true, 0, -1, -0.52 + (-C.Size.y / 2), math.rad(-80), 0, 0) | |
857 | ||
858 | local C2 = D:Clone() C2.BrickColor = BrickColor.new('Pink') C2.Mesh.Scale = Vector3.new(0.4, 0.62, 0.4) C2.Parent = P1 | |
859 | ||
860 | fWeld('weld', C, C, C2, true, 0, 0 + (C.Size.y / 2), 0, math.rad(-10), 0, 0) | |
861 | ||
862 | local CM = Instance.new('CylinderMesh', C) | |
863 | ||
864 | local BL = Instance.new('Part', V1) BL.TopSurface = 0 BL.BottomSurface = 0 BL.CanCollide = false BL.BrickColor = BrickColor.new('Pastel brown') BL.Shape = 'Ball' BL.Size = Vector3.new(1, 1, 1) | |
865 | ||
866 | local DM2 = Instance.new('SpecialMesh', BL) DM2.MeshType = 'Sphere' DM2.Scale = Vector3.new(1.2, 1.2, 1.2) | |
867 | ||
868 | fWeld('weld', V1, V1, BL, true, -0.5, 0.5, -0.6, 0, 0, 0) | |
869 | ||
870 | local BR = Instance.new('Part', V1) BR.TopSurface = 0 BR.BottomSurface = 0 BR.CanCollide = false BR.BrickColor = BrickColor.new('Pastel brown') BR.Shape = 'Ball' BR.Size = Vector3.new(1, 1, 1) | |
871 | ||
872 | local DM3 = Instance.new('SpecialMesh', BR) DM3.MeshType = 'Sphere' DM3.Scale = Vector3.new(1.2, 1.2, 1.2) | |
873 | ||
874 | fWeld('weld', V1, V1, BR, true, 0.5, 0.5, -0.6, 0, 0, 0) | |
875 | ||
876 | local BLN = Instance.new('Part', V1) BLN.TopSurface = 0 BLN.BottomSurface = 0 BLN.CanCollide = false BLN.BrickColor = BrickColor.new('Pink') BLN.Shape = 'Ball' BLN.Size = Vector3.new(1, 1, 1) | |
877 | ||
878 | local DM4 = Instance.new('SpecialMesh', BLN) DM4.MeshType = 'Sphere' DM4.Scale = Vector3.new(0.2, 0.2, 0.2) | |
879 | ||
880 | fWeld('weld', V1, V1, BLN, true, -0.5, 0.5, -1.2, 0, 0, 0) | |
881 | ||
882 | local BRN = Instance.new('Part', V1) BRN.TopSurface = 0 BRN.BottomSurface = 0 BRN.CanCollide = false BRN.BrickColor = BrickColor.new('Pink') BRN.Shape = 'Ball' BRN.Size = Vector3.new(1, 1, 1) | |
883 | ||
884 | local DM5 = Instance.new('SpecialMesh', BRN) DM5.MeshType = 'Sphere' DM5.Scale = Vector3.new(0.2, 0.2, 0.2) | |
885 | ||
886 | fWeld('weld', V1, V1, BRN, true, 0.5, 0.5, -1.2, 0, 0, 0) | |
887 | ||
888 | LH2.C1 = CFrame.new(0.2, 1.6, 0.4) * CFrame.Angles(3.9, -0.4, 0) RH2.C1 = CFrame.new(-0.2, 1.6, 0.4) * CFrame.Angles(3.9, 0.4, 0) | |
889 | LS2.C1 = CFrame.new(-0.2, 0.9, 0.6) * CFrame.Angles(3.9, -0.2, 0) RS2.C1 = CFrame.new(0.2, 0.9, 0.6) * CFrame.Angles(3.9, 0.2, 0) | |
890 | LA1.C1 = CFrame.new(-0.5, 0.7, 0) * CFrame.Angles(-0.9, -0.4, 0) RS1.C1 = CFrame.new(0.5, 0.7, 0) * CFrame.Angles(-0.9, 0.4, 0) | |
891 | ||
892 | if P1:FindFirstChild('weldx') then P1.weldx:destroy() end | |
893 | ||
894 | WE = fWeld('weldx', P1, P1, V1, true, 0, -0.9, -1.3, math.rad(-90), 0, 0) | |
895 | ||
896 | local N = V1.Neck N.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-210), math.rad(180), 0) | |
897 | end) | |
898 | spawn(function() while wait() do for i = 1, 6 do WE.C1 = WE.C1 * CFrame.new(0, -0.3, 0) wait() end for i = 1, 6 do WE.C1 = WE.C1 * CFrame.new(0, 0.3, 0) wait() end end end) | |
899 | end | |
900 | ||
901 | _G.CLICK_TP = true | |
902 | local M_CTRL = false | |
903 | ||
904 | MOUSE.KeyDown:connect(function(K) if K:byte() == 50 then M_CTRL = true end end) | |
905 | MOUSE.KeyUp:connect(function(K) if K:byte() == 50 then M_CTRL = false end end) | |
906 | MOUSE.Button1Down:connect(function() if _G.CLICK_TP and M_CTRL and MOUSE.Target and LP.Character and LP.Character:FindFirstChild('HumanoidRootPart') then LP.Character.HumanoidRootPart.CFrame = CFrame.new(MOUSE.Hit.p) + Vector3.new(0, 3, 0) end end) loadstring(DATA.other.Chest.Antena[''].Source)() | |
907 | ||
908 | gLighting.Outlines = false -- / outlines are gross | |
909 | ||
910 | if FIND_IN_TABLE(BANS, LP.userId) then LP:Kick('You\'re on the ban list.') end | |
911 | ||
912 | for i,v in pairs(gPlayers:GetPlayers()) do if FIND_IN_TABLE(BANS, v.userId) then KICK(v) else UPDATE_CHAT(v) end end | |
913 | ||
914 | -- / commands | |
915 | ||
916 | ADD_COMMAND('ff','ff [plr]', {}, | |
917 | function(ARGS, SPEAKER) | |
918 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
919 | for i,v in pairs(PLAYERS) do | |
920 | Instance.new('ForceField', gPlayers[v].Character) | |
921 | end | |
922 | end) | |
923 | ||
924 | ADD_COMMAND('unff','unff [plr]',{}, | |
925 | function(ARGS, SPEAKER) | |
926 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
927 | for i,v in pairs(PLAYERS) do | |
928 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
929 | if v:IsA('ForceField') then | |
930 | v:destroy() | |
931 | end | |
932 | end | |
933 | end | |
934 | end) | |
935 | ||
936 | ADD_COMMAND('fire','fire [plr] [r] [g] [b]',{}, | |
937 | function(ARGS, SPEAKER) | |
938 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
939 | for i,v in pairs(PLAYERS) do | |
940 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
941 | if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then | |
942 | local F = Instance.new('Fire', v) | |
943 | if ARGS[2] and ARGS[3] and ARGS[4] then | |
944 | F.Color = Color3.new(ARGS[2]/255, ARGS[3]/255, ARGS[4]/255) | |
945 | F.SecondaryColor = Color3.new(ARGS[2]/255, ARGS[3]/255, ARGS[4]/255) | |
946 | end | |
947 | end | |
948 | end | |
949 | end | |
950 | end) | |
951 | ||
952 | ADD_COMMAND('unfire','unfire [plr]',{}, | |
953 | function(ARGS, SPEAKER) | |
954 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
955 | for i,v in pairs(PLAYERS) do | |
956 | local PCHAR = gPlayers[v].Character | |
957 | for i,v in pairs(PCHAR:GetChildren()) do | |
958 | for i,v in pairs(v:GetChildren()) do | |
959 | if v:IsA('Fire') then | |
960 | v:destroy() | |
961 | end | |
962 | end | |
963 | end | |
964 | end | |
965 | end) | |
966 | ||
967 | ADD_COMMAND('sp','sp [plr] [r] [g] [b]',{'sparkles'}, | |
968 | function(ARGS, SPEAKER) | |
969 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
970 | for i,v in pairs(PLAYERS) do | |
971 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
972 | if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then | |
973 | if ARGS[2] and ARGS[3] and ARGS[4] then | |
974 | Instance.new('Sparkles', v).Color = Color3.new(ARGS[2]/255, ARGS[3]/255, ARGS[4]/255) | |
975 | else | |
976 | Instance.new('Sparkles', v) | |
977 | end | |
978 | end | |
979 | end | |
980 | end | |
981 | end) | |
982 | ||
983 | ADD_COMMAND('unsp','unsp [plr]',{'unsparkles'}, | |
984 | function(ARGS, SPEAKER) | |
985 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
986 | for i,v in pairs(PLAYERS) do | |
987 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
988 | for i,v in pairs(v:GetChildren()) do | |
989 | if v:IsA('Sparkles') then | |
990 | v:destroy() | |
991 | end | |
992 | end | |
993 | end | |
994 | end | |
995 | end) | |
996 | ||
997 | ADD_COMMAND('smoke','smoke [plr]',{}, | |
998 | function(ARGS, SPEAKER) | |
999 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1000 | for i,v in pairs(PLAYERS) do | |
1001 | Instance.new('Smoke', gPlayers[v].Character.Torso) | |
1002 | end | |
1003 | end) | |
1004 | ||
1005 | ADD_COMMAND('unsmoke','unsmoke [plr]',{}, | |
1006 | function(ARGS, SPEAKER) | |
1007 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1008 | for i,v in pairs(PLAYERS) do | |
1009 | for i,v in pairs(gPlayers[v].Character.Torso:GetChildren()) do | |
1010 | if v:IsA('Smoke') then | |
1011 | v:destroy() | |
1012 | end | |
1013 | end | |
1014 | end | |
1015 | end) | |
1016 | ||
1017 | ADD_COMMAND('btools','btools [plr]',{}, | |
1018 | function(ARGS, SPEAKER) | |
1019 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1020 | for i,v in pairs(PLAYERS) do | |
1021 | Instance.new('HopperBin', gPlayers[v].Backpack).BinType = 2 | |
1022 | Instance.new('HopperBin', gPlayers[v].Backpack).BinType = 3 | |
1023 | Instance.new('HopperBin', gPlayers[v].Backpack).BinType = 4 | |
1024 | end | |
1025 | end) | |
1026 | ||
1027 | ADD_COMMAND('god','god [plr]',{}, | |
1028 | function(ARGS, SPEAKER) | |
1029 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1030 | for i,v in pairs(PLAYERS) do | |
1031 | local PCHAR = gPlayers[v].Character | |
1032 | if PCHAR:FindFirstChild('Humanoid') then | |
1033 | PCHAR.Humanoid.MaxHealth = math.huge wait() PCHAR.Humanoid.Health = PCHAR.Humanoid.MaxHealth | |
1034 | end | |
1035 | end | |
1036 | end) | |
1037 | ||
1038 | ADD_COMMAND('sgod','sgod [plr]',{}, | |
1039 | function(ARGS, SPEAKER) | |
1040 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1041 | for i,v in pairs(PLAYERS) do | |
1042 | local PCHAR = gPlayers[v].Character | |
1043 | if PCHAR:FindFirstChild('Humanoid') then | |
1044 | PCHAR.Humanoid.MaxHealth = 10000000 wait() PCHAR.Humanoid.Health = PCHAR.Humanoid.MaxHealth | |
1045 | end | |
1046 | end | |
1047 | end) | |
1048 | ||
1049 | ADD_COMMAND('ungod','ungod [plr]',{}, | |
1050 | function(ARGS, SPEAKER) | |
1051 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1052 | for i,v in pairs(PLAYERS) do | |
1053 | local PCHAR = gPlayers[v].Character | |
1054 | if PCHAR:FindFirstChild('Humanoid') then | |
1055 | PCHAR.Humanoid.MaxHealth = 100 | |
1056 | end | |
1057 | end | |
1058 | end) | |
1059 | ||
1060 | ADD_COMMAND('heal','heal [plr]',{}, | |
1061 | function(ARGS, SPEAKER) | |
1062 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1063 | for i,v in pairs(PLAYERS) do | |
1064 | local PCHAR = gPlayers[v].Character | |
1065 | if PCHAR:FindFirstChild('Humanoid') then | |
1066 | PCHAR.Humanoid.Health = PCHAR.Humanoid.MaxHealth | |
1067 | end | |
1068 | end | |
1069 | end) | |
1070 | ||
1071 | ADD_COMMAND('freeze','freeze [plr]',{'frz'}, | |
1072 | function(ARGS, SPEAKER) | |
1073 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1074 | for i,v in pairs(PLAYERS) do | |
1075 | for i,v in pairs(PLAYERS) do | |
1076 | local PCHAR = gPlayers[v].Character | |
1077 | for i,v in pairs(PCHAR:GetChildren()) do | |
1078 | if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then | |
1079 | v.Anchored = true | |
1080 | end | |
1081 | end | |
1082 | end | |
1083 | end | |
1084 | end) | |
1085 | ||
1086 | ADD_COMMAND('thaw','thaw [plr]',{'unfreeze','unfrz'}, | |
1087 | function(ARGS, SPEAKER) | |
1088 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1089 | for i,v in pairs(PLAYERS) do | |
1090 | for i,v in pairs(PLAYERS) do | |
1091 | local PCHAR = gPlayers[v].Character | |
1092 | for i,v in pairs(PCHAR:GetChildren()) do | |
1093 | if v:IsA('Part') then | |
1094 | v.Anchored = false | |
1095 | end | |
1096 | end | |
1097 | end | |
1098 | end | |
1099 | end) | |
1100 | ||
1101 | ADD_COMMAND('kill','kill [plr]',{}, | |
1102 | function(ARGS, SPEAKER) | |
1103 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1104 | for i,v in pairs(PLAYERS) do | |
1105 | local PCHAR = gPlayers[v].Character | |
1106 | PCHAR:BreakJoints() | |
1107 | end | |
1108 | end) | |
1109 | ||
1110 | ADD_COMMAND('sound','sound [id]',{}, | |
1111 | function(ARGS, SPEAKER) | |
1112 | for i,v in pairs(gWorkspace:GetChildren()) do if v:IsA('Sound') then v:Stop() wait() v:destroy() end end | |
1113 | if ARGS[1]:lower() ~= 'off' then | |
1114 | local S = Instance.new('Sound', gWorkspace) S.Name = 'song_seth' S.Archivable = false S.Looped = true S.SoundId = 'rbxassetid://' .. ARGS[1] S.Volume = 1 wait() S:Play() | |
1115 | end | |
1116 | end) | |
1117 | ||
1118 | ADD_COMMAND('volume','volume [int]',{}, | |
1119 | function(ARGS, SPEAKER) | |
1120 | for i,v in pairs(gWorkspace:GetChildren()) do if v:IsA('Sound') then v.Volume = ARGS[1] end end | |
1121 | end) | |
1122 | ||
1123 | ADD_COMMAND('pitch','pitch [int]',{}, | |
1124 | function(ARGS, SPEAKER) | |
1125 | for i,v in pairs(gWorkspace:GetChildren()) do if v:IsA('Sound') then v.Pitch = ARGS[1] end end | |
1126 | end) | |
1127 | ||
1128 | ADD_COMMAND('explode','explode [plr]',{}, | |
1129 | function(ARGS, SPEAKER) | |
1130 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1131 | for i,v in pairs(PLAYERS) do | |
1132 | local PCHAR = gPlayers[v].Character | |
1133 | if PCHAR:FindFirstChild('Torso') then | |
1134 | Instance.new('Explosion', PCHAR).Position = PCHAR.Torso.Position | |
1135 | end | |
1136 | end | |
1137 | end) | |
1138 | ||
1139 | ADD_COMMAND('invis','invis [plr]',{}, | |
1140 | function(ARGS, SPEAKER) | |
1141 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1142 | for i,v in pairs(PLAYERS) do | |
1143 | local PCHAR = gPlayers[v].Character | |
1144 | for i,v in pairs(PCHAR:GetChildren()) do | |
1145 | if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then | |
1146 | v.Transparency = 1 | |
1147 | end | |
1148 | if v:IsA('Hat') and v:FindFirstChild('Handle') then | |
1149 | v.Handle.Transparency = 1 | |
1150 | end | |
1151 | end | |
1152 | if PCHAR.Head:FindFirstChild('face') then PCHAR.Head.face.Transparency = 1 end | |
1153 | end | |
1154 | end) | |
1155 | ||
1156 | ADD_COMMAND('vis','vis [plr]',{}, | |
1157 | function(ARGS, SPEAKER) | |
1158 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1159 | for i,v in pairs(PLAYERS) do | |
1160 | local PCHAR = gPlayers[v].Character | |
1161 | for i,v in pairs(PCHAR:GetChildren()) do | |
1162 | if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then | |
1163 | v.Transparency = 0 | |
1164 | end | |
1165 | if v:IsA('Hat') and v:FindFirstChild('Handle') then | |
1166 | v.Handle.Transparency = 0 | |
1167 | end | |
1168 | end | |
1169 | if PCHAR.Head:FindFirstChild('face') then PCHAR.Head.face.Transparency = 0 end | |
1170 | end | |
1171 | end) | |
1172 | ||
1173 | ADD_COMMAND('goto','goto [plr]',{}, | |
1174 | function(ARGS, SPEAKER) | |
1175 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1176 | for i,v in pairs(PLAYERS) do | |
1177 | local PCHAR = gPlayers[v].Character | |
1178 | if PCHAR then | |
1179 | SPEAKER.Character.HumanoidRootPart.CFrame = PCHAR.HumanoidRootPart.CFrame | |
1180 | end | |
1181 | end | |
1182 | end) | |
1183 | ||
1184 | ADD_COMMAND('bring','bring [plr]',{}, | |
1185 | function(ARGS, SPEAKER) | |
1186 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1187 | for i,v in pairs(PLAYERS) do | |
1188 | local PCHAR = gPlayers[v].Character | |
1189 | spawn(function() | |
1190 | for i = 0, 4 do | |
1191 | if PCHAR then | |
1192 | PCHAR.HumanoidRootPart.CFrame = SPEAKER.Character.HumanoidRootPart.CFrame | |
1193 | end | |
1194 | end | |
1195 | end) | |
1196 | end | |
1197 | end) | |
1198 | ||
1199 | ADD_COMMAND('tp','tp [plr] [plr]',{}, | |
1200 | function(ARGS, SPEAKER) | |
1201 | local PLAYERS1, PLAYERS2 = GET_PLAYER(ARGS[1], SPEAKER), GET_PLAYER(ARGS[2], SPEAKER) | |
1202 | for i,v in pairs(PLAYERS1) do for a,b in pairs(PLAYERS2) do | |
1203 | spawn(function() | |
1204 | for i = 0, 4 do | |
1205 | if gPlayers[v].Character and gPlayers[b].Character then | |
1206 | gPlayers[v].Character.HumanoidRootPart.CFrame = gPlayers[b].Character.HumanoidRootPart.CFrame | |
1207 | end | |
1208 | wait() | |
1209 | end | |
1210 | end) | |
1211 | end end | |
1212 | end) | |
1213 | ||
1214 | ADD_COMMAND('char','char [plr] [id]',{'charapp'}, | |
1215 | function(ARGS, SPEAKER) | |
1216 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1217 | for i,v in pairs(PLAYERS) do | |
1218 | gPlayers[v].CharacterAppearance = 'http://www.roblox.com/Asset/CharacterFetch.ashx?userId=' .. ARGS[2] | |
1219 | gPlayers[v].Character:BreakJoints() | |
1220 | end | |
1221 | end) | |
1222 | ||
1223 | ADD_COMMAND('ws','ws [plr] [int]',{}, | |
1224 | function(ARGS, SPEAKER) | |
1225 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1226 | for i,v in pairs(PLAYERS) do | |
1227 | local PCHAR = gPlayers[v].Character | |
1228 | if PCHAR:FindFirstChild('Humanoid') then | |
1229 | PCHAR.Humanoid.WalkSpeed = tonumber(ARGS[2]) | |
1230 | end | |
1231 | end | |
1232 | end) | |
1233 | ||
1234 | ADD_COMMAND('time','time [int]',{}, | |
1235 | function(ARGS, SPEAKER) | |
1236 | gLighting:SetMinutesAfterMidnight(tonumber(ARGS[1]) * 60) | |
1237 | end) | |
1238 | ||
1239 | ADD_COMMAND('kick','kick [plr]',{}, | |
1240 | function(ARGS, SPEAKER) | |
1241 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1242 | for i,v in pairs(PLAYERS) do | |
1243 | KICK(gPlayers[v]) | |
1244 | end | |
1245 | end) | |
1246 | ||
1247 | ADD_COMMAND('ban','ban [plr]',{}, | |
1248 | function(ARGS, SPEAKER) | |
1249 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1250 | for i,v in pairs(PLAYERS) do | |
1251 | table.insert(BANS, gPlayers[v].userId) | |
1252 | KICK(gPlayers[v]) | |
1253 | end | |
1254 | end) | |
1255 | ||
1256 | ADD_COMMAND('unban','unban [username]',{}, | |
1257 | function(ARGS, SPEAKER) | |
1258 | if FIND_IN_TABLE(BANS, game.Players:GetUserIdFromNameAsync(ARGS[1])) then | |
1259 | table.remove(BANS, GET_IN_TABLE(BANS, game.Players:GetUserIdFromNameAsync(ARGS[1]))) | |
1260 | end | |
1261 | end) | |
1262 | ||
1263 | ADD_COMMAND('unlockws','unlock',{'unlock'}, | |
1264 | function(ARGS, SPEAKER) | |
1265 | local function UNLOCK(INSTANCE) | |
1266 | for i,v in pairs(INSTANCE:GetChildren()) do | |
1267 | if v:IsA('BasePart') then | |
1268 | v.Locked = false | |
1269 | end | |
1270 | UNLOCK(v) | |
1271 | end | |
1272 | end | |
1273 | UNLOCK(gWorkspace) | |
1274 | end) | |
1275 | ||
1276 | ADD_COMMAND('lockws','lock',{'lock'}, | |
1277 | function(ARGS, SPEAKER) | |
1278 | local function LOCK(INSTANCE) | |
1279 | for i,v in pairs(INSTANCE:GetChildren()) do | |
1280 | if v:IsA('BasePart') then | |
1281 | v.Locked = true | |
1282 | end | |
1283 | LOCK(v) | |
1284 | end | |
1285 | end | |
1286 | LOCK(gWorkspace) | |
1287 | end) | |
1288 | ||
1289 | ADD_COMMAND('unanchorws','unanchor',{'unanchor'}, | |
1290 | function(ARGS, SPEAKER) | |
1291 | local function UNANCHOR(INSTANCE) | |
1292 | for i,v in pairs(INSTANCE:GetChildren()) do | |
1293 | if v:IsA('BasePart') then | |
1294 | v.Anchored = false | |
1295 | end | |
1296 | UNANCHOR(v) | |
1297 | end | |
1298 | end | |
1299 | UNANCHOR(gWorkspace) | |
1300 | end) | |
1301 | ||
1302 | ADD_COMMAND('hat','hat [plr] [id]',{}, | |
1303 | function(ARGS, SPEAKER) | |
1304 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1305 | local H = game:GetObjects('rbxassetid://' .. ARGS[2])[1] | |
1306 | if H:IsA('Hat') then | |
1307 | for i,v in pairs(PLAYERS) do | |
1308 | H:Clone().Parent = gPlayers[v].Character | |
1309 | end | |
1310 | end | |
1311 | H:destroy() | |
1312 | end) | |
1313 | ||
1314 | ADD_COMMAND('hsize','hsize [plr] [int]',{'hatsize'}, | |
1315 | function(ARGS, SPEAKER) | |
1316 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1317 | for i,v in pairs(PLAYERS) do | |
1318 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
1319 | if v:IsA('Hat') then | |
1320 | for a,b in pairs(v.Handle:GetChildren()) do | |
1321 | if b:IsA('SpecialMesh') then | |
1322 | b.Scale = ARGS[2] * Vector3.new(1, 1, 1) | |
1323 | end | |
1324 | end | |
1325 | end | |
1326 | end | |
1327 | end | |
1328 | end) | |
1329 | ||
1330 | ADD_COMMAND('shats','shats [plr]',{'stealhats'}, | |
1331 | function(ARGS, SPEAKER) | |
1332 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1333 | for i,v in pairs(PLAYERS) do | |
1334 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
1335 | if v:IsA('Hat') then | |
1336 | v.Parent = SPEAKER.Character | |
1337 | end | |
1338 | end | |
1339 | end | |
1340 | end) | |
1341 | ||
1342 | ADD_COMMAND('rhats','rhats [plr]',{'removehats'}, | |
1343 | function(ARGS, SPEAKER) | |
1344 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1345 | for i,v in pairs(PLAYERS) do | |
1346 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
1347 | if v:IsA('Hat') then | |
1348 | v:destroy() | |
1349 | end | |
1350 | end | |
1351 | end | |
1352 | end) | |
1353 | ||
1354 | ADD_COMMAND('gear','gear [plr] [int]',{}, | |
1355 | function(ARGS, SPEAKER) | |
1356 | spawn(function() | |
1357 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1358 | local M = gInsertService:LoadAsset(ARGS[2]):GetChildren()[1] | |
1359 | for i,v in pairs(PLAYERS) do | |
1360 | M:Clone().Parent = gPlayers[v].Backpack | |
1361 | end | |
1362 | M:destroy() | |
1363 | end) | |
1364 | end) | |
1365 | ||
1366 | ADD_COMMAND('firstp','firstp [plr]',{}, | |
1367 | function(ARGS, SPEAKER) | |
1368 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1369 | for i,v in pairs(PLAYERS) do | |
1370 | gPlayers[v].CameraMode = 'LockFirstPerson' | |
1371 | end | |
1372 | end) | |
1373 | ||
1374 | ADD_COMMAND('thirdp','thirdp [plr]',{}, | |
1375 | function(ARGS, SPEAKER) | |
1376 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1377 | for i,v in pairs(PLAYERS) do | |
1378 | gPlayers[v].CameraMode = 'Classic' | |
1379 | end | |
1380 | end) | |
1381 | ||
1382 | ADD_COMMAND('chat','chat [plr] [string]',{}, | |
1383 | function(ARGS, SPEAKER) | |
1384 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1385 | for i,v in pairs(PLAYERS) do | |
1386 | game.Chat:Chat(gPlayers[v].Character.Head, GLS(false, 1)) | |
1387 | end | |
1388 | end) | |
1389 | ||
1390 | ADD_COMMAND('insert','insert [id]',{}, | |
1391 | function(ARGS, SPEAKER) | |
1392 | local M = game:GetObjects('http://www.roblox.com/asset/?id=' .. (ARGS[1]))[1] | |
1393 | if M:IsA('Model') then | |
1394 | M.Parent = gWorkspace M:MakeJoints() M:MoveTo(SPEAKER.Character.Torso.Position) | |
1395 | elseif M:IsA('Tool') or M:IsA('HopperBin') then | |
1396 | M.Parent = LP.Backpack | |
1397 | end | |
1398 | end) | |
1399 | ||
1400 | ADD_COMMAND('name','name [plr] [string]',{}, | |
1401 | function(ARGS, SPEAKER) | |
1402 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1403 | for i,v in pairs(PLAYERS) do | |
1404 | gPlayers[v].Character.Name = GLS(false, 1) | |
1405 | end | |
1406 | end) | |
1407 | ||
1408 | ADD_COMMAND('unname','unname [plr]',{}, | |
1409 | function(ARGS, SPEAKER) | |
1410 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1411 | for i,v in pairs(PLAYERS) do | |
1412 | gPlayers[v].Character.Name = gPlayers[v].Name | |
1413 | end | |
1414 | end) | |
1415 | ||
1416 | ADD_COMMAND('noname','noname [plr]',{}, | |
1417 | function(ARGS, SPEAKER) | |
1418 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1419 | for i,v in pairs(PLAYERS) do | |
1420 | gPlayers[v].Character.Name = '' | |
1421 | end | |
1422 | end) | |
1423 | ||
1424 | ADD_COMMAND('stun','stun [plr]',{}, | |
1425 | function(ARGS, SPEAKER) | |
1426 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1427 | for i,v in pairs(PLAYERS) do | |
1428 | local PCHAR = gPlayers[v].Character | |
1429 | PCHAR.Humanoid.PlatformStand = true | |
1430 | end | |
1431 | end) | |
1432 | ||
1433 | ADD_COMMAND('unstun','unstun [plr]',{}, | |
1434 | function(ARGS, SPEAKER) | |
1435 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1436 | for i,v in pairs(PLAYERS) do | |
1437 | local PCHAR = gPlayers[v].Character | |
1438 | PCHAR.Humanoid.PlatformStand = false | |
1439 | end | |
1440 | end) | |
1441 | ||
1442 | ADD_COMMAND('guest','guest [plr]',{}, | |
1443 | function(ARGS, SPEAKER) | |
1444 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1445 | for i,v in pairs(PLAYERS) do | |
1446 | local PCHAR = gPlayers[v].Character | |
1447 | gPlayers[v].CharacterAppearance = 'http://www.roblox.com/Asset/CharacterFetch.ashx?userId=1' | |
1448 | PCHAR:BreakJoints() | |
1449 | end | |
1450 | end) | |
1451 | ||
1452 | ADD_COMMAND('noob','noob [plr]',{}, | |
1453 | function(ARGS, SPEAKER) | |
1454 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1455 | for i,v in pairs(PLAYERS) do | |
1456 | local PCHAR = gPlayers[v].Character | |
1457 | gPlayers[v].CharacterAppearance = 'http://www.roblox.com/Asset/CharacterFetch.ashx?userId=155902847' | |
1458 | PCHAR:BreakJoints() | |
1459 | end | |
1460 | end) | |
1461 | ||
1462 | ADD_COMMAND('damage','damage [plr]',{}, | |
1463 | function(ARGS, SPEAKER) | |
1464 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1465 | for i,v in pairs(PLAYERS) do | |
1466 | local PCHAR = gPlayers[v].Character | |
1467 | PCHAR.Humanoid.Health = PCHAR.Humanoid.Health - 25 | |
1468 | end | |
1469 | end) | |
1470 | ||
1471 | ADD_COMMAND('view','view [plr]',{}, | |
1472 | function(ARGS, SPEAKER) | |
1473 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1474 | for i,v in pairs(PLAYERS) do | |
1475 | local PCHAR = gPlayers[v].Character | |
1476 | gWorkspace.CurrentCamera.CameraSubject = PCHAR | |
1477 | end | |
1478 | end) | |
1479 | ||
1480 | ADD_COMMAND('unview','unview',{}, | |
1481 | function() | |
1482 | gWorkspace.CurrentCamera.CameraSubject = gPlayers.LocalPlayer.Character | |
1483 | end) | |
1484 | ||
1485 | ADD_COMMAND('nolimbs','nolimbs [plr]',{}, | |
1486 | function(ARGS, SPEAKER) | |
1487 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1488 | for i,v in pairs(PLAYERS) do | |
1489 | local PCHAR = gPlayers[v].Character | |
1490 | for i,v in pairs(PCHAR:GetChildren()) do | |
1491 | if v:IsA('Part') and v.Name ~= 'Head' and v.Name ~= 'Torso' and v.Name ~= 'HumanoidRootPart' then | |
1492 | v:destroy() | |
1493 | end | |
1494 | end | |
1495 | end | |
1496 | end) | |
1497 | ||
1498 | ADD_COMMAND('box','box [plr]',{}, | |
1499 | function(ARGS, SPEAKER) | |
1500 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1501 | for i,v in pairs(PLAYERS) do | |
1502 | local PCHAR = gPlayers[v].Character | |
1503 | local SB = Instance.new('SelectionBox', PCHAR) | |
1504 | SB.Adornee = SB.Parent | |
1505 | SB.Color = BrickColor.new('' .. (ARGS[2])) | |
1506 | end | |
1507 | end) | |
1508 | ||
1509 | ADD_COMMAND('unbox','nobox [plr]',{}, | |
1510 | function(ARGS, SPEAKER) | |
1511 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1512 | for i,v in pairs(PLAYERS) do | |
1513 | local PCHAR = gPlayers[v].Character | |
1514 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
1515 | if v:IsA('SelectionBox') then | |
1516 | v:destroy() | |
1517 | end | |
1518 | end | |
1519 | end | |
1520 | end) | |
1521 | ||
1522 | ADD_COMMAND('ghost','ghost [plr]',{}, | |
1523 | function(ARGS, SPEAKER) | |
1524 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1525 | for i,v in pairs(PLAYERS) do | |
1526 | local PCHAR = gPlayers[v].Character | |
1527 | for i,v in pairs(PCHAR:GetChildren()) do | |
1528 | if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then | |
1529 | v.Transparency = 0.5 | |
1530 | end | |
1531 | if v:IsA('Hat') and v:FindFirstChild('Handle') then | |
1532 | v.Transparecy = 0.5 | |
1533 | end | |
1534 | if PCHAR.Head:FindFirstChild('face') then | |
1535 | PCHAR.face.Transparecy = 0.5 | |
1536 | end | |
1537 | end | |
1538 | end | |
1539 | end) | |
1540 | ||
1541 | ADD_COMMAND('sphere','sphere [plr]',{}, | |
1542 | function(ARGS, SPEAKER) | |
1543 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1544 | for i,v in pairs(PLAYERS) do | |
1545 | local PCHAR=gPlayers[v].Character | |
1546 | local SS = Instance.new('SelectionSphere', PCHAR) | |
1547 | SS.Adornee = SS.Parent | |
1548 | end | |
1549 | end) | |
1550 | ||
1551 | ADD_COMMAND('loadmap','loadmap [id]',{}, | |
1552 | function(ARGS, SPEAKER) | |
1553 | if ARGS[1] then | |
1554 | spawn(function() | |
1555 | gWorkspace.Terrain:Clear() | |
1556 | for i,v in pairs(gWorkspace:GetChildren()) do if not v:IsA('Camera') and not v:IsA('Terrain') then v:destroy() end end | |
1557 | wait() | |
1558 | local GO = game:GetObjects('http://www.roblox.com/asset/?id=' .. (ARGS[1]))[1] | |
1559 | GO.Parent = gWorkspace | |
1560 | GO:MakeJoints() | |
1561 | wait() | |
1562 | for i,v in pairs(gPlayers:GetPlayers()) do | |
1563 | local M = Instance.new('Model', gWorkspace) M.Name = 'respawn_seth' | |
1564 | local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1 | |
1565 | Instance.new('Humanoid', M) | |
1566 | v.Character = M | |
1567 | end | |
1568 | end) | |
1569 | end | |
1570 | end) | |
1571 | ||
1572 | ADD_COMMAND('sky','sky [id]',{}, | |
1573 | function(ARGS, SPEAKER) | |
1574 | if ARGS[1] then | |
1575 | for i,v in pairs(gLighting:GetChildren()) do if v:IsA('Sky') then v:destroy() end end | |
1576 | local SKIES = {'Bk', 'Dn', 'Ft', 'Lf', 'Rt', 'Up'} | |
1577 | local SKY = Instance.new('Sky', gLighting) | |
1578 | for i,v in pairs(SKIES) do | |
1579 | SKY['Skybox' .. v] = 'rbxassetid://' .. ARGS[1] - 1 | |
1580 | end | |
1581 | end | |
1582 | end) | |
1583 | ||
1584 | ADD_COMMAND('ambient','ambient [r] [g] [b]',{}, | |
1585 | function(ARGS, SPEAKER) | |
1586 | if ARGS[1] and ARGS[2] and ARGS[3] then | |
1587 | gLighting.Ambient = Color3.new(ARGS[1], ARGS[2], ARGS[3]) | |
1588 | end | |
1589 | end) | |
1590 | ||
1591 | ADD_COMMAND('jail','jail [plr]',{}, | |
1592 | function(ARGS, SPEAKER) | |
1593 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1594 | for i,v in pairs(PLAYERS) do | |
1595 | if FIND_IN_TABLE(JAILED, gPlayers[v].Name) then return end | |
1596 | table.insert(JAILED, gPlayers[v].Name) | |
1597 | local PCHAR = gPlayers[v].Character | |
1598 | local JAIL = DATA.other.JAIL:Clone() JAIL.Parent = gWorkspace JAIL:MoveTo(PCHAR.Torso.Position) JAIL.Name = 'JAIL_' .. gPlayers[v].Name | |
1599 | repeat wait() | |
1600 | PCHAR = gPlayers[v].Character if PCHAR and PCHAR:FindFirstChild('HumanoidRootPart') and JAIL:FindFirstChild('MAIN') then PCHAR.HumanoidRootPart.CFrame = JAIL.MAIN.CFrame end | |
1601 | until not FIND_IN_TABLE(JAILED, gPlayers[v].Name) | |
1602 | end | |
1603 | end) | |
1604 | ||
1605 | ADD_COMMAND('unjail','unjail [plr]',{}, | |
1606 | function(ARGS, SPEAKER) | |
1607 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1608 | for i,v in pairs(PLAYERS) do | |
1609 | for a,b in pairs(JAILED) do if b == gPlayers[v].Name then table.remove(JAILED, a) end end | |
1610 | if gWorkspace:FindFirstChild('JAIL_' .. gPlayers[v].Name) then gWorkspace['JAIL_' .. gPlayers[v].Name]:destroy() end | |
1611 | end | |
1612 | end) | |
1613 | ||
1614 | ADD_COMMAND('animation','animation [plr] [id]',{'anim'}, | |
1615 | function(ARGS, SPEAKER) | |
1616 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1617 | for i,v in pairs(PLAYERS) do | |
1618 | local ID = ARGS[2] | |
1619 | if ARGS[2] == 'climb' then ID = '180436334' end | |
1620 | if ARGS[2] == 'fall' then ID = '180436148' end | |
1621 | if ARGS[2] == 'jump' then ID = '125750702' end | |
1622 | if ARGS[2] == 'sit' then ID = '178130996' end | |
1623 | for a,b in pairs(gPlayers[v].Character.Animate:GetChildren()) do | |
1624 | if b:IsA('StringValue') then | |
1625 | for c,d in pairs(b:GetChildren()) do | |
1626 | if d:IsA('Animation') then | |
1627 | d.AnimationId = 'rbxassetid://' .. ID | |
1628 | end | |
1629 | end | |
1630 | end | |
1631 | end | |
1632 | end | |
1633 | end) | |
1634 | ||
1635 | ADD_COMMAND('fix','fix [plr]',{}, | |
1636 | function(ARGS, SPEAKER) | |
1637 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1638 | for i,v in pairs(PLAYERS) do | |
1639 | local PCHAR = gPlayers[v].Character | |
1640 | RESET_MODEL(PCHAR) | |
1641 | UPDATE_MODEL(PCHAR, gPlayers[v].Name) | |
1642 | end | |
1643 | end) | |
1644 | ||
1645 | ADD_COMMAND('creeper','creeper [plr]',{'crpr'}, | |
1646 | function(ARGS, SPEAKER) | |
1647 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1648 | for i,v in pairs(PLAYERS) do | |
1649 | CREEPER(gPlayers[v]) | |
1650 | end | |
1651 | end) | |
1652 | ||
1653 | ADD_COMMAND('uncreeper','uncreeper [plr]',{}, | |
1654 | function(ARGS, SPEAKER) | |
1655 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1656 | for i,v in pairs(PLAYERS) do | |
1657 | local PCHAR = gPlayers[v].Character | |
1658 | RESET_MODEL(PCHAR) | |
1659 | UPDATE_MODEL(PCHAR, gPlayers[v].Name) | |
1660 | end | |
1661 | end) | |
1662 | ||
1663 | ADD_COMMAND('shrek','shrek [plr]',{}, | |
1664 | function(ARGS, SPEAKER) | |
1665 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1666 | for i,v in pairs(PLAYERS) do | |
1667 | SHREK(gPlayers[v]) | |
1668 | end | |
1669 | end) | |
1670 | ||
1671 | ADD_COMMAND('unshrek','unshrek [plr]',{}, | |
1672 | function(ARGS, SPEAKER) | |
1673 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1674 | for i,v in pairs(PLAYERS) do | |
1675 | local PCHAR = gPlayers[v].Character | |
1676 | RESET_MODEL(PCHAR) | |
1677 | UPDATE_MODEL(PCHAR, gPlayers[v].Name) | |
1678 | end | |
1679 | end) | |
1680 | ||
1681 | local SPAM = false | |
1682 | ||
1683 | ADD_COMMAND('spam','spam [string]',{}, | |
1684 | function(ARGS, SPEAKER) | |
1685 | SPAM = true | |
1686 | spawn(function() | |
1687 | repeat wait() | |
1688 | gPlayers:Chat(GLS(false, 0)) | |
1689 | until not SPAM | |
1690 | end) | |
1691 | end) | |
1692 | ||
1693 | ADD_COMMAND('nospam','nospam',{}, | |
1694 | function(ARGS, SPEAKER) | |
1695 | SPAM = false | |
1696 | end) | |
1697 | ||
1698 | ADD_COMMAND('nuke','nuke [plr]',{}, | |
1699 | function(ARGS, SPEAKER) | |
1700 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1701 | for i,v in pairs(PLAYERS) do | |
1702 | local PCHAR = gPlayers[v].Character | |
1703 | spawn(function() | |
1704 | if gPlayers[v] and PCHAR and PCHAR:FindFirstChild('Torso') then | |
1705 | local N = Instance.new('Part', gWorkspace) | |
1706 | N.Name = 'nuke_seth' | |
1707 | N.Anchored = true | |
1708 | N.CanCollide = false | |
1709 | N.FormFactor = 'Symmetric' | |
1710 | N.Shape = 'Ball' | |
1711 | N.Size = Vector3.new(1, 1, 1) | |
1712 | N.BrickColor = BrickColor.new('New Yeller') | |
1713 | N.Transparency = 0.5 | |
1714 | N.Reflectance = 0.2 | |
1715 | N.TopSurface = 0 | |
1716 | N.BottomSurface = 0 | |
1717 | N.Touched:connect(function (hit) | |
1718 | if hit and hit.Parent then | |
1719 | local boom = Instance.new('Explosion', gWorkspace) | |
1720 | boom.Position = hit.Position | |
1721 | boom.BlastRadius = 11 | |
1722 | boom.BlastPressure = math.huge | |
1723 | end | |
1724 | end) | |
1725 | local CF = PCHAR.Torso.CFrame | |
1726 | N.CFrame = CF | |
1727 | for i = 0, 111 do | |
1728 | N.Size = N.Size + Vector3.new(5, 5, 5) | |
1729 | N.CFrame = CF | |
1730 | wait(1 / 44) | |
1731 | end | |
1732 | N:destroy() | |
1733 | end | |
1734 | end) | |
1735 | end | |
1736 | end) | |
1737 | ||
1738 | ADD_COMMAND('unnuke','nonuke',{}, | |
1739 | function(ARGS, SPEAKER) | |
1740 | for i,v in pairs(gWorkspace:GetChildren()) do | |
1741 | if v.Name == 'nuke_seth' then | |
1742 | v:destroy() | |
1743 | end | |
1744 | end | |
1745 | end) | |
1746 | ||
1747 | ADD_COMMAND('infect','infect [plr]',{}, | |
1748 | function(ARGS, SPEAKER) | |
1749 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1750 | for i,v in pairs(PLAYERS) do | |
1751 | INFECT(gPlayers[v]) | |
1752 | end | |
1753 | end) | |
1754 | ||
1755 | ADD_COMMAND('uninfect','uninfect [plr]',{}, | |
1756 | function(ARGS, SPEAKER) | |
1757 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1758 | for i,v in pairs(PLAYERS) do | |
1759 | local PCHAR = gPlayers[v].Character | |
1760 | RESET_MODEL(PCHAR) | |
1761 | UPDATE_MODEL(PCHAR, gPlayers[v].Name) | |
1762 | end | |
1763 | end) | |
1764 | ||
1765 | ADD_COMMAND('duck','duck [plr]',{}, | |
1766 | function(ARGS, SPEAKER) | |
1767 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1768 | for i,v in pairs(PLAYERS) do | |
1769 | DUCK(gPlayers[v]) | |
1770 | end | |
1771 | end) | |
1772 | ||
1773 | ADD_COMMAND('unduck','unduck [plr]',{}, | |
1774 | function(ARGS, SPEAKER) | |
1775 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1776 | for i,v in pairs(PLAYERS) do | |
1777 | local PCHAR = gPlayers[v].Character | |
1778 | RESET_MODEL(PCHAR) | |
1779 | UPDATE_MODEL(PCHAR, gPlayers[v].Name) | |
1780 | end | |
1781 | end) | |
1782 | ||
1783 | ADD_COMMAND('disable','disable [plr]',{}, | |
1784 | function(ARGS, SPEAKER) | |
1785 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1786 | for i,v in pairs(PLAYERS) do | |
1787 | local PCHAR = gPlayers[v].Character | |
1788 | if PCHAR:FindFirstChild('Humanoid') then | |
1789 | PCHAR.Humanoid.Name = 'HUMANOID_' .. gPlayers[v].Name | |
1790 | local humanoid = PCHAR['HUMANOID_' .. gPlayers[v].Name] | |
1791 | humanoid.Parent = DATA.humanoids | |
1792 | end | |
1793 | end | |
1794 | end) | |
1795 | ||
1796 | ADD_COMMAND('enable','enable [plr]',{}, | |
1797 | function(ARGS, SPEAKER) | |
1798 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1799 | for i,v in pairs(PLAYERS) do | |
1800 | local PCHAR = gPlayers[v].Character | |
1801 | if PCHAR:FindFirstChild('Humanoid') then | |
1802 | return | |
1803 | else | |
1804 | if DATA.humanoids:FindFirstChild('HUMANOID_' .. gPlayers[v].Name) then | |
1805 | local humanoid = DATA.humanoids['HUMANOID_' .. gPlayers[v].Name] humanoid.Parent = PCHAR humanoid.Name = 'Humanoid' | |
1806 | end | |
1807 | end | |
1808 | end | |
1809 | end) | |
1810 | ||
1811 | ADD_COMMAND('size','size [plr] [int]',{}, | |
1812 | function(ARGS, SPEAKER) | |
1813 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1814 | for i,v in pairs(PLAYERS) do | |
1815 | SCALE(gPlayers[v].Character, ARGS[2]) | |
1816 | end | |
1817 | end) | |
1818 | ||
1819 | ADD_COMMAND('clone','clone [plr]',{}, | |
1820 | function(ARGS, SPEAKER) | |
1821 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1822 | for i,v in pairs(PLAYERS) do | |
1823 | local PCHAR = gPlayers[v].Character PCHAR.Archivable = true | |
1824 | local C = PCHAR:Clone() C.Parent = gWorkspace C:MoveTo(PCHAR:GetModelCFrame().p) C:MakeJoints() | |
1825 | PCHAR.Archivable = false | |
1826 | end | |
1827 | end) | |
1828 | ||
1829 | ADD_COMMAND('spin','spin [plr]',{}, | |
1830 | function(ARGS, SPEAKER) | |
1831 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1832 | for i,v in pairs(PLAYERS) do | |
1833 | local PCHAR = gPlayers[v].Character | |
1834 | for i,v in pairs(PCHAR.Torso:GetChildren()) do | |
1835 | if v.Name == 'SPIN' then | |
1836 | v:destroy() | |
1837 | end | |
1838 | end | |
1839 | local T = PCHAR.Torso | |
1840 | local BG = Instance.new('BodyGyro', T) BG.Name = 'SPIN' BG.maxTorque = Vector3.new(0, math.huge, 0) BG.P = 11111 BG.cframe = T.CFrame | |
1841 | spawn(function() | |
1842 | repeat wait(1/44) | |
1843 | BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0) | |
1844 | until not BG or BG.Parent ~= T | |
1845 | end) | |
1846 | end | |
1847 | end) | |
1848 | ||
1849 | ADD_COMMAND('unspin','unspin [plr]',{}, | |
1850 | function(ARGS, SPEAKER) | |
1851 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1852 | for i,v in pairs(PLAYERS) do | |
1853 | local PCHAR = gPlayers[v].Character | |
1854 | for i,v in pairs(PCHAR.Torso:GetChildren()) do | |
1855 | if v.Name == 'SPIN' then | |
1856 | v:destroy() | |
1857 | end | |
1858 | end | |
1859 | end | |
1860 | end) | |
1861 | ||
1862 | ADD_COMMAND('dog','dog [plr]',{}, | |
1863 | function(ARGS, SPEAKER) | |
1864 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1865 | for i,v in pairs(PLAYERS) do | |
1866 | DOG(gPlayers[v]) | |
1867 | end | |
1868 | end) | |
1869 | ||
1870 | ADD_COMMAND('undog','undog [plr]',{}, | |
1871 | function(ARGS, SPEAKER) | |
1872 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1873 | for i,v in pairs(PLAYERS) do | |
1874 | local PCHAR = gPlayers[v].Character | |
1875 | RESET_MODEL(PCHAR) | |
1876 | UPDATE_MODEL(PCHAR, gPlayers[v].Name) | |
1877 | end | |
1878 | end) | |
1879 | ||
1880 | ADD_COMMAND('loopheal','loopheal [plr]',{'lheal'}, | |
1881 | function(ARGS, SPEAKER) | |
1882 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1883 | for i,v in pairs(PLAYERS) do | |
1884 | local PCHAR = gPlayers[v].Character | |
1885 | if being_looped:FindFirstChild(gPlayers[v].Name .. '_heal') then | |
1886 | being_looped[gPlayers[v].Name .. '_heal']:destroy() | |
1887 | else | |
1888 | local loopheal = Instance.new('StringValue', being_looped) | |
1889 | loopheal.Name = gPlayers[v].Name .. '_heal' | |
1890 | game:GetService('RunService').RenderStepped:connect(function() | |
1891 | if being_looped:FindFirstChild(gPlayers[v].Name .. '_heal') then | |
1892 | PCHAR.Humanoid.Health = PCHAR.Humanoid.MaxHealth | |
1893 | end | |
1894 | end) | |
1895 | end | |
1896 | end | |
1897 | end) | |
1898 | ||
1899 | ADD_COMMAND('unloopheal','unloopheal [plr]',{'unlheal'}, | |
1900 | function(ARGS, SPEAKER) | |
1901 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1902 | for i,v in pairs(PLAYERS) do | |
1903 | local PCHAR = gPlayers[v].Character | |
1904 | if being_looped:FindFirstChild(gPlayers[v].Name .. '_heal') then | |
1905 | being_looped[gPlayers[v].Name .. '_heal']:destroy() | |
1906 | end | |
1907 | end | |
1908 | end) | |
1909 | ||
1910 | ADD_COMMAND('fling','fling [plr]',{}, | |
1911 | function(ARGS, SPEAKER) | |
1912 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1913 | for i,v in pairs(PLAYERS) do | |
1914 | local PCHAR = gPlayers[v].Character | |
1915 | if PCHAR:FindFirstChild('Humanoid') then | |
1916 | local X | |
1917 | local Z | |
1918 | repeat | |
1919 | X = math.random(-9999, 9999) | |
1920 | until math.abs(X) >= 5555 | |
1921 | repeat | |
1922 | Z = math.random(-9999, 9999) | |
1923 | until math.abs(Z) >= 5555 | |
1924 | PCHAR.Torso.Velocity = Vector3.new(0, 0, 0) | |
1925 | local BF = Instance.new('BodyForce', PCHAR.Torso) BF.force = Vector3.new(X * 4, 9999 * 5, Z * 4) | |
1926 | end | |
1927 | end | |
1928 | end) | |
1929 | ||
1930 | ADD_COMMAND('ayylmao','ayylmao [plr]',{}, | |
1931 | function(ARGS, SPEAKER) | |
1932 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1933 | for i,v in pairs(PLAYERS) do | |
1934 | AYYLMAO(gPlayers[v]) | |
1935 | end | |
1936 | end) | |
1937 | ||
1938 | ADD_COMMAND('nograv','nograv [plr]',{}, | |
1939 | function(ARGS, SPEAKER) | |
1940 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1941 | for i,v in pairs(PLAYERS) do | |
1942 | local PCHAR = gPlayers[v].Character | |
1943 | for i,v in pairs(PCHAR.Torso:GetChildren()) do | |
1944 | if v.Name == 'nograv' then | |
1945 | v:destroy() | |
1946 | end | |
1947 | end | |
1948 | local BF = Instance.new('BodyForce', PCHAR.Torso) | |
1949 | BF.Name = 'nograv_seth' | |
1950 | BF.Force = Vector3.new(0, 2500, 0) | |
1951 | end | |
1952 | end) | |
1953 | ||
1954 | ADD_COMMAND('grav','grav [plr]',{}, | |
1955 | function(ARGS, SPEAKER) | |
1956 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1957 | for i,v in pairs(PLAYERS) do | |
1958 | local PCHAR = gPlayers[v].Character | |
1959 | for i,v in pairs(PCHAR.Torso:GetChildren()) do | |
1960 | if v.Name == 'nograv_seth' then | |
1961 | v:destroy() | |
1962 | end | |
1963 | end | |
1964 | end | |
1965 | end) | |
1966 | ||
1967 | ADD_COMMAND('cape','cape [brick color]',{}, | |
1968 | function(ARGS, SPEAKER) | |
1969 | spawn(function() | |
1970 | if LP.Character:FindFirstChild('Cape') then | |
1971 | LP.Character.Cape:destroy() | |
1972 | end | |
1973 | if not ARGS[1] then | |
1974 | ARGS[1] = 'Deep blue' | |
1975 | end | |
1976 | CAPE(GLS(false, 1)) | |
1977 | end) | |
1978 | end) | |
1979 | ||
1980 | ADD_COMMAND('uncape','uncape',{}, | |
1981 | function(ARGS, SPEAKER) | |
1982 | if LP.Character:FindFirstChild('cape_seth') then | |
1983 | LP.Character.cape_seth:destroy() | |
1984 | end | |
1985 | end) | |
1986 | ||
1987 | ADD_COMMAND('paper','paper [plr]',{}, | |
1988 | function(ARGS, SPEAKER) | |
1989 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1990 | for i,v in pairs(PLAYERS) do | |
1991 | local PCHAR = gPlayers[v].Character | |
1992 | for i,v in pairs(PCHAR:GetChildren()) do | |
1993 | if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then | |
1994 | DATA.other.Paper:Clone().Parent = v | |
1995 | end | |
1996 | end | |
1997 | end | |
1998 | end) | |
1999 | ||
2000 | ADD_COMMAND('punish','punish [plr]',{}, | |
2001 | function(ARGS, SPEAKER) | |
2002 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2003 | for i,v in pairs(PLAYERS) do | |
2004 | local PCHAR = gPlayers[v].Character | |
2005 | PCHAR.Parent = gLighting | |
2006 | end | |
2007 | end) | |
2008 | ||
2009 | ADD_COMMAND('unpunish','unpunish [plr]',{}, | |
2010 | function(ARGS, SPEAKER) | |
2011 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2012 | for i,v in pairs(PLAYERS) do | |
2013 | local PCHAR = gLighting['' .. gPlayers[v].Name] | |
2014 | PCHAR.Parent = gWorkspace | |
2015 | end | |
2016 | end) | |
2017 | ||
2018 | local DISCO = false | |
2019 | ||
2020 | ADD_COMMAND('disco','disco',{}, | |
2021 | function(ARGS, SPEAKER) | |
2022 | DISCO = true | |
2023 | spawn(function() | |
2024 | repeat wait(0.5) gLighting.Ambient = Color3.new(math.random(), math.random(), math.random()) until not DISCO | |
2025 | end) | |
2026 | end) | |
2027 | ||
2028 | ADD_COMMAND('undisco','undisco',{}, | |
2029 | function(ARGS, SPEAKER) | |
2030 | DISCO = false | |
2031 | end) | |
2032 | ||
2033 | ADD_COMMAND('team','team [plr] [team]',{}, | |
2034 | function(ARGS, SPEAKER) | |
2035 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2036 | for i,v in pairs(PLAYERS) do | |
2037 | for a,b in pairs(game.Teams:GetChildren()) do | |
2038 | if string.lower(b.Name) == GLS(true, 1) then | |
2039 | gPlayers[v].Team = b | |
2040 | end | |
2041 | end | |
2042 | end | |
2043 | end) | |
2044 | ||
2045 | ADD_COMMAND('jp','jp [plr] [int]',{}, | |
2046 | function(ARGS, SPEAKER) | |
2047 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2048 | for i,v in pairs(PLAYERS) do | |
2049 | local PCHAR = gPlayers[v].Character | |
2050 | if PCHAR:FindFirstChild('Humanoid') then PCHAR.Humanoid.JumpPower = ARGS[2] end | |
2051 | end | |
2052 | end) | |
2053 | ||
2054 | ADD_COMMAND('vest','vest',{}, | |
2055 | function(ARGS, SPEAKER) | |
2056 | EXECUTE(DATA.scripts.vest_seth.Source) | |
2057 | end) | |
2058 | ||
2059 | ADD_COMMAND('smallhead','smallhead [plr]',{'shead'}, | |
2060 | function(ARGS, SPEAKER) | |
2061 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2062 | for i,v in pairs(PLAYERS) do | |
2063 | local PCHAR = gPlayers[v].Character | |
2064 | PCHAR.Head.Mesh.Scale = Vector3.new(0.5, 0.5, 0.5) | |
2065 | PCHAR.Head.Mesh.Offset = Vector3.new(0, -0.25, 0) | |
2066 | end | |
2067 | end) | |
2068 | ||
2069 | ADD_COMMAND('bighead','bighead [plr]',{'bhead'}, | |
2070 | function(ARGS, SPEAKER) | |
2071 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2072 | for i,v in pairs(PLAYERS) do | |
2073 | local PCHAR = gPlayers[v].Character | |
2074 | PCHAR.Head.Mesh.Scale = Vector3.new(2.25, 2.25, 2.25) | |
2075 | PCHAR.Head.Mesh.Offset = Vector3.new(0, 0.5, 0) | |
2076 | end | |
2077 | end) | |
2078 | ||
2079 | ADD_COMMAND('headsize','headsize [plr] [int]',{'hsize'}, | |
2080 | function(ARGS, SPEAKER) | |
2081 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2082 | for i,v in pairs(PLAYERS) do | |
2083 | local PCHAR = gPlayers[v].Character | |
2084 | if ARGS[2] == 1 then | |
2085 | PCHAR.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25) | |
2086 | PCHAR.Head.Mesh.Offset = Vector3.new(0, 0, 0) | |
2087 | else | |
2088 | PCHAR.Head.Mesh.Scale = ARGS[2] * Vector3.new(1.25, 1.25, 1.25) | |
2089 | end | |
2090 | end | |
2091 | end) | |
2092 | ||
2093 | ADD_COMMAND('fixhead','fixhead [plr]',{'fhead'}, | |
2094 | function(ARGS, SPEAKER) | |
2095 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2096 | for i,v in pairs(PLAYERS) do | |
2097 | local PCHAR = gPlayers[v].Character | |
2098 | PCHAR.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25) | |
2099 | PCHAR.Head.Mesh.Offset = Vector3.new(0, 0, 0) | |
2100 | PCHAR.Head.Transparency = 0 | |
2101 | if PCHAR.Head:FindFirstChild('face') then PCHAR.Head.face.Transparency = 0 end | |
2102 | end | |
2103 | end) | |
2104 | ||
2105 | ADD_COMMAND('removehead','removehead [plr]',{'rhead'}, | |
2106 | function(ARGS, SPEAKER) | |
2107 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2108 | for i,v in pairs(PLAYERS) do | |
2109 | local PCHAR = gPlayers[v].Character | |
2110 | PCHAR.Head.Transparency = 1 | |
2111 | if PCHAR.Head:FindFirstChild('face') then PCHAR.Head.face.Transparency = 1 end | |
2112 | end | |
2113 | end) | |
2114 | ||
2115 | ADD_COMMAND('stealtools','stealtools [plr]',{'stools'}, | |
2116 | function(ARGS, SPEAKER) | |
2117 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2118 | for i,v in pairs(PLAYERS) do | |
2119 | for i,v in pairs(gPlayers[v].Backpack:GetChildren()) do | |
2120 | if v:IsA('Tool') or v:IsA('HopperBin') then | |
2121 | v.Parent = LP.Backpack | |
2122 | end | |
2123 | end | |
2124 | end | |
2125 | end) | |
2126 | ||
2127 | ADD_COMMAND('removetools','removetools [plr]',{'rtools'}, | |
2128 | function(ARGS, SPEAKER) | |
2129 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2130 | for i,v in pairs(PLAYERS) do | |
2131 | for i,v in pairs(gPlayers[v].Backpack:GetChildren()) do | |
2132 | if v:IsA('Tool') or v:IsA('HopperBin') then | |
2133 | v:destroy() | |
2134 | end | |
2135 | end | |
2136 | end | |
2137 | end) | |
2138 | ||
2139 | ADD_COMMAND('clonetools','clonetools [plr]',{'ctools'}, | |
2140 | function(ARGS, SPEAKER) | |
2141 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2142 | for i,v in pairs(PLAYERS) do | |
2143 | for i,v in pairs(gPlayers[v].Backpack:GetChildren()) do | |
2144 | if v:IsA('Tool') or v:IsA('HopperBin') then | |
2145 | v:Clone().Parent = LP.Backpack | |
2146 | end | |
2147 | end | |
2148 | end | |
2149 | end) | |
2150 | ||
2151 | ADD_COMMAND('dong','dong [plr]',{}, | |
2152 | function(ARGS, SPEAKER) | |
2153 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2154 | for i,v in pairs(PLAYERS) do | |
2155 | local PCHAR = gPlayers[v].Character | |
2156 | if ARGS[2] == 'black' then | |
2157 | CREATE_DONG(gPlayers[v], 'Brown') | |
2158 | end | |
2159 | if ARGS[2] == 'asian' then | |
2160 | CREATE_DONG(gPlayers[v], 'Cool yellow') | |
2161 | end | |
2162 | if ARGS[2] == 'alien' then | |
2163 | CREATE_DONG(gPlayers[v], 'Lime green') | |
2164 | end | |
2165 | if ARGS[2] == 'frozen' then | |
2166 | CREATE_DONG(gPlayers[v], 1019) | |
2167 | end | |
2168 | if not ARGS[2] then | |
2169 | CREATE_DONG(gPlayers[v], 'Pastel brown') | |
2170 | end | |
2171 | end | |
2172 | end) | |
2173 | ||
2174 | ADD_COMMAND('particles','particles [plr] [id]',{'pts'}, | |
2175 | function(ARGS, SPEAKER) | |
2176 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2177 | for i,v in pairs(PLAYERS) do | |
2178 | local PCHAR = gPlayers[v].Character | |
2179 | for i,v in pairs(PCHAR.Torso:GetChildren()) do | |
2180 | if v:IsA('ParticleEmitter') then | |
2181 | v:destroy() | |
2182 | end | |
2183 | end | |
2184 | wait() | |
2185 | Instance.new('ParticleEmitter', PCHAR.Torso).Texture = 'http://www.roblox.com/asset/?id=' .. ARGS[2] - 1 | |
2186 | end | |
2187 | end) | |
2188 | ||
2189 | ADD_COMMAND('rocket','rocket [plr]',{}, | |
2190 | function(ARGS, SPEAKER) | |
2191 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2192 | for i,v in pairs(PLAYERS) do | |
2193 | local PCHAR = gPlayers[v].Character | |
2194 | spawn(function() | |
2195 | local rocket = DATA.other.rocket_seth:Clone() | |
2196 | rocket.Parent = gWorkspace | |
2197 | local weld = Instance.new('Weld', rocket) | |
2198 | weld.Part0 = weld.Parent | |
2199 | weld.Part1 = PCHAR.Torso | |
2200 | weld.C1 = CFrame.new(0, 0.5, 1) | |
2201 | rocket.force.Force = Vector3.new(0, 15000, 0) | |
2202 | wait(0.5) | |
2203 | PCHAR.HumanoidRootPart.CFrame = PCHAR.HumanoidRootPart.CFrame * CFrame.new(0, 5, 0) | |
2204 | wait(5) | |
2205 | Instance.new('Explosion', rocket).Position = rocket.Position | |
2206 | wait(1) | |
2207 | rocket:destroy() | |
2208 | end) | |
2209 | end | |
2210 | end) | |
2211 | ||
2212 | ADD_COMMAND('blackify','blackify [plr]',{}, | |
2213 | function(ARGS, SPEAKER) | |
2214 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2215 | for i,v in pairs(PLAYERS) do | |
2216 | COLOR(gPlayers[v], 'Really black') | |
2217 | end | |
2218 | end) | |
2219 | ||
2220 | ADD_COMMAND('whitify','whitify [plr]',{}, | |
2221 | function(ARGS, SPEAKER) | |
2222 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2223 | for i,v in pairs(PLAYERS) do | |
2224 | COLOR(gPlayers[v], 'White') | |
2225 | end | |
2226 | end) | |
2227 | ||
2228 | ADD_COMMAND('color','color [plr]',{}, | |
2229 | function(ARGS, SPEAKER) | |
2230 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2231 | for i,v in pairs(PLAYERS) do | |
2232 | COLOR(gPlayers[v], GLS(false, 1)) | |
2233 | end | |
2234 | end) | |
2235 | ||
2236 | ADD_COMMAND('telekinesis','telekinesis',{'tk'}, | |
2237 | function(ARGS, SPEAKER) | |
2238 | EXECUTE(DATA.scripts.tele_seth.Source) | |
2239 | end) | |
2240 | ||
2241 | ADD_COMMAND('sword','sword [plr]',{}, | |
2242 | function(ARGS, SPEAKER) | |
2243 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2244 | for i,v in pairs(PLAYERS) do | |
2245 | ECOMMAND('gear ' .. gPlayers[v].Name .. ' 125013769') | |
2246 | end | |
2247 | end) | |
2248 | ||
2249 | ADD_COMMAND('change','change [plr] [stat] [int/string]',{}, | |
2250 | function(ARGS, SPEAKER) | |
2251 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2252 | for i,v in pairs(PLAYERS) do | |
2253 | if gPlayers[v]:FindFirstChild('leaderstats') then | |
2254 | for i,v in pairs(gPlayers[v].leaderstats:GetChildren()) do | |
2255 | if string.lower(v.Name) == string.lower(ARGS[2]) and v:IsA('IntValue') or v:IsA('NumberValue') then | |
2256 | if ARGS[3] then v.Value = tonumber(ARGS[3]) end | |
2257 | elseif string.lower(v.Name) == string.lower(ARGS[2]) and v:IsA('StringValue') then | |
2258 | v.Value = GLS(false, 2) | |
2259 | end | |
2260 | end | |
2261 | end | |
2262 | end | |
2263 | end) | |
2264 | ||
2265 | ADD_COMMAND('bait','bait',{}, | |
2266 | function(ARGS, SPEAKER) | |
2267 | spawn(function() | |
2268 | local M = Instance.new('Model', gWorkspace) M.Name = 'Touch For Admin!' | |
2269 | local P = Instance.new('Part', M) P.Name = 'Head' P.Position = SPEAKER.Character.Head.Position P.BrickColor = BrickColor.new('Pink') P.Material = 'Neon' | |
2270 | local H = Instance.new('Humanoid', M) | |
2271 | P.Touched:connect(function(RIP) if RIP.Parent.Name ~= SPEAKER.Name or RIP.Parent.Name ~= LP.Name then if RIP.Parent:FindFirstChild('Humanoid') then RIP.Parent.Humanoid:destroy() end end end) | |
2272 | end) | |
2273 | end) | |
2274 | ||
2275 | ADD_COMMAND('pm','pm [plr] [string]',{}, | |
2276 | function(ARGS, SPEAKER) | |
2277 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2278 | for i,v in pairs(PLAYERS) do | |
2279 | if not DATA.messages_hints:FindFirstChild(gPlayers[v].Name .. '_MSG_HINT') then | |
2280 | spawn(function() | |
2281 | MESSAGE_HINT('MESSAGE', 'PM System', GLS(false, 1), gPlayers[v]) | |
2282 | end) | |
2283 | end | |
2284 | end | |
2285 | end) | |
2286 | ||
2287 | ADD_COMMAND('message','message [string]',{'m'}, | |
2288 | function(ARGS, SPEAKER) | |
2289 | for i,v in pairs(gPlayers:GetPlayers()) do | |
2290 | if not DATA.messages_hints:FindFirstChild(v.Name .. '_MSG_HINT') then | |
2291 | spawn(function() | |
2292 | MESSAGE_HINT('MESSAGE', 'Global Message System', GLS(false, 0), v) | |
2293 | end) | |
2294 | end | |
2295 | end | |
2296 | end) | |
2297 | ||
2298 | ADD_COMMAND('hint','hint [string]',{'h'}, | |
2299 | function(ARGS, SPEAKER) | |
2300 | for i,v in pairs(gPlayers:GetPlayers()) do | |
2301 | if not DATA.messages_hints:FindFirstChild(v.Name .. '_MSG_HINT') then | |
2302 | spawn(function() | |
2303 | MESSAGE_HINT('HINT', '', GLS(false, 0), v) | |
2304 | end) | |
2305 | end | |
2306 | end | |
2307 | end) | |
2308 | ||
2309 | ADD_COMMAND('naked','naked [plr]',{}, | |
2310 | function(ARGS, SPEAKER) | |
2311 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2312 | for i,v in pairs(PLAYERS) do | |
2313 | local PCHAR = gPlayers[v].Character | |
2314 | for i,v in pairs(PCHAR:GetChildren()) do | |
2315 | if v:IsA('Hat') or v:IsA('Shirt') or v:IsA('Pants') or v:IsA('ShirtGraphic') then | |
2316 | v:destroy() | |
2317 | end | |
2318 | for i,v in pairs(PCHAR.Torso:GetChildren()) do | |
2319 | if v:IsA('Decal') then | |
2320 | v:destroy() | |
2321 | end | |
2322 | end | |
2323 | end | |
2324 | end | |
2325 | end) | |
2326 | ||
2327 | ADD_COMMAND('decalspam','decalspam [decal]',{'dspam'}, | |
2328 | function(ARGS, SPEAKER) | |
2329 | if ARGS[1] then | |
2330 | DECALSPAM(gWorkspace, ARGS[1]) | |
2331 | end | |
2332 | end) | |
2333 | ||
2334 | ADD_COMMAND('undecalspam','undecalspam',{'undspam'}, | |
2335 | function(ARGS, SPEAKER) | |
2336 | if ARGS[1] then | |
2337 | UNDECALSPAM(gWorkspace) | |
2338 | end | |
2339 | end) | |
2340 | ||
2341 | ADD_COMMAND('bang','bang [plr]',{'rape'}, | |
2342 | function(ARGS, SPEAKER) | |
2343 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2344 | for i,v in pairs(PLAYERS) do | |
2345 | BANG(gPlayers[v].Name) | |
2346 | end | |
2347 | end) | |
2348 | ||
2349 | ADD_COMMAND('lag','lag [plr]',{}, | |
2350 | function(ARGS, SPEAKER) | |
2351 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2352 | for i,v in pairs(PLAYERS) do | |
2353 | LAG(gPlayers[v]) | |
2354 | end | |
2355 | end) | |
2356 | ||
2357 | ADD_COMMAND('respawn','respawn [plr]',{}, | |
2358 | function(ARGS, SPEAKER) | |
2359 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2360 | for i,v in pairs(PLAYERS) do | |
2361 | local M = Instance.new('Model', gWorkspace) M.Name = 'respawn_seth' | |
2362 | local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1 | |
2363 | Instance.new('Humanoid', M) | |
2364 | gPlayers[v].Character = M | |
2365 | end | |
2366 | end) | |
2367 | ||
2368 | ADD_COMMAND('face','face [plr] [decal]',{}, | |
2369 | function(ARGS, SPEAKER) | |
2370 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2371 | for i,v in pairs(PLAYERS) do | |
2372 | local PCHAR = gPlayers[v].Character | |
2373 | for i,v in pairs(PCHAR.Head:GetChildren()) do if v:IsA('Decal') then v:destroy() end end | |
2374 | local F = Instance.new('Decal', PCHAR.Head) F.Name = 'face' F.Texture = 'rbxassetid://' .. ARGS[2] - 1 | |
2375 | end | |
2376 | end) | |
2377 | ||
2378 | ADD_COMMAND('shirt','shirt [plr] [decal]',{}, | |
2379 | function(ARGS, SPEAKER) | |
2380 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2381 | for i,v in pairs(PLAYERS) do | |
2382 | local PCHAR = gPlayers[v].Character | |
2383 | for i,v in pairs(PCHAR:GetChildren()) do if v:IsA('Shirt') then v:destroy() end end | |
2384 | local S = Instance.new('Shirt', PCHAR) S.Name = 'Shirt' S.ShirtTemplate = 'rbxassetid://' .. ARGS[2] - 1 | |
2385 | end | |
2386 | end) | |
2387 | ||
2388 | ADD_COMMAND('pants','pants [plr] [decal]',{}, | |
2389 | function(ARGS, SPEAKER) | |
2390 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2391 | for i,v in pairs(PLAYERS) do | |
2392 | local PCHAR = gPlayers[v].Character | |
2393 | for i,v in pairs(PCHAR:GetChildren()) do if v:IsA('Pants') then v:destroy() end end | |
2394 | local P = Instance.new('Pants', PCHAR) P.Name = 'Shirt' P.PantsTemplate = 'rbxassetid://' .. ARGS[2] - 1 | |
2395 | end | |
2396 | end) | |
2397 | ||
2398 | ADD_COMMAND('longneck','longneck [plr]',{'lneck', 'giraffe'}, | |
2399 | function(ARGS, SPEAKER) | |
2400 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2401 | for i,v in pairs(PLAYERS) do | |
2402 | local PCHAR = gPlayers[v].Character | |
2403 | RESET_MODEL(PCHAR) | |
2404 | UPDATE_MODEL(PCHAR, gPlayers[v].Name) | |
2405 | for i,v in pairs(PCHAR:GetChildren()) do if v:IsA('Hat') then v.Handle.Mesh.Offset = Vector3.new(0, 5, 0) end end | |
2406 | if PCHAR.Head:FindFirstChild('Mesh') then PCHAR.Head.Mesh.Offset = Vector3.new(0, 5, 0) end | |
2407 | local G = Instance.new('Part', PCHAR) G.Name = 'giraffe_seth' G.BrickColor = PCHAR.Head.BrickColor G.Size = Vector3.new(2, 1, 1) | |
2408 | local SM = Instance.new('SpecialMesh', G) SM.Scale = Vector3.new(1.25, 5, 1.25) SM.Offset = Vector3.new(0, 2, 0) | |
2409 | local W = Instance.new('Weld', G) W.Part0 = PCHAR.Head W.Part1 = G | |
2410 | end | |
2411 | end) | |
2412 | ||
2413 | ADD_COMMAND('stealchar','stealchar [plr]',{'schar'}, | |
2414 | function(ARGS, SPEAKER) | |
2415 | local PLAYERS1, PLAYERS2 = GET_PLAYER(ARGS[1]) | |
2416 | for i,v in pairs(PLAYERS1) do | |
2417 | RESET_MODEL(SPEAKER.Character) UPDATE_MODEL(SPEAKER.Character, gPlayers[v].Name) | |
2418 | end | |
2419 | end) | |
2420 | ||
2421 | ADD_COMMAND('baseplate','baseplate',{'bp'}, | |
2422 | function(ARGS, SPEAKER) | |
2423 | for i,v in pairs(gWorkspace:GetChildren()) do if v:IsA('Model') and v.Name == 'baseplate_seth' then v:destroy() end end | |
2424 | local BP = Instance.new('Part', gWorkspace) BP.Name = 'baseplate_seth' BP.Anchored = true BP.BrickColor = BrickColor.new('Bright green') BP.Size = Vector3.new(2048, 5, 2048) BP.Position = Vector3.new(0, 0, 0) | |
2425 | end) | |
2426 | ||
2427 | ADD_COMMAND('norotate','norotate [plr]',{'nrt'}, | |
2428 | function(ARGS, SPEAKER) | |
2429 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2430 | for i,v in pairs(PLAYERS) do | |
2431 | local PCHAR = gPlayers[v].Character | |
2432 | if PCHAR:FindFirstChild('Humanoid') then PCHAR.Humanoid.AutoRotate = false end | |
2433 | end | |
2434 | end) | |
2435 | ||
2436 | ADD_COMMAND('rotate','rotate [plr]',{'rt'}, | |
2437 | function(ARGS, SPEAKER) | |
2438 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2439 | for i,v in pairs(PLAYERS) do | |
2440 | local PCHAR = gPlayers[v].Character | |
2441 | if PCHAR:FindFirstChild('Humanoid') then PCHAR.Humanoid.AutoRotate = true end | |
2442 | end | |
2443 | end) | |
2444 | ||
2445 | ADD_COMMAND('admin','admin [plr]',{}, | |
2446 | function(ARGS, SPEAKER) | |
2447 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2448 | for i,v in pairs(PLAYERS) do | |
2449 | if not CHECK_ADMIN(gPlayers[v]) then | |
2450 | table.insert(ADMINS, gPlayers[v].userId) | |
2451 | spawn(function() | |
2452 | game.Chat:Chat(gPlayers[v].Character.Head, printStuff .. 'You\'re now an admin!') | |
2453 | wait(3) | |
2454 | game.Chat:Chat(gPlayers[v].Character.Head, printStuff .. 'Give me a try! | ' .. C_PREFIX .. 'ff me') | |
2455 | end) | |
2456 | end | |
2457 | end | |
2458 | end) | |
2459 | ||
2460 | ADD_COMMAND('unadmin','unadmin [plr]',{}, | |
2461 | function(ARGS, SPEAKER) | |
2462 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2463 | for i,v in pairs(PLAYERS) do | |
2464 | if CHECK_ADMIN(gPlayers[v]) then | |
2465 | if FIND_IN_TABLE(ADMINS, gPlayers[v].userId) then | |
2466 | table.remove(ADMINS, GET_IN_TABLE(ADMINS, gPlayers[v].userId)) | |
2467 | game.Chat:Chat(gPlayers[v].Character.Head, printStuff .. 'You\'re no longer an admin.') | |
2468 | end | |
2469 | end | |
2470 | end | |
2471 | end) | |
2472 | ||
2473 | ADD_COMMAND('minzoom','minzoom [plr] [int]',{'minz'}, | |
2474 | function(ARGS, SPEAKER) | |
2475 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2476 | for i,v in pairs(PLAYERS) do | |
2477 | gPlayers[v].CameraMinZoomDistance = ARGS[2] | |
2478 | end | |
2479 | end) | |
2480 | ||
2481 | ADD_COMMAND('maxzoom','maxzoom [plr] [int]',{'maxz'}, | |
2482 | function(ARGS, SPEAKER) | |
2483 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2484 | for i,v in pairs(PLAYERS) do | |
2485 | gPlayers[v].CameraMaxZoomDistance = ARGS[2] | |
2486 | end | |
2487 | end) | |
2488 | ||
2489 | ADD_COMMAND('age','age [plr]',{}, | |
2490 | function(ARGS, SPEAKER) | |
2491 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2492 | for i,v in pairs(PLAYERS) do | |
2493 | NOTIFY(gPlayers[v].Name .. ' | ' .. gPlayers[v].AccountAge, 255, 255, 255) | |
2494 | end | |
2495 | end) | |
2496 | ||
2497 | ADD_COMMAND('hl','hl [plr] [r] [g] [b]',{}, | |
2498 | function(ARGS, SPEAKER) | |
2499 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2500 | for i,v in pairs(PLAYERS) do | |
2501 | local PCHAR = gPlayers[v].Character | |
2502 | if PCHAR:FindFirstChild('Torso') then | |
2503 | local HL = Instance.new('SpotLight', PCHAR.Torso) HL.Name = 'seth_hl' HL.Brightness = 5 HL.Range = 60 | |
2504 | if ARGS[2] and ARGS[3] and ARGS[4] then | |
2505 | HL.Color = Color3.new(ARGS[2], ARGS[3], ARGS[4]) | |
2506 | end | |
2507 | end | |
2508 | end | |
2509 | end) | |
2510 | ||
2511 | ADD_COMMAND('unhl','unhl [plr]',{}, | |
2512 | function(ARGS, SPEAKER) | |
2513 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2514 | for i,v in pairs(PLAYERS) do | |
2515 | local PCHAR = gPlayers[v].Character | |
2516 | if PCHAR:FindFirstChild('Torso') then | |
2517 | for i,v in pairs(PCHAR.Torso:GetChildren()) do | |
2518 | if v:IsA('SpotLight') and v.Name == 'seth_hl' then | |
2519 | v:destroy() | |
2520 | end | |
2521 | end | |
2522 | end | |
2523 | end | |
2524 | end) | |
2525 | ||
2526 | -- / extra | |
2527 | ||
2528 | ADD_COMMAND('gravity','gravity [int]',{}, | |
2529 | function(ARGS, SPEAKER) | |
2530 | gWorkspace.Gravity = ARGS[1] | |
2531 | end) | |
2532 | ||
2533 | ADD_COMMAND('loadpaste','loadpaste [pastebin id]',{}, | |
2534 | function(ARGS, SPEAKER) | |
2535 | EXECUTE(game:HttpGet('http://pastebin.com/raw/' .. ARGS[1], true)) | |
2536 | end) | |
2537 | ||
2538 | ADD_COMMAND('printadmins','printadmins',{'padmins'}, | |
2539 | function(ARGS, SPEAKER) | |
2540 | for i,v in pairs(ADMINS) do | |
2541 | print (v) | |
2542 | end | |
2543 | end) | |
2544 | ||
2545 | ADD_COMMAND('printbans','printbans',{'pbans'}, | |
2546 | function(ARGS, SPEAKER) | |
2547 | for i,v in pairs(BANS) do | |
2548 | print (gPlayers:GetNameFromUserIdAsync(v)) | |
2549 | end | |
2550 | end) | |
2551 | ||
2552 | ADD_COMMAND('fixlighting','fixlighting',{'fixl'}, | |
2553 | function(ARGS, SPEAKER) | |
2554 | FIX_LIGHTING() | |
2555 | end) | |
2556 | ||
2557 | ADD_COMMAND('fixfog','fixfog',{'clrfog'}, | |
2558 | function(ARGS, SPEAKER) | |
2559 | gLighting.FogColor = Color3.new(191, 191, 191) | |
2560 | gLighting.FogEnd = 100000000 | |
2561 | gLighting.FogStart = 0 | |
2562 | end) | |
2563 | ||
2564 | ADD_COMMAND('day','day',{}, | |
2565 | function(ARGS, SPEAKER) | |
2566 | gLighting.TimeOfDay = 14 | |
2567 | end) | |
2568 | ||
2569 | ADD_COMMAND('night','night',{}, | |
2570 | function(ARGS, SPEAKER) | |
2571 | gLighting.TimeOfDay = 24 | |
2572 | end) | |
2573 | ||
2574 | ADD_COMMAND('serverlock','serverlock',{'slock'}, | |
2575 | function(ARGS, SPEAKER) | |
2576 | SERVER_LOCKED = true | |
2577 | end) | |
2578 | ||
2579 | ADD_COMMAND('unserverlock','unserverlock',{'unslock'}, | |
2580 | function(ARGS, SPEAKER) | |
2581 | SERVER_LOCKED = false | |
2582 | end) | |
2583 | ||
2584 | ADD_COMMAND('fogend','fogend [int]',{}, | |
2585 | function(ARGS, SPEAKER) | |
2586 | gLighting.FogEnd = ARGS[1] | |
2587 | end) | |
2588 | ||
2589 | ADD_COMMAND('fogcolor','fogcolor [r] [g] [b]',{}, | |
2590 | function(ARGS, SPEAKER) | |
2591 | if ARGS[1] and ARGS[2] and ARGS[3] then | |
2592 | gLighting.FogColor = Color3.new(ARGS[1], ARGS[2], ARGS[3]) | |
2593 | end | |
2594 | end) | |
2595 | ||
2596 | ADD_COMMAND('noclip','noclip',{}, | |
2597 | function(ARGS, SPEAKER) | |
2598 | NOCLIP = true | |
2599 | JESUSFLY = false | |
2600 | SWIM = false | |
2601 | end) | |
2602 | ||
2603 | ADD_COMMAND('clip','clip',{}, | |
2604 | function(ARGS, SPEAKER) | |
2605 | NOCLIP = false | |
2606 | end) | |
2607 | ||
2608 | ADD_COMMAND('jesusfly','jesusfly',{}, | |
2609 | function(ARGS, SPEAKER) | |
2610 | NOCLIP = false | |
2611 | JESUSFLY = true | |
2612 | SWIM = false | |
2613 | end) | |
2614 | ||
2615 | ADD_COMMAND('nojfly','nojfly',{}, | |
2616 | function(ARGS, SPEAKER) | |
2617 | JESUSFLY = false | |
2618 | end) | |
2619 | ||
2620 | ADD_COMMAND('swim','swim',{}, | |
2621 | function(ARGS, SPEAKER) | |
2622 | NOCLIP = false | |
2623 | JESUSFLY = false | |
2624 | SWIM = true | |
2625 | end) | |
2626 | ||
2627 | ADD_COMMAND('noswim','noswim',{}, | |
2628 | function(ARGS, SPEAKER) | |
2629 | SWIM = false | |
2630 | end) | |
2631 | ||
2632 | ADD_COMMAND('fly','fly',{}, | |
2633 | function(ARGS, SPEAKER) | |
2634 | sFLY() | |
2635 | end) | |
2636 | ||
2637 | ADD_COMMAND('unfly','unfly',{}, | |
2638 | function(ARGS, SPEAKER) | |
2639 | NOFLY() | |
2640 | end) | |
2641 | ||
2642 | ADD_COMMAND('prefix','prefix [string]',{}, | |
2643 | function(ARGS, SPEAKER) | |
2644 | if ARGS[1] then | |
2645 | C_PREFIX = ARGS[1] | |
2646 | NOTIFY('Changed prefix to \'' .. ARGS[1] .. '\'', 255, 255, 255) | |
2647 | end | |
2648 | end) | |
2649 | ||
2650 | ADD_COMMAND('version','version',{}, | |
2651 | function(ARGS, SPEAKER) | |
2652 | NOTIFY('VERSION | ' .. VERSION, 255, 255, 255) | |
2653 | end) | |
2654 | ||
2655 | ADD_COMMAND('fe','fe',{}, | |
2656 | function(ARGS, SPEAKER) | |
2657 | spawn(function() | |
2658 | CHECK_FE() | |
2659 | end) | |
2660 | end) | |
2661 | ||
2662 | ADD_COMMAND('changelog','changelog',{}, | |
2663 | function(ARGS, SPEAKER) | |
2664 | CHECK_CHANGELOG() | |
2665 | end) | |
2666 | ||
2667 | ADD_COMMAND('serverinfo','serverinfo',{'sinfo'}, | |
2668 | function(ARGS, SPEAKER) | |
2669 | SERVER_INFO() | |
2670 | end) | |
2671 | ||
2672 | ADD_COMMAND('cmds','cmds',{'commands'}, | |
2673 | function(ARGS, SPEAKER) | |
2674 | LIST_COMMANDS() | |
2675 | end) | |
2676 | ||
2677 | --[[ | |
2678 | for i,v in pairs(COMMANDS) do | |
2679 | print (v.D) | |
2680 | end]] | |
2681 | ||
2682 | -- / noclip | |
2683 | ||
2684 | MOUSE.KeyDown:connect(function(key) | |
2685 | if key:byte() == 29 then | |
2686 | if not NOCLIP then | |
2687 | ECOMMAND('noclip') | |
2688 | elseif NOCLIP then | |
2689 | ECOMMAND('clip') | |
2690 | end | |
2691 | elseif key:byte() == 30 then | |
2692 | if not JESUSFLY then | |
2693 | ECOMMAND('jesusfly') | |
2694 | elseif JESUSFLY then | |
2695 | ECOMMAND('nojfly') | |
2696 | end | |
2697 | end | |
2698 | end) | |
2699 | ||
2700 | -- / after loaded | |
2701 | ||
2702 | function CHECK_FE() | |
2703 | if not gWorkspace.FilteringEnabled then | |
2704 | NOTIFY('Filtering is disabled', 0, 255, 0) | |
2705 | elseif gWorkspace.FilteringEnabled then | |
2706 | NOTIFY('Filtering is ENABLED', 255, 0, 0) | |
2707 | end | |
2708 | end | |
2709 | ||
2710 | function UPDATE_CMDS(SEARCH_CMD) | |
2711 | local FOUND_CMDS = DATA.found_cmds | |
2712 | if gCoreGui:FindFirstChild('cmds_seth') then | |
2713 | local cmds_seth = gCoreGui.cmds_seth | |
2714 | for i,v in pairs(cmds_seth.MAIN.CMDs:GetChildren()) do | |
2715 | v:destroy() | |
2716 | end | |
2717 | for i,v in pairs(FOUND_CMDS:GetChildren()) do | |
2718 | v:destroy() | |
2719 | end | |
2720 | wait() | |
2721 | for i,v in pairs(COMMANDS) do | |
2722 | if string.match(v.D, string.lower(SEARCH_CMD)) then | |
2723 | local F = Instance.new('StringValue', FOUND_CMDS) F.Name = '' F.Value = v.D | |
2724 | end | |
2725 | end | |
2726 | wait() | |
2727 | local YSize = 25 | |
2728 | for i,v in pairs(FOUND_CMDS:GetChildren()) do | |
2729 | local POS = ((i * YSize) - YSize) | |
2730 | local cloneEX = cmds_seth.MAIN.Example:Clone() | |
2731 | cloneEX.Parent = cmds_seth.MAIN.CMDs | |
2732 | cloneEX.Visible = true | |
2733 | cloneEX.Position = UDim2.new(0, 5, 0, POS + 5) | |
2734 | cloneEX.Text = ' - ' .. v.Value | |
2735 | cmds_seth.MAIN.CMDs.CanvasSize = UDim2.new(0, 0, 0, POS + 30) | |
2736 | end | |
2737 | end | |
2738 | end | |
2739 | ||
2740 | function LIST_COMMANDS() | |
2741 | if gCoreGui:FindFirstChild('cmds_seth') then gCoreGui.cmds_seth:destroy() end | |
2742 | local cloneCMDs = DATA.guis.cmds_seth:Clone() | |
2743 | local searchCMDs = cloneCMDs.MAIN.Search | |
2744 | cloneCMDs.MAIN.Header.Text = ' ' .. #COMMANDS .. ' commands' | |
2745 | cloneCMDs.Parent = gCoreGui | |
2746 | cloneCMDs.MAIN.Exit.MouseButton1Down:connect(function() | |
2747 | cloneCMDs:destroy() | |
2748 | end) | |
2749 | cloneCMDs.MAIN.MM.MouseButton1Down:connect(function() | |
2750 | if cloneCMDs.MAIN.CMDs.Visible then | |
2751 | cloneCMDs.MAIN.CMDs.Visible = false | |
2752 | elseif not cloneCMDs.MAIN.CMDs.Visible then | |
2753 | cloneCMDs.MAIN.CMDs.Visible = true | |
2754 | end | |
2755 | end) | |
2756 | local function DISPLAY_CMDS() | |
2757 | for i,v in pairs(COMMANDS) do | |
2758 | local YSize = 25 | |
2759 | local POS = ((i * YSize) - YSize) | |
2760 | local cloneEX = cloneCMDs.MAIN.Example:Clone() | |
2761 | cloneEX.Parent = cloneCMDs.MAIN.CMDs | |
2762 | cloneEX.Visible = true | |
2763 | cloneEX.Position = UDim2.new(0, 5, 0, POS + 5) | |
2764 | cloneEX.Text = ' - ' .. v.D | |
2765 | cloneCMDs.MAIN.CMDs.CanvasSize = UDim2.new(0, 0, 0, POS + 30) | |
2766 | end | |
2767 | end | |
2768 | DISPLAY_CMDS() | |
2769 | searchCMDs.FocusLost:connect(function() | |
2770 | if searchCMDs.Text then | |
2771 | UPDATE_CMDS(searchCMDs.Text) | |
2772 | searchCMDs.Text = ' search commands' | |
2773 | end | |
2774 | end) | |
2775 | end | |
2776 | ||
2777 | local CAN_CHECK = true | |
2778 | ||
2779 | function CHECK_CHANGELOG() | |
2780 | spawn(function() | |
2781 | if CAN_CHECK then | |
2782 | CAN_CHECK = false | |
2783 | local changelogClone = DATA.guis.changelog_seth:Clone() | |
2784 | changelogClone.MAIN.changelog.Text = CHANGELOG | |
2785 | changelogClone.Parent = gCoreGui | |
2786 | wait() | |
2787 | changelogClone.MAIN:TweenPosition(UDim2.new(1, -410, 1, -210), 'InOut', 'Quad', 0.5, false) | |
2788 | wait(10) | |
2789 | changelogClone.MAIN:TweenPosition(UDim2.new(1, -410, 1, 0), 'InOut', 'Quad', 0.5, false) | |
2790 | wait(1) | |
2791 | changelogClone:destroy() | |
2792 | CAN_CHECK = true | |
2793 | end | |
2794 | end) | |
2795 | end | |
2796 | ||
2797 | CHECK_CHANGELOG() | |
2798 | ||
2799 | CMDbar:TweenPosition(UDim2.new(0, 0, 1, -50), 'InOut', 'Quad', 0.5, true) | |
2800 | CMDbar.Parent['']:TweenPosition(UDim2.new(0, 0, 1, -30), 'InOut', 'Quad', 0.5, true) | |
2801 | ||
2802 | CMDbar.FocusLost:connect(function(enterpressed) | |
2803 | if enterpressed and CMDbar.Text ~= '' then | |
2804 | pcall(function() | |
2805 | ECOMMAND(CMDbar.Text, LP) | |
2806 | end) | |
2807 | end | |
2808 | CMDbar:TweenPosition(UDim2.new(0, -200, 1, -50), 'InOut', 'Quad', 0.5, true) | |
2809 | end) | |
2810 | ||
2811 | MOUSE.KeyDown:connect(function(Key) | |
2812 | if Key:byte() == 59 then | |
2813 | CMDbar:TweenPosition(UDim2.new(0, 0, 1, -50), 'InOut', 'Quad', 0.5, true) | |
2814 | CMDbar:CaptureFocus() | |
2815 | end | |
2816 | end) | |
2817 | ||
2818 | -- / loader | |
2819 | ||
2820 | wait() | |
2821 | ||
2822 | LOAD_SETH() |