· 6 years ago · Sep 08, 2019, 10:26 AM
1PASTEBIN
2new paste
3API tools faq deals
4
5
6
7Guest User
8-
9
10Public Pastes
11Untitled
12Lua | 3 sec ago
13model specificatio...
14JSON | 24 sec ago
15Untitled
1625 sec ago
17Untitled
1832 sec ago
19Untitled
2033 sec ago
21Untitled
2235 sec ago
23Untitled
2454 sec ago
25Untitled
26JavaScript | 55 sec ago
27
28
29
30SHARE
31TWEET
32
33[FlowerLily] Murder Mystery 2 GUI
34 a guest May 2nd, 2018 255,196 Never
35
36
37
38Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
39rawdownloadcloneembedreportprint
40text 37.50 KB
41if game.PlaceId == 142823291 then --Proofing just because ;)
42--Note: Don't reset with godmode on or you will be stuck on a black screen for a reasonable amount of time
43--Change to false if you dont like printing to console
44local printvar = true
45--Change to true if you want to see names instead of murderer, sheriff, and innocents with esp
46local espnames = true
47--Change keybinds to your liking
48local coinkey = "c" --Coin grabber keybind
49local MSkey = "m" --Murderer/Sheriff esp keybind
50local playerskey = "q" --All players esp keybind
51local espoffkey = "b" --Turn esp off keybind
52local flykey = "f" --Fly keybind
53local noclipkey = "r" --Noclip keybind
54local godmodekey = "g" --Godmode keybind
55local xrayonkey = "x" --Xray on keybind
56local xrayoffkey = "z" --Xray off keybind
57local bringgunkey = "t" --Teleport to gun keybind
58local hideshowguikey = "p" --Show/Hide gui keybind
59--End of easy customization options
60
61--Gui Buttons and Status--
62local MM2 = Instance.new("ScreenGui")
63local Main = Instance.new("Frame")
64local Title = Instance.new("TextLabel")
65local Coin = Instance.new("TextButton")
66local MSEsp = Instance.new("TextButton")
67local MSESPActive = Instance.new("TextLabel")
68local PlayersEsp = Instance.new("TextButton")
69local PlayersEspActive = Instance.new("TextLabel")
70local EspOff = Instance.new("TextButton")
71local EspOffActive = Instance.new("TextLabel")
72local Run = Instance.new("TextButton")
73local RunActiveGui = Instance.new("TextLabel")
74local Fly = Instance.new("TextButton")
75local FlyActive = Instance.new("TextLabel")
76local Noclip = Instance.new("TextButton")
77local NoclipActive = Instance.new("TextLabel")
78local GodMode = Instance.new("TextButton")
79local GodModeActive = Instance.new("TextLabel")
80local GuiXrayOn = Instance.new("TextButton")
81local GuiXrayOnActive = Instance.new("TextLabel")
82local GuiXrayOff = Instance.new("TextButton")
83local GuiXrayOffActive = Instance.new("TextLabel")
84local BringGun = Instance.new("TextButton")
85local Keybinds = Instance.new("TextButton")
86local KeybindsActive = Instance.new("TextLabel")
87local Hide = Instance.new("TextButton")
88local Show = Instance.new("TextButton")
89
90--Other Variables
91local runActive = false
92local teamname = "None"
93local murderer = "None"
94local sheriff = "None"
95local player = game:GetService("Players").LocalPlayer
96
97local esp = false
98local plresp
99local track = false
100
101local NClip = false
102local char = game.Players.LocalPlayer.Character
103local obj = game.workspace
104local mouse=game.Players.LocalPlayer:GetMouse()
105local LP = game:GetService("Players").LocalPlayer
106local flyvar = false
107
108local showvar = true
109local inputcode = game:GetService("UserInputService")
110local godmodevar = false
111local keyOff = false
112local NClip = false
113
114--Start of Gui--
115MM2.Name = "MM2"
116MM2.Parent = game.CoreGui
117MM2.ResetOnSpawn = false
118
119Main.Name = "Main"
120Main.Parent = MM2
121Main.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
122Main.BorderColor3 = Color3.new(0, 0.607843, 1)
123Main.BorderSizePixel = 5
124Main.Draggable = true
125Main.Position = UDim2.new(0.574999988, 0, 0.349999994, 0)
126Main.Size = UDim2.new(0.2, 0, 0.4, 0)
127Main.Visible = true
128Main.Active = true
129
130Title.Name = "Title"
131Title.Parent = Main
132Title.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
133Title.BorderColor3 = Color3.new(0, 0.607843, 1)
134Title.BorderSizePixel = 5
135Title.Draggable = true
136Title.Size = UDim2.new(1.005, 0, 0.2, 0)
137Title.ZIndex = 3
138Title.Font = Enum.Font.SciFi
139Title.FontSize = Enum.FontSize.Size24
140Title.Text = "Murder Mystery 2"
141Title.TextColor3 = Color3.new(0, 0.607843, 1)
142Title.TextScaled = true
143Title.TextSize = 20
144Title.TextStrokeColor3 = Color3.new(0.129412, 0.54902, 1)
145Title.TextWrapped = true
146
147--Start of functions for buttons--
148function Create(base, team, colors1, colors2, colors3, teamname) --For all esps
149 local bb = Instance.new("BillboardGui",player.PlayerGui)
150 bb.Adornee = base
151 bb.ExtentsOffset = Vector3.new(0,1,0)
152 bb.AlwaysOnTop = true
153 bb.Size = UDim2.new(0,5,0,5)
154 bb.StudsOffset = Vector3.new(0,1,0)
155 bb.Name = "tracker"
156 local frame = Instance.new("Frame",bb)
157 frame.ZIndex = 10
158 frame.BackgroundTransparency = 0.3
159 frame.Size = UDim2.new(1,0,1,0)
160 local txtlbl = Instance.new("TextLabel",bb)
161 txtlbl.ZIndex = 10
162 txtlbl.Text = teamname
163 txtlbl.BackgroundTransparency = 1
164 txtlbl.Position = UDim2.new(0,0,0,-35)
165 txtlbl.Size = UDim2.new(1,0,10,0)
166 txtlbl.Font = "ArialBold"
167 txtlbl.FontSize = "Size12"
168 txtlbl.TextStrokeTransparency = 0.5
169 if team then --For teams, left over from origianl but never removed
170 txtlbl.TextColor3 = Color3.new(0,0,255)
171 frame.BackgroundColor3 = Color3.new(0,0,255)
172 else
173 txtlbl.TextColor3 = Color3.new(colors1,colors2,colors3)
174 frame.BackgroundColor3 = Color3.new(colors1,colors2,colors3)
175 end
176end
177
178function findmurderer() --Find who the murderer is
179 local colors1 = 255
180 local colors2 = 0
181 local colors3 = 0
182 for i, v in pairs(game:GetService("Players"):GetChildren()) do
183 if v ~= game:GetService("Players").LocalPlayer then
184 for i,v in pairs(v.Backpack:GetChildren()) do --Checks backpack for knife
185 if v.Name == "Knife" then
186 if espnames == true then
187 local teamname = v.Parent.Parent.Name
188 if v.Parent.Parent.Character.Head ~= nil then
189 Create(v.Parent.Parent.Character.Head, false, colors1 ,colors2, colors3, teamname)
190 else
191 if printvar == true then
192 print("Head missing from murderer!")
193 end
194 end
195 elseif espnames == false then
196 local teamname = "Murderer"
197 if v.Parent.Parent.Character.Head ~= nil then
198 Create(v.Parent.Parent.Character.Head, false, colors1 ,colors2, colors3, teamname)
199 else
200 if printvar == true then
201 print("Head missing from murderer!")
202 end
203 end
204 end
205 murderer = v.Parent.Parent.Name
206 if printvar == true then
207 print(murderer.." is Murderer")
208 end
209 end
210 end
211 for i,v in pairs(v.Character:GetChildren()) do --Checks workspace player for knife (holding it)
212 if v.Name == "Knife" then
213 if espnames == true then
214 local teamname = v.Parent.Name
215 if v.Parent.Head ~= nil then --Tried to failproof to stop printing nil
216 Create(v.Parent.Head, false, colors1 ,colors2, colors3, teamname)
217 else
218 if printvar == true then
219 print("Head missing from murderer!")
220 end
221 end
222 elseif espnames == false then
223 local teamname = "Murderer"
224 if v.Parent.Head ~= nil then
225 Create(v.Parent.Head, false, colors1 ,colors2, colors3, teamname)
226 else
227 if printvar == true then
228 print("Head missing from murderer!")
229 end
230 end
231 end
232 murderer = v.Parent.Name
233 if printvar == true then --Tried to failproof to stop printing nil
234 local murderer1 = tostring(v.Parent.Name)
235 print(murderer1.." is Murderer")
236 end
237 end
238 end
239 end
240 end
241end
242
243function findsheriff() --Find who the sheriff is
244 local colors1 = 0
245 local colors2 = 0
246 local colors3 = 255
247 for i, v in pairs(game:GetService("Players"):GetChildren()) do
248 if v ~= game:GetService("Players").LocalPlayer then
249 for i,v in pairs(v.Backpack:GetChildren()) do
250 if v.Name == "Revolver" or v.Name == "Gun" then --Lazy to check if its revolver or gun and checks backpack for gun
251 if espnames == true then
252 local teamname = v.Parent.Parent.Name
253 if v.Parent.Parent.Character.Head ~= nil then --Tried to failproof to stop printing nil
254 Create(v.Parent.Parent.Character.Head, false, colors1 ,colors2, colors3, teamname)
255 else
256 if printvar == true then
257 print("Head missing from sheriff!")
258 end
259 end
260 elseif espnames == false then
261 local teamname = "Sheriff"
262 if v.Parent.Parent.Character.Head ~= nil then --Tried to failproof to stop printing nil
263 Create(v.Parent.Parent.Character.Head, false, colors1 ,colors2, colors3, teamname)
264 else
265 if printvar == true then
266 print("Head missing from sheriff!")
267 end
268 end
269 end
270 sheriff = v.Parent.Parent.Name
271 if printvar == true then
272 local sheriff1 = tostring(v.Parent.Parent.Name)
273 print(sheriff1.." is Sheriff")
274 end
275 end
276 end
277 for i,v in pairs(v.Character:GetChildren()) do
278 if v.Name == "Revolver" or v.Name == "Gun" then --Lazy to check if its revolver or gun and checks workspace player for gun (holding it)
279 if espnames == true then
280 local teamname = v.Parent.Name
281 if v.Parent.Head ~= nil then --Tried to failproof to stop printing nil
282 Create(v.Parent.Head, false, colors1 ,colors2, colors3, teamname)
283 else
284 if printvar == true then
285 print("Head missing from sheriff!")
286 end
287 end
288 elseif espnames == false then
289 local teamname = "Sheriff"
290 if v.Parent.Head ~= nil then --Tried to failproof to stop printing nil
291 Create(v.Parent.Head, false, colors1 ,colors2, colors3, teamname)
292 else
293 if printvar == true then
294 print("Head missing from sheriff!")
295 end
296 end
297 end
298 sheriff = v.Parent.Name
299 if printvar == true then
300 local sheriff1 = tostring(v.Parent.Name)
301 print(sheriff1.." is Sheriff")
302 end
303 end
304 end
305 end
306 end
307end
308
309function findplayers() --Find all players but local player
310 findmurderer() --Finds murderer
311 findsheriff() --Finds sheriff
312 local colors1 = 0
313 local colors2 = 255
314 local colors3 = 0
315 for i, v in pairs(game:GetService("Players"):GetChildren()) do
316 if v ~= game:GetService("Players").LocalPlayer then --If not local player
317 if v.Name ~= murderer then --If not murderer
318 if v.Name ~= sheriff then --If not sheriff
319 if espnames == true then
320 local teamname = v.Name
321 if v.Character.Head ~= nil then --Tried to failproof to stop printing nil
322 Create(v.Character.Head, false, colors1 ,colors2, colors3, teamname)
323 else
324 if printvar == true then
325 print("Head missing from sheriff!")
326 end
327 end
328 elseif espnames == false then
329 local teamname = "Innocents"
330 if v.Parent.Head ~= nil then --Tried to failproof to stop printing nil
331 Create(v.Character.Head, false, colors1 ,colors2, colors3, teamname)
332 else
333 if printvar == true then
334 print("Head missing from sheriff!")
335 end
336 end
337 end
338 end
339 end
340 end
341 end
342end
343
344function Clear() --Clears all the esps
345 for _,v in pairs(player.PlayerGui:children()) do
346 if v.Name == "tracker" and v:isA("BillboardGui") then
347 v:Destroy()
348 end
349 end
350end
351
352function XrayOn(obj) --Enables xray
353 for _,v in pairs(obj:GetChildren()) do
354 if (v:IsA("BasePart")) and not v.Parent:FindFirstChild("Humanoid") then
355 v.LocalTransparencyModifier = 0.75
356 end
357 XrayOn(v)
358 end
359end
360
361function XrayOff(obj) --Disables xray
362 for _,v in pairs(obj:GetChildren()) do
363 if (v:IsA("BasePart")) and not v.Parent:FindFirstChild("Humanoid") then
364 v.LocalTransparencyModifier = 0
365 end XrayOff(v)
366 end
367end
368
369function sFLY() --Fly function
370 repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('Torso') and LP.Character:FindFirstChild('Humanoid')
371 repeat wait() until mouse
372
373 local T = LP.Character.Torso
374 local CONTROL = {F = 0, B = 0, L = 0, R = 0}
375 local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
376 local SPEED = 0
377
378 local function FLY()
379 FLYING = true
380 local BG = Instance.new('BodyGyro', T)
381 local BV = Instance.new('BodyVelocity', T)
382 BG.P = 9e4
383 BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
384 BG.cframe = T.CFrame
385 BV.velocity = Vector3.new(0, 0.1, 0)
386 BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
387 spawn(function()
388 repeat wait()
389 LP.Character.Humanoid.PlatformStand = true
390 if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
391 SPEED = 50
392 elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
393 SPEED = 0
394 end
395 if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
396 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
397 lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
398 elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
399 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
400 else
401 BV.velocity = Vector3.new(0, 0.1, 0)
402 end
403 BG.cframe = workspace.CurrentCamera.CoordinateFrame
404 until not FLYING
405 CONTROL = {F = 0, B = 0, L = 0, R = 0}
406 lCONTROL = {F = 0, B = 0, L = 0, R = 0}
407 SPEED = 0
408 BG:destroy()
409 BV:destroy()
410 LP.Character.Humanoid.PlatformStand = false
411 end)
412 end
413
414 mouse.KeyDown:connect(function(KEY)
415 if KEY:lower() == 'w' then
416 CONTROL.F = 1
417 elseif KEY:lower() == 's' then
418 CONTROL.B = -1
419 elseif KEY:lower() == 'a' then
420 CONTROL.L = -1
421 elseif KEY:lower() == 'd' then
422 CONTROL.R = 1
423 end
424 end)
425
426 mouse.KeyUp:connect(function(KEY)
427 if KEY:lower() == 'w' then
428 CONTROL.F = 0
429 elseif KEY:lower() == 's' then
430 CONTROL.B = 0
431 elseif KEY:lower() == 'a' then
432 CONTROL.L = 0
433 elseif KEY:lower() == 'd' then
434 CONTROL.R = 0
435 end
436 end)
437 FLY()
438end
439
440function NOFLY() --Unfly function
441 FLYING = false
442 LP.Character.Humanoid.PlatformStand = false
443end
444
445local noclipcoro = coroutine.wrap(function() --Noclip function
446 while true do
447 if NClip == true then
448 if game.Players ~= nil then
449 if game.Players.LocalPlayer ~= nil then
450 if game.Players.LocalPlayer.Character ~= nil then
451 if game.Players.LocalPlayer.Character:FindFirstChild("Torso") ~= nil then
452 if game.Players.LocalPlayer.Character:FindFirstChild("Head") ~= nil then
453 game.Players.LocalPlayer.Character.Torso.CanCollide = false
454 game.Players.LocalPlayer.Character.Head.CanCollide = false
455 end
456 end
457 end
458 end
459 end
460 end
461 game:service("RunService").Stepped:wait()
462 end
463end)
464
465noclipcoro() --For noclip to work
466
467game:GetService("Players").LocalPlayer.CharacterAdded:connect(function(character) --Resets specific things for ease
468 flyvar = false
469 FlyActive.Text = "Inactive"
470 FlyActive.TextColor3 = Color3.new(1, 0, 1)
471 godmodevar = false
472 GodModeActive.Text = "Inactive"
473 GodModeActive.TextColor3 = Color3.new(1, 0, 1)
474 Clear()
475 MSESPActive.Text = "Inactive"
476 MSESPActive.TextColor3 = Color3.new(1, 0, 1)
477 PlayersEspActive.Text = "Inactive"
478 PlayersEspActive.TextColor3 = Color3.new(1, 0, 1)
479 EspOffActive.Text = "Active"
480 EspOffActive.TextColor3 = Color3.new(0, 1, 0)
481end)
482
483mouse.KeyDown:connect(function(KeyDown) --If shift is held, run
484 if KeyDown == "0" and runActive == false and keyOff == false then
485 runActive = true
486 player.Character.Humanoid.WalkSpeed = 32
487 RunActiveGui.Text = "Active"
488 RunActiveGui.TextColor3 = Color3.new(0, 1, 0)
489 end
490end)
491
492mouse.KeyUp:connect(function(KeyUp) --If shift is released, walk
493 if KeyUp == "0" and runActive == true and keyOff == false then
494 runActive = false
495 player.Character.Humanoid.WalkSpeed = 16
496 RunActiveGui.Text = "Inactive"
497 RunActiveGui.TextColor3 = Color3.new(1, 0, 1)
498 end
499end)
500
501function coingrabberfunc() --Coin grabber function
502 local children = game.Workspace:GetChildren()
503 for _, child in pairs(children) do
504 for _, child in pairs(child:GetChildren()) do
505 table.insert(children, child)
506 end
507 if child:IsA("BasePart") and child.Name == "Coin" then
508 child.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
509 end
510 end
511end
512
513function godmodefunc() --Godmode function
514 local player = game.Players.LocalPlayer
515 if player.Character then
516 if player.Character:FindFirstChild("Humanoid") then
517 player.Character.Humanoid.Name = "1"
518 end
519 local l = player.Character["1"]:Clone()
520 l.Parent = player.Character
521 l.Name = "Humanoid"; wait(0.1)
522 player.Character["1"]:Destroy()
523 workspace.CurrentCamera.CameraSubject = player.Character.Humanoid
524 player.Character.Animate.Disabled = true; wait(0.1)
525 player.Character.Animate.Disabled = false
526 end
527end
528
529--Coin Grabber--
530Coin.Name = "CoinGrabber"
531Coin.Parent = Main
532Coin.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
533Coin.BorderColor3 = Color3.new(0, 0.607843, 1)
534Coin.BorderSizePixel = 5
535Coin.Position = UDim2.new(0, 0, 0.215, 0)
536Coin.Size = UDim2.new(1.005, 0, 0.08, 0)
537Coin.ZIndex = 4
538Coin.Font = Enum.Font.SciFi
539Coin.FontSize = Enum.FontSize.Size24
540Coin.Text = "Coin Grabber ["..string.upper(coinkey).."]"
541Coin.TextColor3 = Color3.fromRGB(255, 255, 26)
542Coin.TextSize = 20
543Coin.TextWrapped = true
544Coin.MouseButton1Down:connect(function(x, y)
545 coingrabberfunc()
546end)
547
548--Murderer/Sheriff Esp--
549MSESPActive.Name = "MSEspActive"
550MSESPActive.Parent = Main
551MSESPActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
552MSESPActive.BorderColor3 = Color3.new(0, 0.607843, 1)
553MSESPActive.BorderSizePixel = 5
554MSESPActive.Position = UDim2.new(0.755, 0, 0.315, 0)
555MSESPActive.Size = UDim2.new(0.25, 0, 0.08, 0)
556MSESPActive.ZIndex = 4
557MSESPActive.Font = Enum.Font.SciFi
558MSESPActive.FontSize = Enum.FontSize.Size24
559MSESPActive.Text = "Inactive"
560MSESPActive.TextColor3 = Color3.new(1, 0, 1)
561MSESPActive.TextSize = 20
562MSESPActive.TextWrapped = true
563
564MSEsp.Name = "MSEsp"
565MSEsp.Parent = Main
566MSEsp.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
567MSEsp.BorderColor3 = Color3.new(0, 0.607843, 1)
568MSEsp.BorderSizePixel = 5
569MSEsp.Position = UDim2.new(0, 0, 0.315, 0)
570MSEsp.Size = UDim2.new(0.75, 0, 0.08, 0)
571MSEsp.ZIndex = 4
572MSEsp.Font = Enum.Font.SciFi
573MSEsp.FontSize = Enum.FontSize.Size24
574MSEsp.Text = "Murderer/Sheriff Esp ["..string.upper(MSkey).."]"
575MSEsp.TextColor3 = Color3.fromRGB(255, 102, 255)
576MSEsp.TextSize = 20
577MSEsp.TextWrapped = true
578MSEsp.MouseButton1Down:connect(function(x, y)
579 murderer = "None"
580 sheriff = "None"
581 Clear()
582 findmurderer()
583 findsheriff()
584 if printvar == true then
585 print("Murderer/Sheriff")
586 end
587 MSESPActive.Text = "Active"
588 MSESPActive.TextColor3 = Color3.new(0, 1, 0)
589 PlayersEspActive.Text = "Inactive"
590 PlayersEspActive.TextColor3 = Color3.new(1, 0, 1)
591 EspOffActive.Text = "Inactive"
592 EspOffActive.TextColor3 = Color3.new(1, 0, 1)
593end)
594
595--All Players Esp
596PlayersEspActive.Name = "PlayersEspActive"
597PlayersEspActive.Parent = Main
598PlayersEspActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
599PlayersEspActive.BorderColor3 = Color3.new(0, 0.607843, 1)
600PlayersEspActive.BorderSizePixel = 5
601PlayersEspActive.Position = UDim2.new(0.755, 0, 0.415, 0)
602PlayersEspActive.Size = UDim2.new(0.25, 0, 0.08, 0)
603PlayersEspActive.ZIndex = 4
604PlayersEspActive.Font = Enum.Font.SciFi
605PlayersEspActive.FontSize = Enum.FontSize.Size24
606PlayersEspActive.Text = "Inactive"
607PlayersEspActive.TextColor3 = Color3.new(1, 0, 1)
608PlayersEspActive.TextSize = 20
609PlayersEspActive.TextWrapped = true
610
611PlayersEsp.Name = "PlayersEsp"
612PlayersEsp.Parent = Main
613PlayersEsp.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
614PlayersEsp.BorderColor3 = Color3.new(0, 0.607843, 1)
615PlayersEsp.BorderSizePixel = 5
616PlayersEsp.Position = UDim2.new(0, 0, 0.415, 0)
617PlayersEsp.Size = UDim2.new(0.75, 0, 0.08, 0)
618PlayersEsp.ZIndex = 4
619PlayersEsp.Font = Enum.Font.SciFi
620PlayersEsp.FontSize = Enum.FontSize.Size24
621PlayersEsp.Text = "All Players Esp ["..string.upper(playerskey).."]"
622PlayersEsp.TextColor3 = Color3.fromRGB(102, 255, 51)
623PlayersEsp.TextSize = 20
624PlayersEsp.TextWrapped = true
625PlayersEsp.MouseButton1Down:connect(function(x, y)
626 Clear()
627 if printvar == true then
628 print("Players Esp")
629 end
630 MSESPActive.Text = "Inactive"
631 MSESPActive.TextColor3 = Color3.new(1, 0, 1)
632 PlayersEspActive.Text = "Active"
633 PlayersEspActive.TextColor3 = Color3.new(0, 1, 0)
634 EspOffActive.Text = "Inactive"
635 EspOffActive.TextColor3 = Color3.new(1, 0, 1)
636 findplayers()
637end)
638
639--Esp Off
640EspOffActive.Name = "EspOffActive"
641EspOffActive.Parent = Main
642EspOffActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
643EspOffActive.BorderColor3 = Color3.new(0, 0.607843, 1)
644EspOffActive.BorderSizePixel = 5
645EspOffActive.Position = UDim2.new(0.755, 0, 0.515, 0)
646EspOffActive.Size = UDim2.new(0.25, 0, 0.08, 0)
647EspOffActive.ZIndex = 4
648EspOffActive.Font = Enum.Font.SciFi
649EspOffActive.FontSize = Enum.FontSize.Size24
650EspOffActive.Text = "Active"
651EspOffActive.TextColor3 = Color3.new(0, 1, 0)
652EspOffActive.TextSize = 20
653EspOffActive.TextWrapped = true
654
655EspOff.Name = "EspOff"
656EspOff.Parent = Main
657EspOff.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
658EspOff.BorderColor3 = Color3.new(0, 0.607843, 1)
659EspOff.BorderSizePixel = 5
660EspOff.Position = UDim2.new(0, 0, 0.515, 0)
661EspOff.Size = UDim2.new(0.75, 0, 0.08, 0)
662EspOff.ZIndex = 4
663EspOff.Font = Enum.Font.SciFi
664EspOff.FontSize = Enum.FontSize.Size24
665EspOff.Text = "Esp Off ["..string.upper(espoffkey).."]"
666EspOff.TextColor3 = Color3.fromRGB(255, 255, 255)
667EspOff.TextSize = 20
668EspOff.TextWrapped = true
669EspOff.MouseButton1Down:connect(function(x, y)
670 Clear()
671 if printvar == true then
672 print("Esp Off")
673 end
674 MSESPActive.Text = "Inactive"
675 MSESPActive.TextColor3 = Color3.new(1, 0, 1)
676 PlayersEspActive.Text = "Inactive"
677 PlayersEspActive.TextColor3 = Color3.new(1, 0, 1)
678 EspOffActive.Text = "Active"
679 EspOffActive.TextColor3 = Color3.new(0, 1, 0)
680end)
681
682--Run
683RunActiveGui.Name = "RunActiveGui"
684RunActiveGui.Parent = Main
685RunActiveGui.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
686RunActiveGui.BorderColor3 = Color3.new(0, 0.607843, 1)
687RunActiveGui.BorderSizePixel = 5
688RunActiveGui.Position = UDim2.new(0.755, 0, 0.615, 0)
689RunActiveGui.Size = UDim2.new(0.25, 0, 0.08, 0)
690RunActiveGui.ZIndex = 4
691RunActiveGui.Font = Enum.Font.SciFi
692RunActiveGui.FontSize = Enum.FontSize.Size24
693RunActiveGui.Text = "Inactive"
694RunActiveGui.TextColor3 = Color3.new(1, 0, 1)
695RunActiveGui.TextSize = 20
696RunActiveGui.TextWrapped = true
697
698Run.Name = "Run"
699Run.Parent = Main
700Run.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
701Run.BorderColor3 = Color3.new(0, 0.607843, 1)
702Run.BorderSizePixel = 5
703Run.Position = UDim2.new(0, 0, 0.615, 0)
704Run.Size = UDim2.new(0.75, 0, 0.08, 0)
705Run.ZIndex = 4
706Run.Font = Enum.Font.SciFi
707Run.FontSize = Enum.FontSize.Size24
708Run.Text = "Run [Shift]"
709Run.TextColor3 = Color3.fromRGB(255, 51, 0)
710Run.TextSize = 20
711Run.TextWrapped = true
712Run.MouseButton1Down:connect(function(x, y)
713 if runActive == false then
714 runActive = true
715 player.Character.Humanoid.WalkSpeed = 32
716 RunActiveGui.Text = "Active"
717 RunActiveGui.TextColor3 = Color3.new(0, 1, 0)
718 elseif runActive == true then
719 runActive = false
720 player.Character.Humanoid.WalkSpeed = 16
721 RunActiveGui.Text = "Inactive"
722 RunActiveGui.TextColor3 = Color3.new(1, 0, 1)
723 end
724end)
725
726--Fly
727FlyActive.Name = "FlyActive"
728FlyActive.Parent = Main
729FlyActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
730FlyActive.BorderColor3 = Color3.new(0, 0.607843, 1)
731FlyActive.BorderSizePixel = 5
732FlyActive.Position = UDim2.new(0.755, 0, 0.715, 0)
733FlyActive.Size = UDim2.new(0.25, 0, 0.08, 0)
734FlyActive.ZIndex = 4
735FlyActive.Font = Enum.Font.SciFi
736FlyActive.FontSize = Enum.FontSize.Size24
737FlyActive.Text = "Inactive"
738FlyActive.TextColor3 = Color3.new(1, 0, 1)
739FlyActive.TextSize = 20
740FlyActive.TextWrapped = true
741
742Fly.Name = "Fly"
743Fly.Parent = Main
744Fly.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
745Fly.BorderColor3 = Color3.new(0, 0.607843, 1)
746Fly.BorderSizePixel = 5
747Fly.Position = UDim2.new(0, 0, 0.715, 0)
748Fly.Size = UDim2.new(0.75, 0, 0.08, 0)
749Fly.ZIndex = 4
750Fly.Font = Enum.Font.SciFi
751Fly.FontSize = Enum.FontSize.Size24
752Fly.Text = "Fly ["..string.upper(flykey).."]"
753Fly.TextColor3 = Color3.fromRGB(204, 255, 255)
754Fly.TextSize = 20
755Fly.TextWrapped = true
756Fly.MouseButton1Down:connect(function(x, y)
757 if flyvar == false then
758 sFLY()
759 flyvar = true
760 FlyActive.Text = "Active"
761 FlyActive.TextColor3 = Color3.new(0, 1, 0)
762 elseif flyvar == true then
763 flyvar = false
764 NOFLY()
765 FlyActive.Text = "Inactive"
766 FlyActive.TextColor3 = Color3.new(1, 0, 1)
767 end
768end)
769
770--Noclip
771NoclipActive.Name = "NoclipActive"
772NoclipActive.Parent = Main
773NoclipActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
774NoclipActive.BorderColor3 = Color3.new(0, 0.607843, 1)
775NoclipActive.BorderSizePixel = 5
776NoclipActive.Position = UDim2.new(0.755, 0, 0.815, 0)
777NoclipActive.Size = UDim2.new(0.25, 0, 0.08, 0)
778NoclipActive.ZIndex = 4
779NoclipActive.Font = Enum.Font.SciFi
780NoclipActive.FontSize = Enum.FontSize.Size24
781NoclipActive.Text = "Inactive"
782NoclipActive.TextColor3 = Color3.new(1, 0, 1)
783NoclipActive.TextSize = 20
784NoclipActive.TextWrapped = true
785
786Noclip.Name = "Noclip"
787Noclip.Parent = Main
788Noclip.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
789Noclip.BorderColor3 = Color3.new(0, 0.607843, 1)
790Noclip.BorderSizePixel = 5
791Noclip.Position = UDim2.new(0, 0, 0.815, 0)
792Noclip.Size = UDim2.new(0.75, 0, 0.08, 0)
793Noclip.ZIndex = 4
794Noclip.Font = Enum.Font.SciFi
795Noclip.FontSize = Enum.FontSize.Size24
796Noclip.Text = "Noclip ["..string.upper(noclipkey).."]"
797Noclip.TextColor3 = Color3.fromRGB(0, 102, 255)
798Noclip.TextSize = 20
799Noclip.TextWrapped = true
800Noclip.MouseButton1Down:connect(function(x, y)
801 if NClip == false then
802 NClip = true
803 if printvar == true then
804 print("Noclip Enabled")
805 end
806 NoclipActive.Text = "Active"
807 NoclipActive.TextColor3 = Color3.new(0, 1, 0)
808 elseif NClip == true then
809 NClip = false
810 if printvar == true then
811 print("Noclip Disabled")
812 end
813 NoclipActive.Text = "Inactive"
814 NoclipActive.TextColor3 = Color3.new(1, 0, 1)
815 end
816end)
817
818--GodMode
819GodModeActive.Name = "GodModeActive"
820GodModeActive.Parent = Main
821GodModeActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
822GodModeActive.BorderColor3 = Color3.new(0, 0.607843, 1)
823GodModeActive.BorderSizePixel = 5
824GodModeActive.Position = UDim2.new(0.755, 0, 0.915, 0)
825GodModeActive.Size = UDim2.new(0.25, 0, 0.08, 0)
826GodModeActive.ZIndex = 4
827GodModeActive.Font = Enum.Font.SciFi
828GodModeActive.FontSize = Enum.FontSize.Size24
829GodModeActive.Text = "Inactive"
830GodModeActive.TextColor3 = Color3.new(1, 0, 1)
831GodModeActive.TextSize = 20
832GodModeActive.TextWrapped = true
833
834GodMode.Name = "GodMode"
835GodMode.Parent = Main
836GodMode.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
837GodMode.BorderColor3 = Color3.new(0, 0.607843, 1)
838GodMode.BorderSizePixel = 5
839GodMode.Position = UDim2.new(0, 0, 0.915, 0)
840GodMode.Size = UDim2.new(0.75, 0, 0.08, 0)
841GodMode.ZIndex = 4
842GodMode.Font = Enum.Font.SciFi
843GodMode.FontSize = Enum.FontSize.Size24
844GodMode.Text = "God Mode ["..string.upper(godmodekey).."]"
845GodMode.TextColor3 = Color3.fromRGB(255, 255, 255)
846GodMode.TextSize = 20
847GodMode.TextWrapped = true
848GodMode.MouseButton1Down:connect(function(x, y)
849 if godmodevar == false then
850 GodModeActive.Text = "Active"
851 GodModeActive.TextColor3 = Color3.new(0, 1, 0)
852 godmodevar = true
853 godmodefunc()
854 end
855end)
856
857--Xray On
858GuiXrayOnActive.Name = "GuiXrayOnActive"
859GuiXrayOnActive.Parent = Main
860GuiXrayOnActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
861GuiXrayOnActive.BorderColor3 = Color3.new(0, 0.607843, 1)
862GuiXrayOnActive.BorderSizePixel = 5
863GuiXrayOnActive.Position = UDim2.new(0.755, 0, 1.015, 0)
864GuiXrayOnActive.Size = UDim2.new(0.25, 0, 0.08, 0)
865GuiXrayOnActive.ZIndex = 4
866GuiXrayOnActive.Font = Enum.Font.SciFi
867GuiXrayOnActive.FontSize = Enum.FontSize.Size24
868GuiXrayOnActive.Text = "Inactive"
869GuiXrayOnActive.TextColor3 = Color3.new(1, 0, 1)
870GuiXrayOnActive.TextSize = 20
871GuiXrayOnActive.TextWrapped = true
872
873GuiXrayOn.Name = "XrayOn"
874GuiXrayOn.Parent = Main
875GuiXrayOn.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
876GuiXrayOn.BorderColor3 = Color3.new(0, 0.607843, 1)
877GuiXrayOn.BorderSizePixel = 5
878GuiXrayOn.Position = UDim2.new(0, 0, 1.015, 0)
879GuiXrayOn.Size = UDim2.new(0.75, 0, 0.08, 0)
880GuiXrayOn.ZIndex = 4
881GuiXrayOn.Font = Enum.Font.SciFi
882GuiXrayOn.FontSize = Enum.FontSize.Size24
883GuiXrayOn.Text = "Xray On ["..string.upper(xrayonkey).."]"
884GuiXrayOn.TextColor3 = Color3.fromRGB(255, 204, 102)
885GuiXrayOn.TextSize = 20
886GuiXrayOn.TextWrapped = true
887GuiXrayOn.MouseButton1Down:connect(function(x, y)
888 GuiXrayOnActive.Text = "Active"
889 GuiXrayOnActive.TextColor3 = Color3.new(0, 1, 0)
890 GuiXrayOffActive.Text = "Inactive"
891 GuiXrayOffActive.TextColor3 = Color3.new(1, 0, 1)
892 XrayOn(obj)
893end)
894
895--Xray Off
896GuiXrayOffActive.Name = "GuiXrayOffActive"
897GuiXrayOffActive.Parent = Main
898GuiXrayOffActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
899GuiXrayOffActive.BorderColor3 = Color3.new(0, 0.607843, 1)
900GuiXrayOffActive.BorderSizePixel = 5
901GuiXrayOffActive.Position = UDim2.new(0.755, 0, 1.115, 0)
902GuiXrayOffActive.Size = UDim2.new(0.25, 0, 0.08, 0)
903GuiXrayOffActive.ZIndex = 4
904GuiXrayOffActive.Font = Enum.Font.SciFi
905GuiXrayOffActive.FontSize = Enum.FontSize.Size24
906GuiXrayOffActive.Text = "Active"
907GuiXrayOffActive.TextColor3 = Color3.new(0, 1, 0)
908GuiXrayOffActive.TextSize = 20
909GuiXrayOffActive.TextWrapped = true
910
911GuiXrayOff.Name = "XrayOff"
912GuiXrayOff.Parent = Main
913GuiXrayOff.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
914GuiXrayOff.BorderColor3 = Color3.new(0, 0.607843, 1)
915GuiXrayOff.BorderSizePixel = 5
916GuiXrayOff.Position = UDim2.new(0, 0, 1.115, 0)
917GuiXrayOff.Size = UDim2.new(0.75, 0, 0.08, 0)
918GuiXrayOff.ZIndex = 4
919GuiXrayOff.Font = Enum.Font.SciFi
920GuiXrayOff.FontSize = Enum.FontSize.Size24
921GuiXrayOff.Text = "Xray Off ["..string.upper(xrayoffkey).."]"
922GuiXrayOff.TextColor3 = Color3.fromRGB(255, 153, 51)
923GuiXrayOff.TextSize = 20
924GuiXrayOff.TextWrapped = true
925GuiXrayOff.MouseButton1Down:connect(function(x, y)
926 GuiXrayOnActive.Text = "Inactive"
927 GuiXrayOnActive.TextColor3 = Color3.new(1, 0, 1)
928 GuiXrayOffActive.Text = "Active"
929 GuiXrayOffActive.TextColor3 = Color3.new(0, 1, 0)
930 XrayOff(obj)
931end)
932
933--Bring Gun to You
934BringGun.Name = "BringGun"
935BringGun.Parent = Main
936BringGun.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
937BringGun.BorderColor3 = Color3.new(0, 0.607843, 1)
938BringGun.BorderSizePixel = 5
939BringGun.Position = UDim2.new(0, 0, 1.215, 0)
940BringGun.Size = UDim2.new(1.005, 0, 0.08, 0)
941BringGun.ZIndex = 4
942BringGun.Font = Enum.Font.SciFi
943BringGun.FontSize = Enum.FontSize.Size24
944BringGun.Text = "Teleport Gun ["..string.upper(bringgunkey).."]"
945BringGun.TextColor3 = Color3.fromRGB(0, 255, 0)
946BringGun.TextSize = 20
947BringGun.TextWrapped = true
948BringGun.MouseButton1Down:connect(function(x, y)
949 if game.Workspace.GunDrop.CFrame ~= nil then
950 game.Workspace.GunDrop.CFrame = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame
951 else
952 if printvar == true then
953 print("Gun not currently dropped")
954 end
955 end
956end)
957
958--Keybinds
959KeybindsActive.Name = "KeybindsActive"
960KeybindsActive.Parent = Main
961KeybindsActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
962KeybindsActive.BorderColor3 = Color3.new(0, 0.607843, 1)
963KeybindsActive.BorderSizePixel = 5
964KeybindsActive.Position = UDim2.new(0.755, 0, 1.315, 0)
965KeybindsActive.Size = UDim2.new(0.25, 0, 0.08, 0)
966KeybindsActive.ZIndex = 4
967KeybindsActive.Font = Enum.Font.SciFi
968KeybindsActive.FontSize = Enum.FontSize.Size24
969KeybindsActive.Text = "Active"
970KeybindsActive.TextColor3 = Color3.new(0, 1, 0)
971KeybindsActive.TextSize = 20
972KeybindsActive.TextWrapped = true
973
974Keybinds.Name = "Keybinds"
975Keybinds.Parent = Main
976Keybinds.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
977Keybinds.BorderColor3 = Color3.new(0, 0.607843, 1)
978Keybinds.BorderSizePixel = 5
979Keybinds.Position = UDim2.new(0, 0, 1.315, 0)
980Keybinds.Size = UDim2.new(0.75, 0, 0.08, 0)
981Keybinds.ZIndex = 4
982Keybinds.Font = Enum.Font.SciFi
983Keybinds.FontSize = Enum.FontSize.Size24
984Keybinds.Text = "Keybinds [Ctrl]"
985Keybinds.TextColor3 = Color3.fromRGB(255, 255, 255)
986Keybinds.TextSize = 20
987Keybinds.TextWrapped = true
988Keybinds.MouseButton1Down:connect(function(x, y)
989 if keyOff == true then
990 keyOff = false
991 KeybindsActive.Text = "Active"
992 KeybindsActive.TextColor3 = Color3.new(0, 1, 0)
993 elseif keyOff == false then
994 keyOff = true
995 KeybindsActive.Text = "Inactive"
996 KeybindsActive.TextColor3 = Color3.new(1, 0, 1)
997 end
998end)
999
1000Show.Name = "Show"
1001Show.Parent = MM2
1002Show.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
1003Show.BorderColor3 = Color3.new(0, 0.607843, 1)
1004Show.BorderSizePixel = 5
1005Show.Position = UDim2.new(0, 0, 0.85799998, 0)
1006Show.Size = UDim2.new(0.08, 0, 0.04, 0)
1007Show.ZIndex = 4
1008Show.Font = Enum.Font.SciFi
1009Show.FontSize = Enum.FontSize.Size24
1010Show.Text = "Show ["..string.upper(hideshowguikey).."]"
1011Show.TextColor3 = Color3.new(0, 0.333333, 1)
1012Show.TextSize = 20
1013Show.TextWrapped = true
1014Show.Visible = false
1015
1016Hide.Name = "Hide"
1017Hide.Parent = Main
1018Hide.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
1019Hide.BorderColor3 = Color3.new(0, 0.607843, 1)
1020Hide.BorderSizePixel = 5
1021Hide.Position = UDim2.new(0, 0, 1.415, 0)
1022Hide.Size = UDim2.new(1.005, 0, 0.08, 0)
1023Hide.ZIndex = 4
1024Hide.Font = Enum.Font.SciFi
1025Hide.FontSize = Enum.FontSize.Size24
1026Hide.Text = "Hide ["..string.upper(hideshowguikey).."]"
1027Hide.TextColor3 = Color3.new(0, 0.333333, 1)
1028Hide.TextSize = 20
1029Hide.TextWrapped = true
1030
1031Hide.MouseButton1Down:connect(function(x, y)
1032 if showvar == true then
1033 showvar = false
1034 Main.Visible = false
1035 Show.Visible = true
1036 if printvar == true then
1037 print("Hidden")
1038 end
1039 end
1040end)
1041
1042Show.MouseButton1Down:connect(function(x, y)
1043 if showvar == false then
1044 showvar = true
1045 Show.Visible = false
1046 Main.Visible = true
1047 if printvar == true then
1048 print("Shown")
1049 end
1050 end
1051end)
1052
1053inputcode.InputBegan:connect(function(input)
1054 if input.KeyCode == Enum.KeyCode.LeftControl then
1055 if keyOff == true then
1056 keyOff = false
1057 KeybindsActive.Text = "Active"
1058 KeybindsActive.TextColor3 = Color3.new(0, 1, 0)
1059 elseif keyOff == false then
1060 keyOff = true
1061 KeybindsActive.Text = "Inactive"
1062 KeybindsActive.TextColor3 = Color3.new(1, 0, 1)
1063 end
1064 end
1065end)
1066
1067mouse.keyDown:connect(function(key)
1068 if keyOff == false then
1069 if key == coinkey then --Coin Grabber
1070 coingrabberfunc()
1071 elseif key == MSkey then --Murderer/Sheriff Esp On
1072 murderer = "None"
1073 sheriff = "None"
1074 Clear()
1075 findmurderer()
1076 findsheriff()
1077 if printvar == true then
1078 print("Murderer/Sheriff")
1079 end
1080 MSESPActive.Text = "Active"
1081 MSESPActive.TextColor3 = Color3.new(0, 1, 0)
1082 PlayersEspActive.Text = "Inactive"
1083 PlayersEspActive.TextColor3 = Color3.new(1, 0, 1)
1084 EspOffActive.Text = "Inactive"
1085 EspOffActive.TextColor3 = Color3.new(1, 0, 1)
1086 elseif key == playerskey then --Player Esp On
1087 Clear()
1088 MSESPActive.Text = "Inactive"
1089 MSESPActive.TextColor3 = Color3.new(1, 0, 1)
1090 PlayersEspActive.Text = "Active"
1091 PlayersEspActive.TextColor3 = Color3.new(0, 1, 0)
1092 EspOffActive.Text = "Inactive"
1093 EspOffActive.TextColor3 = Color3.new(1, 0, 1)
1094 findplayers()
1095 if printvar == true then
1096 print("Players")
1097 end
1098 elseif key == espoffkey then --Esp off
1099 Clear()
1100 if printvar == true then
1101 print("Esp Disabled")
1102 end
1103 MSESPActive.Text = "Inactive"
1104 MSESPActive.TextColor3 = Color3.new(1, 0, 1)
1105 PlayersEspActive.Text = "Inactive"
1106 PlayersEspActive.TextColor3 = Color3.new(1, 0, 1)
1107 EspOffActive.Text = "Active"
1108 EspOffActive.TextColor3 = Color3.new(0, 1, 0)
1109 elseif key == flykey then --Fly
1110 if flyvar == false then
1111 sFLY()
1112 flyvar = true
1113 FlyActive.Text = "Active"
1114 FlyActive.TextColor3 = Color3.new(0, 1, 0)
1115 elseif flyvar == true then
1116 flyvar = false
1117 NOFLY()
1118 FlyActive.Text = "Inactive"
1119 FlyActive.TextColor3 = Color3.new(1, 0, 1)
1120 end
1121 elseif key == noclipkey then --Noclip toggle
1122 if NClip == false then
1123 NClip = true
1124 if printvar == true then
1125 print("Noclip Enabled")
1126 end
1127 NoclipActive.Text = "Active"
1128 NoclipActive.TextColor3 = Color3.new(0, 1, 0)
1129 elseif NClip == true then
1130 NClip = false
1131 if printvar == true then
1132 print("Noclip Disabled")
1133 end
1134 NoclipActive.Text = "Inactive"
1135 NoclipActive.TextColor3 = Color3.new(1, 0, 1)
1136 end
1137 elseif key == godmodekey then --Godmode
1138 if godmodevar == false then
1139 godmodevar = true
1140 godmodefunc()
1141 GodModeActive.Text = "Active"
1142 GodModeActive.TextColor3 = Color3.new(0, 1, 0)
1143 end
1144 elseif key == xrayonkey then --Xray On
1145 GuiXrayOnActive.Text = "Active"
1146 GuiXrayOnActive.TextColor3 = Color3.new(0, 1, 0)
1147 GuiXrayOffActive.Text = "Inactive"
1148 GuiXrayOffActive.TextColor3 = Color3.new(1, 0, 1)
1149 XrayOn(obj)
1150 elseif key == xrayoffkey then --Xray Off
1151 GuiXrayOnActive.Text = "Inactive"
1152 GuiXrayOnActive.TextColor3 = Color3.new(1, 0, 1)
1153 GuiXrayOffActive.Text = "Active"
1154 GuiXrayOffActive.TextColor3 = Color3.new(0, 1, 0)
1155 XrayOff(obj)
1156 elseif key == bringgunkey then --Teleport Gun to You
1157 if game.Workspace.GunDrop.CFrame ~= nil then
1158 game.Workspace.GunDrop.CFrame = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame
1159 else
1160 if printvar == true then
1161 print("Gun not currently dropped")
1162 end
1163 end
1164 elseif key == hideshowguikey then --Show/Hide Gui
1165 if showvar == false then
1166 showvar = true
1167 Show.Visible = false
1168 Main.Visible = true
1169 if printvar == true then
1170 print("Shown")
1171 end
1172 elseif showvar == true then
1173 showvar = false
1174 Main.Visible = false
1175 Show.Visible = true
1176 if printvar == true then
1177 print("Hidden")
1178 end
1179 end
1180 end
1181 end
1182end)
1183end
1184RAW Paste Data
1185
1186
1187
1188
1189We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
1190
1191Not a member of Pastebin yet?
1192Sign Up, it unlocks many cool features!
1193
1194
1195create new paste / dealsnew! / syntax languages / archive / faq / tools / night mode / api / scraping api
1196privacy statement / cookies policy / terms of service / security disclosure / dmca / contact
1197
1198By using Pastebin.com you agree to our cookies policy to enhance your experience.
1199Site design & logo © 2018 Pastebin; user contributions (pastes) licensed under cc by-sa 3.0 -- FavPNG -- Dedicated Server Hosting by Steadfast
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236Anonymous guest user
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299Top