SHOW:
|
|
- or go back to the newest paste.
1 | -- Farewell Infortality. | |
2 | -- Version: 2.82 | |
3 | -- Instances: | |
4 | local PrisonBreakerv15 = Instance.new("ScreenGui") | |
5 | local openmain = Instance.new("Frame") | |
6 | local open = Instance.new("TextButton") | |
7 | local main = Instance.new("Frame") | |
8 | local title = Instance.new("TextLabel") | |
9 | local close = Instance.new("TextButton") | |
10 | local police = Instance.new("TextButton") | |
11 | local inmate = Instance.new("TextButton") | |
12 | local neutral = Instance.new("TextButton") | |
13 | local arrestcrims = Instance.new("TextButton") | |
14 | local invis = Instance.new("TextButton") | |
15 | local superpunch = Instance.new("TextButton") | |
16 | local guns = Instance.new("TextButton") | |
17 | local taserbypass = Instance.new("TextButton") | |
18 | local fling = Instance.new("TextButton") | |
19 | local reviz = Instance.new("TextButton") | |
20 | local arrest = Instance.new("TextButton") | |
21 | local attach = Instance.new("TextButton") | |
22 | local fastrem = Instance.new("TextButton") | |
23 | local fastm9 = Instance.new("TextButton") | |
24 | local fasttaze = Instance.new("TextButton") | |
25 | local fastak = Instance.new("TextButton") | |
26 | local killall = Instance.new("TextButton") | |
27 | local btools = Instance.new("TextButton") | |
28 | local speed = Instance.new("TextButton") | |
29 | local respawn = Instance.new("TextButton") | |
30 | local Credits = Instance.new("TextButton") | |
31 | local prison = Instance.new("TextButton") | |
32 | local yard = Instance.new("TextButton") | |
33 | local crimbase = Instance.new("TextButton") | |
34 | local title_2 = Instance.new("TextLabel") | |
35 | local bringall = Instance.new("TextButton") | |
36 | local drill = Instance.new("TextButton") | |
37 | local killplrmain = Instance.new("Frame") | |
38 | local killtext = Instance.new("TextBox") | |
39 | local kill = Instance.new("TextButton") | |
40 | local waves = Instance.new("TextButton") | |
41 | local bigbowl = Instance.new("TextButton") | |
42 | local tazeplrmain = Instance.new("Frame") | |
43 | local tazetext = Instance.new("TextBox") | |
44 | local taze = Instance.new("TextButton") | |
45 | local teamcrim = Instance.new("TextButton") | |
46 | local tazeall = Instance.new("TextButton") | |
47 | local removewalls = Instance.new("TextButton") | |
48 | local removeall = Instance.new("TextButton") | |
49 | local lagserver = Instance.new("TextButton") | |
50 | --Properties: | |
51 | PrisonBreakerv15.Name = "PrisonBreaker v1.5" | |
52 | PrisonBreakerv15.Parent = game.CoreGui | |
53 | ||
54 | openmain.Name = "openmain" | |
55 | openmain.Parent = PrisonBreakerv15 | |
56 | openmain.BackgroundColor3 = Color3.new(0, 0, 0) | |
57 | openmain.Position = UDim2.new(0.00434467755, 0, 0.397959173, 0) | |
58 | openmain.Size = UDim2.new(0, 100, 0, 27) | |
59 | openmain.Visible = false | |
60 | ||
61 | open.Name = "open" | |
62 | open.Parent = openmain | |
63 | open.BackgroundColor3 = Color3.new(1, 1, 0) | |
64 | open.Position = UDim2.new(1.49011612e-08, 0, 0, 0) | |
65 | open.Size = UDim2.new(0, 100, 0, 27) | |
66 | open.Style = Enum.ButtonStyle.RobloxRoundButton | |
67 | open.Font = Enum.Font.GothamBold | |
68 | open.Text = "OPEN" | |
69 | open.TextColor3 = Color3.new(0, 0, 0) | |
70 | open.TextSize = 14 | |
71 | open.MouseButton1Down:connect(function() | |
72 | openmain.Visible = false | |
73 | main.Visible = true | |
74 | end) | |
75 | ||
76 | main.Name = "main" | |
77 | main.Parent = PrisonBreakerv15 | |
78 | main.BackgroundColor3 = Color3.new(0, 1, 0) | |
79 | main.Position = UDim2.new(0.00441803597, 0, 0.249908596, 0) | |
80 | main.Size = UDim2.new(0, 383, 0, 586) | |
81 | main.Style = Enum.FrameStyle.RobloxRound | |
82 | main.Active = true | |
83 | main.Draggable = true | |
84 | ||
85 | title.Name = "title" | |
86 | title.Parent = main | |
87 | title.BackgroundColor3 = Color3.new(0, 0, 1) | |
88 | title.Position = UDim2.new(-0.0125168273, 0, -0.00528348284, 0) | |
89 | title.Size = UDim2.new(0, 376, 0, 50) | |
90 | title.Font = Enum.Font.GothamBold | |
91 | title.Text = "PrisonBreaker V1.5" | |
92 | title.TextColor3 = Color3.new(1, 1, 1) | |
93 | title.TextSize = 14 | |
94 | ||
95 | close.Name = "close" | |
96 | close.Parent = main | |
97 | close.BackgroundColor3 = Color3.new(0.333333, 0, 1) | |
98 | close.Position = UDim2.new(0.848563969, 0, -0.00557620823, 0) | |
99 | close.Size = UDim2.new(0, 59, 0, 50) | |
100 | close.Font = Enum.Font.GothamBold | |
101 | close.Text = "X" | |
102 | close.TextColor3 = Color3.new(0, 0, 0) | |
103 | close.TextSize = 14 | |
104 | close.MouseButton1Down:connect(function() | |
105 | main.Visible = false | |
106 | openmain.Visible = true | |
107 | end) | |
108 | ||
109 | police.Name = "police" | |
110 | police.Parent = main | |
111 | police.BackgroundColor3 = Color3.new(0, 0, 1) | |
112 | police.Position = UDim2.new(0.0143180238, 0, 0.108731732, 0) | |
113 | police.Size = UDim2.new(0, 84, 0, 22) | |
114 | police.Font = Enum.Font.GothamBold | |
115 | police.Text = "Team Police" | |
116 | police.TextColor3 = Color3.new(0, 0, 0) | |
117 | police.TextSize = 14 | |
118 | police.MouseButton1Down:connect(function() | |
119 | workspace.Remote.TeamEvent:FireServer("Bright blue") | |
120 | end) | |
121 | ||
122 | inmate.Name = "inmate" | |
123 | inmate.Parent = main | |
124 | inmate.BackgroundColor3 = Color3.new(1, 0.666667, 0) | |
125 | inmate.BorderColor3 = Color3.new(1, 0.666667, 0.0901961) | |
126 | inmate.Position = UDim2.new(0.270111769, 0, 0.107363492, 0) | |
127 | inmate.Size = UDim2.new(0, 84, 0, 22) | |
128 | inmate.Font = Enum.Font.GothamBold | |
129 | inmate.Text = "Team Inmate" | |
130 | inmate.TextColor3 = Color3.new(0, 0, 0) | |
131 | inmate.TextSize = 14 | |
132 | inmate.MouseButton1Down:connect(function() | |
133 | workspace.Remote.TeamEvent:FireServer("Bright orange") | |
134 | end) | |
135 | ||
136 | neutral.Name = "neutral" | |
137 | neutral.Parent = main | |
138 | neutral.BackgroundColor3 = Color3.new(0.772549, 0.74902, 0.784314) | |
139 | neutral.Position = UDim2.new(0.525683641, 0, 0.106356524, 0) | |
140 | neutral.Size = UDim2.new(0, 83, 0, 22) | |
141 | neutral.Font = Enum.Font.GothamBold | |
142 | neutral.Text = "Team Neutral" | |
143 | neutral.TextColor3 = Color3.new(0, 0, 0) | |
144 | neutral.TextSize = 14 | |
145 | neutral.TextStrokeColor3 = Color3.new(0.333333, 1, 0) | |
146 | neutral.MouseButton1Down:connect(function() | |
147 | Workspace.Remote.TeamEvent:FireServer("Medium stone grey") | |
148 | end) | |
149 | ||
150 | arrestcrims.Name = "arrestcrims" | |
151 | arrestcrims.Parent = main | |
152 | arrestcrims.BackgroundColor3 = Color3.new(0.333333, 1, 1) | |
153 | arrestcrims.Position = UDim2.new(0.0124716684, 0, 0.160733104, 0) | |
154 | arrestcrims.Size = UDim2.new(0, 111, 0, 31) | |
155 | arrestcrims.Font = Enum.Font.GothamBold | |
156 | arrestcrims.Text = "Arrest Crims" | |
157 | arrestcrims.TextColor3 = Color3.new(1, 0, 0) | |
158 | arrestcrims.TextSize = 14 | |
159 | arrestcrims.MouseButton1Down:connect(function() | |
160 | local Player = game.Players.LocalPlayer | |
161 | local cpos = Player.Character.HumanoidRootPart.CFrame | |
162 | for i,v in pairs(game.Teams.Criminals:GetPlayers()) do | |
163 | if v.Name ~= Player.Name then | |
164 | local i = 10 | |
165 | repeat | |
166 | wait() | |
167 | i = i-1 | |
168 | game.Workspace.Remote.arrest:InvokeServer(v.Character.HumanoidRootPart) | |
169 | Player.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 1) | |
170 | until i == 0 | |
171 | end | |
172 | end | |
173 | Player.Character.HumanoidRootPart.CFrame = cpos | |
174 | Notify("Success", "Arrested all of the n00bs", "Cool!") | |
175 | end) | |
176 | ||
177 | invis.Name = "invis" | |
178 | invis.Parent = main | |
179 | invis.BackgroundColor3 = Color3.new(0, 1, 1) | |
180 | invis.Position = UDim2.new(0.348153055, 0, 0.160733074, 0) | |
181 | invis.Size = UDim2.new(0, 111, 0, 31) | |
182 | invis.Font = Enum.Font.GothamBold | |
183 | invis.Text = "Invisible" | |
184 | invis.TextColor3 = Color3.new(1, 0, 0) | |
185 | invis.TextSize = 14 | |
186 | invis.MouseButton1Down:connect(function() | |
187 | local player = game.Players.LocalPlayer | |
188 | position = player.Character.HumanoidRootPart.Position | |
189 | wait(0.1) | |
190 | player.Character:MoveTo(position + Vector3.new(0, 1000000, 0)) | |
191 | wait(0.1) | |
192 | humanoidrootpart = player.Character.HumanoidRootPart:clone() | |
193 | wait(0.1) | |
194 | player.Character.HumanoidRootPart:Destroy() | |
195 | humanoidrootpart.Parent = player.Character | |
196 | player.Character:MoveTo(position) | |
197 | wait() | |
198 | -- Remove this if you want to see yourself (others still won't see you) | |
199 | game.Players.LocalPlayer.Character.Torso.Transparency = 1 | |
200 | game.Players.LocalPlayer.Character.Head.Transparency = 1 | |
201 | game.Players.LocalPlayer.Character["Left Arm"].Transparency = 1 | |
202 | game.Players.LocalPlayer.Character["Right Arm"].Transparency = 1 | |
203 | game.Players.LocalPlayer.Character["Left Leg"].Transparency = 1 | |
204 | game.Players.LocalPlayer.Character["Right Leg"].Transparency = 1 | |
205 | game.Players.LocalPlayer.Character.Humanoid:RemoveAccessories() | |
206 | game.Players.LocalPlayer.Character.Head.face:Remove() | |
207 | end) | |
208 | ||
209 | superpunch.Name = "superpunch" | |
210 | superpunch.Parent = main | |
211 | superpunch.BackgroundColor3 = Color3.new(0, 1, 1) | |
212 | superpunch.Position = UDim2.new(0.678248107, 0, 0.160733074, 0) | |
213 | superpunch.Size = UDim2.new(0, 111, 0, 31) | |
214 | superpunch.Font = Enum.Font.GothamBold | |
215 | superpunch.Text = "SuperPunch" | |
216 | superpunch.TextColor3 = Color3.new(1, 0, 0) | |
217 | superpunch.TextSize = 14 | |
218 | superpunch.MouseButton1Down:connect(function() | |
219 | mainRemotes = game.ReplicatedStorage meleeRemote = mainRemotes['meleeEvent'] mouse = game.Players.LocalPlayer:GetMouse() punching = false cooldown = false function punch() cooldown = true local part = Instance.new("Part", game.Players.LocalPlayer.Character) part.Transparency = 1 part.Size = Vector3.new(5, 2, 3) part.CanCollide = false local w1 = Instance.new("Weld", part) w1.Part0 = game.Players.LocalPlayer.Character.Torso w1.Part1 = part w1.C1 = CFrame.new(0,0,2) part.Touched:connect(function(hit) if game.Players:FindFirstChild(hit.Parent.Name) then local plr = game.Players:FindFirstChild(hit.Parent.Name) if plr.Name ~= game.Players.LocalPlayer.Name then part:Destroy() for i = 1,100 do meleeRemote:FireServer(plr) end end end end) wait(1) cooldown = false part:Destroy() end mouse.KeyDown:connect(function(key) if cooldown == false then if key:lower() == "f" then punch() end end end) | |
220 | end) | |
221 | ||
222 | guns.Name = "guns" | |
223 | guns.Parent = main | |
224 | guns.BackgroundColor3 = Color3.new(0, 1, 1) | |
225 | guns.Position = UDim2.new(0.0124716703, 0, 0.2304198, 0) | |
226 | guns.Size = UDim2.new(0, 111, 0, 32) | |
227 | guns.Font = Enum.Font.GothamBlack | |
228 | guns.Text = "Guns" | |
229 | guns.TextColor3 = Color3.new(1, 0, 0) | |
230 | guns.TextSize = 14 | |
231 | guns.MouseButton1Down:connect(function() | |
232 | for i,v in pairs(Workspace.Prison_ITEMS.giver:GetChildren()) do | |
233 | ||
234 | lol = Workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP) | |
235 | print(lol) | |
236 | end | |
237 | end) | |
238 | ||
239 | taserbypass.Name = "taserbypass" | |
240 | taserbypass.Parent = main | |
241 | taserbypass.BackgroundColor3 = Color3.new(0, 1, 1) | |
242 | taserbypass.Position = UDim2.new(0.348080158, 0, 0.2304198, 0) | |
243 | taserbypass.Size = UDim2.new(0, 111, 0, 32) | |
244 | taserbypass.Font = Enum.Font.GothamBold | |
245 | taserbypass.Text = "Taser Bypass" | |
246 | taserbypass.TextColor3 = Color3.new(1, 0, 0) | |
247 | taserbypass.TextSize = 14 | |
248 | taserbypass.MouseButton1Down:connect(function() | |
249 | game.Players.LocalPlayer.Character.ClientInputHandler.Disabled = true | |
250 | game.Players.LocalPlayer.CharacterAdded:connect(function() | |
251 | game.Workspace:WaitForChild(game.Players.LocalPlayer.Name) | |
252 | game.Players.LocalPlayer.Character.ClientInputHandler.Disabled = true | |
253 | end) | |
254 | local message = Instance.new("Message",game.Workspace) | |
255 | message.Text = 'Made By Jake11price' | |
256 | wait(2) | |
257 | message:Destroy() | |
258 | end) | |
259 | ||
260 | fling.Name = "fling" | |
261 | fling.Parent = main | |
262 | fling.BackgroundColor3 = Color3.new(0.333333, 1, 1) | |
263 | fling.Position = UDim2.new(0.00984076969, 0, 0.379423141, 0) | |
264 | fling.Size = UDim2.new(0, 111, 0, 32) | |
265 | fling.Font = Enum.Font.GothamBold | |
266 | fling.Text = "Fling" | |
267 | fling.TextColor3 = Color3.new(1, 0, 0) | |
268 | fling.TextSize = 14 | |
269 | fling.MouseButton1Down:connect(function() | |
270 | power = 300 -- change this to make it more or less powerful | |
271 | ||
272 | game:GetService('RunService').Stepped:connect(function() | |
273 | game.Players.LocalPlayer.Character.Head.CanCollide = false | |
274 | game.Players.LocalPlayer.Character.Torso.CanCollide = false | |
275 | game.Players.LocalPlayer.Character["Left Leg"].CanCollide = false | |
276 | game.Players.LocalPlayer.Character["Right Leg"].CanCollide = false | |
277 | end) | |
278 | ||
279 | wait(.1) | |
280 | local bambam = Instance.new("BodyThrust") | |
281 | bambam.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart | |
282 | bambam.Force = Vector3.new(power,0,power) | |
283 | bambam.Location = game.Players.LocalPlayer.Character.HumanoidRootPart.Position | |
284 | end) | |
285 | ||
286 | reviz.Name = "reviz" | |
287 | reviz.Parent = main | |
288 | reviz.BackgroundColor3 = Color3.new(0, 1, 1) | |
289 | reviz.Position = UDim2.new(0.0121497028, 0, 0.303878158, 0) | |
290 | reviz.Size = UDim2.new(0, 111, 0, 32) | |
291 | reviz.Font = Enum.Font.GothamBold | |
292 | reviz.Text = "Reviz Admin" | |
293 | reviz.TextColor3 = Color3.new(1, 0, 0) | |
294 | reviz.TextSize = 14 | |
295 | reviz.MouseButton1Down:connect(function() | |
296 | -- Creator: illremember#3799 | |
297 | ||
298 | -- Credits to infinite yield, harkinian, dex creators | |
299 | ||
300 | prefix = ";" | |
301 | wait(0.3) | |
302 | Commands = { | |
303 | '[-] cmdbar is shown when ; is pressed.', | |
304 | '[1] kill [plr] -- You need a tool! Will kill the player, use rkill to kill you and player', | |
305 | '[2] bring [plr] -- You need a tool! Will bring player to you', | |
306 | '[3] spin [plr] -- You need a tool! Makes you and the player spin crazy', | |
307 | '[4] unspin -- Use after using spin cmd and dying, so you stop loop teleporting', | |
308 | '[5] attach [plr] -- You need a tool! Attaches you to player', | |
309 | '[6] unattach [plr] -- Attempts to unattach you from a player', | |
310 | '[7] follow [plr] -- Makes you follow behind the player', | |
311 | '[8] unfollow', | |
312 | '[9] freefall [plr] -- You need a tool! Teleports you and the player up into the air', | |
313 | '[10] trail [plr] -- The opposite of follow, you stay infront of player', | |
314 | '[11] untrail', | |
315 | '[12] orbit [plr] -- Makes you orbit the player', | |
316 | '[13] unorbit', | |
317 | '[14] fling [plr] -- Makes you fling the player', | |
318 | '[15] unfling', | |
319 | '[16] fecheck -- Checks if the game is FE or not', | |
320 | '[17] void [plr] -- Teleports player to the void', | |
321 | '[18] noclip -- Gives you noclip to walk through walls', | |
322 | '[19] clip -- Removes noclip', | |
323 | '[20] speed [num]/ws [num] -- Changes how fast you walk 16 is default', | |
324 | '[21] jumppower [num]/jp [num] -- Changes how high you jump 50 is default', | |
325 | '[22] hipheight [num]/hh [num] -- Changes how high you float 0 is default', | |
326 | '[23] default -- Changes your speed, jumppower and hipheight to default values', | |
327 | '[24] annoy [plr] -- Loop teleports you to the player', | |
328 | '[25] unannoy', | |
329 | '[26] headwalk [plr] -- Loop teleports you to the player head', | |
330 | '[27] unheadwalk', | |
331 | '[28] nolimbs -- Removes your arms and legs', | |
332 | '[29] god -- Gives you FE Godmode', | |
333 | '[30] drophats -- Drops your accessories', | |
334 | '[31] droptool -- Drops any tool you have equipped', | |
335 | '[32] loopdhats -- Loop drops your accessories', | |
336 | '[33] unloopdhats', | |
337 | '[34] loopdtool -- Loop drops any tools you have equipped', | |
338 | '[35] unloopdtool', | |
339 | '[36] invisible -- Gives you invisibility CREDIT TO TIMELESS', | |
340 | '[37] view [plr] -- Changes your camera to the player character', | |
341 | '[38] unview', | |
342 | '[39] goto [plr] -- Teleports you to player', | |
343 | '[40] fly -- Allows you to fly, credit to Infinite Yield', | |
344 | '[41] unfly', | |
345 | '[42] chat [msg] -- Makes you chat a message', | |
346 | '[43] spam [msg] -- Spams a message', | |
347 | '[44] unspam', | |
348 | '[45] spamwait [num] -- Changes delay of chatting a message for the spam command in seconds default is 1 second', | |
349 | '[46] pmspam [plr] -- Spams a player in private message', | |
350 | '[47] unpmspam', | |
351 | '[48] cfreeze [plr] -- Freezes a player on your client, they will only be frozen for you', | |
352 | '[49] uncfreeze [plr]', | |
353 | '[50] unlockws -- Unlocks the workspace', | |
354 | '[51] lockws -- Locks the workspace', | |
355 | '[52] btools -- Gives you btools that will only show to you useful for deleting certain blocks only for you', | |
356 | '[53] pstand -- Enables platform stand', | |
357 | '[54] unpstand -- Disables platform stand', | |
358 | '[55] blockhead -- Removes your head mesh', | |
359 | '[56] sit', | |
360 | '[57] bringobj [obj] -- Only shows on client, brings an object/part to you constantly, can be used to bring healing parts, weapons, money etc, type in exact name', | |
361 | '[58] wsvis [num] -- Changes visibility of workspace parts, num should be between 0 and 1, only shows client sided', | |
362 | '[59] hypertotal -- Loads in my FE GUI Hypertotal', | |
363 | '[60] cmds -- Prints all commands', | |
364 | '[61] rmeshhats/blockhats -- Removes the meshes of all your accessories aka block hats', | |
365 | '[62] rmeshtool/blocktool -- Removes the mesh of the tool you have equipped aka block tool', | |
366 | '[63] spinner -- Makes you spin', | |
367 | '[64] nospinner', | |
368 | '[65] reach [num] -- Gives you reach, mostly used for swords, say ;reachd for default and enter number after for custom', | |
369 | '[66] noreach -- Removes reach, must have tool equipped', | |
370 | '[67] rkill [plr] -- Kills you and the player, use kill to just kill the player without dying', | |
371 | '[68] tp me [plr] -- Alternative to goto', | |
372 | '[69] cbring [plr] -- Brings player infront of you, shows only on client, allows you to do damage to player', | |
373 | '[70] uncbring', | |
374 | '[71] swap [plr] -- You need a tool! Swaps players position with yours and your position with players', | |
375 | '[72] givetool [plr] -- Gives the tool you have equipped to the player', | |
376 | '[73] glitch [plr] -- Glitches you and the player, looks very cool', | |
377 | '[74] unglitch -- Unglitches you', | |
378 | '[75] grespawn -- Alternative to normal respawn and usually works best for when you want to reset with FE Godmode', | |
379 | '[76] explorer -- Loads up DEX', | |
380 | '[77] reset -- Resets your character.', | |
381 | '[78] anim [id] -- Applies an animation on you, must be created by ROBLOX', | |
382 | '[79] animgui -- Loads up Energize animations GUI', | |
383 | '[80] savepos -- Saves your current position', | |
384 | '[81] loadpos -- Teleports you to your saved position', | |
385 | '[82] bang [plr] -- 18+ will not work if you have FE Godmode on', | |
386 | '[83] unbang', | |
387 | '[84] delcmdbar -- Removes the command bar completely', | |
388 | '[85] bringmod [obj] -- Brings all the parts in a model, client only, comes from ;bringobj enter exact name of model', | |
389 | '[86] shutdown -- Uses harkinians script to shutdown server', | |
390 | '[87] respawn -- If grespawn doesnt work you can use respawn', | |
391 | '[88] delobj [obj] -- Deletes a certain brick in workspace, client sided', | |
392 | '[89] getplrs -- Prints all players in game', | |
393 | '[90] deldecal -- Deletes all decals client sided', | |
394 | '[91] opfinality -- Loads in my FE GUI Opfinality', | |
395 | '[92] remotes -- Prints all remotes in the game in the console when added', | |
396 | '[93] noremotes -- Stops printing remotes', | |
397 | '[94] tpdefault -- Stops all loop teleports to a player', | |
398 | '[95] stopsit -- Will not allow you to sit', | |
399 | '[96] gosit -- Allows you to sit', | |
400 | '[97] clicktp -- Enables click tp', | |
401 | '[98] noclicktp -- Disables click tp', | |
402 | '[99] toolson -- If any tools are dropped in the workspace you will automatically get them', | |
403 | '[100] toolsoff -- Stops ;toolson', | |
404 | '[101] version -- Gets the admin version', | |
405 | '[102] state [num] -- Changes your humanoid state, ;unstate to stop.', | |
406 | '[103] gravity [num] -- Changes workspace gravity default is 196.2', | |
407 | '[104] pgs -- Checks if the game has PGSPhysicsSolverEnabled enabled', | |
408 | '[105] clickdel -- Delete any block you press q on, client sided', | |
409 | '[106] noclickdel -- Stops clickdel', | |
410 | '[107] looprhats -- Loop removes mesh of your hats/loop block hats', | |
411 | '[108] unlooprhats -- Stops loop removing mesh', | |
412 | '[109] looprtool -- Loop removes mesh of your tool/loop block tools', | |
413 | '[110] unlooprtool -- Stops loop removing mesh', | |
414 | '[111] givealltools [plr] -- Gives all the tools you have in your backpack to the player', | |
415 | '[112] age [plr] -- Makes you chat the account age of the player', | |
416 | '[113] id [plr] -- Makes you chat the account ID of the player', | |
417 | '[114] .age [plr] -- Privately shows you the account age of the player', | |
418 | '[115] .id [plr] -- Privately shows you the account ID of the player', | |
419 | '[116] gameid -- Shows the game ID', | |
420 | '[117] removeinvis -- Removes all invisible walls/parts, client sided', | |
421 | '[118] removefog -- Removes fog, client sided', | |
422 | '[119] disable -- Disables your character by removing humanoid', | |
423 | '[120] enable -- Enables your character by adding humanoid', | |
424 | '[121] prefix [key] -- Changes the prefix used, default is ;', | |
425 | '[122] ;resetprefix -- Resets the prefix to ; incase you change it to an unusable prefix. Say exactly ";resetprefix" to do this command, no matter what your prefix is set to.', | |
426 | '[123] flyspeed [num] -- Change your fly speed, default is 1', | |
427 | '[124] carpet [plr] -- Makes you a carpet for a player, will not work if FE Godmode is on', | |
428 | '[125] uncarpet -- Stops carpet player', | |
429 | '[126] stare [plr] -- Turns your character to stare at another player', | |
430 | '[127] unstare -- Stops stare player', | |
431 | '[128] logchat -- Logs all chat (including /e and whispers) of all players', | |
432 | '[129] unlogchat -- Disables logchat', | |
433 | '[130] fixcam -- Fixes/resets your camera', | |
434 | '[131] unstate -- Stops changing state', | |
435 | } | |
436 | speedget = 1 | |
437 | ||
438 | lplayer = game:GetService("Players").LocalPlayer | |
439 | ||
440 | lplayer.CharacterAdded:Connect(function(character) | |
441 | spin = false | |
442 | flying = false | |
443 | staring = false | |
444 | banpl = false | |
445 | end) | |
446 | ||
447 | function change() | |
448 | prefix = prefix | |
449 | speedfly = speedfly | |
450 | end | |
451 | ||
452 | function GetPlayer(String) -- Credit to Timeless/xFunnieuss | |
453 | local Found = {} | |
454 | local strl = String:lower() | |
455 | if strl == "all" then | |
456 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
457 | table.insert(Found,v) | |
458 | end | |
459 | elseif strl == "others" then | |
460 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
461 | if v.Name ~= lplayer.Name then | |
462 | table.insert(Found,v) | |
463 | end | |
464 | end | |
465 | elseif strl == "me" then | |
466 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
467 | if v.Name == lplayer.Name then | |
468 | table.insert(Found,v) | |
469 | end | |
470 | end | |
471 | else | |
472 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
473 | if v.Name:lower():sub(1, #String) == String:lower() then | |
474 | table.insert(Found,v) | |
475 | end | |
476 | end | |
477 | end | |
478 | return Found | |
479 | end | |
480 | ||
481 | local Mouse = lplayer:GetMouse() | |
482 | ||
483 | spin = false | |
484 | followed = false | |
485 | traill = false | |
486 | noclip = false | |
487 | annoying = false | |
488 | hwalk = false | |
489 | droppinghats = false | |
490 | droppingtools = false | |
491 | flying = false | |
492 | spamdelay = 1 | |
493 | spamming = false | |
494 | spammingpm = false | |
495 | cbringing = false | |
496 | remotes = true | |
497 | added = true | |
498 | binds = false | |
499 | stopsitting = false | |
500 | clickgoto = false | |
501 | gettingtools = false | |
502 | removingmeshhats = false | |
503 | removingmeshtool = false | |
504 | clickdel = false | |
505 | staring = false | |
506 | chatlogs = false | |
507 | banpl = false | |
508 | changingstate = false | |
509 | statechosen = 0 | |
510 | ||
511 | adminversion = "Reviz Admin by illremember, Version 2.0" | |
512 | ||
513 | flying = false | |
514 | speedfly = 1 | |
515 | ||
516 | function plrchat(plr, chat) | |
517 | print(plr.Name..": "..tick().."\n"..chat) | |
518 | end | |
519 | ||
520 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
521 | v.Chatted:connect(function(chat) | |
522 | if chatlogs then | |
523 | plrchat(v, chat) | |
524 | end | |
525 | end) | |
526 | end | |
527 | game:GetService("Players").PlayerAdded:connect(function(plr) | |
528 | plr.Chatted:connect(function(chat) | |
529 | if chatlogs then | |
530 | plrchat(plr, chat) | |
531 | end | |
532 | end) | |
533 | end) | |
534 | ||
535 | ||
536 | local ScreenGui = Instance.new("ScreenGui") | |
537 | local Frame = Instance.new("Frame") | |
538 | local CMDBAR = Instance.new("TextBox") | |
539 | ScreenGui.Parent = game:GetService("CoreGui") | |
540 | Frame.Parent = ScreenGui | |
541 | Frame.BackgroundColor3 = Color3.new(0.3, 0.1, 0.1) | |
542 | Frame.BackgroundTransparency = 0.3 | |
543 | Frame.Position = UDim2.new(0.5, 0, 0, 10) | |
544 | Frame.Size = UDim2.new(0, 200, 0, 40) | |
545 | Frame.Active = true | |
546 | Frame.Draggable = true | |
547 | CMDBAR.Name = "CMDBAR" | |
548 | CMDBAR.Parent = Frame | |
549 | CMDBAR.BackgroundColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
550 | CMDBAR.BackgroundTransparency = 0.20000000298023 | |
551 | CMDBAR.Size = UDim2.new(0, 180, 0, 20) | |
552 | CMDBAR.Position = UDim2.new(0.05, 0, 0.25, 0) | |
553 | CMDBAR.Font = Enum.Font.SourceSansLight | |
554 | CMDBAR.FontSize = Enum.FontSize.Size14 | |
555 | CMDBAR.TextColor3 = Color3.new(0.945098, 0.945098, 0.945098) | |
556 | CMDBAR.TextScaled = true | |
557 | CMDBAR.TextSize = 14 | |
558 | CMDBAR.TextWrapped = true | |
559 | CMDBAR.Text = "Press ; to type, Enter to execute" | |
560 | ||
561 | local CMDS = Instance.new("ScreenGui") | |
562 | local CMDSFRAME = Instance.new("Frame") | |
563 | local ScrollingFrame = Instance.new("ScrollingFrame") | |
564 | local TextLabel = Instance.new("TextLabel") | |
565 | local closegui = Instance.new("TextButton") | |
566 | CMDS.Name = "CMDS" | |
567 | CMDS.Parent = game:GetService("CoreGui") | |
568 | CMDSFRAME.Name = "CMDSFRAME" | |
569 | CMDSFRAME.Parent = CMDS | |
570 | CMDSFRAME.Active = true | |
571 | CMDSFRAME.BackgroundColor3 = Color3.new(0.223529, 0.231373, 0.309804) | |
572 | CMDSFRAME.BorderSizePixel = 0 | |
573 | CMDSFRAME.Draggable = true | |
574 | CMDSFRAME.Position = UDim2.new(0, 315, 0, 100) | |
575 | CMDSFRAME.Size = UDim2.new(0, 275, 0, 275) | |
576 | CMDSFRAME.Visible = false | |
577 | ScrollingFrame.Parent = CMDSFRAME | |
578 | ScrollingFrame.BackgroundColor3 = Color3.new(0.160784, 0.160784, 0.203922) | |
579 | ScrollingFrame.BorderSizePixel = 0 | |
580 | ScrollingFrame.Position = UDim2.new(0, 0, 0.0729999989, 0) | |
581 | ScrollingFrame.Size = UDim2.new(1.04999995, 0, 0.92900002, 0) | |
582 | ScrollingFrame.CanvasSize = UDim2.new(0, 0, 10, 0) | |
583 | TextLabel.Parent = ScrollingFrame | |
584 | TextLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
585 | TextLabel.BackgroundTransparency = 1 | |
586 | TextLabel.Size = UDim2.new(0.930000007, 0, 1, 0) | |
587 | TextLabel.Font = Enum.Font.SourceSans | |
588 | TextLabel.FontSize = Enum.FontSize.Size18 | |
589 | TextLabel.Text = "[-] cmdbar is shown when ; is pressed.,\n[1] kill [plr] -- You need a tool! Will kill the player, use rkill to kill you and player,\n[2] bring [plr] -- You need a tool! Will bring player to you,\n[3] spin [plr] -- You need a tool! Makes you and the player spin crazy,\n[4] unspin -- Use after using spin cmd and dying, so you stop loop teleporting,\n[5] attach [plr] -- You need a tool! Attaches you to player,\n[6] unattach [plr] -- Attempts to unattach you from a player,\n[7] follow [plr] -- Makes you follow behind the player,\n[8] unfollow,\n[9] freefall [plr] -- You need a tool! Teleports you and the player up into the air,\n[10] trail [plr] -- The opposite of follow, you stay infront of player,\n[11] untrail,\n[12] orbit [plr] -- Makes you orbit the player,\n[13] unorbit,\n[14] fling [plr] -- Makes you fling the player,\n[15] unfling,\n[16] fecheck -- Checks if the game is FE or not,\n[17] void [plr] -- Teleports player to the void,\n[18] noclip -- Gives you noclip to walk through walls,\n[19] clip -- Removes noclip,\n[20] speed [num]/ws [num] -- Changes how fast you walk 16 is default,\n[21] jumppower [num]/jp [num] -- Changes how high you jump 50 is default,\n[22] hipheight [num]/hh [num] -- Changes how high you float 0 is default,\n[23] default -- Changes your speed, jumppower and hipheight to default values,\n[24] annoy [plr] -- Loop teleports you to the player,\n[25] unannoy,\n[26] headwalk [plr] -- Loop teleports you to the player head,\n[27] unheadwalk,\n[28] nolimbs -- Removes your arms and legs,\n[29] god -- Gives you FE Godmode,\n[30] drophats -- Drops your accessories,\n[31] droptool -- Drops any tool you have equipped,\n[32] loopdhats -- Loop drops your accessories,\n[33] unloopdhats,\n[34] loopdtool -- Loop drops any tools you have equipped,\n[35] unloopdtool,\n[36] invisible -- Gives you invisibility CREDIT TO TIMELESS,\n[37] view [plr] -- Changes your camera to the player character,\n[38] unview,\n[39] goto [plr] -- Teleports you to player,\n[40] fly -- Allows you to fly,\n[41] unfly,\n[42] chat [msg] -- Makes you chat a message,\n[43] spam [msg] -- Spams a message,\n[44] unspam,\n[45] spamwait [num] -- Changes delay of chatting a message for the spam command in seconds default is 1 second,\n[46] pmspam [plr] -- Spams a player in private message,\n[47] unpmspam,\n[48] cfreeze [plr] -- Freezes a player on your client, they will only be frozen for you,\n[49] uncfreeze [plr],\n[50] unlockws -- Unlocks the workspace,\n[51] lockws -- Locks the workspace,\n[52] btools -- Gives you btools that will only show to you useful for deleting certain blocks only for you,\n[53] pstand -- Enables platform stand,\n[54] unpstand -- Disables platform stand,\n[55] blockhead -- Removes your head mesh,\n[56] sit,\n[57] bringobj [obj] -- Only shows on client, brings an object/part to you constantly, can be used to bring healing parts, weapons, money etc, type in exact name,\n[58] wsvis [num] -- Changes visibility of workspace parts, num should be between 0 and 1, only shows client sided,\n[59] hypertotal -- Loads in my FE GUI Hypertotal,\n[60] cmds -- Prints all commands,\n[61] rmeshhats/blockhats -- Removes the meshes of all your accessories aka block hats,\n[62] rmeshtool/blocktool -- Removes the mesh of the tool you have equipped aka block tool,\n[63] spinner -- Makes you spin,\n[64] nospinner,\n[65] reach [num] -- Gives you reach, mostly used for swords, say ;reachd for default and enter number after for custom,\n[66] noreach -- Removes reach, must have tool equipped,\n[67] rkill [plr] -- Kills you and the player, use kill to just kill the player without dying,\n[68] tp me [plr] -- Alternative to goto,\n[69] cbring [plr] -- Brings player infront of you, shows only on client, allows you to do damage to player,\n[70] uncbring,\n[71] swap [plr] -- You need a tool! Swaps players position with yours and your position with players,\n[72] givetool [plr] -- Gives the tool you have equipped to the player,\n[73] glitch [plr] -- Glitches you and the player, looks very cool,\n[74] unglitch -- Unglitches you,\n[75] grespawn -- Alternative to normal respawn and usually works best for when you want to reset with FE Godmode,\n[76] explorer -- Loads up DEX,\n[77] reset -- Resets your character.,\n[78] anim [id] -- Applies an animation on you, must be created by ROBLOX,\n[79] animgui -- Loads up Energize animations GUI,\n[80] savepos -- Saves your current position,\n[81] loadpos -- Teleports you to your saved position,\n[82] bang [plr] -- 18+,\n[83] unbang,\n[84] delcmdbar -- Removes the command bar completely,\n[85] bringmod [obj] -- Brings all the parts in a model, client only, comes from ;bringobj enter exact name of model,\n[86] shutdown -- Uses harkinians script to shutdown server,\n[87] respawn -- If grespawn doesnt work you can use respawn,\n[88] delobj [obj] -- Deletes a certain brick in workspace, client sided,\n[89] getplrs -- Prints all players in game,\n[90] deldecal -- Deletes all decals client sided,\n[91] opfinality -- Loads in my FE GUI Opfinality,\n[92] remotes -- Prints all remotes in the game in the console when added,\n[93] noremotes -- Stops printing remotes,\n[94] tpdefault -- Stops all loop teleports to a player,\n[95] stopsit -- Will not allow you to sit,\n[96] gosit -- Allows you to sit,\n[97] clicktp -- Enables click tp,\n[98] noclicktp -- Disables click tp,\n[99] toolson -- If any tools are dropped in the workspace you will automatically get them,\n[100] toolsoff -- Stops ;toolson,\n[101] version -- Gets the admin version, \n This list of commands is NOT showing everything, go to my thread in the pastebin link to see ALL commands." | |
590 | TextLabel.TextColor3 = Color3.new(1, 1, 1) | |
591 | TextLabel.TextSize = 15 | |
592 | TextLabel.TextWrapped = true | |
593 | TextLabel.TextXAlignment = Enum.TextXAlignment.Left | |
594 | TextLabel.TextYAlignment = Enum.TextYAlignment.Top | |
595 | closegui.Name = "closegui" | |
596 | closegui.Parent = CMDSFRAME | |
597 | closegui.BackgroundColor3 = Color3.new(0.890196, 0.223529, 0.0588235) | |
598 | closegui.BorderSizePixel = 0 | |
599 | closegui.Position = UDim2.new(0.995000005, 0, 0, 0) | |
600 | closegui.Size = UDim2.new(0.0545952693, 0, 0.0728644878, 0) | |
601 | closegui.Font = Enum.Font.SourceSansBold | |
602 | closegui.FontSize = Enum.FontSize.Size24 | |
603 | closegui.Text = "X" | |
604 | closegui.TextColor3 = Color3.new(1, 1, 1) | |
605 | closegui.TextSize = 20 | |
606 | ||
607 | closegui.MouseButton1Click:connect(function() | |
608 | CMDSFRAME.Visible = false | |
609 | end) | |
610 | ||
611 | game:GetService('RunService').Stepped:connect(function() | |
612 | if spin then | |
613 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[spinplr.Name].Character.HumanoidRootPart.CFrame | |
614 | end | |
615 | if followed then | |
616 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[flwplr.Name].Character.HumanoidRootPart.CFrame + game:GetService("Players")[flwplr.Name].Character.HumanoidRootPart.CFrame.lookVector * -5 | |
617 | end | |
618 | if traill then | |
619 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[trlplr.Name].Character.HumanoidRootPart.CFrame + game:GetService("Players")[trlplr.Name].Character.HumanoidRootPart.CFrame.lookVector * 5 | |
620 | end | |
621 | if annoying then | |
622 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[annplr.Name].Character.HumanoidRootPart.CFrame | |
623 | end | |
624 | if hwalk then | |
625 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[hdwplr.Name].Character.HumanoidRootPart.CFrame + Vector3.new(0, 4, 0) | |
626 | end | |
627 | if staring then | |
628 | lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(lplayer.Character.Torso.Position, game:GetService("Players")[stareplr.Name].Character.Torso.Position) | |
629 | end | |
630 | end) | |
631 | game:GetService('RunService').Stepped:connect(function() | |
632 | if noclip then | |
633 | if lplayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then | |
634 | lplayer.Character.Head.CanCollide = false | |
635 | lplayer.Character.Torso.CanCollide = false | |
636 | lplayer.Character["Left Leg"].CanCollide = false | |
637 | lplayer.Character["Right Leg"].CanCollide = false | |
638 | else | |
639 | lplayer.Character.Humanoid:ChangeState(11) | |
640 | end | |
641 | end | |
642 | if changingstate then | |
643 | lplayer.Character.Humanoid:ChangeState(statechosen) | |
644 | end | |
645 | end) | |
646 | game:GetService('RunService').Stepped:connect(function() | |
647 | if droppinghats then | |
648 | for i,v in pairs(lplayer.Character:GetChildren()) do | |
649 | if (v:IsA("Accessory")) or (v:IsA("Hat")) then | |
650 | v.Parent = workspace | |
651 | end | |
652 | end | |
653 | end | |
654 | if droppingtools then | |
655 | for i,v in pairs(lplayer.Character:GetChildren()) do | |
656 | if (v:IsA("Tool")) then | |
657 | v.Parent = workspace | |
658 | end | |
659 | end | |
660 | end | |
661 | if removingmeshhats then | |
662 | for i,v in pairs(lplayer.Character:GetChildren()) do | |
663 | if (v:IsA("Accessory")) or (v:IsA("Hat")) then | |
664 | v.Handle.Mesh:Destroy() | |
665 | end | |
666 | end | |
667 | end | |
668 | if removingmeshtool then | |
669 | for i,v in pairs(lplayer.Character:GetChildren()) do | |
670 | if (v:IsA("Tool")) then | |
671 | v.Handle.Mesh:Destroy() | |
672 | end | |
673 | end | |
674 | end | |
675 | end) | |
676 | game:GetService('RunService').Stepped:connect(function() | |
677 | if banpl then | |
678 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[bplrr].Character.HumanoidRootPart.CFrame | |
679 | end | |
680 | end) | |
681 | game:GetService('RunService').Stepped:connect(function() | |
682 | if stopsitting then | |
683 | lplayer.Character.Humanoid.Sit = false | |
684 | end | |
685 | end) | |
686 | ||
687 | plr = lplayer | |
688 | hum = plr.Character.HumanoidRootPart | |
689 | mouse = plr:GetMouse() | |
690 | mouse.KeyDown:connect(function(key) | |
691 | if key == "e" then | |
692 | if mouse.Target then | |
693 | if clickgoto then | |
694 | hum.CFrame = CFrame.new(mouse.Hit.x, mouse.Hit.y + 5, mouse.Hit.z) | |
695 | elseif clickdel then | |
696 | mouse.Target:Destroy() | |
697 | end | |
698 | end | |
699 | end | |
700 | end) | |
701 | ||
702 | game:GetService("Workspace").ChildAdded:connect(function(part) | |
703 | if gettingtools then | |
704 | if part:IsA("Tool") then | |
705 | part.Handle.CFrame = lplayer.Character.HumanoidRootPart.CFrame | |
706 | end | |
707 | end | |
708 | end) | |
709 | ||
710 | lplayer.Chatted:Connect(function(msg) | |
711 | if string.sub(msg, 1, 6) == (prefix.."kill ") then | |
712 | if string.sub(msg, 7) == "me" then | |
713 | lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(100000,0,100000) | |
714 | else | |
715 | for i,v in pairs(GetPlayer(string.sub(msg, 7)))do | |
716 | local NOW = lplayer.Character.HumanoidRootPart.CFrame | |
717 | lplayer.Character.Humanoid.Name = 1 | |
718 | local l = lplayer.Character["1"]:Clone() | |
719 | l.Parent = lplayer.Character | |
720 | l.Name = "Humanoid" | |
721 | wait(0.1) | |
722 | lplayer.Character["1"]:Destroy() | |
723 | game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character | |
724 | lplayer.Character.Animate.Disabled = true | |
725 | wait(0.1) | |
726 | lplayer.Character.Animate.Disabled = false | |
727 | lplayer.Character.Humanoid.DisplayDistanceType = "None" | |
728 | for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do | |
729 | lplayer.Character.Humanoid:EquipTool(v) | |
730 | end | |
731 | local function tp(player,player2) | |
732 | local char1,char2=player.Character,player2.Character | |
733 | if char1 and char2 then | |
734 | char1:MoveTo(char2.Head.Position) | |
735 | end | |
736 | end | |
737 | wait(0.1) | |
738 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame | |
739 | wait(0.2) | |
740 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame | |
741 | wait(0.5) | |
742 | lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-100000,10,-100000)) | |
743 | wait(0.7) | |
744 | tp(lplayer,game:GetService("Players")[v.Name]) | |
745 | wait(0.7) | |
746 | lplayer.Character.HumanoidRootPart.CFrame = NOW | |
747 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
748 | Title = "Tools needed!"; | |
749 | Text = "You need a tool in your backpack for this command!"; | |
750 | }) | |
751 | end | |
752 | end | |
753 | end | |
754 | if string.sub(msg, 1, 7) == (prefix.."bring ") then | |
755 | for i,v in pairs(GetPlayer(string.sub(msg, 8)))do | |
756 | local NOW = lplayer.Character.HumanoidRootPart.CFrame | |
757 | lplayer.Character.Humanoid.Name = 1 | |
758 | local l = lplayer.Character["1"]:Clone() | |
759 | l.Parent = lplayer.Character | |
760 | l.Name = "Humanoid" | |
761 | wait(0.1) | |
762 | lplayer.Character["1"]:Destroy() | |
763 | game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character | |
764 | lplayer.Character.Animate.Disabled = true | |
765 | wait(0.1) | |
766 | lplayer.Character.Animate.Disabled = false | |
767 | lplayer.Character.Humanoid.DisplayDistanceType = "None" | |
768 | for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do | |
769 | lplayer.Character.Humanoid:EquipTool(v) | |
770 | end | |
771 | local function tp(player,player2) | |
772 | local char1,char2=player.Character,player2.Character | |
773 | if char1 and char2 then | |
774 | char1.HumanoidRootPart.CFrame = char2.HumanoidRootPart.CFrame | |
775 | end | |
776 | end | |
777 | local function getout(player,player2) | |
778 | local char1,char2=player.Character,player2.Character | |
779 | if char1 and char2 then | |
780 | char1:MoveTo(char2.Head.Position) | |
781 | end | |
782 | end | |
783 | tp(game:GetService("Players")[v.Name], lplayer) | |
784 | wait(0.2) | |
785 | tp(game:GetService("Players")[v.Name], lplayer) | |
786 | wait(0.5) | |
787 | lplayer.Character.HumanoidRootPart.CFrame = NOW | |
788 | wait(0.5) | |
789 | getout(lplayer, game:GetService("Players")[v.Name]) | |
790 | wait(0.3) | |
791 | lplayer.Character.HumanoidRootPart.CFrame = NOW | |
792 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
793 | Title = "Tools needed!"; | |
794 | Text = "You need a tool in your backpack for this command!"; | |
795 | }) | |
796 | end | |
797 | end | |
798 | if string.sub(msg, 1, 6) == (prefix.."spin ") then | |
799 | for i,v in pairs(GetPlayer(string.sub(msg, 7))) do | |
800 | lplayer.Character.Humanoid.Name = 1 | |
801 | local l = lplayer.Character["1"]:Clone() | |
802 | l.Parent = lplayer.Character | |
803 | l.Name = "Humanoid" | |
804 | wait(0.1) | |
805 | lplayer.Character["1"]:Destroy() | |
806 | game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character | |
807 | lplayer.Character.Animate.Disabled = true | |
808 | wait(0.1) | |
809 | lplayer.Character.Animate.Disabled = false | |
810 | lplayer.Character.Humanoid.DisplayDistanceType = "None" | |
811 | lplayer.Character.Animate.Disabled = false | |
812 | for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do | |
813 | lplayer.Character.Humanoid:EquipTool(v) | |
814 | end | |
815 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame | |
816 | spinplr = v | |
817 | wait(0.5) | |
818 | spin = true | |
819 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
820 | Title = "Tools needed!"; | |
821 | Text = "You need a tool in your backpack for this command!"; | |
822 | }) | |
823 | end | |
824 | end | |
825 | if string.sub(msg, 1, 7) == (prefix.."unspin") then | |
826 | spin = false | |
827 | end | |
828 | if string.sub(msg, 1, 8) == (prefix.."attach ") then | |
829 | for i,v in pairs(GetPlayer(string.sub(msg, 9))) do | |
830 | lplayer.Character.Humanoid.Name = 1 | |
831 | local l = lplayer.Character["1"]:Clone() | |
832 | l.Parent = lplayer.Character | |
833 | l.Name = "Humanoid" | |
834 | wait(0.1) | |
835 | lplayer.Character["1"]:Destroy() | |
836 | game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character | |
837 | lplayer.Character.Animate.Disabled = true | |
838 | wait(0.1) | |
839 | lplayer.Character.Animate.Disabled = false | |
840 | lplayer.Character.Humanoid.DisplayDistanceType = "None" | |
841 | for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do | |
842 | lplayer.Character.Humanoid:EquipTool(v) | |
843 | end | |
844 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame | |
845 | wait(0.3) | |
846 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame | |
847 | attplr = v | |
848 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
849 | Title = "Tools needed!"; | |
850 | Text = "You need a tool in your backpack for this command!"; | |
851 | }) | |
852 | end | |
853 | end | |
854 | if string.sub(msg, 1, 10) == (prefix.."unattach ") then | |
855 | for i,v in pairs(GetPlayer(string.sub(msg, 11))) do | |
856 | local function getout(player,player2) | |
857 | local char1,char2=player.Character,player2.Character | |
858 | if char1 and char2 then | |
859 | char1:MoveTo(char2.Head.Position) | |
860 | end | |
861 | end | |
862 | getout(lplayer, game:GetService("Players")[v.Name]) | |
863 | end | |
864 | end | |
865 | if string.sub(msg, 1, 8) == (prefix.."follow ") then | |
866 | for i,v in pairs(GetPlayer(string.sub(msg, 9))) do | |
867 | followed = true | |
868 | flwplr = v | |
869 | end | |
870 | end | |
871 | if string.sub(msg, 1, 9) == (prefix.."unfollow") then | |
872 | followed = false | |
873 | end | |
874 | if string.sub(msg, 1, 10) == (prefix.."freefall ") then | |
875 | for i,v in pairs(GetPlayer(string.sub(msg, 11))) do | |
876 | local NOW = lplayer.Character.HumanoidRootPart.CFrame | |
877 | lplayer.Character.Humanoid.Name = 1 | |
878 | local l = lplayer.Character["1"]:Clone() | |
879 | l.Parent = lplayer.Character | |
880 | l.Name = "Humanoid" | |
881 | wait(0.1) | |
882 | lplayer.Character["1"]:Destroy() | |
883 | game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character | |
884 | lplayer.Character.Animate.Disabled = true | |
885 | wait(0.1) | |
886 | lplayer.Character.Animate.Disabled = false | |
887 | lplayer.Character.Humanoid.DisplayDistanceType = "None" | |
888 | for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do | |
889 | lplayer.Character.Humanoid:EquipTool(v) | |
890 | end | |
891 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame | |
892 | wait(0.2) | |
893 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame | |
894 | wait(0.6) | |
895 | lplayer.Character.HumanoidRootPart.CFrame = NOW | |
896 | wait(0.6) | |
897 | lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(0,50000,0) | |
898 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
899 | Title = "Tools needed!"; | |
900 | Text = "You need a tool in your backpack for this command!"; | |
901 | }) | |
902 | end | |
903 | end | |
904 | if string.sub(msg, 1, 7) == (prefix.."trail ") then | |
905 | for i,v in pairs(GetPlayer(string.sub(msg, 8))) do | |
906 | traill = true | |
907 | trlplr = v | |
908 | end | |
909 | end | |
910 | if string.sub(msg, 1, 8) == (prefix.."untrail") then | |
911 | traill = false | |
912 | end | |
913 | if string.sub(msg, 1, 7) == (prefix.."orbit ") then | |
914 | if string.sub(msg, 8) == "all" or string.sub(msg, 8) == "others" or string.sub(msg, 8) == "me" then | |
915 | lplayer.Character.HumanoidRootPart.CFrame = lplayer.Character.HumanoidRootPart.CFrame | |
916 | else | |
917 | for i,v in pairs(GetPlayer(string.sub(msg, 8))) do | |
918 | local o = Instance.new("RocketPropulsion") | |
919 | o.Parent = lplayer.Character.HumanoidRootPart | |
920 | o.Name = "Orbit" | |
921 | o.Target = game:GetService("Players")[v.Name].Character.HumanoidRootPart | |
922 | o:Fire() | |
923 | noclip = true | |
924 | end | |
925 | end | |
926 | end | |
927 | if string.sub(msg, 1, 8) == (prefix.."unorbit") then | |
928 | lplayer.Character.HumanoidRootPart.Orbit:Destroy() | |
929 | noclip = false | |
930 | end | |
931 | if string.sub(msg, 1, 7) == (prefix.."fling ") then | |
932 | if string.sub(msg, 8) == "all" or string.sub(msg, 8) == "others" or string.sub(msg, 8) == "me" then | |
933 | lplayer.Character.HumanoidRootPart.CFrame = lplayer.Character.HumanoidRootPart.CFrame | |
934 | else | |
935 | for i,v in pairs(GetPlayer(string.sub(msg, 8))) do | |
936 | local y = Instance.new("RocketPropulsion") | |
937 | y.Parent = lplayer.Character.HumanoidRootPart | |
938 | y.CartoonFactor = 1 | |
939 | y.MaxThrust = 800000 | |
940 | y.MaxSpeed = 1000 | |
941 | y.ThrustP = 200000 | |
942 | y.Name = "Fling" | |
943 | game:GetService("Workspace").CurrentCamera.CameraSubject = game:GetService("Players")[v.Name].Character.Head | |
944 | y.Target = game:GetService("Players")[v.Name].Character.HumanoidRootPart | |
945 | y:Fire() | |
946 | noclip = true | |
947 | end | |
948 | end | |
949 | end | |
950 | if string.sub(msg, 1, 8) == (prefix.."unfling") then | |
951 | noclip = false | |
952 | lplayer.Character.HumanoidRootPart.Fling:Destroy() | |
953 | game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Head | |
954 | wait(0.4) | |
955 | lplayer.Character.HumanoidRootPart.Fling:Destroy() | |
956 | end | |
957 | if string.sub(msg, 1, 8) == (prefix.."fecheck") then | |
958 | if game:GetService("Workspace").FilteringEnabled == true then | |
959 | warn("FE is Enabled (Filtering Enabled)") | |
960 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
961 | Title = "FE is Enabled"; | |
962 | Text = "Filtering Enabled. Enjoy using Reviz Admin!"; | |
963 | }) | |
964 | else | |
965 | warn("FE is Disabled (Filtering Disabled) Consider using a different admin script.") | |
966 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
967 | Title = "FE is Disabled"; | |
968 | Text = "Filtering Disabled. Consider using a different admin script."; | |
969 | }) | |
970 | end | |
971 | end | |
972 | if string.sub(msg, 1, 6) == (prefix.."void ") then | |
973 | for i,v in pairs(GetPlayer(string.sub(msg, 7))) do | |
974 | lplayer.Character.Humanoid.Name = 1 | |
975 | local l = lplayer.Character["1"]:Clone() | |
976 | l.Parent = lplayer.Character | |
977 | l.Name = "Humanoid" | |
978 | wait(0.1) | |
979 | lplayer.Character["1"]:Destroy() | |
980 | game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character | |
981 | lplayer.Character.Animate.Disabled = true | |
982 | wait(0.1) | |
983 | lplayer.Character.Animate.Disabled = false | |
984 | lplayer.Character.Humanoid.DisplayDistanceType = "None" | |
985 | for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do | |
986 | lplayer.Character.Humanoid:EquipTool(v) | |
987 | end | |
988 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame | |
989 | wait(0.2) | |
990 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame | |
991 | wait(0.6) | |
992 | lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(999999999999999,0,999999999999999) | |
993 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
994 | Title = "Tools needed!"; | |
995 | Text = "You need a tool in your backpack for this command!"; | |
996 | }) | |
997 | end | |
998 | end | |
999 | if string.sub(msg, 1, 7) == (prefix.."noclip") then | |
1000 | noclip = true | |
1001 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1002 | Title = "Noclip enabled"; | |
1003 | Text = "Type ;clip to disable"; | |
1004 | }) | |
1005 | end | |
1006 | if string.sub(msg, 1, 5) == (prefix.."clip") then | |
1007 | noclip = false | |
1008 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1009 | Title = "Noclip disabled"; | |
1010 | Text = "Type ;noclip to enable"; | |
1011 | }) | |
1012 | end | |
1013 | if string.sub(msg, 1, 7) == (prefix.."speed ") then | |
1014 | lplayer.Character.Humanoid.WalkSpeed = (string.sub(msg, 8)) | |
1015 | end | |
1016 | if string.sub(msg, 1, 4) == (prefix.."ws ") then | |
1017 | lplayer.Character.Humanoid.WalkSpeed = (string.sub(msg, 5)) | |
1018 | end | |
1019 | if string.sub(msg, 1, 11) == (prefix.."hipheight ") then | |
1020 | lplayer.Character.Humanoid.HipHeight = (string.sub(msg, 12)) | |
1021 | end | |
1022 | if string.sub(msg, 1, 4) == (prefix.."hh ") then | |
1023 | lplayer.Character.Humanoid.HipHeight = (string.sub(msg, 5)) | |
1024 | end | |
1025 | if string.sub(msg, 1, 11) == (prefix.."jumppower ") then | |
1026 | lplayer.Character.Humanoid.JumpPower = (string.sub(msg, 12)) | |
1027 | end | |
1028 | if string.sub(msg, 1, 4) == (prefix.."jp ") then | |
1029 | lplayer.Character.Humanoid.JumpPower = (string.sub(msg, 5)) | |
1030 | end | |
1031 | if string.sub(msg, 1, 8) == (prefix.."default") then | |
1032 | lplayer.Character.Humanoid.JumpPower = 50 | |
1033 | lplayer.Character.Humanoid.WalkSpeed = 16 | |
1034 | lplayer.Character.Humanoid.HipHeight = 0 | |
1035 | end | |
1036 | if string.sub(msg, 1, 7) == (prefix.."annoy ") then | |
1037 | for i,v in pairs(GetPlayer(string.sub(msg, 8))) do | |
1038 | annoying = true | |
1039 | annplr = v | |
1040 | end | |
1041 | end | |
1042 | if string.sub(msg, 1, 8) == (prefix.."unannoy") then | |
1043 | annoying = false | |
1044 | end | |
1045 | if string.sub(msg, 1, 10) == (prefix.."headwalk ") then | |
1046 | for i,v in pairs(GetPlayer(string.sub(msg, 11))) do | |
1047 | hwalk = true | |
1048 | hdwplr = v | |
1049 | end | |
1050 | end | |
1051 | if string.sub(msg, 1, 11) == (prefix.."unheadwalk") then | |
1052 | hwalk = false | |
1053 | end | |
1054 | if string.sub(msg, 1, 8) == (prefix.."nolimbs") then | |
1055 | lplayer.Character["Left Leg"]:Destroy() | |
1056 | lplayer.Character["Left Arm"]:Destroy() | |
1057 | lplayer.Character["Right Leg"]:Destroy() | |
1058 | lplayer.Character["Right Arm"]:Destroy() | |
1059 | end | |
1060 | if string.sub(msg, 1, 4) == (prefix.."god") then | |
1061 | lplayer.Character.Humanoid.Name = 1 | |
1062 | local l = lplayer.Character["1"]:Clone() | |
1063 | l.Parent = lplayer.Character | |
1064 | l.Name = "Humanoid" | |
1065 | wait(0.1) | |
1066 | lplayer.Character["1"]:Destroy() | |
1067 | game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character | |
1068 | lplayer.Character.Animate.Disabled = true | |
1069 | wait(0.1) | |
1070 | lplayer.Character.Animate.Disabled = false | |
1071 | lplayer.Character.Humanoid.DisplayDistanceType = "None" | |
1072 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1073 | Title = "FE Godmode enabled"; | |
1074 | Text = "Use ;grespawn or ;respawn to remove"; | |
1075 | }) | |
1076 | end | |
1077 | if string.sub(msg, 1, 9) == (prefix.."drophats") then | |
1078 | for i,v in pairs(lplayer.Character:GetChildren()) do | |
1079 | if (v:IsA("Accessory")) or (v:IsA("Hat")) then | |
1080 | v.Parent = workspace | |
1081 | end | |
1082 | end | |
1083 | end | |
1084 | if string.sub(msg, 1, 9) == (prefix.."droptool") then | |
1085 | for i,v in pairs(lplayer.Character:GetChildren()) do | |
1086 | if (v:IsA("Tool")) then | |
1087 | v.Parent = workspace | |
1088 | end | |
1089 | end | |
1090 | end | |
1091 | if string.sub(msg, 1, 10) == (prefix.."loopdhats") then | |
1092 | droppinghats = true | |
1093 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1094 | Title = "Loop Drop Enabled"; | |
1095 | Text = "Type ;unloopdhats to disable"; | |
1096 | }) | |
1097 | end | |
1098 | if string.sub(msg, 1, 12) == (prefix.."unloopdhats") then | |
1099 | droppinghats = false | |
1100 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1101 | Title = "Loop Drop Disabled"; | |
1102 | Text = "Type ;loopdhats to enable."; | |
1103 | }) | |
1104 | end | |
1105 | if string.sub(msg, 1, 10) == (prefix.."loopdtool") then | |
1106 | droppingtools = true | |
1107 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1108 | Title = "Loop Drop Enabled"; | |
1109 | Text = "Type ;unloopdtool to disable"; | |
1110 | }) | |
1111 | end | |
1112 | if string.sub(msg, 1, 12) == (prefix.."unloopdtool") then | |
1113 | droppingtools = false | |
1114 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1115 | Title = "Loop Drop Disabled"; | |
1116 | Text = "Type ;loopdtool to enable."; | |
1117 | }) | |
1118 | end | |
1119 | if string.sub(msg, 1, 10) == (prefix.."invisible") then -- Credit to Timeless | |
1120 | Local = game:GetService('Players').LocalPlayer | |
1121 | Char = Local.Character | |
1122 | touched,tpdback = false, false | |
1123 | box = Instance.new('Part',workspace) | |
1124 | box.Anchored = true | |
1125 | box.CanCollide = true | |
1126 | box.Size = Vector3.new(10,1,10) | |
1127 | box.Position = Vector3.new(0,10000,0) | |
1128 | box.Touched:connect(function(part) | |
1129 | if (part.Parent.Name == Local.Name) then | |
1130 | if touched == false then | |
1131 | touched = true | |
1132 | function apply() | |
1133 | if script.Disabled ~= true then | |
1134 | no = Char.HumanoidRootPart:Clone() | |
1135 | wait(.25) | |
1136 | Char.HumanoidRootPart:Destroy() | |
1137 | no.Parent = Char | |
1138 | Char:MoveTo(loc) | |
1139 | touched = false | |
1140 | end end | |
1141 | if Char then | |
1142 | apply() | |
1143 | end | |
1144 | end | |
1145 | end | |
1146 | end) | |
1147 | repeat wait() until Char | |
1148 | loc = Char.HumanoidRootPart.Position | |
1149 | Char:MoveTo(box.Position + Vector3.new(0,.5,0)) | |
1150 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1151 | Title = "Invisibility enabled!"; | |
1152 | Text = "Reset or use ;respawn to remove."; | |
1153 | }) | |
1154 | end | |
1155 | if string.sub(msg, 1, 6) == (prefix.."view ") then | |
1156 | for i,v in pairs(GetPlayer(string.sub(msg, 7))) do | |
1157 | if game:GetService("Players")[v.Name].Character.Humanoid then | |
1158 | game:GetService("Workspace").CurrentCamera.CameraSubject = game:GetService("Players")[v.Name].Character.Humanoid | |
1159 | else | |
1160 | game:GetService("Workspace").CurrentCamera.CameraSubject = game:GetService("Players")[v.Name].Character.Head | |
1161 | end | |
1162 | end | |
1163 | end | |
1164 | if string.sub(msg, 1, 7) == (prefix.."unview") then | |
1165 | if lplayer.Character.Humanoid then | |
1166 | game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Humanoid | |
1167 | else | |
1168 | game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Head | |
1169 | end | |
1170 | end | |
1171 | if string.sub(msg, 1, 6) == (prefix.."goto ") then | |
1172 | for i,v in pairs(GetPlayer(string.sub(msg, 7))) do | |
1173 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame | |
1174 | end | |
1175 | end | |
1176 | if string.sub(msg, 1, 4) == (prefix.."fly") then | |
1177 | repeat wait() until lplayer and lplayer.Character and lplayer.Character:FindFirstChild('HumanoidRootPart') and lplayer.Character:FindFirstChild('Humanoid') | |
1178 | repeat wait() until Mouse | |
1179 | ||
1180 | local T = lplayer.Character.HumanoidRootPart | |
1181 | local CONTROL = {F = 0, B = 0, L = 0, R = 0} | |
1182 | local lCONTROL = {F = 0, B = 0, L = 0, R = 0} | |
1183 | local SPEED = speedget | |
1184 | ||
1185 | local function fly() | |
1186 | flying = true | |
1187 | local BG = Instance.new('BodyGyro', T) | |
1188 | local BV = Instance.new('BodyVelocity', T) | |
1189 | BG.P = 9e4 | |
1190 | BG.maxTorque = Vector3.new(9e9, 9e9, 9e9) | |
1191 | BG.cframe = T.CFrame | |
1192 | BV.velocity = Vector3.new(0, 0.1, 0) | |
1193 | BV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
1194 | spawn(function() | |
1195 | repeat wait() | |
1196 | lplayer.Character.Humanoid.PlatformStand = true | |
1197 | if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then | |
1198 | SPEED = 50 | |
1199 | elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then | |
1200 | SPEED = 0 | |
1201 | end | |
1202 | if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then | |
1203 | BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED | |
1204 | lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R} | |
1205 | elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then | |
1206 | BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED | |
1207 | else | |
1208 | BV.velocity = Vector3.new(0, 0.1, 0) | |
1209 | end | |
1210 | BG.cframe = workspace.CurrentCamera.CoordinateFrame | |
1211 | until not flying | |
1212 | CONTROL = {F = 0, B = 0, L = 0, R = 0} | |
1213 | lCONTROL = {F = 0, B = 0, L = 0, R = 0} | |
1214 | SPEED = 0 | |
1215 | BG:destroy() | |
1216 | BV:destroy() | |
1217 | lplayer.Character.Humanoid.PlatformStand = false | |
1218 | end) | |
1219 | end | |
1220 | Mouse.KeyDown:connect(function(KEY) | |
1221 | if KEY:lower() == 'w' then | |
1222 | CONTROL.F = speedfly | |
1223 | elseif KEY:lower() == 's' then | |
1224 | CONTROL.B = -speedfly | |
1225 | elseif KEY:lower() == 'a' then | |
1226 | CONTROL.L = -speedfly | |
1227 | elseif KEY:lower() == 'd' then | |
1228 | CONTROL.R = speedfly | |
1229 | end | |
1230 | end) | |
1231 | Mouse.KeyUp:connect(function(KEY) | |
1232 | if KEY:lower() == 'w' then | |
1233 | CONTROL.F = 0 | |
1234 | elseif KEY:lower() == 's' then | |
1235 | CONTROL.B = 0 | |
1236 | elseif KEY:lower() == 'a' then | |
1237 | CONTROL.L = 0 | |
1238 | elseif KEY:lower() == 'd' then | |
1239 | CONTROL.R = 0 | |
1240 | end | |
1241 | end) | |
1242 | fly() | |
1243 | end | |
1244 | if string.sub(msg, 1, 6) == (prefix.."unfly") then | |
1245 | flying = false | |
1246 | lplayer.Character.Humanoid.PlatformStand = false | |
1247 | end | |
1248 | if string.sub(msg, 1, 6) == (prefix.."chat ") then | |
1249 | game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer((string.sub(msg, 7)), "All") | |
1250 | end | |
1251 | if string.sub(msg, 1, 6) == (prefix.."spam ") then | |
1252 | spamtext = (string.sub(msg, 7)) | |
1253 | spamming = true | |
1254 | end | |
1255 | if string.sub(msg, 1, 7) == (prefix.."unspam") then | |
1256 | spamming = false | |
1257 | end | |
1258 | if string.sub(msg, 1, 10) == (prefix.."spamwait ") then | |
1259 | spamdelay = (string.sub(msg, 11)) | |
1260 | end | |
1261 | if string.sub(msg, 1, 8) == (prefix.."pmspam ") then | |
1262 | for i,v in pairs(GetPlayer(string.sub(msg, 9))) do | |
1263 | pmspammed = v.Name | |
1264 | spammingpm = true | |
1265 | end | |
1266 | end | |
1267 | if string.sub(msg, 1, 9) == (prefix.."unpmspam") then | |
1268 | spammingpm = false | |
1269 | end | |
1270 | if string.sub(msg, 1, 9) == (prefix.."cfreeze ") then | |
1271 | for i,v in pairs(GetPlayer(string.sub(msg, 10))) do | |
1272 | v.Character["Left Leg"].Anchored = true | |
1273 | v.Character["Left Arm"].Anchored = true | |
1274 | v.Character["Right Leg"].Anchored = true | |
1275 | v.Character["Right Arm"].Anchored = true | |
1276 | v.Character.Torso.Anchored = true | |
1277 | v.Character.Head.Anchored = true | |
1278 | end | |
1279 | end | |
1280 | if string.sub(msg, 1, 11) == (prefix.."uncfreeze ") then | |
1281 | for i,v in pairs(GetPlayer(string.sub(msg, 12))) do | |
1282 | v.Character["Left Leg"].Anchored = false | |
1283 | v.Character["Left Arm"].Anchored = false | |
1284 | v.Character["Right Leg"].Anchored = false | |
1285 | v.Character["Right Arm"].Anchored = false | |
1286 | v.Character.Torso.Anchored = false | |
1287 | v.Character.Head.Anchored = false | |
1288 | end | |
1289 | end | |
1290 | if string.sub(msg, 1, 9) == (prefix.."unlockws") then | |
1291 | local a = game:GetService("Workspace"):getChildren() | |
1292 | for i = 1, #a do | |
1293 | if a[i].className == "Part" then | |
1294 | a[i].Locked = false | |
1295 | elseif a[i].className == "Model" then | |
1296 | local r = a[i]:getChildren() | |
1297 | for i = 1, #r do | |
1298 | if r[i].className == "Part" then | |
1299 | r[i].Locked = false | |
1300 | end | |
1301 | end | |
1302 | end | |
1303 | end | |
1304 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1305 | Title = "Success!"; | |
1306 | Text = "Workspace unlocked. Use ;lockws to lock."; | |
1307 | }) | |
1308 | end | |
1309 | if string.sub(msg, 1, 7) == (prefix.."lockws") then | |
1310 | local a = game:GetService("Workspace"):getChildren() | |
1311 | for i = 1, #a do | |
1312 | if a[i].className == "Part" then | |
1313 | a[i].Locked = true | |
1314 | elseif a[i].className == "Model" then | |
1315 | local r = a[i]:getChildren() | |
1316 | for i = 1, #r do | |
1317 | if r[i].className == "Part" then | |
1318 | r[i].Locked = true | |
1319 | end | |
1320 | end | |
1321 | end | |
1322 | end | |
1323 | end | |
1324 | if string.sub(msg, 1, 7) == (prefix.."btools") then | |
1325 | local Clone_T = Instance.new("HopperBin",lplayer.Backpack) | |
1326 | Clone_T.BinType = "Clone" | |
1327 | local Destruct = Instance.new("HopperBin",lplayer.Backpack) | |
1328 | Destruct.BinType = "Hammer" | |
1329 | local Hold_T = Instance.new("HopperBin",lplayer.Backpack) | |
1330 | Hold_T.BinType = "Grab" | |
1331 | end | |
1332 | if string.sub(msg, 1, 7) == (prefix.."pstand") then | |
1333 | lplayer.Character.Humanoid.PlatformStand = true | |
1334 | end | |
1335 | if string.sub(msg, 1, 9) == (prefix.."unpstand") then | |
1336 | lplayer.Character.Humanoid.PlatformStand = false | |
1337 | end | |
1338 | if string.sub(msg, 1, 10) == (prefix.."blockhead") then | |
1339 | lplayer.Character.Head.Mesh:Destroy() | |
1340 | end | |
1341 | if string.sub(msg, 1, 4) == (prefix.."sit") then | |
1342 | lplayer.Character.Humanoid.Sit = true | |
1343 | end | |
1344 | if string.sub(msg, 1, 10) == (prefix.."bringobj ") then | |
1345 | local function bringobjw() | |
1346 | for i,obj in ipairs(game:GetService("Workspace"):GetDescendants()) do | |
1347 | if obj.Name == (string.sub(msg, 11)) then | |
1348 | obj.CFrame = lplayer.Character.HumanoidRootPart.CFrame | |
1349 | obj.CanCollide = false | |
1350 | obj.Transparency = 0.7 | |
1351 | wait() | |
1352 | obj.CFrame = lplayer.Character["Left Leg"].CFrame | |
1353 | wait() | |
1354 | obj.CFrame = lplayer.Character["Right Leg"].CFrame | |
1355 | wait() | |
1356 | obj.CFrame = lplayer.Character["Head"].CFrame | |
1357 | end | |
1358 | end | |
1359 | end | |
1360 | while wait() do | |
1361 | bringobjw() | |
1362 | end | |
1363 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1364 | Title = "BringObj"; | |
1365 | Text = "BringObj enabled."; | |
1366 | }) | |
1367 | end | |
1368 | if string.sub(msg, 1, 7) == (prefix.."wsvis ") then | |
1369 | vis = (string.sub(msg, 8)) | |
1370 | local a = game:GetService("Workspace"):GetDescendants() | |
1371 | for i = 1, #a do | |
1372 | if a[i].className == "Part" then | |
1373 | a[i].Transparency = vis | |
1374 | elseif a[i].className == "Model" then | |
1375 | local r = a[i]:getChildren() | |
1376 | for i = 1, #r do | |
1377 | if r[i].className == "Part" then | |
1378 | r[i].Transparency = vis | |
1379 | end | |
1380 | end | |
1381 | end | |
1382 | end | |
1383 | end | |
1384 | if string.sub(msg, 1, 11) == (prefix.."hypertotal") then | |
1385 | loadstring(game:GetObjects("rbxassetid://1255063809")[1].Source)() | |
1386 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1387 | Title = "Success!"; | |
1388 | Text = "HyperTotal GUI Loaded!"; | |
1389 | }) | |
1390 | end | |
1391 | if string.sub(msg, 1, 5) == (prefix.."cmds") then | |
1392 | CMDSFRAME.Visible = true | |
1393 | end | |
1394 | if string.sub(msg, 1, 10) == (prefix.."rmeshhats") then | |
1395 | for i,v in pairs(lplayer.Character:GetChildren()) do | |
1396 | if (v:IsA("Accessory")) or (v:IsA("Hat")) then | |
1397 | v.Handle.Mesh:Destroy() | |
1398 | end | |
1399 | end | |
1400 | end | |
1401 | if string.sub(msg, 1, 10) == (prefix.."blockhats") then | |
1402 | for i,v in pairs(lplayer.Character:GetChildren()) do | |
1403 | if (v:IsA("Accessory")) or (v:IsA("Hat")) then | |
1404 | v.Handle.Mesh:Destroy() | |
1405 | end | |
1406 | end | |
1407 | end | |
1408 | if string.sub(msg, 1, 10) == (prefix.."rmeshtool") then | |
1409 | for i,v in pairs(lplayer.Character:GetChildren()) do | |
1410 | if (v:IsA("Tool")) then | |
1411 | v.Handle.Mesh:Destroy() | |
1412 | end | |
1413 | end | |
1414 | end | |
1415 | if string.sub(msg, 1, 10) == (prefix.."blocktool") then | |
1416 | for i,v in pairs(lplayer.Character:GetChildren()) do | |
1417 | if (v:IsA("Tool")) then | |
1418 | v.Handle.Mesh:Destroy() | |
1419 | end | |
1420 | end | |
1421 | end | |
1422 | if string.sub(msg, 1, 8) == (prefix.."spinner") then | |
1423 | local p = Instance.new("RocketPropulsion") | |
1424 | p.Parent = lplayer.Character.HumanoidRootPart | |
1425 | p.Name = "Spinner" | |
1426 | p.Target = lplayer.Character["Left Arm"] | |
1427 | p:Fire() | |
1428 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1429 | Title = "Spinner enabled"; | |
1430 | Text = "Type ;nospinner to disable."; | |
1431 | }) | |
1432 | end | |
1433 | if string.sub(msg, 1, 10) == (prefix.."nospinner") then | |
1434 | lplayer.Character.HumanoidRootPart.Spinner:Destroy() | |
1435 | end | |
1436 | if string.sub(msg, 1, 7) == (prefix.."reachd") then | |
1437 | for i,v in pairs(game:GetService'Players'.LocalPlayer.Character:GetChildren())do | |
1438 | if v:isA("Tool") then | |
1439 | local a = Instance.new("SelectionBox",v.Handle) | |
1440 | a.Adornee = v.Handle | |
1441 | v.Handle.Size = Vector3.new(0.5,0.5,60) | |
1442 | v.GripPos = Vector3.new(0,0,0) | |
1443 | lplayer.Character.Humanoid:UnequipTools() | |
1444 | end | |
1445 | end | |
1446 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1447 | Title = "Reach applied!"; | |
1448 | Text = "Applied to equipped sword. Use ;noreach to disable."; | |
1449 | }) | |
1450 | end | |
1451 | if string.sub(msg, 1, 7) == (prefix.."reach ") then | |
1452 | for i,v in pairs(game:GetService'Players'.LocalPlayer.Character:GetChildren())do | |
1453 | if v:isA("Tool") then | |
1454 | handleSize = v.Handle.Size | |
1455 | wait() | |
1456 | local a = Instance.new("SelectionBox",v.Handle) | |
1457 | a.Name = "a" | |
1458 | a.Adornee = v.Handle | |
1459 | v.Handle.Size = Vector3.new(0.5,0.5,(string.sub(msg, 8))) | |
1460 | v.GripPos = Vector3.new(0,0,0) | |
1461 | lplayer.Character.Humanoid:UnequipTools() | |
1462 | end | |
1463 | end | |
1464 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1465 | Title = "Reach applied!"; | |
1466 | Text = "Applied to equipped sword. Use ;noreach to disable."; | |
1467 | }) | |
1468 | end | |
1469 | if string.sub(msg, 1, 8) == (prefix.."noreach") then | |
1470 | for i,v in pairs(game:GetService'Players'.LocalPlayer.Character:GetChildren())do | |
1471 | if v:isA("Tool") then | |
1472 | v.Handle.a:Destroy() | |
1473 | v.Handle.Size = handleSize | |
1474 | end | |
1475 | end | |
1476 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1477 | Title = "Reach removed!"; | |
1478 | Text = "Removed reach from equipped sword."; | |
1479 | }) | |
1480 | end | |
1481 | if string.sub(msg, 1, 7) == (prefix.."rkill ") then | |
1482 | for i,v in pairs(GetPlayer(string.sub(msg, 8)))do | |
1483 | lplayer.Character.Humanoid.Name = 1 | |
1484 | local l = lplayer.Character["1"]:Clone() | |
1485 | l.Parent = lplayer.Character | |
1486 | l.Name = "Humanoid" | |
1487 | wait(0.1) | |
1488 | lplayer.Character["1"]:Destroy() | |
1489 | game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character | |
1490 | lplayer.Character.Animate.Disabled = true | |
1491 | wait(0.1) | |
1492 | lplayer.Character.Animate.Disabled = false | |
1493 | lplayer.Character.Humanoid.DisplayDistanceType = "None" | |
1494 | for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do | |
1495 | lplayer.Character.Humanoid:EquipTool(v) | |
1496 | end | |
1497 | wait(0.1) | |
1498 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame | |
1499 | wait(0.2) | |
1500 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame | |
1501 | wait(0.5) | |
1502 | lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-100000,10,-100000)) | |
1503 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1504 | Title = "Tools needed!"; | |
1505 | Text = "You need a tool in your backpack for this command!"; | |
1506 | }) | |
1507 | end | |
1508 | end | |
1509 | if string.sub(msg, 1, 7) == (prefix.."tp me ") then | |
1510 | for i,v in pairs(GetPlayer(string.sub(msg, 8))) do | |
1511 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame | |
1512 | end | |
1513 | end | |
1514 | if string.sub(msg, 1, 8) == (prefix.."cbring ") then | |
1515 | if (string.sub(msg, 9)) == "all" or (string.sub(msg, 9)) == "All" or (string.sub(msg, 9)) == "ALL" then | |
1516 | cbringall = true | |
1517 | else | |
1518 | for i,v in pairs(GetPlayer(string.sub(msg, 9))) do | |
1519 | brplr = v.Name | |
1520 | end | |
1521 | end | |
1522 | cbring = true | |
1523 | end | |
1524 | if string.sub(msg, 1, 9) == (prefix.."uncbring") then | |
1525 | cbring = false | |
1526 | cbringall = false | |
1527 | end | |
1528 | if string.sub(msg, 1, 6) == (prefix.."swap ") then | |
1529 | for i,v in pairs(GetPlayer(string.sub(msg, 7))) do | |
1530 | local NOWPLR = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame | |
1531 | local NOW = lplayer.Character.HumanoidRootPart.CFrame | |
1532 | lplayer.Character.Humanoid.Name = 1 | |
1533 | local l = lplayer.Character["1"]:Clone() | |
1534 | l.Parent = lplayer.Character | |
1535 | l.Name = "Humanoid" | |
1536 | wait(0.1) | |
1537 | lplayer.Character["1"]:Destroy() | |
1538 | game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character | |
1539 | lplayer.Character.Animate.Disabled = true | |
1540 | wait(0.1) | |
1541 | lplayer.Character.Animate.Disabled = false | |
1542 | lplayer.Character.Humanoid.DisplayDistanceType = "None" | |
1543 | for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do | |
1544 | lplayer.Character.Humanoid:EquipTool(v) | |
1545 | end | |
1546 | local function tp(player,player2) | |
1547 | local char1,char2=player.Character,player2.Character | |
1548 | if char1 and char2 then | |
1549 | char1:MoveTo(char2.Head.Position) | |
1550 | end | |
1551 | end | |
1552 | wait(0.1) | |
1553 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame | |
1554 | wait(0.2) | |
1555 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame | |
1556 | wait(0.5) | |
1557 | lplayer.Character.HumanoidRootPart.CFrame = NOW | |
1558 | wait(0.6) | |
1559 | tp(lplayer, game:GetService("Players")[v.Name]) | |
1560 | wait(0.4) | |
1561 | lplayer.Character.HumanoidRootPart.CFrame = NOWPLR | |
1562 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1563 | Title = "Tools needed!"; | |
1564 | Text = "You need a tool in your backpack for this command!"; | |
1565 | }) | |
1566 | end | |
1567 | end | |
1568 | if string.sub(msg, 1, 8) == (prefix.."glitch ") then | |
1569 | for i,v in pairs(GetPlayer(string.sub(msg, 9))) do | |
1570 | lplayer.Character.Humanoid.Name = 1 | |
1571 | local l = lplayer.Character["1"]:Clone() | |
1572 | l.Parent = lplayer.Character | |
1573 | l.Name = "Humanoid" | |
1574 | wait(0.1) | |
1575 | lplayer.Character["1"]:Destroy() | |
1576 | game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character | |
1577 | lplayer.Character.Animate.Disabled = true | |
1578 | wait(0.1) | |
1579 | lplayer.Character.Animate.Disabled = false | |
1580 | lplayer.Character.Humanoid.DisplayDistanceType = "None" | |
1581 | for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do | |
1582 | lplayer.Character.Humanoid:EquipTool(v) | |
1583 | end | |
1584 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame | |
1585 | wait(0.3) | |
1586 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame | |
1587 | wait(0.4) | |
1588 | b = Instance.new("BodyForce") | |
1589 | b.Parent = lplayer.Character.HumanoidRootPart | |
1590 | b.Name = "Glitch" | |
1591 | b.Force = Vector3.new(100000000,5000,0) | |
1592 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1593 | Title = "Tools needed!"; | |
1594 | Text = "You need a tool in your backpack for this command!"; | |
1595 | }) | |
1596 | end | |
1597 | end | |
1598 | if string.sub(msg, 1, 9) == (prefix.."unglitch") then | |
1599 | lplayer.Character.HumanoidRootPart.Glitch:Destroy() | |
1600 | lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(10000,0,10000) | |
1601 | b = Instance.new("BodyForce") | |
1602 | b.Parent = lplayer.Character.HumanoidRootPart | |
1603 | b.Name = "unGlitch" | |
1604 | b.Force = Vector3.new(0,-5000000,0) | |
1605 | wait(2) | |
1606 | lplayer.Character.HumanoidRootPart.unGlitch:Destroy() | |
1607 | end | |
1608 | if string.sub(msg, 1, 9) == (prefix.."grespawn") then | |
1609 | lplayer.Character.Humanoid.Health = 0 | |
1610 | wait(1) | |
1611 | lplayer.Character.Head.CFrame = CFrame.new(1000000,0,1000000) | |
1612 | lplayer.Character.Torso.CFrame = CFrame.new(1000000,0,1000000) | |
1613 | end | |
1614 | if string.sub(msg, 1, 9) == (prefix.."explorer") then | |
1615 | loadstring(game:GetObjects("rbxassetid://492005721")[1].Source)() | |
1616 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1617 | Title = "Success!"; | |
1618 | Text = "DEX Explorer has loaded."; | |
1619 | }) | |
1620 | end | |
1621 | if string.sub(msg, 1, 6) == (prefix.."anim ") then | |
1622 | local Anim = Instance.new("Animation") | |
1623 | Anim.AnimationId = "rbxassetid://"..(string.sub(msg, 7)) | |
1624 | local track = lplayer.Character.Humanoid:LoadAnimation(Anim) | |
1625 | track:Play(.1, 1, 1) | |
1626 | end | |
1627 | if string.sub(msg, 1, 8) == (prefix.."animgui") then | |
1628 | loadstring(game:GetObjects("rbxassetid://1202558084")[1].Source)() | |
1629 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1630 | Title = "Success!"; | |
1631 | Text = "Energize Animations GUI has loaded."; | |
1632 | }) | |
1633 | end | |
1634 | if string.sub(msg, 1, 8) == (prefix.."savepos") then | |
1635 | saved = lplayer.Character.HumanoidRootPart.CFrame | |
1636 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1637 | Title = "Position Saved"; | |
1638 | Text = "Use ;loadpos to return to saved position."; | |
1639 | }) | |
1640 | end | |
1641 | if string.sub(msg, 1, 8) == (prefix.."loadpos") then | |
1642 | lplayer.Character.HumanoidRootPart.CFrame = saved | |
1643 | end | |
1644 | if string.sub(msg, 1, 6) == (prefix.."bang ") then | |
1645 | for i,v in pairs(GetPlayer(string.sub(msg, 7))) do | |
1646 | local Anim2 = Instance.new("Animation") | |
1647 | Anim2.AnimationId = "rbxassetid://148840371" | |
1648 | local track2 = lplayer.Character.Humanoid:LoadAnimation(Anim2) | |
1649 | track2:Play(.1, 1, 1) | |
1650 | bplrr = v.Name | |
1651 | banpl = true | |
1652 | end | |
1653 | end | |
1654 | if string.sub(msg, 1, 7) == (prefix.."unbang") then | |
1655 | banpl = false | |
1656 | end | |
1657 | if string.sub(msg, 1, 10) == (prefix.."bringmod ") then | |
1658 | local function bringmodw() | |
1659 | for i,obj in ipairs(game:GetService("Workspace"):GetDescendants()) do | |
1660 | if obj.Name == (string.sub(msg, 11)) then | |
1661 | for i,ch in pairs(obj:GetDescendants()) do | |
1662 | if (ch:IsA("BasePart")) then | |
1663 | ch.CFrame = lplayer.Character.HumanoidRootPart.CFrame | |
1664 | ch.CanCollide = false | |
1665 | ch.Transparency = 0.7 | |
1666 | wait() | |
1667 | ch.CFrame = lplayer.Character["Left Leg"].CFrame | |
1668 | wait() | |
1669 | ch.CFrame = lplayer.Character["Right Leg"].CFrame | |
1670 | wait() | |
1671 | ch.CFrame = lplayer.Character["Head"].CFrame | |
1672 | end | |
1673 | end | |
1674 | end | |
1675 | end | |
1676 | end | |
1677 | while wait() do | |
1678 | bringmodw() | |
1679 | end | |
1680 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1681 | Title = "BringMod"; | |
1682 | Text = "BringMod enabled."; | |
1683 | }) | |
1684 | end | |
1685 | if string.sub(msg, 1, 8) == (prefix.."respawn") then | |
1686 | local mod = Instance.new('Model', workspace) mod.Name = 're '..lplayer.Name | |
1687 | local hum = Instance.new('Humanoid', mod) | |
1688 | local ins = Instance.new('Part', mod) ins.Name = 'Torso' ins.CanCollide = false ins.Transparency = 1 | |
1689 | lplayer.Character = mod | |
1690 | end | |
1691 | if string.sub(msg, 1, 9) == (prefix.."shutdown") then | |
1692 | game:GetService'RunService'.Stepped:Connect(function() | |
1693 | pcall(function() | |
1694 | for i,v in pairs(game:GetService'Players':GetPlayers()) do | |
1695 | if v.Character ~= nil and v.Character:FindFirstChild'Head' then | |
1696 | for _,x in pairs(v.Character.Head:GetChildren()) do | |
1697 | if x:IsA'Sound' then x.Playing = true x.CharacterSoundEvent:FireServer(true, true) end | |
1698 | end | |
1699 | end | |
1700 | end | |
1701 | end) | |
1702 | end) | |
1703 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1704 | Title = "Attempting Shutdown"; | |
1705 | Text = "Shutdown Attempt has begun."; | |
1706 | }) | |
1707 | end | |
1708 | if string.sub(msg, 1, 8) == (prefix.."delobj ") then | |
1709 | objtodel = (string.sub(msg, 9)) | |
1710 | for i,v in pairs(game:GetService("Workspace"):GetDescendants()) do | |
1711 | if v.Name == objtodel then | |
1712 | v:Destroy() | |
1713 | end | |
1714 | end | |
1715 | end | |
1716 | if string.sub(msg, 1, 8) == (prefix.."getplrs") then | |
1717 | for i,v in pairs(game:GetService("Players"):GetPlayers())do | |
1718 | print(v) | |
1719 | end | |
1720 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1721 | Title = "Printed"; | |
1722 | Text = "Players have been printed to console. (F9)"; | |
1723 | }) | |
1724 | end | |
1725 | if string.sub(msg, 1, 9) == (prefix.."deldecal") then | |
1726 | for i,v in pairs(game:GetService("Workspace"):GetDescendants())do | |
1727 | if (v:IsA("Decal")) then | |
1728 | v:Destroy() | |
1729 | end | |
1730 | end | |
1731 | end | |
1732 | if string.sub(msg, 1, 11) == (prefix.."opfinality") then | |
1733 | loadstring(game:GetObjects("rbxassetid://1294358929")[1].Source)() | |
1734 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1735 | Title = "Success!"; | |
1736 | Text = "OpFinality GUI has loaded."; | |
1737 | }) | |
1738 | end | |
1739 | if string.sub(msg, 1, 8) == (prefix.."remotes") then | |
1740 | remotes = true | |
1741 | added = true | |
1742 | game.DescendantAdded:connect(function(rmt) | |
1743 | if added == true then | |
1744 | if remotes == true then | |
1745 | if rmt:IsA("RemoteEvent") then | |
1746 | print("A RemoteEvent was added!") | |
1747 | print(" game." .. rmt:GetFullName() .. " | RemoteEvent") | |
1748 | print(" game." .. rmt:GetFullName() .. " | RemoteEvent", 247, 0, 0, true) | |
1749 | end end end | |
1750 | end) | |
1751 | game.DescendantAdded:connect(function(rmtfnctn) | |
1752 | if added == true then | |
1753 | if remotes == true then | |
1754 | if rmtfnctn:IsA("RemoteFunction") then | |
1755 | warn("A RemoteFunction was added!") | |
1756 | warn(" game." .. rmtfnctn:GetFullName() .. " | RemoteFunction") | |
1757 | print(" game." .. rmtfnctn:GetFullName() .. " | RemoteFunction", 5, 102, 198, true) | |
1758 | end end end | |
1759 | end) | |
1760 | ||
1761 | game.DescendantAdded:connect(function(bndfnctn) | |
1762 | if added == true then | |
1763 | if binds == true then | |
1764 | if bndfnctn:IsA("BindableFunction") then | |
1765 | print("A BindableFunction was added!") | |
1766 | print(" game." .. bndfnctn:GetFullName() .. " | BindableFunction") | |
1767 | print(" game." .. bndfnctn:GetFullName() .. " | BindableFunction", 239, 247, 4, true) | |
1768 | end end end | |
1769 | end) | |
1770 | ||
1771 | game.DescendantAdded:connect(function(bnd) | |
1772 | if added == true then | |
1773 | if binds == true then | |
1774 | if bnd:IsA("BindableEvent") then | |
1775 | warn("A BindableEvent was added!") | |
1776 | warn(" game." .. bnd:GetFullName() .. " | BindableEvent") | |
1777 | print(" game." .. bnd:GetFullName() .. " | BindableEvent", 13, 193, 22, true) | |
1778 | end end end | |
1779 | end) | |
1780 | ||
1781 | ||
1782 | if binds == true then | |
1783 | for i,v in pairs(game:GetDescendants()) do | |
1784 | if v:IsA("BindableFunction") then | |
1785 | print(" game." .. v:GetFullName() .. " | BindableFunction") | |
1786 | print(" game." .. v:GetFullName() .. " | BindableFunction", 239, 247, 4, true) | |
1787 | end end | |
1788 | for i,v in pairs(game:GetDescendants()) do | |
1789 | if v:IsA("BindableEvent") then | |
1790 | warn(" game." .. v:GetFullName() .. " | BindableEvent") | |
1791 | print(" game." .. v:GetFullName() .. " | BindableEvent", 13, 193, 22, true) | |
1792 | end end | |
1793 | else | |
1794 | print("Off") | |
1795 | end | |
1796 | if remotes == true then | |
1797 | for i,v in pairs(game:GetDescendants()) do | |
1798 | if v:IsA("RemoteFunction") then | |
1799 | warn(" game." .. v:GetFullName() .. " | RemoteFunction") | |
1800 | print(" game." .. v:GetFullName() .. " | RemoteFunction", 5, 102, 198, true) | |
1801 | end end | |
1802 | wait() | |
1803 | for i,v in pairs(game:GetDescendants()) do | |
1804 | if v:IsA("RemoteEvent") then | |
1805 | print(" game." .. v:GetFullName() .. " | RemoteEvent") | |
1806 | print(" game." .. v:GetFullName() .. " | RemoteEvent", 247, 0, 0, true) | |
1807 | end end | |
1808 | else | |
1809 | print("Off") | |
1810 | end | |
1811 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1812 | Title = "Printing Remotes"; | |
1813 | Text = "Type ;noremotes to disable."; | |
1814 | }) | |
1815 | end | |
1816 | if string.sub(msg, 1, 10) == (prefix.."noremotes") then | |
1817 | remotes = false | |
1818 | added = false | |
1819 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1820 | Title = "Printing Remotes Disabled"; | |
1821 | Text = "Type ;remotes to enable."; | |
1822 | }) | |
1823 | end | |
1824 | if string.sub(msg, 1, 10) == (prefix.."tpdefault") then | |
1825 | spin = false | |
1826 | followed = false | |
1827 | traill = false | |
1828 | noclip = false | |
1829 | annoying = false | |
1830 | hwalk = false | |
1831 | cbringing = false | |
1832 | end | |
1833 | if string.sub(msg, 1, 8) == (prefix.."stopsit") then | |
1834 | stopsitting = true | |
1835 | end | |
1836 | if string.sub(msg, 1, 6) == (prefix.."gosit") then | |
1837 | stopsitting = false | |
1838 | end | |
1839 | if string.sub(msg, 1, 8) == (prefix.."version") then | |
1840 | print(adminversion) | |
1841 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1842 | Title = "Version"; | |
1843 | Text = adminversion; | |
1844 | }) | |
1845 | end | |
1846 | if string.sub(msg, 1, 8) == (prefix.."clicktp") then | |
1847 | clickgoto = true | |
1848 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1849 | Title = "Click TP"; | |
1850 | Text = "Press E to teleport to mouse position, ;noclicktp to stop"; | |
1851 | }) | |
1852 | end | |
1853 | if string.sub(msg, 1, 9) == (prefix.."clickdel") then | |
1854 | clickdel = true | |
1855 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1856 | Title = "Click Delete"; | |
1857 | Text = "Press E to delete part at mouse, ;noclickdel to stop"; | |
1858 | }) | |
1859 | end | |
1860 | if string.sub(msg, 1, 11) == (prefix.."noclickdel") then | |
1861 | clickdel = false | |
1862 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1863 | Title = "Click Delete"; | |
1864 | Text = "Click delete has been disabled."; | |
1865 | }) | |
1866 | end | |
1867 | if string.sub(msg, 1, 10) == (prefix.."noclicktp") then | |
1868 | clickgoto = false | |
1869 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1870 | Title = "Click TP"; | |
1871 | Text = "Click TP has been disabled."; | |
1872 | }) | |
1873 | end | |
1874 | if string.sub(msg, 1, 8) == (prefix.."toolson") then | |
1875 | gettingtools = true | |
1876 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1877 | Title = "Tools Enabled"; | |
1878 | Text = "Automatically colleting tools dropped."; | |
1879 | }) | |
1880 | end | |
1881 | if string.sub(msg, 1, 9) == (prefix.."toolsoff") then | |
1882 | gettingtools = false | |
1883 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1884 | Title = "Tools Disabled"; | |
1885 | Text = "Click TP has been disabled."; | |
1886 | }) | |
1887 | end | |
1888 | if string.sub(msg, 1, 10) == (prefix.."delcmdbar") then | |
1889 | ScreenGui:Destroy() | |
1890 | end | |
1891 | if string.sub(msg, 1, 6) == (prefix.."reset") then | |
1892 | lplayer.Character.Head:Destroy() | |
1893 | end | |
1894 | if string.sub(msg, 1, 7) == (prefix.."state ") then | |
1895 | statechosen = string.sub(msg, 8) | |
1896 | changingstate = true | |
1897 | end | |
1898 | if string.sub(msg, 1, 9) == (prefix.."gravity ") then | |
1899 | game:GetService("Workspace").Gravity = string.sub(msg, 10) | |
1900 | end | |
1901 | if string.sub(msg, 1, 10) == (prefix.."looprhats") then | |
1902 | removingmeshhats = true | |
1903 | end | |
1904 | if string.sub(msg, 1, 12) == (prefix.."unlooprhats") then | |
1905 | removingmeshhats = false | |
1906 | end | |
1907 | if string.sub(msg, 1, 10) == (prefix.."looprtool") then | |
1908 | removingmeshtool = true | |
1909 | end | |
1910 | if string.sub(msg, 1, 12) == (prefix.."unlooprtool") then | |
1911 | removingmeshtool = false | |
1912 | end | |
1913 | if string.sub(msg, 1, 10) == (prefix.."givetool ") then | |
1914 | for i,v in pairs(game:GetService("Players").LocalPlayer.Character:GetDescendants()) do | |
1915 | if v:IsA("Tool") then | |
1916 | for i,player in pairs(GetPlayer(string.sub(msg, 11))) do | |
1917 | v.Parent = player.Character | |
1918 | end | |
1919 | end | |
1920 | end | |
1921 | end | |
1922 | if string.sub(msg, 1, 14) == (prefix.."givealltools ") then | |
1923 | for i,v in pairs(game:GetService("Players").LocalPlayer.Backpack:GetDescendants()) do | |
1924 | if v:IsA("Tool") then | |
1925 | v.Parent = lplayer.Character | |
1926 | wait() | |
1927 | for i,player in pairs(GetPlayer(string.sub(msg, 15))) do | |
1928 | v.Parent = player.Character | |
1929 | end | |
1930 | end | |
1931 | end | |
1932 | end | |
1933 | if string.sub(msg, 1, 5) == (prefix.."age ") then | |
1934 | for i,player in pairs(GetPlayer(string.sub(msg, 6))) do | |
1935 | game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(player.Name.." Account Age: "..player.AccountAge.." days!", "All") | |
1936 | end | |
1937 | end | |
1938 | if string.sub(msg, 1, 4) == (prefix.."id ") then | |
1939 | for i,player in pairs(GetPlayer(string.sub(msg, 5))) do | |
1940 | game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(player.Name.." Account ID: "..player.UserId, "All") | |
1941 | end | |
1942 | end | |
1943 | if string.sub(msg, 1, 6) == (prefix..".age ") then | |
1944 | for i,player in pairs(GetPlayer(string.sub(msg, 7))) do | |
1945 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1946 | Title = player.AccountAge.." Days"; | |
1947 | Text = "Account age of "..player.Name; | |
1948 | }) | |
1949 | end | |
1950 | end | |
1951 | if string.sub(msg, 1, 5) == (prefix..".id ") then | |
1952 | for i,player in pairs(GetPlayer(string.sub(msg, 6))) do | |
1953 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1954 | Title = player.UserId.." ID"; | |
1955 | Text = "Account ID of "..player.Name; | |
1956 | }) | |
1957 | end | |
1958 | end | |
1959 | if string.sub(msg, 1, 7) == (prefix.."gameid") then | |
1960 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1961 | Title = "Game ID"; | |
1962 | Text = "Game ID: ".. game.GameId; | |
1963 | }) | |
1964 | end | |
1965 | if string.sub(msg, 1, 4) == (prefix.."pgs") then | |
1966 | local pgscheck = game:GetService("Workspace"):PGSIsEnabled() | |
1967 | if pgscheck == true then | |
1968 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1969 | Title = "PGSPhysicsSolverEnabled"; | |
1970 | Text = "PGS is Enabled!"; | |
1971 | }) | |
1972 | else | |
1973 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
1974 | Title = "PGSPhysicsSolverEnabled"; | |
1975 | Text = "PGS is Disabled!"; | |
1976 | }) | |
1977 | end | |
1978 | end | |
1979 | if string.sub(msg, 1, 12) == (prefix.."removeinvis") then | |
1980 | for i,v in pairs(game:GetService("Workspace"):GetDescendants()) do | |
1981 | if v:IsA("Part") then | |
1982 | if v.Transparency == 1 then | |
1983 | if v.Name ~= "HumanoidRootPart" then | |
1984 | v:Destroy() | |
1985 | end | |
1986 | end | |
1987 | end | |
1988 | end | |
1989 | end | |
1990 | if string.sub(msg, 1, 10) == (prefix.."removefog") then | |
1991 | game:GetService("Lighting").FogStart = 0 | |
1992 | game:GetService("Lighting").FogEnd = 9999999999999 | |
1993 | end | |
1994 | if string.sub(msg, 1, 8) == (prefix.."disable") then | |
1995 | lplayer.Character.Humanoid.Parent = lplayer | |
1996 | end | |
1997 | if string.sub(msg, 1, 7) == (prefix.."enable") then | |
1998 | lplayer.Humanoid.Parent = lplayer.Character | |
1999 | end | |
2000 | if string.sub(msg, 1, 8) == (prefix.."prefix ") then | |
2001 | prefix = (string.sub(msg, 9, 9)) | |
2002 | wait(0.1) | |
2003 | change() | |
2004 | wait(0.1) | |
2005 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
2006 | Title = "Prefix changed!"; | |
2007 | Text = "Prefix is now "..prefix..". Use ;resetprefix to reset to ;"; | |
2008 | }) | |
2009 | end | |
2010 | if string.sub(msg, 1, 12) == (";resetprefix") then | |
2011 | prefix = ";" | |
2012 | wait(0.1) | |
2013 | change() | |
2014 | wait(0.1) | |
2015 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
2016 | Title = "Prefix changed!"; | |
2017 | Text = "Prefix is now "..prefix..". Make sure it's one key!"; | |
2018 | }) | |
2019 | end | |
2020 | if string.sub(msg, 1, 10) == (prefix.."flyspeed ") then | |
2021 | speedfly = string.sub(msg, 11) | |
2022 | wait() | |
2023 | change() | |
2024 | end | |
2025 | if string.sub(msg, 1, 8) == (prefix.."carpet ") then | |
2026 | for i,v in pairs(GetPlayer(string.sub(msg, 9))) do | |
2027 | local Anim3 = Instance.new("Animation") | |
2028 | Anim3.AnimationId = "rbxassetid://282574440" | |
2029 | local track3 = lplayer.Character.Humanoid:LoadAnimation(Anim3) | |
2030 | track3:Play(.1, 1, 1) | |
2031 | bplrr = v.Name | |
2032 | banpl = true | |
2033 | end | |
2034 | end | |
2035 | if string.sub(msg, 1, 9) == (prefix.."uncarpet") then | |
2036 | banpl = false | |
2037 | end | |
2038 | if string.sub(msg, 1, 7) == (prefix.."stare ") then | |
2039 | for i,v in pairs(GetPlayer(string.sub(msg, 8))) do | |
2040 | staring = true | |
2041 | stareplr = v | |
2042 | end | |
2043 | end | |
2044 | if string.sub(msg, 1, 8) == (prefix.."unstare") then | |
2045 | staring = false | |
2046 | end | |
2047 | if string.sub(msg, 1, 8) == (prefix.."logchat") then | |
2048 | chatlogs = true | |
2049 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
2050 | Title = "LogChat enabled"; | |
2051 | Text = "Now logging all player chat."; | |
2052 | }) | |
2053 | end | |
2054 | if string.sub(msg, 1, 10) == (prefix.."unlogchat") then | |
2055 | chatlogs = false | |
2056 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
2057 | Title = "LogChat disabled"; | |
2058 | Text = "Stopped logging all player chat."; | |
2059 | }) | |
2060 | end | |
2061 | if string.sub(msg, 1, 7) == (prefix.."fixcam") then | |
2062 | game:GetService("Workspace").CurrentCamera:Destroy() | |
2063 | wait(0.1) | |
2064 | game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Humanoid | |
2065 | game:GetService("Workspace").CurrentCamera.CameraType = "Custom" | |
2066 | lplayer.CameraMinZoomDistance = 0.5 | |
2067 | lplayer.CameraMaxZoomDistance = 400 | |
2068 | lplayer.CameraMode = "Classic" | |
2069 | end | |
2070 | if string.sub(msg, 1, 8) == (prefix.."unstate") then | |
2071 | changingstate = false | |
2072 | end | |
2073 | end) | |
2074 | ||
2075 | local function tp() | |
2076 | for i, player in ipairs(game:GetService("Players"):GetPlayers()) do | |
2077 | if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then | |
2078 | if player.Name == brplr then | |
2079 | player.Character.HumanoidRootPart.CFrame = lplayer.Character.HumanoidRootPart.CFrame + lplayer.Character.HumanoidRootPart.CFrame.lookVector * 2 | |
2080 | end | |
2081 | end | |
2082 | end | |
2083 | end | |
2084 | local function tpall() | |
2085 | for i, player in ipairs(game:GetService("Players"):GetPlayers()) do | |
2086 | if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then | |
2087 | player.Character.HumanoidRootPart.CFrame = lplayer.Character.HumanoidRootPart.CFrame + lplayer.Character.HumanoidRootPart.CFrame.lookVector * 3 | |
2088 | end | |
2089 | end | |
2090 | end | |
2091 | spawn(function() | |
2092 | while wait(spamdelay) do | |
2093 | if spamming == true then | |
2094 | game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(spamtext, "All") | |
2095 | end | |
2096 | end | |
2097 | end) | |
2098 | spawn(function() | |
2099 | while wait(spamdelay) do | |
2100 | if spammingpm == true then | |
2101 | game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/w "..pmspammed.." @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", "All") | |
2102 | end | |
2103 | end | |
2104 | end) | |
2105 | spawn(function() | |
2106 | while wait() do | |
2107 | if cbring == true then | |
2108 | tp() | |
2109 | end | |
2110 | end | |
2111 | end) | |
2112 | spawn(function() | |
2113 | while wait() do | |
2114 | if cbringall == true then | |
2115 | tpall() | |
2116 | end | |
2117 | end | |
2118 | end) | |
2119 | ||
2120 | Mouse.KeyDown:connect(function(Key) | |
2121 | if Key == prefix then | |
2122 | CMDBAR:CaptureFocus() | |
2123 | end | |
2124 | end) | |
2125 | ||
2126 | CMDBAR.FocusLost:connect(function(enterPressed) | |
2127 | if enterPressed then | |
2128 | if string.sub(CMDBAR.Text, 1, 5) == ("kill ") then | |
2129 | if string.sub(CMDBAR.Text, 6) == "me" then | |
2130 | lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(100000,0,100000) | |
2131 | else | |
2132 | for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 6)))do | |
2133 | local NOW = lplayer.Character.HumanoidRootPart.CFrame | |
2134 | lplayer.Character.Humanoid.Name = 1 | |
2135 | local l = lplayer.Character["1"]:Clone() | |
2136 | l.Parent = lplayer.Character | |
2137 | l.Name = "Humanoid" | |
2138 | wait(0.1) | |
2139 | lplayer.Character["1"]:Destroy() | |
2140 | game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character | |
2141 | lplayer.Character.Animate.Disabled = true | |
2142 | wait(0.1) | |
2143 | lplayer.Character.Animate.Disabled = false | |
2144 | lplayer.Character.Humanoid.DisplayDistanceType = "None" | |
2145 | for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do | |
2146 | lplayer.Character.Humanoid:EquipTool(v) | |
2147 | end | |
2148 | local function tp(player,player2) | |
2149 | local char1,char2=player.Character,player2.Character | |
2150 | if char1 and char2 then | |
2151 | char1:MoveTo(char2.Head.Position) | |
2152 | end | |
2153 | end | |
2154 | wait(0.1) | |
2155 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame | |
2156 | wait(0.2) | |
2157 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame | |
2158 | wait(0.5) | |
2159 | lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-100000,10,-100000)) | |
2160 | wait(0.7) | |
2161 | tp(lplayer,game:GetService("Players")[v.Name]) | |
2162 | wait(0.7) | |
2163 | lplayer.Character.HumanoidRootPart.CFrame = NOW | |
2164 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
2165 | Title = "Tools needed!"; | |
2166 | Text = "You need a tool in your backpack for this command!"; | |
2167 | }) | |
2168 | end | |
2169 | end | |
2170 | end | |
2171 | if string.sub(CMDBAR.Text, 1, 6) == ("bring ") then | |
2172 | for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 7)))do | |
2173 | local NOW = lplayer.Character.HumanoidRootPart.CFrame | |
2174 | lplayer.Character.Humanoid.Name = 1 | |
2175 | local l = lplayer.Character["1"]:Clone() | |
2176 | l.Parent = lplayer.Character | |
2177 | l.Name = "Humanoid" | |
2178 | wait(0.1) | |
2179 | lplayer.Character["1"]:Destroy() | |
2180 | game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character | |
2181 | lplayer.Character.Animate.Disabled = true | |
2182 | wait(0.1) | |
2183 | lplayer.Character.Animate.Disabled = false | |
2184 | lplayer.Character.Humanoid.DisplayDistanceType = "None" | |
2185 | for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do | |
2186 | lplayer.Character.Humanoid:EquipTool(v) | |
2187 | end | |
2188 | local function tp(player,player2) | |
2189 | local char1,char2=player.Character,player2.Character | |
2190 | if char1 and char2 then | |
2191 | char1.HumanoidRootPart.CFrame = char2.HumanoidRootPart.CFrame | |
2192 | end | |
2193 | end | |
2194 | local function getout(player,player2) | |
2195 | local char1,char2=player.Character,player2.Character | |
2196 | if char1 and char2 then | |
2197 | char1:MoveTo(char2.Head.Position) | |
2198 | end | |
2199 | end | |
2200 | tp(game:GetService("Players")[v.Name], lplayer) | |
2201 | wait(0.2) | |
2202 | tp(game:GetService("Players")[v.Name], lplayer) | |
2203 | wait(0.5) | |
2204 | lplayer.Character.HumanoidRootPart.CFrame = NOW | |
2205 | wait(0.5) | |
2206 | getout(lplayer, game:GetService("Players")[v.Name]) | |
2207 | wait(0.3) | |
2208 | lplayer.Character.HumanoidRootPart.CFrame = NOW | |
2209 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
2210 | Title = "Tools needed!"; | |
2211 | Text = "You need a tool in your backpack for this command!"; | |
2212 | }) | |
2213 | end | |
2214 | end | |
2215 | if string.sub(CMDBAR.Text, 1, 5) == ("spin ") then | |
2216 | for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 6))) do | |
2217 | lplayer.Character.Humanoid.Name = 1 | |
2218 | local l = lplayer.Character["1"]:Clone() | |
2219 | l.Parent = lplayer.Character | |
2220 | l.Name = "Humanoid" | |
2221 | wait(0.1) | |
2222 | lplayer.Character["1"]:Destroy() | |
2223 | game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character | |
2224 | lplayer.Character.Animate.Disabled = true | |
2225 | wait(0.1) | |
2226 | lplayer.Character.Animate.Disabled = false | |
2227 | lplayer.Character.Humanoid.DisplayDistanceType = "None" | |
2228 | for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do | |
2229 | lplayer.Character.Humanoid:EquipTool(v) | |
2230 | end | |
2231 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame | |
2232 | spinplr = v | |
2233 | wait(0.5) | |
2234 | spin = true | |
2235 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
2236 | Title = "Tools needed!"; | |
2237 | Text = "You need a tool in your backpack for this command!"; | |
2238 | }) | |
2239 | end | |
2240 | end | |
2241 | if string.sub(CMDBAR.Text, 1, 6) == ("unspin") then | |
2242 | spin = false | |
2243 | end | |
2244 | if string.sub(CMDBAR.Text, 1, 7) == ("attach ") then | |
2245 | for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 8))) do | |
2246 | lplayer.Character.Humanoid.Name = 1 | |
2247 | local l = lplayer.Character["1"]:Clone() | |
2248 | l.Parent = lplayer.Character | |
2249 | l.Name = "Humanoid" | |
2250 | wait(0.1) | |
2251 | lplayer.Character["1"]:Destroy() | |
2252 | game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character | |
2253 | lplayer.Character.Animate.Disabled = true | |
2254 | wait(0.1) | |
2255 | lplayer.Character.Animate.Disabled = false | |
2256 | lplayer.Character.Humanoid.DisplayDistanceType = "None" | |
2257 | for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do | |
2258 | lplayer.Character.Humanoid:EquipTool(v) | |
2259 | end | |
2260 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame | |
2261 | wait(0.3) | |
2262 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame | |
2263 | attplr = v | |
2264 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
2265 | Title = "Tools needed!"; | |
2266 | Text = "You need a tool in your backpack for this command!"; | |
2267 | }) | |
2268 | end | |
2269 | end | |
2270 | if string.sub(CMDBAR.Text, 1, 9) == ("unattach ") then | |
2271 | for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 10))) do | |
2272 | local function getout(player,player2) | |
2273 | local char1,char2=player.Character,player2.Character | |
2274 | if char1 and char2 then | |
2275 | char1:MoveTo(char2.Head.Position) | |
2276 | end | |
2277 | end | |
2278 | getout(lplayer, game:GetService("Players")[v.Name]) | |
2279 | end | |
2280 | end | |
2281 | if string.sub(CMDBAR.Text, 1, 7) == ("follow ") then | |
2282 | for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 8))) do | |
2283 | followed = true | |
2284 | flwplr = v | |
2285 | end | |
2286 | end | |
2287 | if string.sub(CMDBAR.Text, 1, 8) == ("unfollow") then | |
2288 | followed = false | |
2289 | end | |
2290 | if string.sub(CMDBAR.Text, 1, 9) == ("freefall ") then | |
2291 | for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 10))) do | |
2292 | local NOW = lplayer.Character.HumanoidRootPart.CFrame | |
2293 | lplayer.Character.Humanoid.Name = 1 | |
2294 | local l = lplayer.Character["1"]:Clone() | |
2295 | l.Parent = lplayer.Character | |
2296 | l.Name = "Humanoid" | |
2297 | wait(0.1) | |
2298 | lplayer.Character["1"]:Destroy() | |
2299 | game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character | |
2300 | lplayer.Character.Animate.Disabled = true | |
2301 | wait(0.1) | |
2302 | lplayer.Character.Animate.Disabled = false | |
2303 | lplayer.Character.Humanoid.DisplayDistanceType = "None" | |
2304 | for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do | |
2305 | lplayer.Character.Humanoid:EquipTool(v) | |
2306 | end | |
2307 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame | |
2308 | wait(0.2) | |
2309 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame | |
2310 | wait(0.6) | |
2311 | lplayer.Character.HumanoidRootPart.CFrame = NOW | |
2312 | wait(0.6) | |
2313 | lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(0,50000,0) | |
2314 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
2315 | Title = "Tools needed!"; | |
2316 | Text = "You need a tool in your backpack for this command!"; | |
2317 | }) | |
2318 | end | |
2319 | end | |
2320 | if string.sub(CMDBAR.Text, 1, 6) == ("trail ") then | |
2321 | for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 7))) do | |
2322 | traill = true | |
2323 | trlplr = v | |
2324 | end | |
2325 | end | |
2326 | if string.sub(CMDBAR.Text, 1, 7) == ("untrail") then | |
2327 | traill = false | |
2328 | end | |
2329 | if string.sub(CMDBAR.Text, 1, 6) == ("orbit ") then | |
2330 | if string.sub(CMDBAR.Text, 7) == "all" or string.sub(CMDBAR.Text, 7) == "others" or string.sub(CMDBAR.Text, 7) == "me" then | |
2331 | lplayer.Character.HumanoidRootPart.CFrame = lplayer.Character.HumanoidRootPart.CFrame | |
2332 | else | |
2333 | for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 7))) do | |
2334 | local o = Instance.new("RocketPropulsion") | |
2335 | o.Parent = lplayer.Character.HumanoidRootPart | |
2336 | o.Name = "Orbit" | |
2337 | o.Target = game:GetService("Players")[v.Name].Character.HumanoidRootPart | |
2338 | o:Fire() | |
2339 | noclip = true | |
2340 | end | |
2341 | end | |
2342 | end | |
2343 | if string.sub(CMDBAR.Text, 1, 7) == ("unorbit") then | |
2344 | lplayer.Character.HumanoidRootPart.Orbit:Destroy() | |
2345 | noclip = false | |
2346 | end | |
2347 | if string.sub(CMDBAR.Text, 1, 6) == ("fling ") then | |
2348 | if string.sub(CMDBAR.Text, 7) == "all" or string.sub(CMDBAR.Text, 7) == "others" or string.sub(CMDBAR.Text, 7) == "me" then | |
2349 | lplayer.Character.HumanoidRootPart.CFrame = lplayer.Character.HumanoidRootPart.CFrame | |
2350 | else | |
2351 | for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 7))) do | |
2352 | local y = Instance.new("RocketPropulsion") | |
2353 | y.Parent = lplayer.Character.HumanoidRootPart | |
2354 | y.CartoonFactor = 1 | |
2355 | y.MaxThrust = 800000 | |
2356 | y.MaxSpeed = 1000 | |
2357 | y.ThrustP = 200000 | |
2358 | y.Name = "Fling" | |
2359 | game:GetService("Workspace").CurrentCamera.CameraSubject = game:GetService("Players")[v.Name].Character.Head | |
2360 | y.Target = game:GetService("Players")[v.Name].Character.HumanoidRootPart | |
2361 | y:Fire() | |
2362 | noclip = true | |
2363 | end | |
2364 | end | |
2365 | end | |
2366 | if string.sub(CMDBAR.Text, 1, 7) == ("unfling") then | |
2367 | noclip = false | |
2368 | lplayer.Character.HumanoidRootPart.Fling:Destroy() | |
2369 | game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Head | |
2370 | wait(0.4) | |
2371 | lplayer.Character.HumanoidRootPart.Fling:Destroy() | |
2372 | end | |
2373 | if string.sub(CMDBAR.Text, 1, 7) == ("fecheck") then | |
2374 | if game:GetService("Workspace").FilteringEnabled == true then | |
2375 | warn("FE is Enabled (Filtering Enabled)") | |
2376 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
2377 | Title = "FE is Enabled"; | |
2378 | Text = "Filtering Enabled. Enjoy using Reviz Admin!"; | |
2379 | }) | |
2380 | else | |
2381 | warn("FE is Disabled (Filtering Disabled) Consider using a different admin script.") | |
2382 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
2383 | Title = "FE is Disabled"; | |
2384 | Text = "Filtering Disabled. Consider using a different admin script."; | |
2385 | }) | |
2386 | end | |
2387 | end | |
2388 | if string.sub(CMDBAR.Text, 1, 5) == ("void ") then | |
2389 | for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 6))) do | |
2390 | lplayer.Character.Humanoid.Name = 1 | |
2391 | local l = lplayer.Character["1"]:Clone() | |
2392 | l.Parent = lplayer.Character | |
2393 | l.Name = "Humanoid" | |
2394 | wait(0.1) | |
2395 | lplayer.Character["1"]:Destroy() | |
2396 | game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character | |
2397 | lplayer.Character.Animate.Disabled = true | |
2398 | wait(0.1) | |
2399 | lplayer.Character.Animate.Disabled = false | |
2400 | lplayer.Character.Humanoid.DisplayDistanceType = "None" | |
2401 | for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do | |
2402 | lplayer.Character.Humanoid:EquipTool(v) | |
2403 | end | |
2404 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame | |
2405 | wait(0.2) | |
2406 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame | |
2407 | wait(0.6) | |
2408 | lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(999999999999999,0,999999999999999) | |
2409 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
2410 | Title = "Tools needed!"; | |
2411 | Text = "You need a tool in your backpack for this command!"; | |
2412 | }) | |
2413 | end | |
2414 | end | |
2415 | if string.sub(CMDBAR.Text, 1, 6) == ("noclip") then | |
2416 | noclip = true | |
2417 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
2418 | Title = "Noclip enabled"; | |
2419 | Text = "Type ;clip to disable"; | |
2420 | }) | |
2421 | end | |
2422 | if string.sub(CMDBAR.Text, 1, 4) == ("clip") then | |
2423 | noclip = false | |
2424 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
2425 | Title = "Noclip disabled"; | |
2426 | Text = "Type ;noclip to enable"; | |
2427 | }) | |
2428 | end | |
2429 | if string.sub(CMDBAR.Text, 1, 6) == ("speed ") then | |
2430 | lplayer.Character.Humanoid.WalkSpeed = (string.sub(CMDBAR.Text, 7)) | |
2431 | end | |
2432 | if string.sub(CMDBAR.Text, 1, 3) == ("ws ") then | |
2433 | lplayer.Character.Humanoid.WalkSpeed = (string.sub(CMDBAR.Text, 4)) | |
2434 | end | |
2435 | if string.sub(CMDBAR.Text, 1, 10) == ("hipheight ") then | |
2436 | lplayer.Character.Humanoid.HipHeight = (string.sub(CMDBAR.Text, 11)) | |
2437 | end | |
2438 | if string.sub(CMDBAR.Text, 1, 3) == ("hh ") then | |
2439 | lplayer.Character.Humanoid.HipHeight = (string.sub(CMDBAR.Text, 4)) | |
2440 | end | |
2441 | if string.sub(CMDBAR.Text, 1, 10) == ("jumppower ") then | |
2442 | lplayer.Character.Humanoid.JumpPower = (string.sub(CMDBAR.Text, 11)) | |
2443 | end | |
2444 | if string.sub(CMDBAR.Text, 1, 3) == ("jp ") then | |
2445 | lplayer.Character.Humanoid.JumpPower = (string.sub(CMDBAR.Text, 4)) | |
2446 | end | |
2447 | if string.sub(CMDBAR.Text, 1, 7) == ("default") then | |
2448 | lplayer.Character.Humanoid.JumpPower = 50 | |
2449 | lplayer.Character.Humanoid.WalkSpeed = 16 | |
2450 | lplayer.Character.Humanoid.HipHeight = 0 | |
2451 | end | |
2452 | if string.sub(CMDBAR.Text, 1, 6) == ("annoy ") then | |
2453 | for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 7))) do | |
2454 | annoying = true | |
2455 | annplr = v | |
2456 | end | |
2457 | end | |
2458 | if string.sub(CMDBAR.Text, 1, 7) == ("unannoy") then | |
2459 | annoying = false | |
2460 | end | |
2461 | if string.sub(CMDBAR.Text, 1, 9) == ("headwalk ") then | |
2462 | for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 10))) do | |
2463 | hwalk = true | |
2464 | hdwplr = v | |
2465 | end | |
2466 | end | |
2467 | if string.sub(CMDBAR.Text, 1, 10) == ("unheadwalk") then | |
2468 | hwalk = false | |
2469 | end | |
2470 | if string.sub(CMDBAR.Text, 1, 7) == ("nolimbs") then | |
2471 | lplayer.Character["Left Leg"]:Destroy() | |
2472 | lplayer.Character["Left Arm"]:Destroy() | |
2473 | lplayer.Character["Right Leg"]:Destroy() | |
2474 | lplayer.Character["Right Arm"]:Destroy() | |
2475 | end | |
2476 | if string.sub(CMDBAR.Text, 1, 3) == ("god") then | |
2477 | lplayer.Character.Humanoid.Name = 1 | |
2478 | local l = lplayer.Character["1"]:Clone() | |
2479 | l.Parent = lplayer.Character | |
2480 | l.Name = "Humanoid" | |
2481 | wait(0.1) | |
2482 | lplayer.Character["1"]:Destroy() | |
2483 | game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character | |
2484 | lplayer.Character.Animate.Disabled = true | |
2485 | wait(0.1) | |
2486 | lplayer.Character.Animate.Disabled = false | |
2487 | lplayer.Character.Humanoid.DisplayDistanceType = "None" | |
2488 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
2489 | Title = "FE Godmode enabled"; | |
2490 | Text = "Use ;grespawn or ;respawn to remove."; | |
2491 | }) | |
2492 | end | |
2493 | if string.sub(CMDBAR.Text, 1, 8) == ("drophats") then | |
2494 | for i,v in pairs(lplayer.Character:GetChildren()) do | |
2495 | if (v:IsA("Accessory")) or (v:IsA("Hat")) then | |
2496 | v.Parent = workspace | |
2497 | end | |
2498 | end | |
2499 | end | |
2500 | if string.sub(CMDBAR.Text, 1, 8) == ("droptool") then | |
2501 | for i,v in pairs(lplayer.Character:GetChildren()) do | |
2502 | if (v:IsA("Tool")) then | |
2503 | v.Parent = workspace | |
2504 | end | |
2505 | end | |
2506 | end | |
2507 | if string.sub(CMDBAR.Text, 1, 9) == ("loopdhats") then | |
2508 | droppinghats = true | |
2509 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
2510 | Title = "Loop Drop Enabled"; | |
2511 | Text = "Type ;unloopdhats to disable"; | |
2512 | }) | |
2513 | end | |
2514 | if string.sub(CMDBAR.Text, 1, 11) == ("unloopdhats") then | |
2515 | droppinghats = false | |
2516 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
2517 | Title = "Loop Drop Disabled"; | |
2518 | Text = "Type ;loopdhats to enable."; | |
2519 | }) | |
2520 | end | |
2521 | if string.sub(CMDBAR.Text, 1, 9) == ("loopdtool") then | |
2522 | droppingtools = true | |
2523 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
2524 | Title = "Loop Drop Enabled"; | |
2525 | Text = "Type ;unloopdtool to disable"; | |
2526 | }) | |
2527 | end | |
2528 | if string.sub(CMDBAR.Text, 1, 11) == ("unloopdtool") then | |
2529 | droppingtools = false | |
2530 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
2531 | Title = "Loop Drop Disabled"; | |
2532 | Text = "Type ;loopdtool to enable."; | |
2533 | }) | |
2534 | end | |
2535 | if string.sub(CMDBAR.Text, 1, 9) == ("invisible") then -- Credit to Timeless | |
2536 | Local = game:GetService('Players').LocalPlayer | |
2537 | Char = Local.Character | |
2538 | touched,tpdback = false, false | |
2539 | box = Instance.new('Part',workspace) | |
2540 | box.Anchored = true | |
2541 | box.CanCollide = true | |
2542 | box.Size = Vector3.new(10,1,10) | |
2543 | box.Position = Vector3.new(0,10000,0) | |
2544 | box.Touched:connect(function(part) | |
2545 | if (part.Parent.Name == Local.Name) then | |
2546 | if touched == false then | |
2547 | touched = true | |
2548 | function apply() | |
2549 | if script.Disabled ~= true then | |
2550 | no = Char.HumanoidRootPart:Clone() | |
2551 | wait(.25) | |
2552 | Char.HumanoidRootPart:Destroy() | |
2553 | no.Parent = Char | |
2554 | Char:MoveTo(loc) | |
2555 | touched = false | |
2556 | end end | |
2557 | if Char then | |
2558 | apply() | |
2559 | end | |
2560 | end | |
2561 | end | |
2562 | end) | |
2563 | repeat wait() until Char | |
2564 | loc = Char.HumanoidRootPart.Position | |
2565 | Char:MoveTo(box.Position + Vector3.new(0,.5,0)) | |
2566 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
2567 | Title = "Invisibility enabled!"; | |
2568 | Text = "Reset or use ;respawn to remove."; | |
2569 | }) | |
2570 | end | |
2571 | if string.sub(CMDBAR.Text, 1, 5) == ("view ") then | |
2572 | for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 6))) do | |
2573 | if game:GetService("Players")[v.Name].Character.Humanoid then | |
2574 | game:GetService("Workspace").CurrentCamera.CameraSubject = game:GetService("Players")[v.Name].Character.Humanoid | |
2575 | else | |
2576 | game:GetService("Workspace").CurrentCamera.CameraSubject = game:GetService("Players")[v.Name].Character.Head | |
2577 | end | |
2578 | end | |
2579 | end | |
2580 | if string.sub(CMDBAR.Text, 1, 6) == ("unview") then | |
2581 | if lplayer.Character.Humanoid then | |
2582 | game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Humanoid | |
2583 | else | |
2584 | game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Head | |
2585 | end | |
2586 | end | |
2587 | if string.sub(CMDBAR.Text, 1, 5) == ("goto ") then | |
2588 | for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 6))) do | |
2589 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame | |
2590 | end | |
2591 | end | |
2592 | if string.sub(CMDBAR.Text, 1, 3) == ("fly") then | |
2593 | repeat wait() until lplayer and lplayer.Character and lplayer.Character:FindFirstChild('HumanoidRootPart') and lplayer.Character:FindFirstChild('Humanoid') | |
2594 | repeat wait() until Mouse | |
2595 | ||
2596 | local T = lplayer.Character.HumanoidRootPart | |
2597 | local CONTROL = {F = 0, B = 0, L = 0, R = 0} | |
2598 | local lCONTROL = {F = 0, B = 0, L = 0, R = 0} | |
2599 | local SPEED = speedget | |
2600 | ||
2601 | local function fly() | |
2602 | flying = true | |
2603 | local BG = Instance.new('BodyGyro', T) | |
2604 | local BV = Instance.new('BodyVelocity', T) | |
2605 | BG.P = 9e4 | |
2606 | BG.maxTorque = Vector3.new(9e9, 9e9, 9e9) | |
2607 | BG.cframe = T.CFrame | |
2608 | BV.velocity = Vector3.new(0, 0.1, 0) | |
2609 | BV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
2610 | spawn(function() | |
2611 | repeat wait() | |
2612 | lplayer.Character.Humanoid.PlatformStand = true | |
2613 | if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then | |
2614 | SPEED = 50 | |
2615 | elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then | |
2616 | SPEED = 0 | |
2617 | end | |
2618 | if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then | |
2619 | BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED | |
2620 | lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R} | |
2621 | elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then | |
2622 | BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED | |
2623 | else | |
2624 | BV.velocity = Vector3.new(0, 0.1, 0) | |
2625 | end | |
2626 | BG.cframe = workspace.CurrentCamera.CoordinateFrame | |
2627 | until not flying | |
2628 | CONTROL = {F = 0, B = 0, L = 0, R = 0} | |
2629 | lCONTROL = {F = 0, B = 0, L = 0, R = 0} | |
2630 | SPEED = 0 | |
2631 | BG:destroy() | |
2632 | BV:destroy() | |
2633 | lplayer.Character.Humanoid.PlatformStand = false | |
2634 | end) | |
2635 | end | |
2636 | Mouse.KeyDown:connect(function(KEY) | |
2637 | if KEY:lower() == 'w' then | |
2638 | CONTROL.F = speedfly | |
2639 | elseif KEY:lower() == 's' then | |
2640 | CONTROL.B = -speedfly | |
2641 | elseif KEY:lower() == 'a' then | |
2642 | CONTROL.L = -speedfly | |
2643 | elseif KEY:lower() == 'd' then | |
2644 | CONTROL.R = speedfly | |
2645 | end | |
2646 | end) | |
2647 | Mouse.KeyUp:connect(function(KEY) | |
2648 | if KEY:lower() == 'w' then | |
2649 | CONTROL.F = 0 | |
2650 | elseif KEY:lower() == 's' then | |
2651 | CONTROL.B = 0 | |
2652 | elseif KEY:lower() == 'a' then | |
2653 | CONTROL.L = 0 | |
2654 | elseif KEY:lower() == 'd' then | |
2655 | CONTROL.R = 0 | |
2656 | end | |
2657 | end) | |
2658 | fly() | |
2659 | end | |
2660 | if string.sub(CMDBAR.Text, 1, 5) == ("unfly") then | |
2661 | flying = false | |
2662 | lplayer.Character.Humanoid.PlatformStand = false | |
2663 | end | |
2664 | if string.sub(CMDBAR.Text, 1, 5) == ("chat ") then | |
2665 | game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer((string.sub(CMDBAR.Text, 6)), "All") | |
2666 | end | |
2667 | if string.sub(CMDBAR.Text, 1, 5) == ("spam ") then | |
2668 | spamtext = (string.sub(CMDBAR.Text, 6)) | |
2669 | spamming = true | |
2670 | end | |
2671 | if string.sub(CMDBAR.Text, 1, 6) == ("unspam") then | |
2672 | spamming = false | |
2673 | end | |
2674 | if string.sub(CMDBAR.Text, 1, 9) == ("spamwait ") then | |
2675 | spamdelay = (string.sub(CMDBAR.Text, 10)) | |
2676 | end | |
2677 | if string.sub(CMDBAR.Text, 1, 7) == ("pmspam ") then | |
2678 | for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 8))) do | |
2679 | pmspammed = v.Name | |
2680 | spammingpm = true | |
2681 | end | |
2682 | end | |
2683 | if string.sub(CMDBAR.Text, 1, 8) == ("unpmspam") then | |
2684 | spammingpm = false | |
2685 | end | |
2686 | if string.sub(CMDBAR.Text, 1, 8) == ("cfreeze ") then | |
2687 | for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 9))) do | |
2688 | v.Character["Left Leg"].Anchored = true | |
2689 | v.Character["Left Arm"].Anchored = true | |
2690 | v.Character["Right Leg"].Anchored = true | |
2691 | v.Character["Right Arm"].Anchored = true | |
2692 | v.Character.Torso.Anchored = true | |
2693 | v.Character.Head.Anchored = true | |
2694 | end | |
2695 | end | |
2696 | if string.sub(CMDBAR.Text, 1, 10) == ("uncfreeze ") then | |
2697 | for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 11))) do | |
2698 | v.Character["Left Leg"].Anchored = false | |
2699 | v.Character["Left Arm"].Anchored = false | |
2700 | v.Character["Right Leg"].Anchored = false | |
2701 | v.Character["Right Arm"].Anchored = false | |
2702 | v.Character.Torso.Anchored = false | |
2703 | v.Character.Head.Anchored = false | |
2704 | end | |
2705 | end | |
2706 | if string.sub(CMDBAR.Text, 1, 8) == ("unlockws") then | |
2707 | local a = game:GetService("Workspace"):getChildren() | |
2708 | for i = 1, #a do | |
2709 | if a[i].className == "Part" then | |
2710 | a[i].Locked = false | |
2711 | elseif a[i].className == "Model" then | |
2712 | local r = a[i]:getChildren() | |
2713 | for i = 1, #r do | |
2714 | if r[i].className == "Part" then | |
2715 | r[i].Locked = false | |
2716 | end | |
2717 | end | |
2718 | end | |
2719 | end | |
2720 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
2721 | Title = "Success!"; | |
2722 | Text = "Workspace unlocked. Use ;lockws to lock."; | |
2723 | }) | |
2724 | end | |
2725 | if string.sub(CMDBAR.Text, 1, 6) == ("lockws") then | |
2726 | local a = game:GetService("Workspace"):getChildren() | |
2727 | for i = 1, #a do | |
2728 | if a[i].className == "Part" then | |
2729 | a[i].Locked = true | |
2730 | elseif a[i].className == "Model" then | |
2731 | local r = a[i]:getChildren() | |
2732 | for i = 1, #r do | |
2733 | if r[i].className == "Part" then | |
2734 | r[i].Locked = true | |
2735 | end | |
2736 | end | |
2737 | end | |
2738 | end | |
2739 | end | |
2740 | if string.sub(CMDBAR.Text, 1, 6) == ("btools") then | |
2741 | local Clone_T = Instance.new("HopperBin",lplayer.Backpack) | |
2742 | Clone_T.BinType = "Clone" | |
2743 | local Destruct = Instance.new("HopperBin",lplayer.Backpack) | |
2744 | Destruct.BinType = "Hammer" | |
2745 | local Hold_T = Instance.new("HopperBin",lplayer.Backpack) | |
2746 | Hold_T.BinType = "Grab" | |
2747 | end | |
2748 | if string.sub(CMDBAR.Text, 1, 6) == ("pstand") then | |
2749 | lplayer.Character.Humanoid.PlatformStand = true | |
2750 | end | |
2751 | if string.sub(CMDBAR.Text, 1, 8) == ("unpstand") then | |
2752 | lplayer.Character.Humanoid.PlatformStand = false | |
2753 | end | |
2754 | if string.sub(CMDBAR.Text, 1, 9) == ("blockhead") then | |
2755 | lplayer.Character.Head.Mesh:Destroy() | |
2756 | end | |
2757 | if string.sub(CMDBAR.Text, 1, 3) == ("sit") then | |
2758 | lplayer.Character.Humanoid.Sit = true | |
2759 | end | |
2760 | if string.sub(CMDBAR.Text, 1, 9) == ("bringobj ") then | |
2761 | local function bringobjw() | |
2762 | for i,obj in ipairs(game:GetService("Workspace"):GetDescendants()) do | |
2763 | if obj.Name == (string.sub(CMDBAR.Text, 10)) then | |
2764 | obj.CFrame = lplayer.Character.HumanoidRootPart.CFrame | |
2765 | obj.CanCollide = false | |
2766 | obj.Transparency = 0.7 | |
2767 | wait() | |
2768 | obj.CFrame = lplayer.Character["Left Leg"].CFrame | |
2769 | wait() | |
2770 | obj.CFrame = lplayer.Character["Right Leg"].CFrame | |
2771 | wait() | |
2772 | obj.CFrame = lplayer.Character["Head"].CFrame | |
2773 | end | |
2774 | end | |
2775 | end | |
2776 | while wait() do | |
2777 | bringobjw() | |
2778 | end | |
2779 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
2780 | Title = "BringObj"; | |
2781 | Text = "BringObj enabled."; | |
2782 | }) | |
2783 | end | |
2784 | if string.sub(CMDBAR.Text, 1, 6) == ("wsvis ") then | |
2785 | vis = (string.sub(CMDBAR.Text, 7)) | |
2786 | local a = game:GetService("Workspace"):GetDescendants() | |
2787 | for i = 1, #a do | |
2788 | if a[i].className == "Part" then | |
2789 | a[i].Transparency = vis | |
2790 | elseif a[i].className == "Model" then | |
2791 | local r = a[i]:getChildren() | |
2792 | for i = 1, #r do | |
2793 | if r[i].className == "Part" then | |
2794 | r[i].Transparency = vis | |
2795 | end | |
2796 | end | |
2797 | end | |
2798 | end | |
2799 | end | |
2800 | if string.sub(CMDBAR.Text, 1, 10) == ("hypertotal") then | |
2801 | loadstring(game:GetObjects("rbxassetid://1255063809")[1].Source)() | |
2802 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
2803 | Title = "Success!"; | |
2804 | Text = "HyperTotal GUI Loaded!"; | |
2805 | }) | |
2806 | end | |
2807 | if string.sub(CMDBAR.Text, 1, 4) == ("cmds") then | |
2808 | CMDSFRAME.Visible = true | |
2809 | end | |
2810 | if string.sub(CMDBAR.Text, 1, 9) == ("rmeshhats") then | |
2811 | for i,v in pairs(lplayer.Character:GetChildren()) do | |
2812 | if (v:IsA("Accessory")) or (v:IsA("Hat")) then | |
2813 | v.Handle.Mesh:Destroy() | |
2814 | end | |
2815 | end | |
2816 | end | |
2817 | if string.sub(CMDBAR.Text, 1, 9) == ("blockhats") then | |
2818 | for i,v in pairs(lplayer.Character:GetChildren()) do | |
2819 | if (v:IsA("Accessory")) or (v:IsA("Hat")) then | |
2820 | v.Handle.Mesh:Destroy() | |
2821 | end | |
2822 | end | |
2823 | end | |
2824 | if string.sub(CMDBAR.Text, 1, 9) == ("rmeshtool") then | |
2825 | for i,v in pairs(lplayer.Character:GetChildren()) do | |
2826 | if (v:IsA("Tool")) then | |
2827 | v.Handle.Mesh:Destroy() | |
2828 | end | |
2829 | end | |
2830 | end | |
2831 | if string.sub(CMDBAR.Text, 1, 9) == ("blocktool") then | |
2832 | for i,v in pairs(lplayer.Character:GetChildren()) do | |
2833 | if (v:IsA("Tool")) then | |
2834 | v.Handle.Mesh:Destroy() | |
2835 | end | |
2836 | end | |
2837 | end | |
2838 | if string.sub(CMDBAR.Text, 1, 7) == ("spinner") then | |
2839 | local p = Instance.new("RocketPropulsion") | |
2840 | p.Parent = lplayer.Character.HumanoidRootPart | |
2841 | p.Name = "Spinner" | |
2842 | p.Target = lplayer.Character["Left Arm"] | |
2843 | p:Fire() | |
2844 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
2845 | Title = "Spinner enabled"; | |
2846 | Text = "Type ;nospinner to disable."; | |
2847 | }) | |
2848 | end | |
2849 | if string.sub(CMDBAR.Text, 1, 9) == ("nospinner") then | |
2850 | lplayer.Character.HumanoidRootPart.Spinner:Destroy() | |
2851 | end | |
2852 | if string.sub(CMDBAR.Text, 1, 6) == ("reachd") then | |
2853 | for i,v in pairs(game:GetService'Players'.LocalPlayer.Character:GetChildren())do | |
2854 | if v:isA("Tool") then | |
2855 | local a = Instance.new("SelectionBox",v.Handle) | |
2856 | a.Adornee = v.Handle | |
2857 | v.Handle.Size = Vector3.new(0.5,0.5,60) | |
2858 | v.GripPos = Vector3.new(0,0,0) | |
2859 | lplayer.Character.Humanoid:UnequipTools() | |
2860 | end | |
2861 | end | |
2862 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
2863 | Title = "Reach applied!"; | |
2864 | Text = "Applied to equipped sword. Use ;noreach to disable."; | |
2865 | }) | |
2866 | end | |
2867 | if string.sub(CMDBAR.Text, 1, 6) == ("reach ") then | |
2868 | for i,v in pairs(game:GetService'Players'.LocalPlayer.Character:GetChildren())do | |
2869 | if v:isA("Tool") then | |
2870 | local a = Instance.new("SelectionBox",v.Handle) | |
2871 | a.Name = "Reach" | |
2872 | a.Adornee = v.Handle | |
2873 | v.Handle.Size = Vector3.new(0.5,0.5,(string.sub(CMDBAR.Text, 7))) | |
2874 | v.GripPos = Vector3.new(0,0,0) | |
2875 | lplayer.Character.Humanoid:UnequipTools() | |
2876 | end | |
2877 | end | |
2878 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
2879 | Title = "Reach applied!"; | |
2880 | Text = "Applied to equipped sword. Use ;noreach to disable."; | |
2881 | }) | |
2882 | end | |
2883 | if string.sub(CMDBAR.Text, 1, 7) == ("noreach") then | |
2884 | for i,v in pairs(game:GetService'Players'.LocalPlayer.Character:GetChildren())do | |
2885 | if v:isA("Tool") then | |
2886 | v.Handle.Reach:Destroy() | |
2887 | end | |
2888 | end | |
2889 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
2890 | Title = "Reach removed!"; | |
2891 | Text = "Removed reach from equipped sword."; | |
2892 | }) | |
2893 | end | |
2894 | if string.sub(CMDBAR.Text, 1, 6) == ("rkill ") then | |
2895 | for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 7)))do | |
2896 | lplayer.Character.Humanoid.Name = 1 | |
2897 | local l = lplayer.Character["1"]:Clone() | |
2898 | l.Parent = lplayer.Character | |
2899 | l.Name = "Humanoid" | |
2900 | wait(0.1) | |
2901 | lplayer.Character["1"]:Destroy() | |
2902 | game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character | |
2903 | lplayer.Character.Animate.Disabled = true | |
2904 | wait(0.1) | |
2905 | lplayer.Character.Animate.Disabled = false | |
2906 | lplayer.Character.Humanoid.DisplayDistanceType = "None" | |
2907 | for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do | |
2908 | lplayer.Character.Humanoid:EquipTool(v) | |
2909 | end | |
2910 | wait(0.1) | |
2911 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame | |
2912 | wait(0.2) | |
2913 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame | |
2914 | wait(0.5) | |
2915 | lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-100000,10,-100000)) | |
2916 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
2917 | Title = "Tools needed!"; | |
2918 | Text = "You need a tool in your backpack for this command!"; | |
2919 | }) | |
2920 | end | |
2921 | end | |
2922 | if string.sub(CMDBAR.Text, 1, 6) == ("tp me ") then | |
2923 | for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 7))) do | |
2924 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame | |
2925 | end | |
2926 | end | |
2927 | if string.sub(CMDBAR.Text, 1, 7) == ("cbring ") then | |
2928 | if (string.sub(CMDBAR.Text, 8)) == "all" or (string.sub(CMDBAR.Text, 8)) == "All" or (string.sub(CMDBAR.Text, 8)) == "ALL" then | |
2929 | cbringall = true | |
2930 | else | |
2931 | for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 8))) do | |
2932 | brplr = v.Name | |
2933 | end | |
2934 | end | |
2935 | cbring = true | |
2936 | end | |
2937 | if string.sub(CMDBAR.Text, 1, 8) == ("uncbring") then | |
2938 | cbring = false | |
2939 | cbringall = false | |
2940 | end | |
2941 | if string.sub(CMDBAR.Text, 1, 5) == ("swap ") then | |
2942 | for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 6))) do | |
2943 | local NOWPLR = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame | |
2944 | local NOW = lplayer.Character.HumanoidRootPart.CFrame | |
2945 | lplayer.Character.Humanoid.Name = 1 | |
2946 | local l = lplayer.Character["1"]:Clone() | |
2947 | l.Parent = lplayer.Character | |
2948 | l.Name = "Humanoid" | |
2949 | wait(0.1) | |
2950 | lplayer.Character["1"]:Destroy() | |
2951 | game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character | |
2952 | lplayer.Character.Animate.Disabled = true | |
2953 | wait(0.1) | |
2954 | lplayer.Character.Animate.Disabled = false | |
2955 | lplayer.Character.Humanoid.DisplayDistanceType = "None" | |
2956 | for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do | |
2957 | lplayer.Character.Humanoid:EquipTool(v) | |
2958 | end | |
2959 | local function tp(player,player2) | |
2960 | local char1,char2=player.Character,player2.Character | |
2961 | if char1 and char2 then | |
2962 | char1:MoveTo(char2.Head.Position) | |
2963 | end | |
2964 | end | |
2965 | wait(0.1) | |
2966 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame | |
2967 | wait(0.2) | |
2968 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame | |
2969 | wait(0.5) | |
2970 | lplayer.Character.HumanoidRootPart.CFrame = NOW | |
2971 | wait(0.6) | |
2972 | tp(lplayer, game:GetService("Players")[v.Name]) | |
2973 | wait(0.4) | |
2974 | lplayer.Character.HumanoidRootPart.CFrame = NOWPLR | |
2975 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
2976 | Title = "Tools needed!"; | |
2977 | Text = "You need a tool in your backpack for this command!"; | |
2978 | }) | |
2979 | end | |
2980 | end | |
2981 | if string.sub(CMDBAR.Text, 1, 7) == ("glitch ") then | |
2982 | for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 8))) do | |
2983 | lplayer.Character.Humanoid.Name = 1 | |
2984 | local l = lplayer.Character["1"]:Clone() | |
2985 | l.Parent = lplayer.Character | |
2986 | l.Name = "Humanoid" | |
2987 | wait(0.1) | |
2988 | lplayer.Character["1"]:Destroy() | |
2989 | game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character | |
2990 | lplayer.Character.Animate.Disabled = true | |
2991 | wait(0.1) | |
2992 | lplayer.Character.Animate.Disabled = false | |
2993 | lplayer.Character.Humanoid.DisplayDistanceType = "None" | |
2994 | for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do | |
2995 | lplayer.Character.Humanoid:EquipTool(v) | |
2996 | end | |
2997 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame | |
2998 | wait(0.3) | |
2999 | lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame | |
3000 | wait(0.4) | |
3001 | b = Instance.new("BodyForce") | |
3002 | b.Parent = lplayer.Character.HumanoidRootPart | |
3003 | b.Name = "Glitch" | |
3004 | b.Force = Vector3.new(100000000,5000,0) | |
3005 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
3006 | Title = "Tools needed!"; | |
3007 | Text = "You need a tool in your backpack for this command!"; | |
3008 | }) | |
3009 | end | |
3010 | end | |
3011 | if string.sub(CMDBAR.Text, 1, 8) == ("unglitch") then | |
3012 | lplayer.Character.HumanoidRootPart.Glitch:Destroy() | |
3013 | lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(10000,0,10000) | |
3014 | b = Instance.new("BodyForce") | |
3015 | b.Parent = lplayer.Character.HumanoidRootPart | |
3016 | b.Name = "unGlitch" | |
3017 | b.Force = Vector3.new(0,-5000000,0) | |
3018 | wait(2) | |
3019 | lplayer.Character.HumanoidRootPart.unGlitch:Destroy() | |
3020 | end | |
3021 | if string.sub(CMDBAR.Text, 1, 8) == ("grespawn") then | |
3022 | lplayer.Character.Humanoid.Health = 0 | |
3023 | wait(1) | |
3024 | lplayer.Character.Head.CFrame = CFrame.new(1000000,0,1000000) | |
3025 | lplayer.Character.Torso.CFrame = CFrame.new(1000000,0,1000000) | |
3026 | end | |
3027 | if string.sub(CMDBAR.Text, 1, 8) == ("explorer") then | |
3028 | loadstring(game:GetObjects("rbxassetid://492005721")[1].Source)() | |
3029 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
3030 | Title = "Success!"; | |
3031 | Text = "DEX Explorer has loaded."; | |
3032 | }) | |
3033 | end | |
3034 | if string.sub(CMDBAR.Text, 1, 5) == ("anim ") then | |
3035 | local Anim = Instance.new("Animation") | |
3036 | Anim.AnimationId = "rbxassetid://"..(string.sub(CMDBAR.Text, 6)) | |
3037 | local track = lplayer.Character.Humanoid:LoadAnimation(Anim) | |
3038 | track:Play(.1, 1, 1) | |
3039 | end | |
3040 | if string.sub(CMDBAR.Text, 1, 7) == ("animgui") then | |
3041 | loadstring(game:GetObjects("rbxassetid://1202558084")[1].Source)() | |
3042 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
3043 | Title = "Success!"; | |
3044 | Text = "Energize Animations GUI has loaded."; | |
3045 | }) | |
3046 | end | |
3047 | if string.sub(CMDBAR.Text, 1, 7) == ("savepos") then | |
3048 | saved = lplayer.Character.HumanoidRootPart.CFrame | |
3049 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
3050 | Title = "Position Saved"; | |
3051 | Text = "Use ;loadpos to return to saved position."; | |
3052 | }) | |
3053 | end | |
3054 | if string.sub(CMDBAR.Text, 1, 7) == ("loadpos") then | |
3055 | lplayer.Character.HumanoidRootPart.CFrame = saved | |
3056 | end | |
3057 | if string.sub(CMDBAR.Text, 1, 5) == ("bang ") then | |
3058 | for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 6))) do | |
3059 | local Anim2 = Instance.new("Animation") | |
3060 | Anim2.AnimationId = "rbxassetid://148840371" | |
3061 | local track2 = lplayer.Character.Humanoid:LoadAnimation(Anim2) | |
3062 | track2:Play(.1, 1, 1) | |
3063 | bplrr = v.Name | |
3064 | banpl = true | |
3065 | end | |
3066 | end | |
3067 | if string.sub(CMDBAR.Text, 1, 6) == ("unbang") then | |
3068 | banpl = false | |
3069 | end | |
3070 | if string.sub(CMDBAR.Text, 1, 9) == ("bringmod ") then | |
3071 | local function bringmodw() | |
3072 | for i,obj in ipairs(game:GetService("Workspace"):GetDescendants()) do | |
3073 | if obj.Name == (string.sub(CMDBAR.Text, 10)) then | |
3074 | for i,ch in pairs(obj:GetDescendants()) do | |
3075 | if (ch:IsA("BasePart")) then | |
3076 | ch.CFrame = lplayer.Character.HumanoidRootPart.CFrame | |
3077 | ch.CanCollide = false | |
3078 | ch.Transparency = 0.7 | |
3079 | wait() | |
3080 | ch.CFrame = lplayer.Character["Left Leg"].CFrame | |
3081 | wait() | |
3082 | ch.CFrame = lplayer.Character["Right Leg"].CFrame | |
3083 | wait() | |
3084 | ch.CFrame = lplayer.Character["Head"].CFrame | |
3085 | end | |
3086 | end | |
3087 | end | |
3088 | end | |
3089 | end | |
3090 | while wait() do | |
3091 | bringmodw() | |
3092 | end | |
3093 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
3094 | Title = "BringMod"; | |
3095 | Text = "BringMod enabled."; | |
3096 | }) | |
3097 | end | |
3098 | if string.sub(CMDBAR.Text, 1, 7) == ("respawn") then | |
3099 | local mod = Instance.new('Model', workspace) mod.Name = 're '..lplayer.Name | |
3100 | local hum = Instance.new('Humanoid', mod) | |
3101 | local ins = Instance.new('Part', mod) ins.Name = 'Torso' ins.CanCollide = false ins.Transparency = 1 | |
3102 | lplayer.Character = mod | |
3103 | end | |
3104 | if string.sub(CMDBAR.Text, 1, 8) == ("shutdown") then | |
3105 | game:GetService'RunService'.Stepped:Connect(function() | |
3106 | pcall(function() | |
3107 | for i,v in pairs(game:GetService'Players':GetPlayers()) do | |
3108 | if v.Character ~= nil and v.Character:FindFirstChild'Head' then | |
3109 | for _,x in pairs(v.Character.Head:GetChildren()) do | |
3110 | if x:IsA'Sound' then x.Playing = true x.CharacterSoundEvent:FireServer(true, true) end | |
3111 | end | |
3112 | end | |
3113 | end | |
3114 | end) | |
3115 | end) | |
3116 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
3117 | Title = "Attempting Shutdown"; | |
3118 | Text = "Shutdown Attempt has begun."; | |
3119 | }) | |
3120 | end | |
3121 | if string.sub(CMDBAR.Text, 1, 7) == ("delobj ") then | |
3122 | objtodel = (string.sub(CMDBAR.Text, 8)) | |
3123 | for i,v in pairs(game:GetService("Workspace"):GetDescendants()) do | |
3124 | if v.Name == objtodel then | |
3125 | v:Destroy() | |
3126 | end | |
3127 | end | |
3128 | end | |
3129 | if string.sub(CMDBAR.Text, 1, 7) == ("getplrs") then | |
3130 | for i,v in pairs(game:GetService("Players"):GetPlayers())do | |
3131 | print(v) | |
3132 | end | |
3133 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
3134 | Title = "Printed"; | |
3135 | Text = "Players have been printed to console. (F9)"; | |
3136 | }) | |
3137 | end | |
3138 | if string.sub(CMDBAR.Text, 1, 8) == ("deldecal") then | |
3139 | for i,v in pairs(game:GetService("Workspace"):GetDescendants())do | |
3140 | if (v:IsA("Decal")) then | |
3141 | v:Destroy() | |
3142 | end | |
3143 | end | |
3144 | end | |
3145 | if string.sub(CMDBAR.Text, 1, 10) == ("opfinality") then | |
3146 | loadstring(game:GetObjects("rbxassetid://1294358929")[1].Source)() | |
3147 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
3148 | Title = "Success!"; | |
3149 | Text = "OpFinality GUI has loaded."; | |
3150 | }) | |
3151 | end | |
3152 | if string.sub(CMDBAR.Text, 1, 7) == ("remotes") then | |
3153 | remotes = true | |
3154 | added = true | |
3155 | game.DescendantAdded:connect(function(rmt) | |
3156 | if added == true then | |
3157 | if remotes == true then | |
3158 | if rmt:IsA("RemoteEvent") then | |
3159 | print("A RemoteEvent was added!") | |
3160 | print(" game." .. rmt:GetFullName() .. " | RemoteEvent") | |
3161 | print(" game." .. rmt:GetFullName() .. " | RemoteEvent", 247, 0, 0, true) | |
3162 | end end end | |
3163 | end) | |
3164 | game.DescendantAdded:connect(function(rmtfnctn) | |
3165 | if added == true then | |
3166 | if remotes == true then | |
3167 | if rmtfnctn:IsA("RemoteFunction") then | |
3168 | warn("A RemoteFunction was added!") | |
3169 | warn(" game." .. rmtfnctn:GetFullName() .. " | RemoteFunction") | |
3170 | print(" game." .. rmtfnctn:GetFullName() .. " | RemoteFunction", 5, 102, 198, true) | |
3171 | end end end | |
3172 | end) | |
3173 | ||
3174 | game.DescendantAdded:connect(function(bndfnctn) | |
3175 | if added == true then | |
3176 | if binds == true then | |
3177 | if bndfnctn:IsA("BindableFunction") then | |
3178 | print("A BindableFunction was added!") | |
3179 | print(" game." .. bndfnctn:GetFullName() .. " | BindableFunction") | |
3180 | print(" game." .. bndfnctn:GetFullName() .. " | BindableFunction", 239, 247, 4, true) | |
3181 | end end end | |
3182 | end) | |
3183 | ||
3184 | game.DescendantAdded:connect(function(bnd) | |
3185 | if added == true then | |
3186 | if binds == true then | |
3187 | if bnd:IsA("BindableEvent") then | |
3188 | warn("A BindableEvent was added!") | |
3189 | warn(" game." .. bnd:GetFullName() .. " | BindableEvent") | |
3190 | print(" game." .. bnd:GetFullName() .. " | BindableEvent", 13, 193, 22, true) | |
3191 | end end end | |
3192 | end) | |
3193 | ||
3194 | ||
3195 | if binds == true then | |
3196 | for i,v in pairs(game:GetDescendants()) do | |
3197 | if v:IsA("BindableFunction") then | |
3198 | print(" game." .. v:GetFullName() .. " | BindableFunction") | |
3199 | print(" game." .. v:GetFullName() .. " | BindableFunction", 239, 247, 4, true) | |
3200 | end end | |
3201 | for i,v in pairs(game:GetDescendants()) do | |
3202 | if v:IsA("BindableEvent") then | |
3203 | warn(" game." .. v:GetFullName() .. " | BindableEvent") | |
3204 | print(" game." .. v:GetFullName() .. " | BindableEvent", 13, 193, 22, true) | |
3205 | end end | |
3206 | else | |
3207 | print("Off") | |
3208 | end | |
3209 | if remotes == true then | |
3210 | for i,v in pairs(game:GetDescendants()) do | |
3211 | if v:IsA("RemoteFunction") then | |
3212 | warn(" game." .. v:GetFullName() .. " | RemoteFunction") | |
3213 | print(" game." .. v:GetFullName() .. " | RemoteFunction", 5, 102, 198, true) | |
3214 | end end | |
3215 | wait() | |
3216 | for i,v in pairs(game:GetDescendants()) do | |
3217 | if v:IsA("RemoteEvent") then | |
3218 | print(" game." .. v:GetFullName() .. " | RemoteEvent") | |
3219 | print(" game." .. v:GetFullName() .. " | RemoteEvent", 247, 0, 0, true) | |
3220 | end end | |
3221 | else | |
3222 | print("Off") | |
3223 | end | |
3224 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
3225 | Title = "Printing Remotes"; | |
3226 | Text = "Type ;noremotes to disable."; | |
3227 | }) | |
3228 | end | |
3229 | if string.sub(CMDBAR.Text, 1, 9) == ("noremotes") then | |
3230 | remotes = false | |
3231 | added = false | |
3232 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
3233 | Title = "Printing Remotes Disabled"; | |
3234 | Text = "Type ;remotes to enable."; | |
3235 | }) | |
3236 | end | |
3237 | if string.sub(CMDBAR.Text, 1, 9) == ("tpdefault") then | |
3238 | spin = false | |
3239 | followed = false | |
3240 | traill = false | |
3241 | noclip = false | |
3242 | annoying = false | |
3243 | hwalk = false | |
3244 | cbringing = false | |
3245 | end | |
3246 | if string.sub(CMDBAR.Text, 1, 7) == ("stopsit") then | |
3247 | stopsitting = true | |
3248 | end | |
3249 | if string.sub(CMDBAR.Text, 1, 5) == ("gosit") then | |
3250 | stopsitting = false | |
3251 | end | |
3252 | if string.sub(CMDBAR.Text, 1, 7) == ("version") then | |
3253 | print(adminversion) | |
3254 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
3255 | Title = "Version"; | |
3256 | Text = adminversion; | |
3257 | }) | |
3258 | end | |
3259 | if string.sub(CMDBAR.Text, 1, 7) == ("clicktp") then | |
3260 | clickgoto = true | |
3261 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
3262 | Title = "Click TP"; | |
3263 | Text = "Press E to teleport to mouse position"; | |
3264 | }) | |
3265 | end | |
3266 | if string.sub(CMDBAR.Text, 1, 9) == ("noclicktp") then | |
3267 | clickgoto = false | |
3268 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
3269 | Title = "Click TP"; | |
3270 | Text = "Click TP has been disabled."; | |
3271 | }) | |
3272 | end | |
3273 | if string.sub(CMDBAR.Text, 1, 7) == ("toolson") then | |
3274 | gettingtools = true | |
3275 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
3276 | Title = "Tools Enabled"; | |
3277 | Text = "Automatically colleting tools dropped."; | |
3278 | }) | |
3279 | end | |
3280 | if string.sub(CMDBAR.Text, 1, 8) == ("toolsoff") then | |
3281 | gettingtools = false | |
3282 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
3283 | Title = "Tools Disabled"; | |
3284 | Text = "Click TP has been disabled."; | |
3285 | }) | |
3286 | end | |
3287 | if string.sub(CMDBAR.Text, 1, 9) == ("delcmdbar") then | |
3288 | ScreenGui:Destroy() | |
3289 | end | |
3290 | if string.sub(CMDBAR.Text, 1, 5) == ("reset") then | |
3291 | lplayer.Character.Head:Destroy() | |
3292 | end | |
3293 | if string.sub(CMDBAR.Text, 1, 6) == ("state ") then | |
3294 | statechosen = string.sub(CMDBAR.Text, 7) | |
3295 | changingstate = true | |
3296 | end | |
3297 | if string.sub(CMDBAR.Text, 1, 8) == ("gravity ") then | |
3298 | game:GetService("Workspace").Gravity = string.sub(CMDBAR.Text, 9) | |
3299 | end | |
3300 | if string.sub(CMDBAR.Text, 1, 9) == ("looprhats") then | |
3301 | removingmeshhats = true | |
3302 | end | |
3303 | if string.sub(CMDBAR.Text, 1, 11) == ("unlooprhats") then | |
3304 | removingmeshhats = false | |
3305 | end | |
3306 | if string.sub(CMDBAR.Text, 1, 9) == ("looprtool") then | |
3307 | removingmeshtool = true | |
3308 | end | |
3309 | if string.sub(CMDBAR.Text, 1, 11) == ("unlooprtool") then | |
3310 | removingmeshtool = false | |
3311 | end | |
3312 | if string.sub(CMDBAR.Text, 1, 9) == ("givetool ") then | |
3313 | for i,v in pairs(game:GetService("Players").LocalPlayer.Character:GetDescendants()) do | |
3314 | if v:IsA("Tool") then | |
3315 | for i,player in pairs(GetPlayer(string.sub(CMDBAR.Text, 10))) do | |
3316 | v.Parent = player.Character | |
3317 | end | |
3318 | end | |
3319 | end | |
3320 | end | |
3321 | if string.sub(CMDBAR.Text, 1, 4) == ("age ") then | |
3322 | for i,player in pairs(GetPlayer(string.sub(CMDBAR.Text, 5))) do | |
3323 | game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(player.Name.." Account Age: "..player.AccountAge.." days!", "All") | |
3324 | end | |
3325 | end | |
3326 | if string.sub(CMDBAR.Text, 1, 3) == ("id ") then | |
3327 | for i,player in pairs(GetPlayer(string.sub(CMDBAR.Text, 4))) do | |
3328 | game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(player.Name.." Account ID: "..player.UserId, "All") | |
3329 | end | |
3330 | end | |
3331 | if string.sub(CMDBAR.Text, 1, 5) == (".age ") then | |
3332 | for i,player in pairs(GetPlayer(string.sub(CMDBAR.Text, 6))) do | |
3333 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
3334 | Title = player.AccountAge.." Days"; | |
3335 | Text = "Account age of "..player.Name; | |
3336 | }) | |
3337 | end | |
3338 | end | |
3339 | if string.sub(CMDBAR.Text, 1, 4) == (".id ") then | |
3340 | for i,player in pairs(GetPlayer(string.sub(CMDBAR.Text, 5))) do | |
3341 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
3342 | Title = player.UserId.." ID"; | |
3343 | Text = "Account ID of "..player.Name; | |
3344 | }) | |
3345 | end | |
3346 | end | |
3347 | if string.sub(CMDBAR.Text, 1, 6) == ("gameid") then | |
3348 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
3349 | Title = "Game ID"; | |
3350 | Text = "Game ID: ".. game.GameId; | |
3351 | }) | |
3352 | end | |
3353 | if string.sub(CMDBAR.Text, 1, 3) == ("pgs") then | |
3354 | local pgscheck = game:GetService("Workspace"):PGSIsEnabled() | |
3355 | if pgscheck == true then | |
3356 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
3357 | Title = "PGSPhysicsSolverEnabled"; | |
3358 | Text = "PGS is Enabled!"; | |
3359 | }) | |
3360 | else | |
3361 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
3362 | Title = "PGSPhysicsSolverEnabled"; | |
3363 | Text = "PGS is Disabled!"; | |
3364 | }) | |
3365 | end | |
3366 | end | |
3367 | if string.sub(CMDBAR.Text, 1, 11) == ("removeinvis") then | |
3368 | for i,v in pairs(game:GetService("Workspace"):GetDescendants()) do | |
3369 | if v:IsA("Part") then | |
3370 | if v.Transparency == 1 then | |
3371 | if v.Name ~= "HumanoidRootPart" then | |
3372 | v:Destroy() | |
3373 | end | |
3374 | end | |
3375 | end | |
3376 | end | |
3377 | end | |
3378 | if string.sub(CMDBAR.Text, 1, 9) == ("removefog") then | |
3379 | game:GetService("Lighting").FogStart = 0 | |
3380 | game:GetService("Lighting").FogEnd = 9999999999999 | |
3381 | end | |
3382 | if string.sub(CMDBAR.Text, 1, 7) == ("disable") then | |
3383 | lplayer.Character.Humanoid.Parent = lplayer | |
3384 | end | |
3385 | if string.sub(CMDBAR.Text, 1, 6) == ("enable") then | |
3386 | lplayer.Humanoid.Parent = lplayer.Character | |
3387 | end | |
3388 | if string.sub(CMDBAR.Text, 1, 13) == ("givealltools ") then | |
3389 | for i,v in pairs(game:GetService("Players").LocalPlayer.Backpack:GetDescendants()) do | |
3390 | if v:IsA("Tool") then | |
3391 | v.Parent = lplayer.Character | |
3392 | wait() | |
3393 | for i,player in pairs(GetPlayer(string.sub(CMDBAR.Text, 14))) do | |
3394 | v.Parent = player.Character | |
3395 | end | |
3396 | end | |
3397 | end | |
3398 | end | |
3399 | if string.sub(CMDBAR.Text, 1, 9) == ("flyspeed ") then | |
3400 | speedfly = string.sub(CMDBAR.Text, 10) | |
3401 | wait() | |
3402 | change() | |
3403 | end | |
3404 | if string.sub(CMDBAR.Text, 1, 7) == ("carpet ") then | |
3405 | for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 8))) do | |
3406 | local Anim3 = Instance.new("Animation") | |
3407 | Anim3.AnimationId = "rbxassetid://282574440" | |
3408 | local track3 = lplayer.Character.Humanoid:LoadAnimation(Anim3) | |
3409 | track3:Play(.1, 1, 1) | |
3410 | bplrr = v.Name | |
3411 | banpl = true | |
3412 | end | |
3413 | end | |
3414 | if string.sub(CMDBAR.Text, 1, 8) == ("uncarpet") then | |
3415 | banpl = false | |
3416 | end | |
3417 | if string.sub(CMDBAR.Text, 1, 6) == ("stare ") then | |
3418 | for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 7))) do | |
3419 | staring = true | |
3420 | stareplr = v | |
3421 | end | |
3422 | end | |
3423 | if string.sub(CMDBAR.Text, 1, 7) == ("unstare") then | |
3424 | staring = false | |
3425 | end | |
3426 | if string.sub(CMDBAR.Text, 1, 7) == ("logchat") then | |
3427 | chatlogs = true | |
3428 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
3429 | Title = "LogChat enabled"; | |
3430 | Text = "Now logging all player chat."; | |
3431 | }) | |
3432 | end | |
3433 | if string.sub(CMDBAR.Text, 1, 9) == ("unlogchat") then | |
3434 | chatlogs = false | |
3435 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
3436 | Title = "LogChat disabled"; | |
3437 | Text = "Stopped logging all player chat."; | |
3438 | }) | |
3439 | end | |
3440 | if string.sub(CMDBAR.Text, 1, 6) == ("fixcam") then | |
3441 | game:GetService("Workspace").CurrentCamera:Destroy() | |
3442 | wait(0.1) | |
3443 | game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Humanoid | |
3444 | game:GetService("Workspace").CurrentCamera.CameraType = "Custom" | |
3445 | lplayer.CameraMinZoomDistance = 0.5 | |
3446 | lplayer.CameraMaxZoomDistance = 400 | |
3447 | lplayer.CameraMode = "Classic" | |
3448 | end | |
3449 | if string.sub(CMDBAR.Text, 1, 7) == ("unstate") then | |
3450 | changingstate = false | |
3451 | end | |
3452 | CMDBAR.Text = "" | |
3453 | end | |
3454 | end) | |
3455 | ||
3456 | wait(0.3) | |
3457 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
3458 | Title = "Loaded successfully!"; | |
3459 | Text = "Reviz Admin V2 by illremember"; | |
3460 | }) | |
3461 | wait(0.1) | |
3462 | print("Reviz Admin V2 loaded!") | |
3463 | if game:GetService("Workspace").FilteringEnabled == true then | |
3464 | warn("FE is Enabled (Filtering Enabled)") | |
3465 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
3466 | Title = "FE is Enabled"; | |
3467 | Text = "Filtering Enabled. Enjoy using Reviz Admin!"; | |
3468 | }) | |
3469 | else | |
3470 | warn("FE is Disabled (Filtering Disabled) Consider using a different admin script.") | |
3471 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
3472 | Title = "FE is Disabled"; | |
3473 | Text = "Filtering Disabled. Consider using a different admin script."; | |
3474 | }) | |
3475 | end | |
3476 | ||
3477 | local intro = Instance.new("ScreenGui") | |
3478 | local Frame = Instance.new("Frame") | |
3479 | local ImageLabel = Instance.new("ImageLabel") | |
3480 | intro.Parent = game:GetService("CoreGui") | |
3481 | Frame.Parent = intro | |
3482 | Frame.BackgroundColor3 = Color3.new(1, 1, 1) | |
3483 | Frame.BackgroundTransparency = 1 | |
3484 | Frame.Size = UDim2.new(1, 0, 0, 300) | |
3485 | Frame.Position = UDim2.new(0, 0, -0.4, 0) | |
3486 | ImageLabel.Parent = Frame | |
3487 | ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
3488 | ImageLabel.BackgroundTransparency = 1 | |
3489 | ImageLabel.Position = UDim2.new(0, 0, 0, 0) | |
3490 | ImageLabel.Size = UDim2.new(1, 0, 1, 0) | |
3491 | ImageLabel.Image = "http://www.roblox.com/asset/?id=1542162618" | |
3492 | Frame:TweenPosition(UDim2.new(0, 0, 0.2, 0), "Out", "Elastic", 3) | |
3493 | wait(3.01) | |
3494 | Frame:TweenPosition(UDim2.new(0, 0, 1.5, 0), "Out", "Elastic", 5) | |
3495 | wait(5.01) | |
3496 | intro:Destroy() | |
3497 | end) | |
3498 | ||
3499 | arrest.Name = "arrest" | |
3500 | arrest.Parent = main | |
3501 | arrest.BackgroundColor3 = Color3.new(0, 1, 1) | |
3502 | arrest.Position = UDim2.new(0.349623203, 0, 0.306112915, 0) | |
3503 | arrest.Size = UDim2.new(0, 110, 0, 32) | |
3504 | arrest.Font = Enum.Font.GothamBlack | |
3505 | arrest.Text = "Arrest" | |
3506 | arrest.TextColor3 = Color3.new(1, 0, 0) | |
3507 | arrest.TextSize = 14 | |
3508 | arrest.MouseButton1Down:connect(function() | |
3509 | local mouse = game.Players.LocalPlayer:GetMouse() | |
3510 | local arrestEvent = game.Workspace.Remote.arrest | |
3511 | mouse.Button1Down:connect(function() | |
3512 | local obj = mouse.Target | |
3513 | local response = arrestEvent:InvokeServer(obj) | |
3514 | end) | |
3515 | end) | |
3516 | ||
3517 | attach.Name = "attach" | |
3518 | attach.Parent = main | |
3519 | attach.BackgroundColor3 = Color3.new(0, 1, 1) | |
3520 | attach.Position = UDim2.new(0.679666638, 0, 0.304921538, 0) | |
3521 | attach.Size = UDim2.new(0, 111, 0, 32) | |
3522 | attach.Font = Enum.Font.GothamBlack | |
3523 | attach.Text = "Aimbot" | |
3524 | attach.TextColor3 = Color3.new(1, 0, 0) | |
3525 | attach.TextSize = 14 | |
3526 | attach.MouseButton1Down:connect(function() | |
3527 | local plrs = game:GetService("Players") | |
3528 | local TeamBased = true ; local teambasedswitch = "o" | |
3529 | local presskeytoaim = true; local aimkey = "e" | |
3530 | local raycast = false | |
3531 | ||
3532 | local espupdatetime = 5; autoesp = false | |
3533 | ||
3534 | ||
3535 | ||
3536 | local lockaim = true; local lockangle = 5 | |
3537 | ||
3538 | ||
3539 | ||
3540 | --function findwat(folder, what) | |
3541 | -- for i, smth in pairs(folder:GetChildren()) do | |
3542 | -- if string.find(string.lower(tostring(smth)), string.lower(what)) then | |
3543 | -- return smth | |
3544 | -- end | |
3545 | -- end | |
3546 | --end | |
3547 | -- | |
3548 | --local plrs = findwat(game, "Players") | |
3549 | ||
3550 | ||
3551 | ||
3552 | ||
3553 | local Gui = Instance.new("ScreenGui") | |
3554 | local Move = Instance.new("Frame") | |
3555 | local Main = Instance.new("Frame") | |
3556 | local EspStatus = Instance.new("TextLabel") | |
3557 | local st1 = Instance.new("TextLabel") | |
3558 | local st1_2 = Instance.new("TextLabel") | |
3559 | local st1_3 = Instance.new("TextLabel") | |
3560 | local Name = Instance.new("TextLabel") | |
3561 | --Properties: | |
3562 | Gui.Name = "Gui" | |
3563 | Gui.Parent = plrs.LocalPlayer:WaitForChild("PlayerGui") | |
3564 | ||
3565 | Move.Name = "Move" | |
3566 | Move.Parent = Gui | |
3567 | Move.BackgroundColor3 = Color3.new(0.545098, 0, 0) | |
3568 | Move.BackgroundTransparency = 1 | |
3569 | Move.BorderSizePixel = 0 | |
3570 | Move.Draggable = true | |
3571 | Move.Position = UDim2.new(0.005, 0, -0.15, 0) | |
3572 | Move.Size = UDim2.new(0.28141585, 0, 0.0320388414, 0) | |
3573 | ||
3574 | Main.Name = "Main" | |
3575 | Main.Parent = Move | |
3576 | Main.BackgroundColor3 = Color3.new(1, 1, 1) | |
3577 | Main.Position = UDim2.new(0, -7, 20.9960003, 0) | |
3578 | Main.Size = UDim2.new(1, 0, 5.79699993, 0) | |
3579 | Main.Style = Enum.FrameStyle.RobloxSquare | |
3580 | ||
3581 | EspStatus.Name = "EspStatus" | |
3582 | EspStatus.Parent = Main | |
3583 | EspStatus.BackgroundColor3 = Color3.new(1, 1, 1) | |
3584 | EspStatus.BackgroundTransparency = 1 | |
3585 | EspStatus.Position = UDim2.new(0, 0, 0.300000012, 0) | |
3586 | EspStatus.Size = UDim2.new(1, 0, 0.162, 0) | |
3587 | EspStatus.Font = Enum.Font.ArialBold | |
3588 | EspStatus.Text = "Press O to change team based mode" | |
3589 | EspStatus.TextColor3 = Color3.new(0.6, 0.196078, 0.8) | |
3590 | EspStatus.TextScaled = true | |
3591 | EspStatus.TextWrapped = true | |
3592 | ||
3593 | st1.Name = "st1" | |
3594 | st1.Parent = Main | |
3595 | st1.BackgroundColor3 = Color3.new(1, 1, 1) | |
3596 | st1.BackgroundTransparency = 1 | |
3597 | st1.Position = UDim2.new(0.271787882, 0, 0, 0) | |
3598 | st1.Size = UDim2.new(0.728211343, 0, 0.161862016, 0) | |
3599 | st1.Font = Enum.Font.ArialBold | |
3600 | st1.Text = "" | |
3601 | st1.TextColor3 = Color3.new(0.0784314, 0.541176, 0) | |
3602 | st1.TextScaled = true | |
3603 | st1.TextSize = 14 | |
3604 | st1.TextWrapped = true | |
3605 | ||
3606 | st1_2.Name = "st1" | |
3607 | st1_2.Parent = Main | |
3608 | st1_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
3609 | st1_2.BackgroundTransparency = 1 | |
3610 | st1_2.Position = UDim2.new(0, 0, 0.875999987, 0) | |
3611 | st1_2.Size = UDim2.new(0.999999881, 0, 0.161862016, 0) | |
3612 | st1_2.Font = Enum.Font.ArialBold | |
3613 | st1_2.Text = "Press E to lock on a person inside ur view" | |
3614 | st1_2.TextColor3 = Color3.new(0.6, 0.196078, 0.8) | |
3615 | st1_2.TextScaled = true | |
3616 | st1_2.TextWrapped = true | |
3617 | ||
3618 | st1_3.Name = "st1" | |
3619 | st1_3.Parent = Main | |
3620 | st1_3.BackgroundColor3 = Color3.new(1, 1, 1) | |
3621 | st1_3.BackgroundTransparency = 1 | |
3622 | st1_3.Position = UDim2.new(0, 0, 0.54, 0) | |
3623 | st1_3.Size = UDim2.new(1, 0, 0.261999995, 0) | |
3624 | st1_3.Font = Enum.Font.ArialBold | |
3625 | st1_3.Text = "Press L to enable esp loop and press T to update esp" | |
3626 | st1_3.TextColor3 = Color3.new(0.6, 0.196078, 0.8) | |
3627 | st1_3.TextScaled = true | |
3628 | st1_3.TextWrapped = true | |
3629 | ||
3630 | ||
3631 | Name.Name = "Name" | |
3632 | Name.Parent = Move | |
3633 | Name.BackgroundColor3 = Color3.new(0.545098, 0, 0) | |
3634 | Name.BackgroundTransparency = 1 | |
3635 | Name.Position = UDim2.new(0, 25, 20.9860001, 0) | |
3636 | Name.Size = UDim2.new(0.838, 0, 1.27999997, 0) | |
3637 | Name.Font = Enum.Font.Arcade | |
3638 | Name.Text = "ARSENAL GUI" | |
3639 | Name.TextColor3 = Color3.new(0.541176, 0.168627, 0.886275) | |
3640 | Name.TextScaled = true | |
3641 | Name.TextSize = 12 | |
3642 | Name.TextWrapped = true | |
3643 | -- Scripts: | |
3644 | ||
3645 | ||
3646 | local plrsforaim = {} | |
3647 | ||
3648 | local lplr = game:GetService("Players").LocalPlayer | |
3649 | Move.Draggable = true | |
3650 | Gui.ResetOnSpawn = false | |
3651 | Gui.Name = "Chat" | |
3652 | Gui.DisplayOrder = 999 | |
3653 | ||
3654 | Gui.Parent = plrs.LocalPlayer.PlayerGui | |
3655 | ||
3656 | ||
3657 | f = {} | |
3658 | local espforlder | |
3659 | ||
3660 | f.addesp = function() | |
3661 | --print("ESP ran") | |
3662 | if espforlder then | |
3663 | else | |
3664 | espforlder = Instance.new("Folder") | |
3665 | espforlder.Parent = game.Workspace.CurrentCamera | |
3666 | end | |
3667 | for i, v in pairs(espforlder:GetChildren()) do | |
3668 | v:Destroy() | |
3669 | end | |
3670 | for _, plr in pairs(plrs:GetChildren()) do | |
3671 | if plr.Character and plr.Character.Humanoid.Health > 0 and plr.Name ~= lplr.Name then | |
3672 | if TeamBased == true then | |
3673 | if plr.Team.Name ~= plrs.LocalPlayer.Team.Name then | |
3674 | local e = espforlder:FindFirstChild(plr.Name) | |
3675 | if not e then | |
3676 | --print("Added esp for team based") | |
3677 | local bill = Instance.new("BillboardGui", espforlder) | |
3678 | bill.Name = plr.Name | |
3679 | bill.AlwaysOnTop = true | |
3680 | bill.Size = UDim2.new(1,0,1,0) | |
3681 | bill.Adornee = plr.Character.Head | |
3682 | local Frame = Instance.new('Frame',bill) | |
3683 | Frame.Active = true | |
3684 | Frame.BackgroundColor3 = Color3.new(0.862745, 0.0784314, 0.235294) | |
3685 | Frame.BackgroundTransparency = 0 | |
3686 | Frame.BorderSizePixel = 0 | |
3687 | Frame.AnchorPoint = Vector2.new(.5, .5) | |
3688 | Frame.Position = UDim2.new (0.5,0,0.5,0) | |
3689 | Frame.Size = UDim2.new (1,0,1,0) | |
3690 | Frame.Rotation = 0 | |
3691 | plr.Character.Humanoid.Died:Connect(function() | |
3692 | bill:Destroy() | |
3693 | end) | |
3694 | end | |
3695 | end | |
3696 | else | |
3697 | local e = espforlder:FindFirstChild(plr.Name) | |
3698 | if not e then | |
3699 | --print("Added esp") | |
3700 | local bill = Instance.new("BillboardGui", espforlder) | |
3701 | bill.Name = plr.Name | |
3702 | bill.AlwaysOnTop = true | |
3703 | bill.Size = UDim2.new(1,0,1,0) | |
3704 | bill.Adornee = plr.Character.Head | |
3705 | local Frame = Instance.new('Frame',bill) | |
3706 | Frame.Active = true | |
3707 | Frame.BackgroundColor3 = Color3.new(0/255,255/255,0/255) | |
3708 | Frame.BackgroundTransparency = 0 | |
3709 | Frame.BorderSizePixel = 0 | |
3710 | Frame.AnchorPoint = Vector2.new(.5, .5) | |
3711 | Frame.Position = UDim2.new (0.5,0,0.5,0) | |
3712 | Frame.Size = UDim2.new (1,0,1,0) | |
3713 | Frame.Rotation = 0 | |
3714 | plr.Character.Humanoid.Died:Connect(function() | |
3715 | bill:Destroy() | |
3716 | end) | |
3717 | end | |
3718 | end | |
3719 | ||
3720 | ||
3721 | end | |
3722 | end | |
3723 | end | |
3724 | local cam = game.Workspace.CurrentCamera | |
3725 | ||
3726 | local mouse = lplr:GetMouse() | |
3727 | local switch = false | |
3728 | local key = "k" | |
3729 | local aimatpart = nil | |
3730 | mouse.KeyDown:Connect(function(a) | |
3731 | if a == "t" then | |
3732 | print("worked1") | |
3733 | f.addesp() | |
3734 | elseif a == "u" then | |
3735 | if raycast == true then | |
3736 | raycast = false | |
3737 | else | |
3738 | raycast = true | |
3739 | end | |
3740 | elseif a == "l" then | |
3741 | if autoesp == false then | |
3742 | autoesp = true | |
3743 | else | |
3744 | autoesp = false | |
3745 | end | |
3746 | end | |
3747 | if a == "j" then | |
3748 | if mouse.Target then | |
3749 | mouse.Target:Destroy() | |
3750 | end | |
3751 | end | |
3752 | if a == key then | |
3753 | if switch == false then | |
3754 | switch = true | |
3755 | else | |
3756 | switch = false | |
3757 | if aimatpart ~= nil then | |
3758 | aimatpart = nil | |
3759 | end | |
3760 | end | |
3761 | elseif a == teambasedswitch then | |
3762 | if TeamBased == true then | |
3763 | TeamBased = false | |
3764 | teambasedstatus.Text = tostring(TeamBased) | |
3765 | else | |
3766 | TeamBased = true | |
3767 | teambasedstatus.Text = tostring(TeamBased) | |
3768 | end | |
3769 | elseif a == aimkey then | |
3770 | if not aimatpart then | |
3771 | local maxangle = math.rad(20) | |
3772 | for i, plr in pairs(plrs:GetChildren()) do | |
3773 | if plr.Name ~= lplr.Name and plr.Character and plr.Character.Head and plr.Character.Humanoid and plr.Character.Humanoid.Health > 1 then | |
3774 | if TeamBased == true then | |
3775 | if plr.Team.Name ~= lplr.Team.Name then | |
3776 | local an = checkfov(plr.Character.Head) | |
3777 | if an < maxangle then | |
3778 | maxangle = an | |
3779 | aimatpart = plr.Character.Head | |
3780 | end | |
3781 | end | |
3782 | else | |
3783 | local an = checkfov(plr.Character.Head) | |
3784 | if an < maxangle then | |
3785 | maxangle = an | |
3786 | aimatpart = plr.Character.Head | |
3787 | end | |
3788 | print(plr) | |
3789 | end | |
3790 | plr.Character.Humanoid.Died:Connect(function() | |
3791 | if aimatpart.Parent == plr.Character or aimatpart == nil then | |
3792 | aimatpart = nil | |
3793 | end | |
3794 | end) | |
3795 | end | |
3796 | end | |
3797 | else | |
3798 | aimatpart = nil | |
3799 | end | |
3800 | end | |
3801 | end) | |
3802 | ||
3803 | function getfovxyz (p0, p1, deg) | |
3804 | local x1, y1, z1 = p0:ToOrientation() | |
3805 | local cf = CFrame.new(p0.p, p1.p) | |
3806 | local x2, y2, z2 = cf:ToOrientation() | |
3807 | --local d = math.deg | |
3808 | if deg then | |
3809 | --return Vector3.new(d(x1-x2), d(y1-y2), d(z1-z2)) | |
3810 | else | |
3811 | return Vector3.new((x1-x2), (y1-y2), (z1-z2)) | |
3812 | end | |
3813 | end | |
3814 | ||
3815 | function getaimbotplrs() | |
3816 | plrsforaim = {} | |
3817 | for i, plr in pairs(plrs:GetChildren()) do | |
3818 | if plr.Character and plr.Character.Humanoid and plr.Character.Humanoid.Health > 0 and plr.Name ~= lplr.Name and plr.Character.Head then | |
3819 | ||
3820 | if TeamBased == true then | |
3821 | if plr.Team.Name ~= lplr.Team.Name then | |
3822 | local cf = CFrame.new(game.Workspace.CurrentCamera.CFrame.p, plr.Character.Head.CFrame.p) | |
3823 | local r = Ray.new(cf, cf.LookVector * 10000) | |
3824 | local ign = {} | |
3825 | for i, v in pairs(plrs.LocalPlayer.Character:GetChildren()) do | |
3826 | if v:IsA("BasePart") then | |
3827 | table.insert(ign , v) | |
3828 | end | |
3829 | end | |
3830 | local obj = game.Workspace:FindPartOnRayWithIgnoreList(r, ign) | |
3831 | if obj.Parent == plr.Character and obj.Parent ~= lplr.Character then | |
3832 | table.insert(plrsforaim, obj) | |
3833 | end | |
3834 | end | |
3835 | else | |
3836 | local cf = CFrame.new(game.Workspace.CurrentCamera.CFrame.p, plr.Character.Head.CFrame.p) | |
3837 | local r = Ray.new(cf, cf.LookVector * 10000) | |
3838 | local ign = {} | |
3839 | for i, v in pairs(plrs.LocalPlayer.Character:GetChildren()) do | |
3840 | if v:IsA("BasePart") then | |
3841 | table.insert(ign , v) | |
3842 | end | |
3843 | end | |
3844 | local obj = game.Workspace:FindPartOnRayWithIgnoreList(r, ign) | |
3845 | if obj.Parent == plr.Character and obj.Parent ~= lplr.Character then | |
3846 | table.insert(plrsforaim, obj) | |
3847 | end | |
3848 | end | |
3849 | ||
3850 | ||
3851 | end | |
3852 | end | |
3853 | end | |
3854 | ||
3855 | function aimat(part) | |
3856 | cam.CFrame = CFrame.new(cam.CFrame.p, part.CFrame.p) | |
3857 | end | |
3858 | function checkfov (part) | |
3859 | local fov = getfovxyz(game.Workspace.CurrentCamera.CFrame, part.CFrame) | |
3860 | local angle = math.abs(fov.X) + math.abs(fov.Y) | |
3861 | return angle | |
3862 | end | |
3863 | ||
3864 | game:GetService("RunService").RenderStepped:Connect(function() | |
3865 | if aimatpart then | |
3866 | aimat(aimatpart) | |
3867 | if aimatpart.Parent == plrs.LocalPlayer.Character then | |
3868 | aimatpart = nil | |
3869 | end | |
3870 | end | |
3871 | ||
3872 | ||
3873 | -- if switch == true then | |
3874 | -- local maxangle = 99999 | |
3875 | -- | |
3876 | -- --print("Loop") | |
3877 | -- if true and raycast == false then | |
3878 | -- for i, plr in pairs(plrs:GetChildren()) do | |
3879 | -- if plr.Name ~= lplr.Name and plr.Character and plr.Character.Head and plr.Character.Humanoid and plr.Character.Humanoid.Health > 1 then | |
3880 | -- if TeamBased then | |
3881 | -- if plr.Team.Name ~= lplr.Team.Name or plr.Team.TeamColor ~= lplr.Team.TeamColor then | |
3882 | -- local an = checkfov(plr.Character.Head) | |
3883 | -- if an < maxangle then | |
3884 | -- maxangle = an | |
3885 | -- aimatpart = plr.Character.Head | |
3886 | -- if an < lockangle then | |
3887 | -- break | |
3888 | -- end | |
3889 | -- end | |
3890 | -- end | |
3891 | -- else | |
3892 | -- local an = checkfov(plr.Character.Head) | |
3893 | -- if an < maxangle then | |
3894 | -- maxangle = an | |
3895 | -- aimatpart = plr.Character.Head | |
3896 | -- if an < lockangle then | |
3897 | -- break | |
3898 | -- end | |
3899 | -- end | |
3900 | -- end | |
3901 | -- | |
3902 | -- | |
3903 | -- | |
3904 | -- | |
3905 | -- end | |
3906 | -- end | |
3907 | -- elseif raycast == true then | |
3908 | -- | |
3909 | -- end | |
3910 | ||
3911 | if raycast == true and switch == false and not aimatpart then | |
3912 | getaimbotplrs() | |
3913 | aimatpart = nil | |
3914 | local maxangle = 999 | |
3915 | for i, v in ipairs(plrsforaim) do | |
3916 | if v.Parent ~= lplr.Character then | |
3917 | local an = checkfov(v) | |
3918 | if an < maxangle and v ~= lplr.Character.Head then | |
3919 | maxangle = an | |
3920 | aimatpart = v | |
3921 | print(v:GetFullName()) | |
3922 | v.Parent.Humanoid.Died:connect(function() | |
3923 | aimatpart = nil | |
3924 | end) | |
3925 | end | |
3926 | end | |
3927 | end | |
3928 | ||
3929 | end | |
3930 | end) | |
3931 | delay(0, function() | |
3932 | while wait(espupdatetime) do | |
3933 | if autoesp == true then | |
3934 | pcall(function() | |
3935 | f.addesp() | |
3936 | end) | |
3937 | end | |
3938 | end | |
3939 | end) | |
3940 | warn("loaded") | |
3941 | end) | |
3942 | ||
3943 | fastrem.Name = "fastrem" | |
3944 | fastrem.Parent = main | |
3945 | fastrem.BackgroundColor3 = Color3.new(1, 0.333333, 0) | |
3946 | fastrem.Position = UDim2.new(0.00783289783, 0, 0.518048227, 0) | |
3947 | fastrem.Size = UDim2.new(0, 84, 0, 32) | |
3948 | fastrem.Font = Enum.Font.Bodoni | |
3949 | fastrem.Text = "Fast Remington" | |
3950 | fastrem.TextColor3 = Color3.new(0, 0, 0) | |
3951 | fastrem.TextSize = 14 | |
3952 | fastrem.MouseButton1Down:connect(function() | |
3953 | local player = game:GetService("Players").LocalPlayer | |
3954 | local gun = player.Backpack:FindFirstChild("Remington 870") | |
3955 | local sM = require(gun:FindFirstChild("GunStates")) | |
3956 | sM["Damage"] = 999 | |
3957 | sM["MaxAmmo"] = 9999991 | |
3958 | sM["StoredAmmo"] = 9999991 | |
3959 | sM["FireRate"] = 0.05 | |
3960 | sM["AmmoPerClip"] = 9999991 | |
3961 | sM["Range"] = 5000 | |
3962 | sM["ReloadTime"] = 0.05 | |
3963 | sM["Bullets"] = 10 | |
3964 | sM["AutoFire"] = true | |
3965 | function CreateRay(Point_A, Point_B) | |
3966 | local Ray = Ray.new(Point_A, (Point_B - Point_A).Unit * (2 ^ 31 - 1)) | |
3967 | local Part, Pos = workspace:FindPartOnRay(Ray, game.Players.LocalPlayer.Character) | |
3968 | local Dist = (Point_A - Pos).Magnitude | |
3969 | local CFrame = CFrame.new(Point_A, Pos) * CFrame.new(0, 0, -Dist / 2) | |
3970 | ||
3971 | return CFrame, Dist, Ray | |
3972 | end | |
3973 | ||
3974 | function FireLaser(target) | |
3975 | coroutine.resume(coroutine.create(function() | |
3976 | local C, D, R = CreateRay(Gun.Muzzle.CFrame.p, target.CFrame.p) | |
3977 | local Bullet = Instance.new("Part", Gun) | |
3978 | Bullet.BrickColor = BrickColor.Yellow() | |
3979 | Bullet.Material = "Neon" | |
3980 | Bullet.Anchored = true | |
3981 | Bullet.CanCollide = false | |
3982 | Bullet.Size = Vector3.new(0.2, 0.2, D) | |
3983 | Bullet.CFrame = C | |
3984 | ||
3985 | local bulletTable = {} | |
3986 | table.insert(bulletTable, { | |
3987 | Hit = target, | |
3988 | Distance = D, | |
3989 | Cframe = C, | |
3990 | RayObject = R | |
3991 | }) | |
3992 | ||
3993 | game.ReplicatedStorage.ShootEvent:FireServer(bulletTable, Gun) | |
3994 | local C = Sound:Clone() | |
3995 | C.Parent = Gun | |
3996 | C:Play() | |
3997 | wait(0.05) | |
3998 | Bullet:Remove() | |
3999 | end)) | |
4000 | end | |
4001 | ||
4002 | Mouse.Button1Down:Connect(function() | |
4003 | Down = true | |
4004 | end) | |
4005 | ||
4006 | ||
4007 | Mouse.Button1Up:Connect(function() | |
4008 | Down = false | |
4009 | end) | |
4010 | ||
4011 | while Run.Stepped:wait() do | |
4012 | if Down == true then | |
4013 | game.ReplicatedStorage.SoundEvent:FireServer(Sound, Gun) | |
4014 | FireLaser(Mouse.Target) | |
4015 | end | |
4016 | end | |
4017 | end) | |
4018 | ||
4019 | fastm9.Name = "fastm9" | |
4020 | fastm9.Parent = main | |
4021 | fastm9.BackgroundColor3 = Color3.new(1, 0.333333, 0) | |
4022 | fastm9.Position = UDim2.new(0.267702788, 0, 0.518048167, 0) | |
4023 | fastm9.Size = UDim2.new(0, 84, 0, 32) | |
4024 | fastm9.Font = Enum.Font.Bodoni | |
4025 | fastm9.Text = "Fast M9" | |
4026 | fastm9.TextColor3 = Color3.new(0, 0, 0) | |
4027 | fastm9.TextSize = 14 | |
4028 | fastm9.MouseButton1Down:connect(function() | |
4029 | local player = game:GetService("Players").LocalPlayer | |
4030 | local gun = player.Backpack:FindFirstChild("M9") | |
4031 | local sM = require(gun:FindFirstChild("GunStates")) | |
4032 | sM["Damage"] = 999 | |
4033 | sM["MaxAmmo"] = 9999991 | |
4034 | sM["StoredAmmo"] = 9999991 | |
4035 | sM["FireRate"] = 0.05 | |
4036 | sM["AmmoPerClip"] = 9999991 | |
4037 | sM["Range"] = 5000 | |
4038 | sM["ReloadTime"] = 0.05 | |
4039 | sM["Bullets"] = 10 | |
4040 | sM["AutoFire"] = true | |
4041 | function CreateRay(Point_A, Point_B) | |
4042 | local Ray = Ray.new(Point_A, (Point_B - Point_A).Unit * (2 ^ 31 - 1)) | |
4043 | local Part, Pos = workspace:FindPartOnRay(Ray, game.Players.LocalPlayer.Character) | |
4044 | local Dist = (Point_A - Pos).Magnitude | |
4045 | local CFrame = CFrame.new(Point_A, Pos) * CFrame.new(0, 0, -Dist / 2) | |
4046 | ||
4047 | return CFrame, Dist, Ray | |
4048 | end | |
4049 | ||
4050 | function FireLaser(target) | |
4051 | coroutine.resume(coroutine.create(function() | |
4052 | local C, D, R = CreateRay(Gun.Muzzle.CFrame.p, target.CFrame.p) | |
4053 | local Bullet = Instance.new("Part", Gun) | |
4054 | Bullet.BrickColor = BrickColor.Yellow() | |
4055 | Bullet.Material = "Neon" | |
4056 | Bullet.Anchored = true | |
4057 | Bullet.CanCollide = false | |
4058 | Bullet.Size = Vector3.new(0.2, 0.2, D) | |
4059 | Bullet.CFrame = C | |
4060 | ||
4061 | local bulletTable = {} | |
4062 | table.insert(bulletTable, { | |
4063 | Hit = target, | |
4064 | Distance = D, | |
4065 | Cframe = C, | |
4066 | RayObject = R | |
4067 | }) | |
4068 | ||
4069 | game.ReplicatedStorage.ShootEvent:FireServer(bulletTable, Gun) | |
4070 | local C = Sound:Clone() | |
4071 | C.Parent = Gun | |
4072 | C:Play() | |
4073 | wait(0.05) | |
4074 | Bullet:Remove() | |
4075 | end)) | |
4076 | end | |
4077 | ||
4078 | Mouse.Button1Down:Connect(function() | |
4079 | Down = true | |
4080 | end) | |
4081 | ||
4082 | ||
4083 | Mouse.Button1Up:Connect(function() | |
4084 | Down = false | |
4085 | end) | |
4086 | ||
4087 | while Run.Stepped:wait() do | |
4088 | if Down == true then | |
4089 | game.ReplicatedStorage.SoundEvent:FireServer(Sound, Gun) | |
4090 | FireLaser(Mouse.Target) | |
4091 | end | |
4092 | end | |
4093 | end) | |
4094 | ||
4095 | fasttaze.Name = "fasttaze" | |
4096 | fasttaze.Parent = main | |
4097 | fasttaze.BackgroundColor3 = Color3.new(1, 0.333333, 0) | |
4098 | fasttaze.Position = UDim2.new(0.522364557, 0, 0.518048108, 0) | |
4099 | fasttaze.Size = UDim2.new(0, 84, 0, 32) | |
4100 | fasttaze.Font = Enum.Font.Bodoni | |
4101 | fasttaze.Text = "Fast Taser" | |
4102 | fasttaze.TextColor3 = Color3.new(0, 0, 0) | |
4103 | fasttaze.TextSize = 14 | |
4104 | fasttaze.MouseButton1Down:connect(function() | |
4105 | local player = game:GetService("Players").LocalPlayer | |
4106 | local gun = player.Backpack:FindFirstChild("Taser") | |
4107 | local sM = require(gun:FindFirstChild("GunStates")) | |
4108 | sM["Damage"] = 999 | |
4109 | sM["MaxAmmo"] = 9999991 | |
4110 | sM["StoredAmmo"] = 9999991 | |
4111 | sM["FireRate"] = 0.05 | |
4112 | sM["AmmoPerClip"] = 9999991 | |
4113 | sM["Range"] = 5000 | |
4114 | sM["ReloadTime"] = 0.05 | |
4115 | sM["Bullets"] = 10 | |
4116 | sM["AutoFire"] = true | |
4117 | function CreateRay(Point_A, Point_B) | |
4118 | local Ray = Ray.new(Point_A, (Point_B - Point_A).Unit * (2 ^ 31 - 1)) | |
4119 | local Part, Pos = workspace:FindPartOnRay(Ray, game.Players.LocalPlayer.Character) | |
4120 | local Dist = (Point_A - Pos).Magnitude | |
4121 | local CFrame = CFrame.new(Point_A, Pos) * CFrame.new(0, 0, -Dist / 2) | |
4122 | ||
4123 | return CFrame, Dist, Ray | |
4124 | end | |
4125 | ||
4126 | function FireLaser(target) | |
4127 | coroutine.resume(coroutine.create(function() | |
4128 | local C, D, R = CreateRay(Gun.Muzzle.CFrame.p, target.CFrame.p) | |
4129 | local Bullet = Instance.new("Part", Gun) | |
4130 | Bullet.BrickColor = BrickColor.Yellow() | |
4131 | Bullet.Material = "Neon" | |
4132 | Bullet.Anchored = true | |
4133 | Bullet.CanCollide = false | |
4134 | Bullet.Size = Vector3.new(0.2, 0.2, D) | |
4135 | Bullet.CFrame = C | |
4136 | ||
4137 | local bulletTable = {} | |
4138 | table.insert(bulletTable, { | |
4139 | Hit = target, | |
4140 | Distance = D, | |
4141 | Cframe = C, | |
4142 | RayObject = R | |
4143 | }) | |
4144 | ||
4145 | game.ReplicatedStorage.ShootEvent:FireServer(bulletTable, Gun) | |
4146 | local C = Sound:Clone() | |
4147 | C.Parent = Gun | |
4148 | C:Play() | |
4149 | wait(0.05) | |
4150 | Bullet:Remove() | |
4151 | end)) | |
4152 | end | |
4153 | ||
4154 | Mouse.Button1Down:Connect(function() | |
4155 | Down = true | |
4156 | end) | |
4157 | ||
4158 | ||
4159 | Mouse.Button1Up:Connect(function() | |
4160 | - | local Player = game.Players.LocalPlayer.Name |
4160 | + | |
4161 | - | local Gun = "AK47" -- < -- Gun Name |
4161 | + | |
4162 | - | local Run = game:GetService("RunService") |
4162 | + | |
4163 | while Run.Stepped:wait() do | |
4164 | - | Gun = game.Players[Player].Character[Gun] |
4164 | + | |
4165 | - | local Mouse = game.Players.LocalPlayer:GetMouse() |
4165 | + | |
4166 | - | local Down = false |
4166 | + | |
4167 | - | local Sound = Gun.Handle.FireSound |
4167 | + | |
4168 | end | |
4169 | end) | |
4170 | ||
4171 | fastak.Name = "fastak" | |
4172 | fastak.Parent = main | |
4173 | fastak.BackgroundColor3 = Color3.new(1, 0.333333, 0) | |
4174 | fastak.Position = UDim2.new(0.77959609, 0, 0.518048167, 0) | |
4175 | fastak.Size = UDim2.new(0, 79, 0, 32) | |
4176 | fastak.Font = Enum.Font.Bodoni | |
4177 | fastak.Text = "Fast AK47" | |
4178 | fastak.TextColor3 = Color3.new(0, 0, 0) | |
4179 | fastak.TextSize = 14 | |
4180 | fastak.MouseButton1Down:connect(function() | |
4181 | local player = game:GetService("Players").LocalPlayer | |
4182 | local gun = player.Backpack:FindFirstChild("AK-47") | |
4183 | local sM = require(gun:FindFirstChild("GunStates")) | |
4184 | sM["Damage"] = 999 | |
4185 | sM["MaxAmmo"] = 9999991 | |
4186 | sM["StoredAmmo"] = 9999991 | |
4187 | sM["FireRate"] = 0.05 | |
4188 | sM["AmmoPerClip"] = 9999991 | |
4189 | sM["Range"] = 5000 | |
4190 | sM["ReloadTime"] = 0.05 | |
4191 | sM["Bullets"] = 10 | |
4192 | sM["AutoFire"] = true | |
4193 | function CreateRay(Point_A, Point_B) | |
4194 | local Ray = Ray.new(Point_A, (Point_B - Point_A).Unit * (2 ^ 31 - 1)) | |
4195 | local Part, Pos = workspace:FindPartOnRay(Ray, game.Players.LocalPlayer.Character) | |
4196 | local Dist = (Point_A - Pos).Magnitude | |
4197 | local CFrame = CFrame.new(Point_A, Pos) * CFrame.new(0, 0, -Dist / 2) | |
4198 | ||
4199 | return CFrame, Dist, Ray | |
4200 | end | |
4201 | ||
4202 | function FireLaser(target) | |
4203 | coroutine.resume(coroutine.create(function() | |
4204 | local C, D, R = CreateRay(Gun.Muzzle.CFrame.p, target.CFrame.p) | |
4205 | local Bullet = Instance.new("Part", Gun) | |
4206 | Bullet.BrickColor = BrickColor.Yellow() | |
4207 | Bullet.Material = "Neon" | |
4208 | Bullet.Anchored = true | |
4209 | Bullet.CanCollide = false | |
4210 | Bullet.Size = Vector3.new(0.2, 0.2, D) | |
4211 | Bullet.CFrame = C | |
4212 | ||
4213 | local bulletTable = {} | |
4214 | table.insert(bulletTable, { | |
4215 | Hit = target, | |
4216 | Distance = D, | |
4217 | Cframe = C, | |
4218 | RayObject = R | |
4219 | }) | |
4220 | ||
4221 | game.ReplicatedStorage.ShootEvent:FireServer(bulletTable, Gun) | |
4222 | local C = Sound:Clone() | |
4223 | C.Parent = Gun | |
4224 | C:Play() | |
4225 | wait(0.05) | |
4226 | Bullet:Remove() | |
4227 | end)) | |
4228 | end | |
4229 | ||
4230 | Mouse.Button1Down:Connect(function() | |
4231 | Down = true | |
4232 | end) | |
4233 | ||
4234 | ||
4235 | Mouse.Button1Up:Connect(function() | |
4236 | Down = false | |
4237 | end) | |
4238 | ||
4239 | while Run.Stepped:wait() do | |
4240 | if Down == true then | |
4241 | game.ReplicatedStorage.SoundEvent:FireServer(Sound, Gun) | |
4242 | FireLaser(Mouse.Target) | |
4243 | end | |
4244 | end | |
4245 | end) | |
4246 | ||
4247 | killall.Name = "killall" | |
4248 | killall.Parent = main | |
4249 | killall.BackgroundColor3 = Color3.new(1, 0, 0) | |
4250 | killall.Position = UDim2.new(0.0102345012, 0, 0.760852396, 0) | |
4251 | killall.Size = UDim2.new(0, 110, 0, 34) | |
4252 | killall.Font = Enum.Font.GothamBold | |
4253 | killall.Text = "Kill All" | |
4254 | killall.TextColor3 = Color3.new(0, 0, 0) | |
4255 | killall.TextSize = 14 | |
4256 | killall.MouseButton1Down:connect(function() | |
4257 | workspace.Remote.TeamEvent:FireServer("Medium stone grey") | |
4258 | ||
4259 | game.Workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP) | |
4260 | ||
4261 | wait(0.5) | |
4262 | function kill(a) | |
4263 | local A_1 = | |
4264 | { | |
4265 | [1] = | |
4266 | { | |
4267 | ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-391.152252, 8.65560055, -83.2166901)), | |
4268 | ["Distance"] = 3.2524313926697, | |
4269 | ["Cframe"] = CFrame.new(840.310791, 101.334137, 2267.87988, 0.0636406094, 0.151434347, -0.986416459, 0, 0.988420188, 0.151741937, 0.997972965, -0.00965694897, 0.0629036576), | |
4270 | ["Hit"] = a.Character.Head | |
4271 | }, | |
4272 | [2] = | |
4273 | { | |
4274 | ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-392.481476, -8.44939327, -76.7261353)), | |
4275 | ["Distance"] = 3.2699294090271, | |
4276 | ["Cframe"] = CFrame.new(840.290466, 101.184189, 2267.93506, 0.0964837447, 0.0589403138, -0.993587971, 4.65661287e-10, 0.998245299, 0.0592165813, 0.995334625, -0.00571343815, 0.0963144377), | |
4277 | ["Hit"] = a.Character.Head | |
4278 | }, | |
4279 | [3] = | |
4280 | { | |
4281 | ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-389.21701, -2.50536323, -92.2163162)), | |
4282 | ["Distance"] = 3.1665518283844, | |
4283 | ["Cframe"] = CFrame.new(840.338867, 101.236496, 2267.80371, 0.0166504811, 0.0941716284, -0.995416701, 1.16415322e-10, 0.995554805, 0.0941846818, 0.999861419, -0.00156822044, 0.0165764652), | |
4284 | ["Hit"] = a.Character.Head | |
4285 | }, | |
4286 | [4] = | |
4287 | { | |
4288 | ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-393.353973, 3.13988972, -72.5452042)), | |
4289 | ["Distance"] = 3.3218522071838, | |
4290 | ["Cframe"] = CFrame.new(840.277222, 101.285957, 2267.9707, 0.117109694, 0.118740402, -0.985994935, -1.86264515e-09, 0.992826641, 0.119563118, 0.993119001, -0.0140019981, 0.116269611), | |
4291 | ["Hit"] = a.Character.Head | |
4292 | }, | |
4293 | [5] = | |
4294 | { | |
4295 | ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-390.73172, 3.2097764, -85.5477524)), | |
4296 | ["Distance"] = 3.222757101059, | |
4297 | ["Cframe"] = CFrame.new(840.317993, 101.286423, 2267.86035, 0.0517584644, 0.123365127, -0.991010666, 0, 0.992340803, 0.123530701, 0.99865967, -0.00639375951, 0.0513620302), | |
4298 | ["Hit"] = a.Character.Head | |
4299 | } | |
4300 | } | |
4301 | local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"] | |
4302 | local Event = game:GetService("ReplicatedStorage").ShootEvent | |
4303 | Event:FireServer(A_1, A_2) | |
4304 | Event:FireServer(A_1, A_2) | |
4305 | end | |
4306 | ||
4307 | for i,v in pairs(game.Players:GetChildren())do | |
4308 | if v.Name ~= game.Players.LocalPlayer.Name then | |
4309 | kill(v) | |
4310 | end | |
4311 | end | |
4312 | wait(1) | |
4313 | workspace.Remote.TeamEvent:FireServer("Bright orange") | |
4314 | end) | |
4315 | ||
4316 | btools.Name = "btools" | |
4317 | btools.Parent = main | |
4318 | btools.BackgroundColor3 = Color3.new(0, 1, 1) | |
4319 | btools.Position = UDim2.new(0.678933322, 0, 0.2304198, 0) | |
4320 | btools.Size = UDim2.new(0, 111, 0, 32) | |
4321 | btools.Font = Enum.Font.GothamBold | |
4322 | btools.Text = "Btools" | |
4323 | btools.TextColor3 = Color3.new(1, 0, 0) | |
4324 | btools.TextSize = 14 | |
4325 | btools.MouseButton1Down:connect(function() | |
4326 | local tool1 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack) | |
4327 | tool1.BinType = "Hammer" | |
4328 | end) | |
4329 | ||
4330 | speed.Name = "speed" | |
4331 | speed.Parent = main | |
4332 | speed.BackgroundColor3 = Color3.new(0.333333, 1, 1) | |
4333 | speed.Position = UDim2.new(0.350194454, 0, 0.379678607, 0) | |
4334 | speed.Size = UDim2.new(0, 110, 0, 32) | |
4335 | speed.Font = Enum.Font.GothamBold | |
4336 | speed.Text = "Speed" | |
4337 | speed.TextColor3 = Color3.new(1, 0, 0) | |
4338 | speed.TextSize = 14 | |
4339 | speed.MouseButton1Down:connect(function() | |
4340 | Speed = "100" -- Change to how fast you want to go | |
4341 | ||
4342 | player = game.Players.LocalPlayer.Character | |
4343 | power = "WalkSpeed" | |
4344 | player.Humanoid[power] = Speed | |
4345 | wait() | |
4346 | player.HumanoidRootPart.CustomPhysicalProperties = PhysicalProperties.new(9e99, 9e99, 9e99, 9e99, 9e99) | |
4347 | wait() | |
4348 | repeat | |
4349 | game.Workspace.Gravity = 1000 | |
4350 | wait() | |
4351 | game.Players.LocalPlayer.Character.Humanoid.JumpPower = 287.5 | |
4352 | wait() | |
4353 | until game.Players.LocalPlayer.Character.Humanoid.Health == 0 | |
4354 | end) | |
4355 | ||
4356 | respawn.Name = "respawn" | |
4357 | respawn.Parent = main | |
4358 | respawn.BackgroundColor3 = Color3.new(0.333333, 1, 1) | |
4359 | respawn.Position = UDim2.new(0.68041873, 0, 0.379084349, 0) | |
4360 | respawn.Size = UDim2.new(0, 111, 0, 32) | |
4361 | respawn.Font = Enum.Font.GothamBold | |
4362 | respawn.Text = "Fast Respawn" | |
4363 | respawn.TextColor3 = Color3.new(1, 0, 0) | |
4364 | respawn.TextSize = 14 | |
4365 | respawn.MouseButton1Down:connect(function() | |
4366 | local A_1 = "\66\114\111\121\111\117\98\97\100\100" | |
4367 | local Event = game:GetService("Workspace").Remote.loadchar | |
4368 | Event:InvokeServer(A_1) | |
4369 | end) | |
4370 | ||
4371 | Credits.Name = "Credits" | |
4372 | Credits.Parent = main | |
4373 | Credits.BackgroundColor3 = Color3.new(0, 0, 0) | |
4374 | Credits.Position = UDim2.new(0.0242873691, 0, 0.934491813, 0) | |
4375 | Credits.Size = UDim2.new(0, 352, 0, 31) | |
4376 | Credits.Font = Enum.Font.GothamBold | |
4377 | Credits.Text = "Made by JAKE11PRICE on YouTube" | |
4378 | Credits.TextColor3 = Color3.new(1, 1, 0) | |
4379 | Credits.TextSize = 14 | |
4380 | ||
4381 | prison.Name = "prison" | |
4382 | prison.Parent = main | |
4383 | prison.BackgroundColor3 = Color3.new(0, 1, 1) | |
4384 | prison.Position = UDim2.new(0.681462109, 0, 0.450664163, 0) | |
4385 | prison.Size = UDim2.new(0, 110, 0, 32) | |
4386 | prison.Font = Enum.Font.GothamBlack | |
4387 | prison.Text = "Prison" | |
4388 | prison.TextColor3 = Color3.new(1, 0, 0) | |
4389 | prison.TextSize = 14 | |
4390 | prison.MouseButton1Down:connect(function() | |
4391 | game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(918.77,100,2379.07) | |
4392 | end) | |
4393 | ||
4394 | yard.Name = "yard" | |
4395 | yard.Parent = main | |
4396 | yard.BackgroundColor3 = Color3.new(0.333333, 1, 1) | |
4397 | yard.Position = UDim2.new(0.0127276238, 0, 0.45231539, 0) | |
4398 | yard.Size = UDim2.new(0, 110, 0, 32) | |
4399 | yard.Font = Enum.Font.GothamBlack | |
4400 | yard.Text = "Yard" | |
4401 | yard.TextColor3 = Color3.new(1, 0, 0) | |
4402 | yard.TextSize = 14 | |
4403 | yard.MouseButton1Down:connect(function() | |
4404 | game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(779.87,98,2458.93) | |
4405 | end) | |
4406 | ||
4407 | crimbase.Name = "crimbase" | |
4408 | crimbase.Parent = main | |
4409 | crimbase.BackgroundColor3 = Color3.new(0.333333, 1, 1) | |
4410 | crimbase.Position = UDim2.new(0.348744512, 0, 0.451209784, 0) | |
4411 | crimbase.Size = UDim2.new(0, 110, 0, 32) | |
4412 | crimbase.Font = Enum.Font.GothamBlack | |
4413 | crimbase.Text = "Crim Base" | |
4414 | crimbase.TextColor3 = Color3.new(1, 0, 0) | |
4415 | crimbase.TextSize = 14 | |
4416 | crimbase.MouseButton1Down:connect(function() | |
4417 | game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-943.46,94.13,2063.63) | |
4418 | end) | |
4419 | ||
4420 | title_2.Name = "title" | |
4421 | title_2.Parent = main | |
4422 | title_2.BackgroundColor3 = Color3.new(0.333333, 1, 0) | |
4423 | title_2.Position = UDim2.new(0.000689314213, 0, 0.592849016, 0) | |
4424 | title_2.Size = UDim2.new(0, 364, 0, 26) | |
4425 | title_2.Font = Enum.Font.GothamBold | |
4426 | title_2.Text = "FUN FE COMMANDS!" | |
4427 | title_2.TextColor3 = Color3.new(0, 0, 0) | |
4428 | title_2.TextSize = 14 | |
4429 | ||
4430 | bringall.Name = "bringall" | |
4431 | bringall.Parent = main | |
4432 | bringall.BackgroundColor3 = Color3.new(1, 1, 0) | |
4433 | bringall.Position = UDim2.new(0.0220828541, 0, 0.704794765, 0) | |
4434 | bringall.Size = UDim2.new(0, 111, 0, 25) | |
4435 | bringall.Font = Enum.Font.GothamBold | |
4436 | bringall.Text = "Bring All" | |
4437 | bringall.TextColor3 = Color3.new(0, 0, 0) | |
4438 | bringall.TextSize = 14 | |
4439 | bringall.MouseButton1Down:connect(function() | |
4440 | workspace.Remote.TeamEvent:FireServer("Bright blue") | |
4441 | ||
4442 | local LocalPlayer = game:GetService("Players").LocalPlayer | |
4443 | local runservice = game:GetService("RunService") | |
4444 | local characters = {} | |
4445 | LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools() | |
4446 | local currentamount = #LocalPlayer.Backpack:GetChildren() | |
4447 | LocalPlayer.Character.Archivable = true | |
4448 | local tempchar = LocalPlayer.Character:Clone() | |
4449 | tempchar.Parent = workspace | |
4450 | local savepos = LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame | |
4451 | local renderstepped = runservice.RenderStepped:Connect(function() | |
4452 | workspace.CurrentCamera.CameraSubject = tempchar:FindFirstChild("Humanoid") | |
4453 | for _, tool in pairs(LocalPlayer.Backpack:GetChildren()) do | |
4454 | if tool:IsA("Tool") then | |
4455 | tool.Parent = LocalPlayer | |
4456 | end | |
4457 | end | |
4458 | LocalPlayer.Character:ClearAllChildren() | |
4459 | local char = Instance.new("Model", workspace) | |
4460 | table.insert(characters, char) | |
4461 | Instance.new("Humanoid", char) | |
4462 | LocalPlayer.Character = char | |
4463 | repeat runservice.RenderStepped:Wait() until LocalPlayer.Character ~= nil | |
4464 | end) | |
4465 | repeat runservice.RenderStepped:Wait() until #LocalPlayer:GetChildren() - 2 - currentamount >= #game.Players:GetPlayers() * 6 | |
4466 | renderstepped:Disconnect() | |
4467 | repeat runservice.RenderStepped:Wait() until LocalPlayer.Character:FindFirstChild("HumanoidRootPart") ~= nil | |
4468 | for _, char in pairs(characters) do | |
4469 | char:Destroy() | |
4470 | end | |
4471 | for _, tool in pairs(LocalPlayer:GetChildren()) do | |
4472 | if tool:IsA("Tool") then | |
4473 | tool.Parent = LocalPlayer.Backpack | |
4474 | end | |
4475 | end | |
4476 | LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = savepos | |
4477 | tempchar:Destroy() | |
4478 | ||
4479 | wait() | |
4480 | ||
4481 | for i, v in pairs(game.Players:GetPlayers()) do | |
4482 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4483 | ||
4484 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4485 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4486 | ||
4487 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4488 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4489 | wait() | |
4490 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4491 | ||
4492 | end | |
4493 | wait(.1) | |
4494 | ||
4495 | end | |
4496 | for i, v in pairs(game.Players:GetPlayers()) do | |
4497 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4498 | ||
4499 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4500 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4501 | ||
4502 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4503 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4504 | wait() | |
4505 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4506 | ||
4507 | end | |
4508 | wait(0.01) | |
4509 | ||
4510 | end | |
4511 | for i, v in pairs(game.Players:GetPlayers()) do | |
4512 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4513 | ||
4514 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4515 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4516 | ||
4517 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4518 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4519 | wait() | |
4520 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4521 | ||
4522 | end | |
4523 | wait(0.01) | |
4524 | ||
4525 | end | |
4526 | for i, v in pairs(game.Players:GetPlayers()) do | |
4527 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4528 | ||
4529 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4530 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4531 | ||
4532 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4533 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4534 | wait() | |
4535 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4536 | ||
4537 | end | |
4538 | wait(0.01) | |
4539 | ||
4540 | end | |
4541 | for i, v in pairs(game.Players:GetPlayers()) do | |
4542 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4543 | ||
4544 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4545 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4546 | ||
4547 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4548 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4549 | wait() | |
4550 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4551 | ||
4552 | end | |
4553 | wait(0.01) | |
4554 | ||
4555 | end | |
4556 | for i, v in pairs(game.Players:GetPlayers()) do | |
4557 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4558 | ||
4559 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4560 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4561 | ||
4562 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4563 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4564 | wait() | |
4565 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4566 | ||
4567 | end | |
4568 | wait(0.01) | |
4569 | ||
4570 | end | |
4571 | for i, v in pairs(game.Players:GetPlayers()) do | |
4572 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4573 | ||
4574 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4575 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4576 | ||
4577 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4578 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4579 | wait() | |
4580 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4581 | ||
4582 | end | |
4583 | wait(0.01) | |
4584 | ||
4585 | end | |
4586 | for i, v in pairs(game.Players:GetPlayers()) do | |
4587 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4588 | ||
4589 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4590 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4591 | ||
4592 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4593 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4594 | wait() | |
4595 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4596 | ||
4597 | end | |
4598 | wait(0.01) | |
4599 | ||
4600 | end | |
4601 | for i, v in pairs(game.Players:GetPlayers()) do | |
4602 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4603 | ||
4604 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4605 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4606 | ||
4607 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4608 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4609 | wait() | |
4610 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4611 | ||
4612 | end | |
4613 | wait(0.01) | |
4614 | ||
4615 | end | |
4616 | for i, v in pairs(game.Players:GetPlayers()) do | |
4617 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4618 | ||
4619 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4620 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4621 | ||
4622 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4623 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4624 | wait() | |
4625 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4626 | ||
4627 | end | |
4628 | wait(0.01) | |
4629 | ||
4630 | end | |
4631 | for i, v in pairs(game.Players:GetPlayers()) do | |
4632 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4633 | ||
4634 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4635 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4636 | ||
4637 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4638 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4639 | wait() | |
4640 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4641 | ||
4642 | end | |
4643 | wait(0.01) | |
4644 | ||
4645 | end | |
4646 | for i, v in pairs(game.Players:GetPlayers()) do | |
4647 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4648 | ||
4649 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4650 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4651 | ||
4652 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4653 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4654 | wait() | |
4655 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4656 | ||
4657 | end | |
4658 | wait(0.01) | |
4659 | ||
4660 | end | |
4661 | for i, v in pairs(game.Players:GetPlayers()) do | |
4662 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4663 | ||
4664 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4665 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4666 | ||
4667 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4668 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4669 | wait() | |
4670 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4671 | ||
4672 | end | |
4673 | wait(0.01) | |
4674 | ||
4675 | end | |
4676 | for i, v in pairs(game.Players:GetPlayers()) do | |
4677 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4678 | ||
4679 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4680 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4681 | ||
4682 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4683 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4684 | wait() | |
4685 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4686 | ||
4687 | end | |
4688 | wait(0.01) | |
4689 | ||
4690 | end | |
4691 | for i, v in pairs(game.Players:GetPlayers()) do | |
4692 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4693 | ||
4694 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4695 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4696 | ||
4697 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4698 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4699 | wait() | |
4700 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4701 | ||
4702 | end | |
4703 | wait(0.01) | |
4704 | ||
4705 | end | |
4706 | for i, v in pairs(game.Players:GetPlayers()) do | |
4707 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4708 | ||
4709 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4710 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4711 | ||
4712 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4713 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4714 | wait() | |
4715 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4716 | ||
4717 | end | |
4718 | wait(0.01) | |
4719 | ||
4720 | end | |
4721 | for i, v in pairs(game.Players:GetPlayers()) do | |
4722 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4723 | ||
4724 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4725 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4726 | ||
4727 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4728 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4729 | wait() | |
4730 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4731 | ||
4732 | end | |
4733 | wait(0.01) | |
4734 | ||
4735 | end | |
4736 | for i, v in pairs(game.Players:GetPlayers()) do | |
4737 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4738 | ||
4739 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4740 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4741 | ||
4742 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4743 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4744 | wait() | |
4745 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4746 | ||
4747 | end | |
4748 | wait(0.01) | |
4749 | ||
4750 | end | |
4751 | for i, v in pairs(game.Players:GetPlayers()) do | |
4752 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4753 | ||
4754 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4755 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4756 | ||
4757 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4758 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4759 | wait() | |
4760 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4761 | ||
4762 | end | |
4763 | wait(0.01) | |
4764 | ||
4765 | end | |
4766 | for i, v in pairs(game.Players:GetPlayers()) do | |
4767 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4768 | ||
4769 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4770 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4771 | ||
4772 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4773 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4774 | wait() | |
4775 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4776 | ||
4777 | end | |
4778 | wait(0.01) | |
4779 | ||
4780 | end | |
4781 | for i, v in pairs(game.Players:GetPlayers()) do | |
4782 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4783 | ||
4784 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4785 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4786 | ||
4787 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4788 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4789 | wait() | |
4790 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4791 | ||
4792 | end | |
4793 | wait(0.01) | |
4794 | ||
4795 | end | |
4796 | for i, v in pairs(game.Players:GetPlayers()) do | |
4797 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4798 | ||
4799 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4800 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4801 | ||
4802 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4803 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4804 | wait() | |
4805 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4806 | ||
4807 | end | |
4808 | wait(0.01) | |
4809 | ||
4810 | end | |
4811 | for i, v in pairs(game.Players:GetPlayers()) do | |
4812 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4813 | ||
4814 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4815 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4816 | ||
4817 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4818 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4819 | wait() | |
4820 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4821 | ||
4822 | end | |
4823 | wait(0.01) | |
4824 | ||
4825 | end | |
4826 | for i, v in pairs(game.Players:GetPlayers()) do | |
4827 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4828 | ||
4829 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4830 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4831 | ||
4832 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4833 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4834 | wait() | |
4835 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4836 | ||
4837 | end | |
4838 | wait(0.01) | |
4839 | ||
4840 | end | |
4841 | for i, v in pairs(game.Players:GetPlayers()) do | |
4842 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4843 | ||
4844 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4845 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4846 | ||
4847 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4848 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4849 | wait() | |
4850 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4851 | ||
4852 | end | |
4853 | wait(0.01) | |
4854 | ||
4855 | end | |
4856 | for i, v in pairs(game.Players:GetPlayers()) do | |
4857 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4858 | ||
4859 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4860 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4861 | ||
4862 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4863 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4864 | wait() | |
4865 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4866 | ||
4867 | end | |
4868 | wait(0.01) | |
4869 | ||
4870 | end | |
4871 | for i, v in pairs(game.Players:GetPlayers()) do | |
4872 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4873 | ||
4874 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4875 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4876 | ||
4877 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4878 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4879 | wait() | |
4880 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4881 | ||
4882 | end | |
4883 | wait(0.01) | |
4884 | ||
4885 | end | |
4886 | for i, v in pairs(game.Players:GetPlayers()) do | |
4887 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4888 | ||
4889 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4890 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4891 | ||
4892 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4893 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4894 | wait() | |
4895 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4896 | ||
4897 | end | |
4898 | wait(0.01) | |
4899 | ||
4900 | end | |
4901 | for i, v in pairs(game.Players:GetPlayers()) do | |
4902 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4903 | ||
4904 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4905 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4906 | ||
4907 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4908 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4909 | wait() | |
4910 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4911 | ||
4912 | end | |
4913 | wait(0.01) | |
4914 | ||
4915 | end | |
4916 | for i, v in pairs(game.Players:GetPlayers()) do | |
4917 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4918 | ||
4919 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4920 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4921 | ||
4922 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4923 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4924 | wait() | |
4925 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4926 | ||
4927 | end | |
4928 | wait(0.01) | |
4929 | ||
4930 | end | |
4931 | for i, v in pairs(game.Players:GetPlayers()) do | |
4932 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4933 | ||
4934 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4935 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4936 | ||
4937 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4938 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4939 | wait() | |
4940 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4941 | ||
4942 | end | |
4943 | wait(0.01) | |
4944 | ||
4945 | end | |
4946 | for i, v in pairs(game.Players:GetPlayers()) do | |
4947 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4948 | ||
4949 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4950 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4951 | ||
4952 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4953 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4954 | wait() | |
4955 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4956 | ||
4957 | end | |
4958 | wait(0.01) | |
4959 | ||
4960 | end | |
4961 | for i, v in pairs(game.Players:GetPlayers()) do | |
4962 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4963 | ||
4964 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4965 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4966 | ||
4967 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4968 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4969 | wait() | |
4970 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4971 | ||
4972 | end | |
4973 | wait(0.01) | |
4974 | ||
4975 | end | |
4976 | for i, v in pairs(game.Players:GetPlayers()) do | |
4977 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4978 | ||
4979 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4980 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4981 | ||
4982 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4983 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4984 | wait() | |
4985 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
4986 | ||
4987 | end | |
4988 | wait(0.01) | |
4989 | ||
4990 | end | |
4991 | for i, v in pairs(game.Players:GetPlayers()) do | |
4992 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
4993 | ||
4994 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4995 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
4996 | ||
4997 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4998 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
4999 | wait() | |
5000 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
5001 | ||
5002 | end | |
5003 | wait(0.01) | |
5004 | ||
5005 | end | |
5006 | for i, v in pairs(game.Players:GetPlayers()) do | |
5007 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
5008 | ||
5009 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
5010 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
5011 | ||
5012 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
5013 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
5014 | wait() | |
5015 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
5016 | ||
5017 | end | |
5018 | wait(0.01) | |
5019 | ||
5020 | end | |
5021 | for i, v in pairs(game.Players:GetPlayers()) do | |
5022 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
5023 | ||
5024 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
5025 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
5026 | ||
5027 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
5028 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
5029 | wait() | |
5030 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
5031 | ||
5032 | end | |
5033 | wait(0.01) | |
5034 | ||
5035 | end | |
5036 | for i, v in pairs(game.Players:GetPlayers()) do | |
5037 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
5038 | ||
5039 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
5040 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
5041 | ||
5042 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
5043 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
5044 | wait() | |
5045 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
5046 | ||
5047 | end | |
5048 | wait(0.01) | |
5049 | ||
5050 | end | |
5051 | for i, v in pairs(game.Players:GetPlayers()) do | |
5052 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
5053 | ||
5054 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
5055 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
5056 | ||
5057 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
5058 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
5059 | wait() | |
5060 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
5061 | ||
5062 | end | |
5063 | wait(0.01) | |
5064 | ||
5065 | end | |
5066 | for i, v in pairs(game.Players:GetPlayers()) do | |
5067 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
5068 | ||
5069 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
5070 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
5071 | ||
5072 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
5073 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
5074 | wait() | |
5075 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
5076 | ||
5077 | end | |
5078 | wait(0.01) | |
5079 | ||
5080 | end | |
5081 | for i, v in pairs(game.Players:GetPlayers()) do | |
5082 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
5083 | ||
5084 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
5085 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
5086 | ||
5087 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
5088 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
5089 | wait() | |
5090 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
5091 | ||
5092 | end | |
5093 | wait(0.01) | |
5094 | ||
5095 | end | |
5096 | for i, v in pairs(game.Players:GetPlayers()) do | |
5097 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
5098 | ||
5099 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
5100 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
5101 | ||
5102 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
5103 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
5104 | wait() | |
5105 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
5106 | ||
5107 | end | |
5108 | wait(0.01) | |
5109 | ||
5110 | end | |
5111 | for i, v in pairs(game.Players:GetPlayers()) do | |
5112 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
5113 | ||
5114 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
5115 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
5116 | ||
5117 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
5118 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
5119 | wait() | |
5120 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
5121 | ||
5122 | end | |
5123 | wait(0.01) | |
5124 | ||
5125 | end | |
5126 | for i, v in pairs(game.Players:GetPlayers()) do | |
5127 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
5128 | ||
5129 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
5130 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
5131 | ||
5132 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
5133 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
5134 | wait() | |
5135 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
5136 | ||
5137 | end | |
5138 | wait(0.01) | |
5139 | ||
5140 | end | |
5141 | for i, v in pairs(game.Players:GetPlayers()) do | |
5142 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
5143 | ||
5144 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
5145 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
5146 | ||
5147 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
5148 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
5149 | wait() | |
5150 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
5151 | ||
5152 | end | |
5153 | wait(0.01) | |
5154 | ||
5155 | end | |
5156 | for i, v in pairs(game.Players:GetPlayers()) do | |
5157 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
5158 | ||
5159 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
5160 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
5161 | ||
5162 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
5163 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
5164 | wait() | |
5165 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
5166 | ||
5167 | end | |
5168 | wait(0.01) | |
5169 | ||
5170 | end | |
5171 | for i, v in pairs(game.Players:GetPlayers()) do | |
5172 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
5173 | ||
5174 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
5175 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
5176 | ||
5177 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
5178 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
5179 | wait() | |
5180 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
5181 | ||
5182 | end | |
5183 | wait(0.01) | |
5184 | ||
5185 | end | |
5186 | for i, v in pairs(game.Players:GetPlayers()) do | |
5187 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
5188 | ||
5189 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
5190 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
5191 | ||
5192 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
5193 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
5194 | wait() | |
5195 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
5196 | ||
5197 | end | |
5198 | wait(0.01) | |
5199 | ||
5200 | end | |
5201 | for i, v in pairs(game.Players:GetPlayers()) do | |
5202 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
5203 | ||
5204 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
5205 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
5206 | ||
5207 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
5208 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
5209 | wait() | |
5210 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
5211 | ||
5212 | end | |
5213 | wait(0.01) | |
5214 | ||
5215 | end | |
5216 | for i, v in pairs(game.Players:GetPlayers()) do | |
5217 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
5218 | ||
5219 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
5220 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
5221 | ||
5222 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
5223 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
5224 | wait() | |
5225 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
5226 | ||
5227 | end | |
5228 | wait(0.01) | |
5229 | ||
5230 | end | |
5231 | for i, v in pairs(game.Players:GetPlayers()) do | |
5232 | if v and v.Name ~= game.Players.LocalPlayer.Name then | |
5233 | ||
5234 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
5235 | game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character | |
5236 | ||
5237 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
5238 | game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Workspace.Terrain | |
5239 | wait() | |
5240 | v.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector) | |
5241 | ||
5242 | end | |
5243 | wait(0.01) | |
5244 | ||
5245 | end | |
5246 | end) | |
5247 | ||
5248 | drill.Name = "drill" | |
5249 | drill.Parent = main | |
5250 | drill.BackgroundColor3 = Color3.new(1, 1, 0) | |
5251 | drill.Position = UDim2.new(0.343317509, 0, 0.704794705, 0) | |
5252 | drill.Size = UDim2.new(0, 111, 0, 25) | |
5253 | drill.Font = Enum.Font.GothamBold | |
5254 | drill.Text = "Fe Drill" | |
5255 | drill.TextColor3 = Color3.new(0, 0, 0) | |
5256 | drill.TextSize = 14 | |
5257 | drill.MouseButton1Down:connect(function() | |
5258 | workspace.Remote.TeamEvent:FireServer("Bright blue") | |
5259 | ||
5260 | local toolamount = 80 -- How long the tornado is | |
5261 | local tornadosize = 1 -- The size of how big the opening of the tornado is | |
5262 | ||
5263 | local LocalPlayer = game:GetService("Players").LocalPlayer | |
5264 | local runservice = game:GetService("RunService") | |
5265 | local characters = {} | |
5266 | LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools() | |
5267 | local currentamount = #LocalPlayer.Backpack:GetChildren() | |
5268 | LocalPlayer.Character.Archivable = true | |
5269 | local tempchar = LocalPlayer.Character:Clone() | |
5270 | tempchar.Parent = workspace | |
5271 | local savepos = LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame | |
5272 | local renderstepped = runservice.RenderStepped:Connect(function() | |
5273 | workspace.CurrentCamera.CameraSubject = tempchar:FindFirstChild("Humanoid") | |
5274 | for _, tool in pairs(LocalPlayer.Backpack:GetChildren()) do | |
5275 | if tool:IsA("Tool") then | |
5276 | tool.Parent = LocalPlayer | |
5277 | end | |
5278 | end | |
5279 | LocalPlayer.Character:ClearAllChildren() | |
5280 | local char = Instance.new("Model", workspace) | |
5281 | table.insert(characters, char) | |
5282 | Instance.new("Humanoid", char) | |
5283 | LocalPlayer.Character = char | |
5284 | repeat runservice.RenderStepped:Wait() until LocalPlayer.Character ~= nil | |
5285 | end) | |
5286 | repeat runservice.RenderStepped:Wait() until #LocalPlayer:GetChildren() - 4 - currentamount >= toolamount | |
5287 | renderstepped:Disconnect() | |
5288 | repeat runservice.RenderStepped:Wait() until LocalPlayer.Character:FindFirstChild("HumanoidRootPart") ~= nil | |
5289 | for _, char in pairs(characters) do | |
5290 | char:Destroy() | |
5291 | end | |
5292 | for index, tool in pairs(LocalPlayer:GetChildren()) do | |
5293 | if tool:IsA("Tool") then | |
5294 | tool.Parent = LocalPlayer.Backpack | |
5295 | tool.Handle.Massless = false | |
5296 | tool.Grip = CFrame.new(Vector3.new(0, -index * .1, 0)) * CFrame.Angles(math.rad(90), 0, math.tan(index * 0.5)) | |
5297 | tool.Parent = LocalPlayer.Character | |
5298 | if tool.Handle:FindFirstChild("Mesh") ~= nil then | |
5299 | tool.Handle.Mesh:Destroy() | |
5300 | end | |
5301 | end | |
5302 | end | |
5303 | LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = savepos | |
5304 | tempchar:Destroy() | |
5305 | end) | |
5306 | ||
5307 | killplrmain.Name = "killplrmain" | |
5308 | killplrmain.Parent = main | |
5309 | killplrmain.BackgroundColor3 = Color3.new(1, 0, 1) | |
5310 | killplrmain.Position = UDim2.new(0.0321613066, 0, 0.836535037, 0) | |
5311 | killplrmain.Size = UDim2.new(0, 103, 0, 47) | |
5312 | ||
5313 | killtext.Name = "killtext" | |
5314 | killtext.Parent = killplrmain | |
5315 | killtext.BackgroundColor3 = Color3.new(1, 0.666667, 1) | |
5316 | killtext.Position = UDim2.new(0, 0, 0.0212752968, 0) | |
5317 | killtext.Size = UDim2.new(0, 99, 0, 19) | |
5318 | killtext.Font = Enum.Font.Gotham | |
5319 | killtext.Text = "Player Name" | |
5320 | killtext.TextColor3 = Color3.new(0, 0, 0) | |
5321 | killtext.TextSize = 14 | |
5322 | ||
5323 | kill.Name = "kill" | |
5324 | kill.Parent = killplrmain | |
5325 | kill.BackgroundColor3 = Color3.new(0, 0, 0) | |
5326 | kill.Position = UDim2.new(0.0999999046, 0, 0.531914949, 0) | |
5327 | kill.Size = UDim2.new(0, 80, 0, 22) | |
5328 | kill.Font = Enum.Font.GothamBold | |
5329 | kill.Text = "KILL" | |
5330 | kill.TextColor3 = Color3.new(1, 1, 1) | |
5331 | kill.TextSize = 14 | |
5332 | kill.MouseButton1Down:connect(function() | |
5333 | game.Workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP) | |
5334 | ||
5335 | wait(0.1) | |
5336 | Workspace.Remote.TeamEvent:FireServer("Medium stone grey") | |
5337 | ||
5338 | local A_1 = | |
5339 | { | |
5340 | [1] = | |
5341 | { | |
5342 | ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(277.738678, 6.89340925, 287.773712)), | |
5343 | ["Distance"] = 4.7204174995422, | |
5344 | ["Cframe"] = CFrame.new(832.049377, 101.392006, 2300.97168, 0.843892097, -0.0554918349, 0.533635378, 0, 0.994636595, 0.103430569, -0.536512911, -0.0872842371, 0.839366019), | |
5345 | ["Hit"] = game.Workspace[killtext.Text].Head | |
5346 | }, | |
5347 | [2] = | |
5348 | { | |
5349 | ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(303.047546, 21.3568707, 260.203888)), | |
5350 | ["Distance"] = 4.8114862442017, | |
5351 | ["Cframe"] = CFrame.new(832.390259, 101.550629, 2300.74097, 0.738044441, -0.112958886, 0.665229917, 7.45057971e-09, 0.985887885, 0.16740793, -0.674752235, -0.123554483, 0.727628946), | |
5352 | ["Hit"] = game.Workspace[killtext.Text].Head | |
5353 | }, | |
5354 | [3] = | |
5355 | { | |
5356 | ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(296.800507, 7.00420141, 268.067932)), | |
5357 | ["Distance"] = 4.444625377655, | |
5358 | ["Cframe"] = CFrame.new(832.185486, 101.391617, 2300.70264, 0.775115669, -0.0692948848, 0.628007889, 7.45057971e-09, 0.993967533, 0.109675139, -0.631819367, -0.0850109085, 0.770439863), | |
5359 | ["Hit"] = game.Workspace[killtext.Text].Head | |
5360 | }, | |
5361 | [4] = | |
5362 | { | |
5363 | ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(284.930573, 11.9850616, 280.483368)), | |
5364 | ["Distance"] = 4.6211166381836, | |
5365 | ["Cframe"] = CFrame.new(832.10083, 101.445007, 2300.86963, 0.820150614, -0.0735745132, 0.567397356, 0, 0.991697431, 0.128593579, -0.572147667, -0.105466105, 0.81334126), | |
5366 | ["Hit"] = game.Workspace[killtext.Text].Head | |
5367 | }, | |
5368 | [5] = | |
5369 | { | |
5370 | ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(294.625824, 2.15741801, 270.538269)), | |
5371 | ["Distance"] = 4.4639973640442, | |
5372 | ["Cframe"] = CFrame.new(832.169434, 101.341301, 2300.73438, 0.784266233, -0.0537625961, 0.618090749, -3.7252903e-09, 0.99623847, 0.086654529, -0.620424569, -0.0679602176, 0.781316102), | |
5373 | ["Hit"] = game.Workspace[killtext.Text].Head | |
5374 | } | |
5375 | } | |
5376 | local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"] | |
5377 | local Event = game:GetService("ReplicatedStorage").ShootEvent | |
5378 | Event:FireServer(A_1, A_2) | |
5379 | ||
5380 | wait(0.5) | |
5381 | workspace.Remote.TeamEvent:FireServer("Bright orange") | |
5382 | end) | |
5383 | ||
5384 | waves.Name = "waves" | |
5385 | waves.Parent = main | |
5386 | waves.BackgroundColor3 = Color3.new(1, 1, 0) | |
5387 | waves.Position = UDim2.new(0.0201378968, 0, 0.646579564, 0) | |
5388 | waves.Size = UDim2.new(0, 111, 0, 26) | |
5389 | waves.Font = Enum.Font.GothamBold | |
5390 | waves.Text = "Fe Waves" | |
5391 | waves.TextColor3 = Color3.new(0, 0, 0) | |
5392 | waves.TextSize = 14 | |
5393 | waves.MouseButton1Down:connect(function() | |
5394 | workspace.Remote.TeamEvent:FireServer("Bright blue") | |
5395 | ||
5396 | local toolamount = 40 -- How long the tornado is | |
5397 | local tornadosize = 1 -- The size of how big the opening of the tornado is | |
5398 | ||
5399 | local LocalPlayer = game:GetService("Players").LocalPlayer | |
5400 | local runservice = game:GetService("RunService") | |
5401 | local characters = {} | |
5402 | LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools() | |
5403 | local currentamount = #LocalPlayer.Backpack:GetChildren() | |
5404 | LocalPlayer.Character.Archivable = true | |
5405 | local tempchar = LocalPlayer.Character:Clone() | |
5406 | tempchar.Parent = workspace | |
5407 | local savepos = LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame | |
5408 | local renderstepped = runservice.RenderStepped:Connect(function() | |
5409 | workspace.CurrentCamera.CameraSubject = tempchar:FindFirstChild("Humanoid") | |
5410 | for _, tool in pairs(LocalPlayer.Backpack:GetChildren()) do | |
5411 | if tool:IsA("Tool") then | |
5412 | tool.Parent = LocalPlayer | |
5413 | end | |
5414 | end | |
5415 | LocalPlayer.Character:ClearAllChildren() | |
5416 | local char = Instance.new("Model", workspace) | |
5417 | table.insert(characters, char) | |
5418 | Instance.new("Humanoid", char) | |
5419 | LocalPlayer.Character = char | |
5420 | repeat runservice.RenderStepped:Wait() until LocalPlayer.Character ~= nil | |
5421 | end) | |
5422 | repeat runservice.RenderStepped:Wait() until #LocalPlayer:GetChildren() - 4 - currentamount >= toolamount | |
5423 | renderstepped:Disconnect() | |
5424 | repeat runservice.RenderStepped:Wait() until LocalPlayer.Character:FindFirstChild("HumanoidRootPart") ~= nil | |
5425 | for _, char in pairs(characters) do | |
5426 | char:Destroy() | |
5427 | end | |
5428 | for index, tool in pairs(LocalPlayer:GetChildren()) do | |
5429 | if tool:IsA("Tool") then | |
5430 | tool.Parent = LocalPlayer.Backpack | |
5431 | tool.Handle.Massless = false | |
5432 | tool.Grip = CFrame.new(Vector3.new(0, math.sin(index + 0.5), index)) * CFrame.Angles(math.rad(tornadosize), 0, -index) | |
5433 | tool.Parent = LocalPlayer.Character | |
5434 | if tool.Handle:FindFirstChild("Mesh") ~= nil then | |
5435 | tool.Handle.Mesh:Destroy() | |
5436 | end | |
5437 | end | |
5438 | end | |
5439 | LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = savepos | |
5440 | tempchar:Destroy() | |
5441 | end) | |
5442 | ||
5443 | bigbowl.Name = "bigbowl" | |
5444 | bigbowl.Parent = main | |
5445 | bigbowl.BackgroundColor3 = Color3.new(1, 1, 0) | |
5446 | bigbowl.Position = UDim2.new(0.341908664, 0, 0.647788644, 0) | |
5447 | bigbowl.Size = UDim2.new(0, 111, 0, 26) | |
5448 | bigbowl.Font = Enum.Font.GothamBold | |
5449 | bigbowl.Text = "Fe Big Bowl" | |
5450 | bigbowl.TextColor3 = Color3.new(0, 0, 0) | |
5451 | bigbowl.TextSize = 14 | |
5452 | bigbowl.MouseButton1Down:connect(function() | |
5453 | workspace.Remote.TeamEvent:FireServer("Bright blue") | |
5454 | ||
5455 | local toolamount = 250 -- How much covered the bowl is | |
5456 | local bowlsize = 20 -- How big the bowl is | |
5457 | ||
5458 | ||
5459 | ||
5460 | local LocalPlayer = game:GetService("Players").LocalPlayer | |
5461 | local runservice = game:GetService("RunService") | |
5462 | local characters = {} | |
5463 | LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools() | |
5464 | local currentamount = #LocalPlayer.Backpack:GetChildren() | |
5465 | LocalPlayer.Character.Archivable = true | |
5466 | local tempchar = LocalPlayer.Character:Clone() | |
5467 | tempchar.Parent = workspace | |
5468 | local savepos = LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame | |
5469 | local renderstepped = runservice.RenderStepped:Connect(function() | |
5470 | workspace.CurrentCamera.CameraSubject = tempchar:FindFirstChild("Humanoid") | |
5471 | for _, tool in pairs(LocalPlayer.Backpack:GetChildren()) do | |
5472 | if tool:IsA("Tool") then | |
5473 | tool.Parent = LocalPlayer | |
5474 | end | |
5475 | end | |
5476 | LocalPlayer.Character:ClearAllChildren() | |
5477 | local char = Instance.new("Model", workspace) | |
5478 | table.insert(characters, char) | |
5479 | Instance.new("Humanoid", char) | |
5480 | LocalPlayer.Character = char | |
5481 | repeat runservice.RenderStepped:Wait() until LocalPlayer.Character ~= nil | |
5482 | end) | |
5483 | repeat runservice.RenderStepped:Wait() until #LocalPlayer:GetChildren() - 4 - currentamount >= toolamount | |
5484 | renderstepped:Disconnect() | |
5485 | repeat runservice.RenderStepped:Wait() until LocalPlayer.Character:FindFirstChild("HumanoidRootPart") ~= nil | |
5486 | for _, char in pairs(characters) do | |
5487 | char:Destroy() | |
5488 | end | |
5489 | for index, tool in pairs(LocalPlayer:GetChildren()) do | |
5490 | if tool:IsA("Tool") then | |
5491 | tool.Parent = LocalPlayer.Backpack | |
5492 | tool.Handle.Massless = true | |
5493 | tool.Grip = CFrame.new(Vector3.new(math.sin(index * 0.1), bowlsize, 0)) * CFrame.Angles(math.sin(index * 0.1), index, 0) | |
5494 | tool.Parent = LocalPlayer.Character | |
5495 | if tool.Handle:FindFirstChild("Mesh") ~= nil then | |
5496 | tool.Handle.Mesh:Destroy() | |
5497 | end | |
5498 | end | |
5499 | end | |
5500 | LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = savepos | |
5501 | tempchar:Destroy() | |
5502 | LocalPlayer.Character:FindFirstChild("Humanoid").HipHeight = bowlsize | |
5503 | end) | |
5504 | ||
5505 | tazeplrmain.Name = "tazeplrmain" | |
5506 | tazeplrmain.Parent = main | |
5507 | tazeplrmain.BackgroundColor3 = Color3.new(1, 0, 1) | |
5508 | tazeplrmain.Position = UDim2.new(0.358376801, 0, 0.83788842, 0) | |
5509 | tazeplrmain.Size = UDim2.new(0, 103, 0, 47) | |
5510 | ||
5511 | tazetext.Name = "tazetext" | |
5512 | tazetext.Parent = tazeplrmain | |
5513 | tazetext.BackgroundColor3 = Color3.new(1, 0.666667, 1) | |
5514 | tazetext.Size = UDim2.new(0, 99, 0, 19) | |
5515 | tazetext.Font = Enum.Font.Gotham | |
5516 | tazetext.Text = "Player Name" | |
5517 | tazetext.TextColor3 = Color3.new(0, 0, 0) | |
5518 | tazetext.TextSize = 14 | |
5519 | ||
5520 | taze.Name = "taze" | |
5521 | taze.Parent = tazeplrmain | |
5522 | taze.BackgroundColor3 = Color3.new(0, 0, 0) | |
5523 | taze.Position = UDim2.new(0.128543824, 0, 0.510639191, 0) | |
5524 | taze.Size = UDim2.new(0, 80, 0, 22) | |
5525 | taze.Font = Enum.Font.GothamBold | |
5526 | taze.Text = "TAZE" | |
5527 | taze.TextColor3 = Color3.new(1, 1, 1) | |
5528 | taze.TextSize = 14 | |
5529 | taze.MouseButton1Down:connect(function() | |
5530 | local A_1 = | |
5531 | { | |
5532 | [1] = | |
5533 | { | |
5534 | ["RayObject"] = Ray.new(Vector3.new(829.838562, 101.489998, 2331.25635), Vector3.new(-30.6540909, -5.42795324, 95.0308533)), | |
5535 | ["Distance"] = 15.355997085571, | |
5536 | ["Cframe"] = CFrame.new(826.616699, 100.8508, 2340.11279, 0.964640439, -0.00993416365, -0.263382077, 9.31322575e-10, 0.999289393, -0.0376908854, 0.263569355, 0.0363581516, 0.963954985), | |
5537 | ["Hit"] = game.Workspace[tazetext.Text].Torso | |
5538 | } | |
5539 | } | |
5540 | local A_2 = game.Players.LocalPlayer.Backpack["Taser"] | |
5541 | local Event = game:GetService("ReplicatedStorage").ShootEvent | |
5542 | Event:FireServer(A_1, A_2) | |
5543 | end) | |
5544 | ||
5545 | teamcrim.Name = "teamcrim" | |
5546 | teamcrim.Parent = main | |
5547 | teamcrim.BackgroundColor3 = Color3.new(1, 0, 0) | |
5548 | teamcrim.Position = UDim2.new(0.775380731, 0, 0.108776733, 0) | |
5549 | teamcrim.Size = UDim2.new(0, 83, 0, 22) | |
5550 | teamcrim.Font = Enum.Font.GothamBlack | |
5551 | teamcrim.Text = "Team Crim" | |
5552 | teamcrim.TextColor3 = Color3.new(0, 0, 0) | |
5553 | teamcrim.TextSize = 14 | |
5554 | teamcrim.MouseButton1Down:connect(function() | |
5555 | local Apart = Instance.new("Part") | |
5556 | ||
5557 | Apart.Name = "PlrsPos" | |
5558 | Apart.Parent = workspace | |
5559 | Apart.Anchored = true | |
5560 | Apart.Archivable = true | |
5561 | Apart.CFrame = CFrame.new(9e99, 9e99, 9e99) | |
5562 | ||
5563 | LCS = game.Workspace["Criminals Spawn"].SpawnLocation | |
5564 | ||
5565 | _G.killAura = true | |
5566 | wait(0.2) | |
5567 | ||
5568 | Apart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame | |
5569 | Apart.Transparency = 1 | |
5570 | Apart.Anchored = true | |
5571 | Apart.CanCollide = false | |
5572 | ||
5573 | istptoplr = true | |
5574 | wait(0.004) | |
5575 | ||
5576 | ||
5577 | LCS = game.Workspace["Criminals Spawn"].SpawnLocation | |
5578 | ||
5579 | LCS.CanCollide = false | |
5580 | LCS.Size = Vector3.new(51.05, 24.12, 54.76) | |
5581 | LCS.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame | |
5582 | LCS.Transparency = 1 | |
5583 | ||
5584 | wait(2) | |
5585 | ||
5586 | istptoplr = false | |
5587 | _G.killAura = false | |
5588 | ||
5589 | wait(0.04) | |
5590 | ||
5591 | if istptoplr == false then | |
5592 | LCS.CFrame = CFrame.new(-920.510803, 92.2271957, 2138.27002, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
5593 | LCS.Size = Vector3.new(6, 0.2, 6) | |
5594 | LCS.Transparency = 0 | |
5595 | istptoplr = false | |
5596 | end | |
5597 | end) | |
5598 | ||
5599 | tazeall.Name = "tazeall" | |
5600 | tazeall.Parent = main | |
5601 | tazeall.BackgroundColor3 = Color3.new(1, 0, 0) | |
5602 | tazeall.Position = UDim2.new(0.342309177, 0, 0.759402633, 0) | |
5603 | tazeall.Size = UDim2.new(0, 109, 0, 34) | |
5604 | tazeall.Font = Enum.Font.GothamBold | |
5605 | tazeall.Text = "Taze All" | |
5606 | tazeall.TextColor3 = Color3.new(0, 0, 0) | |
5607 | tazeall.TextSize = 14 | |
5608 | tazeall.MouseButton1Down:connect(function() | |
5609 | workspace.Remote.TeamEvent:FireServer("Bright blue") | |
5610 | ||
5611 | function kill(a) | |
5612 | local A_1 = | |
5613 | { | |
5614 | [1] = | |
5615 | { | |
5616 | ["RayObject"] = Ray.new(Vector3.new(829.838562, 101.489998, 2331.25635), Vector3.new(-30.6540909, -5.42795324, 95.0308533)), | |
5617 | ["Distance"] = 15.355997085571, | |
5618 | ["Cframe"] = CFrame.new(826.616699, 100.8508, 2340.11279, 0.964640439, -0.00993416365, -0.263382077, 9.31322575e-10, 0.999289393, -0.0376908854, 0.263569355, 0.0363581516, 0.963954985), | |
5619 | ["Hit"] = a.Character.Torso | |
5620 | } | |
5621 | } | |
5622 | local A_2 = game.Players.LocalPlayer.Backpack["Taser"] | |
5623 | local Event = game:GetService("ReplicatedStorage").ShootEvent | |
5624 | Event:FireServer(A_1, A_2) | |
5625 | end | |
5626 | ||
5627 | for i,v in pairs(game.Players:GetChildren())do | |
5628 | if v.Name ~= game.Players.LocalPlayer.Name then | |
5629 | kill(v) | |
5630 | end | |
5631 | end | |
5632 | end) | |
5633 | ||
5634 | removewalls.Name = "removewalls" | |
5635 | removewalls.Parent = main | |
5636 | removewalls.BackgroundColor3 = Color3.new(1, 0, 0) | |
5637 | removewalls.Position = UDim2.new(0.670628905, 0, 0.758472741, 0) | |
5638 | removewalls.Size = UDim2.new(0, 110, 0, 34) | |
5639 | removewalls.Font = Enum.Font.GothamBold | |
5640 | removewalls.Text = "Remove Walls" | |
5641 | removewalls.TextColor3 = Color3.new(0, 0, 0) | |
5642 | removewalls.TextSize = 14 | |
5643 | removewalls.MouseButton1Down:connect(function() | |
5644 | wait(0.1) | |
5645 | game.Workspace.Prison_Guard_Outpost:Remove() | |
5646 | ||
5647 | wait(0.1) | |
5648 | game.Workspace.Prison_Cafeteria.building:Remove() | |
5649 | ||
5650 | wait(0.1) | |
5651 | game.Workspace.Prison_Cafeteria.glass:Remove() | |
5652 | ||
5653 | wait(0.1) | |
5654 | game.Workspace.Prison_Cafeteria.oven:Remove() | |
5655 | ||
5656 | wait(0.1) | |
5657 | game.Workspace.Prison_Cafeteria.shelves:Remove() | |
5658 | ||
5659 | wait(0.1) | |
5660 | game.Workspace.Prison_Cafeteria.vents:Remove() | |
5661 | ||
5662 | wait(0.1) | |
5663 | game.Workspace.Prison_Cafeteria.accents:Remove() | |
5664 | ||
5665 | wait(0.1) | |
5666 | game.Workspace.Prison_Cafeteria.vendingmachine:Remove() | |
5667 | ||
5668 | wait(0.1) | |
5669 | game.Workspace.Prison_Cafeteria.Prison_table1:Remove() | |
5670 | ||
5671 | wait(0.1) | |
5672 | game.Workspace.Prison_Cafeteria.counter:Remove() | |
5673 | ||
5674 | wait(0.1) | |
5675 | game.Workspace.Prison_Cafeteria.boxes:Remove() | |
5676 | end) | |
5677 | ||
5678 | removeall.Name = "removeall" | |
5679 | removeall.Parent = main | |
5680 | removeall.BackgroundColor3 = Color3.new(1, 0, 0) | |
5681 | removeall.Position = UDim2.new(0.673120499, 0, 0.838146329, 0) | |
5682 | removeall.Size = UDim2.new(0, 110, 0, 47) | |
5683 | removeall.Font = Enum.Font.GothamBold | |
5684 | removeall.Text = "Remove All" | |
5685 | removeall.TextColor3 = Color3.new(0, 0, 0) | |
5686 | removeall.TextSize = 14 | |
5687 | removeall.MouseButton1Down:connect(function() | |
5688 | wait(0.1) | |
5689 | game.Workspace.Prison_Halls.walls:Remove() | |
5690 | ||
5691 | wait(0.1) | |
5692 | game.Workspace.Prison_Halls.roof:Remove() | |
5693 | ||
5694 | wait(0.1) | |
5695 | game.Workspace.Prison_Halls.outlines:Remove() | |
5696 | ||
5697 | wait(0.1) | |
5698 | game.Workspace.Prison_Halls.lights:Remove() | |
5699 | ||
5700 | wait(0.1) | |
5701 | Workspace.Prison_Halls.accent:Remove() | |
5702 | ||
5703 | wait(0.1) | |
5704 | game.Workspace.Prison_Halls.glass:Remove() | |
5705 | ||
5706 | wait(0.1) | |
5707 | game.Workspace.Prison_Cellblock.b_front:Remove() | |
5708 | ||
5709 | wait(0.1) | |
5710 | game.Workspace.Prison_Cellblock.doors:Remove() | |
5711 | ||
5712 | wait(0.1) | |
5713 | game.Workspace.Prison_Cellblock.c_tables:Remove() | |
5714 | ||
5715 | wait(0.1) | |
5716 | game.Workspace.Prison_Cellblock.a_front:Remove() | |
5717 | ||
5718 | wait(0.1) | |
5719 | game.Workspace.Prison_Cellblock.b_outerwall:Remove() | |
5720 | ||
5721 | wait(0.1) | |
5722 | game.Workspace.Prison_Cellblock.c_wall:Remove() | |
5723 | ||
5724 | wait(0.1) | |
5725 | game.Workspace.Prison_Cellblock.b_wall:Remove() | |
5726 | ||
5727 | wait(0.1) | |
5728 | game.Workspace.Prison_Cellblock.c_hallwall:Remove() | |
5729 | ||
5730 | wait(0.1) | |
5731 | game.Workspace.Prison_Cellblock.a_outerwall:Remove() | |
5732 | ||
5733 | wait(0.1) | |
5734 | game.Workspace.Prison_Cellblock.b_ramp:Remove() | |
5735 | ||
5736 | wait(0.1) | |
5737 | game.Workspace.Prison_Cellblock.a_ramp:Remove() | |
5738 | ||
5739 | wait(0.1) | |
5740 | game.Workspace.Prison_Cellblock.a_walls:Remove() | |
5741 | ||
5742 | wait(0.1) | |
5743 | game.Workspace.Prison_Cellblock.Cells_B:Remove() | |
5744 | ||
5745 | wait(0.1) | |
5746 | game.Workspace.Prison_Cellblock.Cells_A:Remove() | |
5747 | ||
5748 | wait(0.1) | |
5749 | game.Workspace.Prison_Cellblock.c_corner:Remove() | |
5750 | ||
5751 | wait(0.1) | |
5752 | game.Workspace.Prison_Cellblock.Wedge:Remove() | |
5753 | ||
5754 | wait(0.1) | |
5755 | game.Workspace.Prison_Cellblock.a_ceiling:Remove() | |
5756 | ||
5757 | wait(0.1) | |
5758 | game.Workspace.Prison_Cellblock.b_ceiling:Remove() | |
5759 | ||
5760 | wait(0.1) | |
5761 | game.Workspace.City_buildings:Remove() | |
5762 | ||
5763 | wait(0.1) | |
5764 | game.Workspace.Prison_OuterWall:Remove() | |
5765 | ||
5766 | wait(0.1) | |
5767 | game.Workspace.Prison_Fences:Remove() | |
5768 | end) | |
5769 | ||
5770 | lagserver.Name = "lagserver" | |
5771 | lagserver.Parent = main | |
5772 | lagserver.BackgroundColor3 = Color3.new(0.333333, 0, 0.498039) | |
5773 | lagserver.Position = UDim2.new(0.66476965, 0, 0.659647882, 0) | |
5774 | lagserver.Size = UDim2.new(0, 120, 0, 42) | |
5775 | lagserver.Font = Enum.Font.GothamBold | |
5776 | lagserver.Text = "Lag Server (Swat)" | |
5777 | lagserver.TextColor3 = Color3.new(0, 1, 1) | |
5778 | lagserver.TextSize = 14 | |
5779 | lagserver.MouseButton1Down:connect(function() | |
5780 | while true do | |
5781 | workspace.Remote.TeamEvent:FireServer("Bright blue") | |
5782 | ||
5783 | for i = 10,500 do | |
5784 | for i,v in pairs(Workspace.Prison_ITEMS.clothes:GetChildren()) do | |
5785 | ||
5786 | lol = Workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP) | |
5787 | print(lol) | |
5788 | end | |
5789 | end | |
5790 | end | |
5791 | end) |