· 6 years ago · Dec 06, 2019, 04:48 PM
1f game.PlaceId == 142823291 then --Proofing just because ;)
2--Note: Don't reset with godmode on or you will be stuck on a black screen for a reasonable amount of time
3--Change to false if you dont like printing to console
4local printvar = true
5--Change to true if you want to see names instead of murderer, sheriff, and innocents with esp
6local espnames = true
7--Change keybinds to your liking
8local coinkey = "c" --Coin grabber keybind
9local MSkey = "m" --Murderer/Sheriff esp keybind
10local playerskey = "q" --All players esp keybind
11local espoffkey = "b" --Turn esp off keybind
12local flykey = "f" --Fly keybind
13local noclipkey = "r" --Noclip keybind
14local godmodekey = "g" --Godmode keybind
15local xrayonkey = "x" --Xray on keybind
16local xrayoffkey = "z" --Xray off keybind
17local bringgunkey = "t" --Teleport to gun keybind
18local hideshowguikey = "p" --Show/Hide gui keybind
19--End of easy customization options
20
21--Gui Buttons and Status--
22local MM2 = Instance.new("ScreenGui")
23local Main = Instance.new("Frame")
24local Title = Instance.new("TextLabel")
25local Coin = Instance.new("TextButton")
26local MSEsp = Instance.new("TextButton")
27local MSESPActive = Instance.new("TextLabel")
28local PlayersEsp = Instance.new("TextButton")
29local PlayersEspActive = Instance.new("TextLabel")
30local EspOff = Instance.new("TextButton")
31local EspOffActive = Instance.new("TextLabel")
32local Run = Instance.new("TextButton")
33local RunActiveGui = Instance.new("TextLabel")
34local Fly = Instance.new("TextButton")
35local FlyActive = Instance.new("TextLabel")
36local Noclip = Instance.new("TextButton")
37local NoclipActive = Instance.new("TextLabel")
38local GodMode = Instance.new("TextButton")
39local GodModeActive = Instance.new("TextLabel")
40local GuiXrayOn = Instance.new("TextButton")
41local GuiXrayOnActive = Instance.new("TextLabel")
42local GuiXrayOff = Instance.new("TextButton")
43local GuiXrayOffActive = Instance.new("TextLabel")
44local BringGun = Instance.new("TextButton")
45local Keybinds = Instance.new("TextButton")
46local KeybindsActive = Instance.new("TextLabel")
47local Hide = Instance.new("TextButton")
48local Show = Instance.new("TextButton")
49
50--Other Variables
51local runActive = false
52local teamname = "None"
53local murderer = "None"
54local sheriff = "None"
55local player = game:GetService("Players").LocalPlayer
56
57local esp = false
58local plresp
59local track = false
60
61local NClip = false
62local char = game.Players.LocalPlayer.Character
63local obj = game.workspace
64local mouse=game.Players.LocalPlayer:GetMouse()
65local LP = game:GetService("Players").LocalPlayer
66local flyvar = false
67
68local showvar = true
69local inputcode = game:GetService("UserInputService")
70local godmodevar = false
71local keyOff = false
72local NClip = false
73
74--Start of Gui--
75MM2.Name = "MM2"
76MM2.Parent = game.CoreGui
77MM2.ResetOnSpawn = false
78
79Main.Name = "Main"
80Main.Parent = MM2
81Main.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
82Main.BorderColor3 = Color3.new(0, 0.607843, 1)
83Main.BorderSizePixel = 5
84Main.Draggable = true
85Main.Position = UDim2.new(0.574999988, 0, 0.349999994, 0)
86Main.Size = UDim2.new(0.2, 0, 0.4, 0)
87Main.Visible = true
88Main.Active = true
89
90Title.Name = "Title"
91Title.Parent = Main
92Title.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
93Title.BorderColor3 = Color3.new(0, 0.607843, 1)
94Title.BorderSizePixel = 5
95Title.Draggable = true
96Title.Size = UDim2.new(1.005, 0, 0.2, 0)
97Title.ZIndex = 3
98Title.Font = Enum.Font.SciFi
99Title.FontSize = Enum.FontSize.Size24
100Title.Text = "Murder Mystery 2"
101Title.TextColor3 = Color3.new(0, 0.607843, 1)
102Title.TextScaled = true
103Title.TextSize = 20
104Title.TextStrokeColor3 = Color3.new(0.129412, 0.54902, 1)
105Title.TextWrapped = true
106
107--Start of functions for buttons--
108function Create(base, team, colors1, colors2, colors3, teamname) --For all esps
109 local bb = Instance.new("BillboardGui",player.PlayerGui)
110 bb.Adornee = base
111 bb.ExtentsOffset = Vector3.new(0,1,0)
112 bb.AlwaysOnTop = true
113 bb.Size = UDim2.new(0,5,0,5)
114 bb.StudsOffset = Vector3.new(0,1,0)
115 bb.Name = "tracker"
116 local frame = Instance.new("Frame",bb)
117 frame.ZIndex = 10
118 frame.BackgroundTransparency = 0.3
119 frame.Size = UDim2.new(1,0,1,0)
120 local txtlbl = Instance.new("TextLabel",bb)
121 txtlbl.ZIndex = 10
122 txtlbl.Text = teamname
123 txtlbl.BackgroundTransparency = 1
124 txtlbl.Position = UDim2.new(0,0,0,-35)
125 txtlbl.Size = UDim2.new(1,0,10,0)
126 txtlbl.Font = "ArialBold"
127 txtlbl.FontSize = "Size12"
128 txtlbl.TextStrokeTransparency = 0.5
129 if team then --For teams, left over from origianl but never removed
130 txtlbl.TextColor3 = Color3.new(0,0,255)
131 frame.BackgroundColor3 = Color3.new(0,0,255)
132 else
133 txtlbl.TextColor3 = Color3.new(colors1,colors2,colors3)
134 frame.BackgroundColor3 = Color3.new(colors1,colors2,colors3)
135 end
136end
137
138function findmurderer() --Find who the murderer is
139 local colors1 = 255
140 local colors2 = 0
141 local colors3 = 0
142 for i, v in pairs(game:GetService("Players"):GetChildren()) do
143 if v ~= game:GetService("Players").LocalPlayer then
144 for i,v in pairs(v.Backpack:GetChildren()) do --Checks backpack for knife
145 if v.Name == "Knife" then
146 if espnames == true then
147 local teamname = v.Parent.Parent.Name
148 if v.Parent.Parent.Character.Head ~= nil then
149 Create(v.Parent.Parent.Character.Head, false, colors1 ,colors2, colors3, teamname)
150 else
151 if printvar == true then
152 print("Head missing from murderer!")
153 end
154 end
155 elseif espnames == false then
156 local teamname = "Murderer"
157 if v.Parent.Parent.Character.Head ~= nil then
158 Create(v.Parent.Parent.Character.Head, false, colors1 ,colors2, colors3, teamname)
159 else
160 if printvar == true then
161 print("Head missing from murderer!")
162 end
163 end
164 end
165 murderer = v.Parent.Parent.Name
166 if printvar == true then
167 print(murderer.." is Murderer")
168 end
169 end
170 end
171 for i,v in pairs(v.Character:GetChildren()) do --Checks workspace player for knife (holding it)
172 if v.Name == "Knife" then
173 if espnames == true then
174 local teamname = v.Parent.Name
175 if v.Parent.Head ~= nil then --Tried to failproof to stop printing nil
176 Create(v.Parent.Head, false, colors1 ,colors2, colors3, teamname)
177 else
178 if printvar == true then
179 print("Head missing from murderer!")
180 end
181 end
182 elseif espnames == false then
183 local teamname = "Murderer"
184 if v.Parent.Head ~= nil then
185 Create(v.Parent.Head, false, colors1 ,colors2, colors3, teamname)
186 else
187 if printvar == true then
188 print("Head missing from murderer!")
189 end
190 end
191 end
192 murderer = v.Parent.Name
193 if printvar == true then --Tried to failproof to stop printing nil
194 local murderer1 = tostring(v.Parent.Name)
195 print(murderer1.." is Murderer")
196 end
197 end
198 end
199 end
200 end
201end
202
203function findsheriff() --Find who the sheriff is
204 local colors1 = 0
205 local colors2 = 0
206 local colors3 = 255
207 for i, v in pairs(game:GetService("Players"):GetChildren()) do
208 if v ~= game:GetService("Players").LocalPlayer then
209 for i,v in pairs(v.Backpack:GetChildren()) do
210 if v.Name == "Revolver" or v.Name == "Gun" then --Lazy to check if its revolver or gun and checks backpack for gun
211 if espnames == true then
212 local teamname = v.Parent.Parent.Name
213 if v.Parent.Parent.Character.Head ~= nil then --Tried to failproof to stop printing nil
214 Create(v.Parent.Parent.Character.Head, false, colors1 ,colors2, colors3, teamname)
215 else
216 if printvar == true then
217 print("Head missing from sheriff!")
218 end
219 end
220 elseif espnames == false then
221 local teamname = "Sheriff"
222 if v.Parent.Parent.Character.Head ~= nil then --Tried to failproof to stop printing nil
223 Create(v.Parent.Parent.Character.Head, false, colors1 ,colors2, colors3, teamname)
224 else
225 if printvar == true then
226 print("Head missing from sheriff!")
227 end
228 end
229 end
230 sheriff = v.Parent.Parent.Name
231 if printvar == true then
232 local sheriff1 = tostring(v.Parent.Parent.Name)
233 print(sheriff1.." is Sheriff")
234 end
235 end
236 end
237 for i,v in pairs(v.Character:GetChildren()) do
238 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)
239 if espnames == true then
240 local teamname = v.Parent.Name
241 if v.Parent.Head ~= nil then --Tried to failproof to stop printing nil
242 Create(v.Parent.Head, false, colors1 ,colors2, colors3, teamname)
243 else
244 if printvar == true then
245 print("Head missing from sheriff!")
246 end
247 end
248 elseif espnames == false then
249 local teamname = "Sheriff"
250 if v.Parent.Head ~= nil then --Tried to failproof to stop printing nil
251 Create(v.Parent.Head, false, colors1 ,colors2, colors3, teamname)
252 else
253 if printvar == true then
254 print("Head missing from sheriff!")
255 end
256 end
257 end
258 sheriff = v.Parent.Name
259 if printvar == true then
260 local sheriff1 = tostring(v.Parent.Name)
261 print(sheriff1.." is Sheriff")
262 end
263 end
264 end
265 end
266 end
267end
268
269function findplayers() --Find all players but local player
270 findmurderer() --Finds murderer
271 findsheriff() --Finds sheriff
272 local colors1 = 0
273 local colors2 = 255
274 local colors3 = 0
275 for i, v in pairs(game:GetService("Players"):GetChildren()) do
276 if v ~= game:GetService("Players").LocalPlayer then --If not local player
277 if v.Name ~= murderer then --If not murderer
278 if v.Name ~= sheriff then --If not sheriff
279 if espnames == true then
280 local teamname = v.Name
281 if v.Character.Head ~= nil then --Tried to failproof to stop printing nil
282 Create(v.Character.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 = "Innocents"
290 if v.Parent.Head ~= nil then --Tried to failproof to stop printing nil
291 Create(v.Character.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 end
299 end
300 end
301 end
302end
303
304function Clear() --Clears all the esps
305 for _,v in pairs(player.PlayerGui:children()) do
306 if v.Name == "tracker" and v:isA("BillboardGui") then
307 v:Destroy()
308 end
309 end
310end
311
312function XrayOn(obj) --Enables xray
313 for _,v in pairs(obj:GetChildren()) do
314 if (v:IsA("BasePart")) and not v.Parent:FindFirstChild("Humanoid") then
315 v.LocalTransparencyModifier = 0.75
316 end
317 XrayOn(v)
318 end
319end
320
321function XrayOff(obj) --Disables xray
322 for _,v in pairs(obj:GetChildren()) do
323 if (v:IsA("BasePart")) and not v.Parent:FindFirstChild("Humanoid") then
324 v.LocalTransparencyModifier = 0
325 end XrayOff(v)
326 end
327end
328
329function sFLY() --Fly function
330 repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('Torso') and LP.Character:FindFirstChild('Humanoid')
331 repeat wait() until mouse
332
333 local T = LP.Character.Torso
334 local CONTROL = {F = 0, B = 0, L = 0, R = 0}
335 local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
336 local SPEED = 0
337
338 local function FLY()
339 FLYING = true
340 local BG = Instance.new('BodyGyro', T)
341 local BV = Instance.new('BodyVelocity', T)
342 BG.P = 9e4
343 BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
344 BG.cframe = T.CFrame
345 BV.velocity = Vector3.new(0, 0.1, 0)
346 BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
347 spawn(function()
348 repeat wait()
349 LP.Character.Humanoid.PlatformStand = true
350 if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
351 SPEED = 50
352 elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
353 SPEED = 0
354 end
355 if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
356 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
357 lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
358 elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
359 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
360 else
361 BV.velocity = Vector3.new(0, 0.1, 0)
362 end
363 BG.cframe = workspace.CurrentCamera.CoordinateFrame
364 until not FLYING
365 CONTROL = {F = 0, B = 0, L = 0, R = 0}
366 lCONTROL = {F = 0, B = 0, L = 0, R = 0}
367 SPEED = 0
368 BG:destroy()
369 BV:destroy()
370 LP.Character.Humanoid.PlatformStand = false
371 end)
372 end
373
374 mouse.KeyDown:connect(function(KEY)
375 if KEY:lower() == 'w' then
376 CONTROL.F = 1
377 elseif KEY:lower() == 's' then
378 CONTROL.B = -1
379 elseif KEY:lower() == 'a' then
380 CONTROL.L = -1
381 elseif KEY:lower() == 'd' then
382 CONTROL.R = 1
383 end
384 end)
385
386 mouse.KeyUp:connect(function(KEY)
387 if KEY:lower() == 'w' then
388 CONTROL.F = 0
389 elseif KEY:lower() == 's' then
390 CONTROL.B = 0
391 elseif KEY:lower() == 'a' then
392 CONTROL.L = 0
393 elseif KEY:lower() == 'd' then
394 CONTROL.R = 0
395 end
396 end)
397 FLY()
398end
399
400function NOFLY() --Unfly function
401 FLYING = false
402 LP.Character.Humanoid.PlatformStand = false
403end
404
405local noclipcoro = coroutine.wrap(function() --Noclip function
406 while true do
407 if NClip == true then
408 if game.Players ~= nil then
409 if game.Players.LocalPlayer ~= nil then
410 if game.Players.LocalPlayer.Character ~= nil then
411 if game.Players.LocalPlayer.Character:FindFirstChild("Torso") ~= nil then
412 if game.Players.LocalPlayer.Character:FindFirstChild("Head") ~= nil then
413 game.Players.LocalPlayer.Character.Torso.CanCollide = false
414 game.Players.LocalPlayer.Character.Head.CanCollide = false
415 end
416 end
417 end
418 end
419 end
420 end
421 game:service("RunService").Stepped:wait()
422 end
423end)
424
425noclipcoro() --For noclip to work
426
427game:GetService("Players").LocalPlayer.CharacterAdded:connect(function(character) --Resets specific things for ease
428 flyvar = false
429 FlyActive.Text = "Inactive"
430 FlyActive.TextColor3 = Color3.new(1, 0, 1)
431 godmodevar = false
432 GodModeActive.Text = "Inactive"
433 GodModeActive.TextColor3 = Color3.new(1, 0, 1)
434 Clear()
435 MSESPActive.Text = "Inactive"
436 MSESPActive.TextColor3 = Color3.new(1, 0, 1)
437 PlayersEspActive.Text = "Inactive"
438 PlayersEspActive.TextColor3 = Color3.new(1, 0, 1)
439 EspOffActive.Text = "Active"
440 EspOffActive.TextColor3 = Color3.new(0, 1, 0)
441end)
442
443mouse.KeyDown:connect(function(KeyDown) --If shift is held, run
444 if KeyDown == "0" and runActive == false and keyOff == false then
445 runActive = true
446 player.Character.Humanoid.WalkSpeed = 32
447 RunActiveGui.Text = "Active"
448 RunActiveGui.TextColor3 = Color3.new(0, 1, 0)
449 end
450end)
451
452mouse.KeyUp:connect(function(KeyUp) --If shift is released, walk
453 if KeyUp == "0" and runActive == true and keyOff == false then
454 runActive = false
455 player.Character.Humanoid.WalkSpeed = 16
456 RunActiveGui.Text = "Inactive"
457 RunActiveGui.TextColor3 = Color3.new(1, 0, 1)
458 end
459end)
460
461function coingrabberfunc() --Coin grabber function
462 local children = game.Workspace:GetChildren()
463 for _, child in pairs(children) do
464 for _, child in pairs(child:GetChildren()) do
465 table.insert(children, child)
466 end
467 if child:IsA("BasePart") and child.Name == "Coin" then
468 child.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
469 end
470 end
471end
472
473function godmodefunc() --Godmode function
474 local player = game.Players.LocalPlayer
475 if player.Character then
476 if player.Character:FindFirstChild("Humanoid") then
477 player.Character.Humanoid.Name = "1"
478 end
479 local l = player.Character["1"]:Clone()
480 l.Parent = player.Character
481 l.Name = "Humanoid"; wait(0.1)
482 player.Character["1"]:Destroy()
483 workspace.CurrentCamera.CameraSubject = player.Character.Humanoid
484 player.Character.Animate.Disabled = true; wait(0.1)
485 player.Character.Animate.Disabled = false
486 end
487end
488
489--Coin Grabber--
490Coin.Name = "CoinGrabber"
491Coin.Parent = Main
492Coin.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
493Coin.BorderColor3 = Color3.new(0, 0.607843, 1)
494Coin.BorderSizePixel = 5
495Coin.Position = UDim2.new(0, 0, 0.215, 0)
496Coin.Size = UDim2.new(1.005, 0, 0.08, 0)
497Coin.ZIndex = 4
498Coin.Font = Enum.Font.SciFi
499Coin.FontSize = Enum.FontSize.Size24
500Coin.Text = "Coin Grabber ["..string.upper(coinkey).."]"
501Coin.TextColor3 = Color3.fromRGB(255, 255, 26)
502Coin.TextSize = 20
503Coin.TextWrapped = true
504Coin.MouseButton1Down:connect(function(x, y)
505 coingrabberfunc()
506end)
507
508--Murderer/Sheriff Esp--
509MSESPActive.Name = "MSEspActive"
510MSESPActive.Parent = Main
511MSESPActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
512MSESPActive.BorderColor3 = Color3.new(0, 0.607843, 1)
513MSESPActive.BorderSizePixel = 5
514MSESPActive.Position = UDim2.new(0.755, 0, 0.315, 0)
515MSESPActive.Size = UDim2.new(0.25, 0, 0.08, 0)
516MSESPActive.ZIndex = 4
517MSESPActive.Font = Enum.Font.SciFi
518MSESPActive.FontSize = Enum.FontSize.Size24
519MSESPActive.Text = "Inactive"
520MSESPActive.TextColor3 = Color3.new(1, 0, 1)
521MSESPActive.TextSize = 20
522MSESPActive.TextWrapped = true
523
524MSEsp.Name = "MSEsp"
525MSEsp.Parent = Main
526MSEsp.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
527MSEsp.BorderColor3 = Color3.new(0, 0.607843, 1)
528MSEsp.BorderSizePixel = 5
529MSEsp.Position = UDim2.new(0, 0, 0.315, 0)
530MSEsp.Size = UDim2.new(0.75, 0, 0.08, 0)
531MSEsp.ZIndex = 4
532MSEsp.Font = Enum.Font.SciFi
533MSEsp.FontSize = Enum.FontSize.Size24
534MSEsp.Text = "Murderer/Sheriff Esp ["..string.upper(MSkey).."]"
535MSEsp.TextColor3 = Color3.fromRGB(255, 102, 255)
536MSEsp.TextSize = 20
537MSEsp.TextWrapped = true
538MSEsp.MouseButton1Down:connect(function(x, y)
539 murderer = "None"
540 sheriff = "None"
541 Clear()
542 findmurderer()
543 findsheriff()
544 if printvar == true then
545 print("Murderer/Sheriff")
546 end
547 MSESPActive.Text = "Active"
548 MSESPActive.TextColor3 = Color3.new(0, 1, 0)
549 PlayersEspActive.Text = "Inactive"
550 PlayersEspActive.TextColor3 = Color3.new(1, 0, 1)
551 EspOffActive.Text = "Inactive"
552 EspOffActive.TextColor3 = Color3.new(1, 0, 1)
553end)
554
555--All Players Esp
556PlayersEspActive.Name = "PlayersEspActive"
557PlayersEspActive.Parent = Main
558PlayersEspActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
559PlayersEspActive.BorderColor3 = Color3.new(0, 0.607843, 1)
560PlayersEspActive.BorderSizePixel = 5
561PlayersEspActive.Position = UDim2.new(0.755, 0, 0.415, 0)
562PlayersEspActive.Size = UDim2.new(0.25, 0, 0.08, 0)
563PlayersEspActive.ZIndex = 4
564PlayersEspActive.Font = Enum.Font.SciFi
565PlayersEspActive.FontSize = Enum.FontSize.Size24
566PlayersEspActive.Text = "Inactive"
567PlayersEspActive.TextColor3 = Color3.new(1, 0, 1)
568PlayersEspActive.TextSize = 20
569PlayersEspActive.TextWrapped = true
570
571PlayersEsp.Name = "PlayersEsp"
572PlayersEsp.Parent = Main
573PlayersEsp.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
574PlayersEsp.BorderColor3 = Color3.new(0, 0.607843, 1)
575PlayersEsp.BorderSizePixel = 5
576PlayersEsp.Position = UDim2.new(0, 0, 0.415, 0)
577PlayersEsp.Size = UDim2.new(0.75, 0, 0.08, 0)
578PlayersEsp.ZIndex = 4
579PlayersEsp.Font = Enum.Font.SciFi
580PlayersEsp.FontSize = Enum.FontSize.Size24
581PlayersEsp.Text = "All Players Esp ["..string.upper(playerskey).."]"
582PlayersEsp.TextColor3 = Color3.fromRGB(102, 255, 51)
583PlayersEsp.TextSize = 20
584PlayersEsp.TextWrapped = true
585PlayersEsp.MouseButton1Down:connect(function(x, y)
586 Clear()
587 if printvar == true then
588 print("Players Esp")
589 end
590 MSESPActive.Text = "Inactive"
591 MSESPActive.TextColor3 = Color3.new(1, 0, 1)
592 PlayersEspActive.Text = "Active"
593 PlayersEspActive.TextColor3 = Color3.new(0, 1, 0)
594 EspOffActive.Text = "Inactive"
595 EspOffActive.TextColor3 = Color3.new(1, 0, 1)
596 findplayers()
597end)
598
599--Esp Off
600EspOffActive.Name = "EspOffActive"
601EspOffActive.Parent = Main
602EspOffActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
603EspOffActive.BorderColor3 = Color3.new(0, 0.607843, 1)
604EspOffActive.BorderSizePixel = 5
605EspOffActive.Position = UDim2.new(0.755, 0, 0.515, 0)
606EspOffActive.Size = UDim2.new(0.25, 0, 0.08, 0)
607EspOffActive.ZIndex = 4
608EspOffActive.Font = Enum.Font.SciFi
609EspOffActive.FontSize = Enum.FontSize.Size24
610EspOffActive.Text = "Active"
611EspOffActive.TextColor3 = Color3.new(0, 1, 0)
612EspOffActive.TextSize = 20
613EspOffActive.TextWrapped = true
614
615EspOff.Name = "EspOff"
616EspOff.Parent = Main
617EspOff.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
618EspOff.BorderColor3 = Color3.new(0, 0.607843, 1)
619EspOff.BorderSizePixel = 5
620EspOff.Position = UDim2.new(0, 0, 0.515, 0)
621EspOff.Size = UDim2.new(0.75, 0, 0.08, 0)
622EspOff.ZIndex = 4
623EspOff.Font = Enum.Font.SciFi
624EspOff.FontSize = Enum.FontSize.Size24
625EspOff.Text = "Esp Off ["..string.upper(espoffkey).."]"
626EspOff.TextColor3 = Color3.fromRGB(255, 255, 255)
627EspOff.TextSize = 20
628EspOff.TextWrapped = true
629EspOff.MouseButton1Down:connect(function(x, y)
630 Clear()
631 if printvar == true then
632 print("Esp Off")
633 end
634 MSESPActive.Text = "Inactive"
635 MSESPActive.TextColor3 = Color3.new(1, 0, 1)
636 PlayersEspActive.Text = "Inactive"
637 PlayersEspActive.TextColor3 = Color3.new(1, 0, 1)
638 EspOffActive.Text = "Active"
639 EspOffActive.TextColor3 = Color3.new(0, 1, 0)
640end)
641
642--Run
643RunActiveGui.Name = "RunActiveGui"
644RunActiveGui.Parent = Main
645RunActiveGui.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
646RunActiveGui.BorderColor3 = Color3.new(0, 0.607843, 1)
647RunActiveGui.BorderSizePixel = 5
648RunActiveGui.Position = UDim2.new(0.755, 0, 0.615, 0)
649RunActiveGui.Size = UDim2.new(0.25, 0, 0.08, 0)
650RunActiveGui.ZIndex = 4
651RunActiveGui.Font = Enum.Font.SciFi
652RunActiveGui.FontSize = Enum.FontSize.Size24
653RunActiveGui.Text = "Inactive"
654RunActiveGui.TextColor3 = Color3.new(1, 0, 1)
655RunActiveGui.TextSize = 20
656RunActiveGui.TextWrapped = true
657
658Run.Name = "Run"
659Run.Parent = Main
660Run.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
661Run.BorderColor3 = Color3.new(0, 0.607843, 1)
662Run.BorderSizePixel = 5
663Run.Position = UDim2.new(0, 0, 0.615, 0)
664Run.Size = UDim2.new(0.75, 0, 0.08, 0)
665Run.ZIndex = 4
666Run.Font = Enum.Font.SciFi
667Run.FontSize = Enum.FontSize.Size24
668Run.Text = "Run [Shift]"
669Run.TextColor3 = Color3.fromRGB(255, 51, 0)
670Run.TextSize = 20
671Run.TextWrapped = true
672Run.MouseButton1Down:connect(function(x, y)
673 if runActive == false then
674 runActive = true
675 player.Character.Humanoid.WalkSpeed = 32
676 RunActiveGui.Text = "Active"
677 RunActiveGui.TextColor3 = Color3.new(0, 1, 0)
678 elseif runActive == true then
679 runActive = false
680 player.Character.Humanoid.WalkSpeed = 16
681 RunActiveGui.Text = "Inactive"
682 RunActiveGui.TextColor3 = Color3.new(1, 0, 1)
683 end
684end)
685
686--Fly
687FlyActive.Name = "FlyActive"
688FlyActive.Parent = Main
689FlyActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
690FlyActive.BorderColor3 = Color3.new(0, 0.607843, 1)
691FlyActive.BorderSizePixel = 5
692FlyActive.Position = UDim2.new(0.755, 0, 0.715, 0)
693FlyActive.Size = UDim2.new(0.25, 0, 0.08, 0)
694FlyActive.ZIndex = 4
695FlyActive.Font = Enum.Font.SciFi
696FlyActive.FontSize = Enum.FontSize.Size24
697FlyActive.Text = "Inactive"
698FlyActive.TextColor3 = Color3.new(1, 0, 1)
699FlyActive.TextSize = 20
700FlyActive.TextWrapped = true
701
702Fly.Name = "Fly"
703Fly.Parent = Main
704Fly.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
705Fly.BorderColor3 = Color3.new(0, 0.607843, 1)
706Fly.BorderSizePixel = 5
707Fly.Position = UDim2.new(0, 0, 0.715, 0)
708Fly.Size = UDim2.new(0.75, 0, 0.08, 0)
709Fly.ZIndex = 4
710Fly.Font = Enum.Font.SciFi
711Fly.FontSize = Enum.FontSize.Size24
712Fly.Text = "Fly ["..string.upper(flykey).."]"
713Fly.TextColor3 = Color3.fromRGB(204, 255, 255)
714Fly.TextSize = 20
715Fly.TextWrapped = true
716Fly.MouseButton1Down:connect(function(x, y)
717 if flyvar == false then
718 sFLY()
719 flyvar = true
720 FlyActive.Text = "Active"
721 FlyActive.TextColor3 = Color3.new(0, 1, 0)
722 elseif flyvar == true then
723 flyvar = false
724 NOFLY()
725 FlyActive.Text = "Inactive"
726 FlyActive.TextColor3 = Color3.new(1, 0, 1)
727 end
728end)
729
730--Noclip
731NoclipActive.Name = "NoclipActive"
732NoclipActive.Parent = Main
733NoclipActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
734NoclipActive.BorderColor3 = Color3.new(0, 0.607843, 1)
735NoclipActive.BorderSizePixel = 5
736NoclipActive.Position = UDim2.new(0.755, 0, 0.815, 0)
737NoclipActive.Size = UDim2.new(0.25, 0, 0.08, 0)
738NoclipActive.ZIndex = 4
739NoclipActive.Font = Enum.Font.SciFi
740NoclipActive.FontSize = Enum.FontSize.Size24
741NoclipActive.Text = "Inactive"
742NoclipActive.TextColor3 = Color3.new(1, 0, 1)
743NoclipActive.TextSize = 20
744NoclipActive.TextWrapped = true
745
746Noclip.Name = "Noclip"
747Noclip.Parent = Main
748Noclip.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
749Noclip.BorderColor3 = Color3.new(0, 0.607843, 1)
750Noclip.BorderSizePixel = 5
751Noclip.Position = UDim2.new(0, 0, 0.815, 0)
752Noclip.Size = UDim2.new(0.75, 0, 0.08, 0)
753Noclip.ZIndex = 4
754Noclip.Font = Enum.Font.SciFi
755Noclip.FontSize = Enum.FontSize.Size24
756Noclip.Text = "Noclip ["..string.upper(noclipkey).."]"
757Noclip.TextColor3 = Color3.fromRGB(0, 102, 255)
758Noclip.TextSize = 20
759Noclip.TextWrapped = true
760Noclip.MouseButton1Down:connect(function(x, y)
761 if NClip == false then
762 NClip = true
763 if printvar == true then
764 print("Noclip Enabled")
765 end
766 NoclipActive.Text = "Active"
767 NoclipActive.TextColor3 = Color3.new(0, 1, 0)
768 elseif NClip == true then
769 NClip = false
770 if printvar == true then
771 print("Noclip Disabled")
772 end
773 NoclipActive.Text = "Inactive"
774 NoclipActive.TextColor3 = Color3.new(1, 0, 1)
775 end
776end)
777
778--GodMode
779GodModeActive.Name = "GodModeActive"
780GodModeActive.Parent = Main
781GodModeActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
782GodModeActive.BorderColor3 = Color3.new(0, 0.607843, 1)
783GodModeActive.BorderSizePixel = 5
784GodModeActive.Position = UDim2.new(0.755, 0, 0.915, 0)
785GodModeActive.Size = UDim2.new(0.25, 0, 0.08, 0)
786GodModeActive.ZIndex = 4
787GodModeActive.Font = Enum.Font.SciFi
788GodModeActive.FontSize = Enum.FontSize.Size24
789GodModeActive.Text = "Inactive"
790GodModeActive.TextColor3 = Color3.new(1, 0, 1)
791GodModeActive.TextSize = 20
792GodModeActive.TextWrapped = true
793
794GodMode.Name = "GodMode"
795GodMode.Parent = Main
796GodMode.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
797GodMode.BorderColor3 = Color3.new(0, 0.607843, 1)
798GodMode.BorderSizePixel = 5
799GodMode.Position = UDim2.new(0, 0, 0.915, 0)
800GodMode.Size = UDim2.new(0.75, 0, 0.08, 0)
801GodMode.ZIndex = 4
802GodMode.Font = Enum.Font.SciFi
803GodMode.FontSize = Enum.FontSize.Size24
804GodMode.Text = "God Mode ["..string.upper(godmodekey).."]"
805GodMode.TextColor3 = Color3.fromRGB(255, 255, 255)
806GodMode.TextSize = 20
807GodMode.TextWrapped = true
808GodMode.MouseButton1Down:connect(function(x, y)
809 if godmodevar == false then
810 GodModeActive.Text = "Active"
811 GodModeActive.TextColor3 = Color3.new(0, 1, 0)
812 godmodevar = true
813 godmodefunc()
814 end
815end)
816
817--Xray On
818GuiXrayOnActive.Name = "GuiXrayOnActive"
819GuiXrayOnActive.Parent = Main
820GuiXrayOnActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
821GuiXrayOnActive.BorderColor3 = Color3.new(0, 0.607843, 1)
822GuiXrayOnActive.BorderSizePixel = 5
823GuiXrayOnActive.Position = UDim2.new(0.755, 0, 1.015, 0)
824GuiXrayOnActive.Size = UDim2.new(0.25, 0, 0.08, 0)
825GuiXrayOnActive.ZIndex = 4
826GuiXrayOnActive.Font = Enum.Font.SciFi
827GuiXrayOnActive.FontSize = Enum.FontSize.Size24
828GuiXrayOnActive.Text = "Inactive"
829GuiXrayOnActive.TextColor3 = Color3.new(1, 0, 1)
830GuiXrayOnActive.TextSize = 20
831GuiXrayOnActive.TextWrapped = true
832
833GuiXrayOn.Name = "XrayOn"
834GuiXrayOn.Parent = Main
835GuiXrayOn.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
836GuiXrayOn.BorderColor3 = Color3.new(0, 0.607843, 1)
837GuiXrayOn.BorderSizePixel = 5
838GuiXrayOn.Position = UDim2.new(0, 0, 1.015, 0)
839GuiXrayOn.Size = UDim2.new(0.75, 0, 0.08, 0)
840GuiXrayOn.ZIndex = 4
841GuiXrayOn.Font = Enum.Font.SciFi
842GuiXrayOn.FontSize = Enum.FontSize.Size24
843GuiXrayOn.Text = "Xray On ["..string.upper(xrayonkey).."]"
844GuiXrayOn.TextColor3 = Color3.fromRGB(255, 204, 102)
845GuiXrayOn.TextSize = 20
846GuiXrayOn.TextWrapped = true
847GuiXrayOn.MouseButton1Down:connect(function(x, y)
848 GuiXrayOnActive.Text = "Active"
849 GuiXrayOnActive.TextColor3 = Color3.new(0, 1, 0)
850 GuiXrayOffActive.Text = "Inactive"
851 GuiXrayOffActive.TextColor3 = Color3.new(1, 0, 1)
852 XrayOn(obj)
853end)
854
855--Xray Off
856GuiXrayOffActive.Name = "GuiXrayOffActive"
857GuiXrayOffActive.Parent = Main
858GuiXrayOffActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
859GuiXrayOffActive.BorderColor3 = Color3.new(0, 0.607843, 1)
860GuiXrayOffActive.BorderSizePixel = 5
861GuiXrayOffActive.Position = UDim2.new(0.755, 0, 1.115, 0)
862GuiXrayOffActive.Size = UDim2.new(0.25, 0, 0.08, 0)
863GuiXrayOffActive.ZIndex = 4
864GuiXrayOffActive.Font = Enum.Font.SciFi
865GuiXrayOffActive.FontSize = Enum.FontSize.Size24
866GuiXrayOffActive.Text = "Active"
867GuiXrayOffActive.TextColor3 = Color3.new(0, 1, 0)
868GuiXrayOffActive.TextSize = 20
869GuiXrayOffActive.TextWrapped = true
870
871GuiXrayOff.Name = "XrayOff"
872GuiXrayOff.Parent = Main
873GuiXrayOff.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
874GuiXrayOff.BorderColor3 = Color3.new(0, 0.607843, 1)
875GuiXrayOff.BorderSizePixel = 5
876GuiXrayOff.Position = UDim2.new(0, 0, 1.115, 0)
877GuiXrayOff.Size = UDim2.new(0.75, 0, 0.08, 0)
878GuiXrayOff.ZIndex = 4
879GuiXrayOff.Font = Enum.Font.SciFi
880GuiXrayOff.FontSize = Enum.FontSize.Size24
881GuiXrayOff.Text = "Xray Off ["..string.upper(xrayoffkey).."]"
882GuiXrayOff.TextColor3 = Color3.fromRGB(255, 153, 51)
883GuiXrayOff.TextSize = 20
884GuiXrayOff.TextWrapped = true
885GuiXrayOff.MouseButton1Down:connect(function(x, y)
886 GuiXrayOnActive.Text = "Inactive"
887 GuiXrayOnActive.TextColor3 = Color3.new(1, 0, 1)
888 GuiXrayOffActive.Text = "Active"
889 GuiXrayOffActive.TextColor3 = Color3.new(0, 1, 0)
890 XrayOff(obj)
891end)
892
893--Bring Gun to You
894BringGun.Name = "BringGun"
895BringGun.Parent = Main
896BringGun.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
897BringGun.BorderColor3 = Color3.new(0, 0.607843, 1)
898BringGun.BorderSizePixel = 5
899BringGun.Position = UDim2.new(0, 0, 1.215, 0)
900BringGun.Size = UDim2.new(1.005, 0, 0.08, 0)
901BringGun.ZIndex = 4
902BringGun.Font = Enum.Font.SciFi
903BringGun.FontSize = Enum.FontSize.Size24
904BringGun.Text = "Teleport Gun ["..string.upper(bringgunkey).."]"
905BringGun.TextColor3 = Color3.fromRGB(0, 255, 0)
906BringGun.TextSize = 20
907BringGun.TextWrapped = true
908BringGun.MouseButton1Down:connect(function(x, y)
909 if game.Workspace.GunDrop.CFrame ~= nil then
910 game.Workspace.GunDrop.CFrame = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame
911 else
912 if printvar == true then
913 print("Gun not currently dropped")
914 end
915 end
916end)
917
918--Keybinds
919KeybindsActive.Name = "KeybindsActive"
920KeybindsActive.Parent = Main
921KeybindsActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
922KeybindsActive.BorderColor3 = Color3.new(0, 0.607843, 1)
923KeybindsActive.BorderSizePixel = 5
924KeybindsActive.Position = UDim2.new(0.755, 0, 1.315, 0)
925KeybindsActive.Size = UDim2.new(0.25, 0, 0.08, 0)
926KeybindsActive.ZIndex = 4
927KeybindsActive.Font = Enum.Font.SciFi
928KeybindsActive.FontSize = Enum.FontSize.Size24
929KeybindsActive.Text = "Active"
930KeybindsActive.TextColor3 = Color3.new(0, 1, 0)
931KeybindsActive.TextSize = 20
932KeybindsActive.TextWrapped = true
933
934Keybinds.Name = "Keybinds"
935Keybinds.Parent = Main
936Keybinds.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
937Keybinds.BorderColor3 = Color3.new(0, 0.607843, 1)
938Keybinds.BorderSizePixel = 5
939Keybinds.Position = UDim2.new(0, 0, 1.315, 0)
940Keybinds.Size = UDim2.new(0.75, 0, 0.08, 0)
941Keybinds.ZIndex = 4
942Keybinds.Font = Enum.Font.SciFi
943Keybinds.FontSize = Enum.FontSize.Size24
944Keybinds.Text = "Keybinds [Ctrl]"
945Keybinds.TextColor3 = Color3.fromRGB(255, 255, 255)
946Keybinds.TextSize = 20
947Keybinds.TextWrapped = true
948Keybinds.MouseButton1Down:connect(function(x, y)
949 if keyOff == true then
950 keyOff = false
951 KeybindsActive.Text = "Active"
952 KeybindsActive.TextColor3 = Color3.new(0, 1, 0)
953 elseif keyOff == false then
954 keyOff = true
955 KeybindsActive.Text = "Inactive"
956 KeybindsActive.TextColor3 = Color3.new(1, 0, 1)
957 end
958end)
959
960Show.Name = "Show"
961Show.Parent = MM2
962Show.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
963Show.BorderColor3 = Color3.new(0, 0.607843, 1)
964Show.BorderSizePixel = 5
965Show.Position = UDim2.new(0, 0, 0.85799998, 0)
966Show.Size = UDim2.new(0.08, 0, 0.04, 0)
967Show.ZIndex = 4
968Show.Font = Enum.Font.SciFi
969Show.FontSize = Enum.FontSize.Size24
970Show.Text = "Show ["..string.upper(hideshowguikey).."]"
971Show.TextColor3 = Color3.new(0, 0.333333, 1)
972Show.TextSize = 20
973Show.TextWrapped = true
974Show.Visible = false
975
976Hide.Name = "Hide"
977Hide.Parent = Main
978Hide.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
979Hide.BorderColor3 = Color3.new(0, 0.607843, 1)
980Hide.BorderSizePixel = 5
981Hide.Position = UDim2.new(0, 0, 1.415, 0)
982Hide.Size = UDim2.new(1.005, 0, 0.08, 0)
983Hide.ZIndex = 4
984Hide.Font = Enum.Font.SciFi
985Hide.FontSize = Enum.FontSize.Size24
986Hide.Text = "Hide ["..string.upper(hideshowguikey).."]"
987Hide.TextColor3 = Color3.new(0, 0.333333, 1)
988Hide.TextSize = 20
989Hide.TextWrapped = true
990
991Hide.MouseButton1Down:connect(function(x, y)
992 if showvar == true then
993 showvar = false
994 Main.Visible = false
995 Show.Visible = true
996 if printvar == true then
997 print("Hidden")
998 end
999 end
1000end)
1001
1002Show.MouseButton1Down:connect(function(x, y)
1003 if showvar == false then
1004 showvar = true
1005 Show.Visible = false
1006 Main.Visible = true
1007 if printvar == true then
1008 print("Shown")
1009 end
1010 end
1011end)
1012
1013inputcode.InputBegan:connect(function(input)
1014 if input.KeyCode == Enum.KeyCode.LeftControl then
1015 if keyOff == true then
1016 keyOff = false
1017 KeybindsActive.Text = "Active"
1018 KeybindsActive.TextColor3 = Color3.new(0, 1, 0)
1019 elseif keyOff == false then
1020 keyOff = true
1021 KeybindsActive.Text = "Inactive"
1022 KeybindsActive.TextColor3 = Color3.new(1, 0, 1)
1023 end
1024 end
1025end)
1026
1027mouse.keyDown:connect(function(key)
1028 if keyOff == false then
1029 if key == coinkey then --Coin Grabber
1030 coingrabberfunc()
1031 elseif key == MSkey then --Murderer/Sheriff Esp On
1032 murderer = "None"
1033 sheriff = "None"
1034 Clear()
1035 findmurderer()
1036 findsheriff()
1037 if printvar == true then
1038 print("Murderer/Sheriff")
1039 end
1040 MSESPActive.Text = "Active"
1041 MSESPActive.TextColor3 = Color3.new(0, 1, 0)
1042 PlayersEspActive.Text = "Inactive"
1043 PlayersEspActive.TextColor3 = Color3.new(1, 0, 1)
1044 EspOffActive.Text = "Inactive"
1045 EspOffActive.TextColor3 = Color3.new(1, 0, 1)
1046 elseif key == playerskey then --Player Esp On
1047 Clear()
1048 MSESPActive.Text = "Inactive"
1049 MSESPActive.TextColor3 = Color3.new(1, 0, 1)
1050 PlayersEspActive.Text = "Active"
1051 PlayersEspActive.TextColor3 = Color3.new(0, 1, 0)
1052 EspOffActive.Text = "Inactive"
1053 EspOffActive.TextColor3 = Color3.new(1, 0, 1)
1054 findplayers()
1055 if printvar == true then
1056 print("Players")
1057 end
1058 elseif key == espoffkey then --Esp off
1059 Clear()
1060 if printvar == true then
1061 print("Esp Disabled")
1062 end
1063 MSESPActive.Text = "Inactive"
1064 MSESPActive.TextColor3 = Color3.new(1, 0, 1)
1065 PlayersEspActive.Text = "Inactive"
1066 PlayersEspActive.TextColor3 = Color3.new(1, 0, 1)
1067 EspOffActive.Text = "Active"
1068 EspOffActive.TextColor3 = Color3.new(0, 1, 0)
1069 elseif key == flykey then --Fly
1070 if flyvar == false then
1071 sFLY()
1072 flyvar = true
1073 FlyActive.Text = "Active"
1074 FlyActive.TextColor3 = Color3.new(0, 1, 0)
1075 elseif flyvar == true then
1076 flyvar = false
1077 NOFLY()
1078 FlyActive.Text = "Inactive"
1079 FlyActive.TextColor3 = Color3.new(1, 0, 1)
1080 end
1081 elseif key == noclipkey then --Noclip toggle
1082 if NClip == false then
1083 NClip = true
1084 if printvar == true then
1085 print("Noclip Enabled")
1086 end
1087 NoclipActive.Text = "Active"
1088 NoclipActive.TextColor3 = Color3.new(0, 1, 0)
1089 elseif NClip == true then
1090 NClip = false
1091 if printvar == true then
1092 print("Noclip Disabled")
1093 end
1094 NoclipActive.Text = "Inactive"
1095 NoclipActive.TextColor3 = Color3.new(1, 0, 1)
1096 end
1097 elseif key == godmodekey then --Godmode
1098 if godmodevar == false then
1099 godmodevar = true
1100 godmodefunc()
1101 GodModeActive.Text = "Active"
1102 GodModeActive.TextColor3 = Color3.new(0, 1, 0)
1103 end
1104 elseif key == xrayonkey then --Xray On
1105 GuiXrayOnActive.Text = "Active"
1106 GuiXrayOnActive.TextColor3 = Color3.new(0, 1, 0)
1107 GuiXrayOffActive.Text = "Inactive"
1108 GuiXrayOffActive.TextColor3 = Color3.new(1, 0, 1)
1109 XrayOn(obj)
1110 elseif key == xrayoffkey then --Xray Off
1111 GuiXrayOnActive.Text = "Inactive"
1112 GuiXrayOnActive.TextColor3 = Color3.new(1, 0, 1)
1113 GuiXrayOffActive.Text = "Active"
1114 GuiXrayOffActive.TextColor3 = Color3.new(0, 1, 0)
1115 XrayOff(obj)
1116 elseif key == bringgunkey then --Teleport Gun to You
1117 if game.Workspace.GunDrop.CFrame ~= nil then
1118 game.Workspace.GunDrop.CFrame = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame
1119 else
1120 if printvar == true then
1121 print("Gun not currently dropped")
1122 end
1123 end
1124 elseif key == hideshowguikey then --Show/Hide Gui
1125 if showvar == false then
1126 showvar = true
1127 Show.Visible = false
1128 Main.Visible = true
1129 if printvar == true then
1130 print("Shown")
1131 end
1132 elseif showvar == true then
1133 showvar = false
1134 Main.Visible = false
1135 Show.Visible = true
1136 if printvar == true then
1137 print("Hidden")
1138 end
1139 end
1140 end
1141 end
1142end)
1143end
1144RAW Paste Data
1145if game.PlaceId == 142823291 then --Proofing just because ;)
1146--Note: Don't reset with godmode on or you will be stuck on a black screen for a reasonable amount of time
1147--Change to false if you dont like printing to console
1148local printvar = true
1149--Change to true if you want to see names instead of murderer, sheriff, and innocents with esp
1150local espnames = true
1151--Change keybinds to your liking
1152local coinkey = "c" --Coin grabber keybind
1153local MSkey = "m" --Murderer/Sheriff esp keybind
1154local playerskey = "q" --All players esp keybind
1155local espoffkey = "b" --Turn esp off keybind
1156local flykey = "f" --Fly keybind
1157local noclipkey = "r" --Noclip keybind
1158local godmodekey = "g" --Godmode keybind
1159local xrayonkey = "x" --Xray on keybind
1160local xrayoffkey = "z" --Xray off keybind
1161local bringgunkey = "t" --Teleport to gun keybind
1162local hideshowguikey = "p" --Show/Hide gui keybind
1163--End of easy customization options
1164
1165--Gui Buttons and Status--
1166local MM2 = Instance.new("ScreenGui")
1167local Main = Instance.new("Frame")
1168local Title = Instance.new("TextLabel")
1169local Coin = Instance.new("TextButton")
1170local MSEsp = Instance.new("TextButton")
1171local MSESPActive = Instance.new("TextLabel")
1172local PlayersEsp = Instance.new("TextButton")
1173local PlayersEspActive = Instance.new("TextLabel")
1174local EspOff = Instance.new("TextButton")
1175local EspOffActive = Instance.new("TextLabel")
1176local Run = Instance.new("TextButton")
1177local RunActiveGui = Instance.new("TextLabel")
1178local Fly = Instance.new("TextButton")
1179local FlyActive = Instance.new("TextLabel")
1180local Noclip = Instance.new("TextButton")
1181local NoclipActive = Instance.new("TextLabel")
1182local GodMode = Instance.new("TextButton")
1183local GodModeActive = Instance.new("TextLabel")
1184local GuiXrayOn = Instance.new("TextButton")
1185local GuiXrayOnActive = Instance.new("TextLabel")
1186local GuiXrayOff = Instance.new("TextButton")
1187local GuiXrayOffActive = Instance.new("TextLabel")
1188local BringGun = Instance.new("TextButton")
1189local Keybinds = Instance.new("TextButton")
1190local KeybindsActive = Instance.new("TextLabel")
1191local Hide = Instance.new("TextButton")
1192local Show = Instance.new("TextButton")
1193
1194--Other Variables
1195local runActive = false
1196local teamname = "None"
1197local murderer = "None"
1198local sheriff = "None"
1199local player = game:GetService("Players").LocalPlayer
1200
1201local esp = false
1202local plresp
1203local track = false
1204
1205local NClip = false
1206local char = game.Players.LocalPlayer.Character
1207local obj = game.workspace
1208local mouse=game.Players.LocalPlayer:GetMouse()
1209local LP = game:GetService("Players").LocalPlayer
1210local flyvar = false
1211
1212local showvar = true
1213local inputcode = game:GetService("UserInputService")
1214local godmodevar = false
1215local keyOff = false
1216local NClip = false
1217
1218--Start of Gui--
1219MM2.Name = "MM2"
1220MM2.Parent = game.CoreGui
1221MM2.ResetOnSpawn = false
1222
1223Main.Name = "Main"
1224Main.Parent = MM2
1225Main.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
1226Main.BorderColor3 = Color3.new(0, 0.607843, 1)
1227Main.BorderSizePixel = 5
1228Main.Draggable = true
1229Main.Position = UDim2.new(0.574999988, 0, 0.349999994, 0)
1230Main.Size = UDim2.new(0.2, 0, 0.4, 0)
1231Main.Visible = true
1232Main.Active = true
1233
1234Title.Name = "Title"
1235Title.Parent = Main
1236Title.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
1237Title.BorderColor3 = Color3.new(0, 0.607843, 1)
1238Title.BorderSizePixel = 5
1239Title.Draggable = true
1240Title.Size = UDim2.new(1.005, 0, 0.2, 0)
1241Title.ZIndex = 3
1242Title.Font = Enum.Font.SciFi
1243Title.FontSize = Enum.FontSize.Size24
1244Title.Text = "Murder Mystery 2"
1245Title.TextColor3 = Color3.new(0, 0.607843, 1)
1246Title.TextScaled = true
1247Title.TextSize = 20
1248Title.TextStrokeColor3 = Color3.new(0.129412, 0.54902, 1)
1249Title.TextWrapped = true
1250
1251--Start of functions for buttons--
1252function Create(base, team, colors1, colors2, colors3, teamname) --For all esps
1253 local bb = Instance.new("BillboardGui",player.PlayerGui)
1254 bb.Adornee = base
1255 bb.ExtentsOffset = Vector3.new(0,1,0)
1256 bb.AlwaysOnTop = true
1257 bb.Size = UDim2.new(0,5,0,5)
1258 bb.StudsOffset = Vector3.new(0,1,0)
1259 bb.Name = "tracker"
1260 local frame = Instance.new("Frame",bb)
1261 frame.ZIndex = 10
1262 frame.BackgroundTransparency = 0.3
1263 frame.Size = UDim2.new(1,0,1,0)
1264 local txtlbl = Instance.new("TextLabel",bb)
1265 txtlbl.ZIndex = 10
1266 txtlbl.Text = teamname
1267 txtlbl.BackgroundTransparency = 1
1268 txtlbl.Position = UDim2.new(0,0,0,-35)
1269 txtlbl.Size = UDim2.new(1,0,10,0)
1270 txtlbl.Font = "ArialBold"
1271 txtlbl.FontSize = "Size12"
1272 txtlbl.TextStrokeTransparency = 0.5
1273 if team then --For teams, left over from origianl but never removed
1274 txtlbl.TextColor3 = Color3.new(0,0,255)
1275 frame.BackgroundColor3 = Color3.new(0,0,255)
1276 else
1277 txtlbl.TextColor3 = Color3.new(colors1,colors2,colors3)
1278 frame.BackgroundColor3 = Color3.new(colors1,colors2,colors3)
1279 end
1280end
1281
1282function findmurderer() --Find who the murderer is
1283 local colors1 = 255
1284 local colors2 = 0
1285 local colors3 = 0
1286 for i, v in pairs(game:GetService("Players"):GetChildren()) do
1287 if v ~= game:GetService("Players").LocalPlayer then
1288 for i,v in pairs(v.Backpack:GetChildren()) do --Checks backpack for knife
1289 if v.Name == "Knife" then
1290 if espnames == true then
1291 local teamname = v.Parent.Parent.Name
1292 if v.Parent.Parent.Character.Head ~= nil then
1293 Create(v.Parent.Parent.Character.Head, false, colors1 ,colors2, colors3, teamname)
1294 else
1295 if printvar == true then
1296 print("Head missing from murderer!")
1297 end
1298 end
1299 elseif espnames == false then
1300 local teamname = "Murderer"
1301 if v.Parent.Parent.Character.Head ~= nil then
1302 Create(v.Parent.Parent.Character.Head, false, colors1 ,colors2, colors3, teamname)
1303 else
1304 if printvar == true then
1305 print("Head missing from murderer!")
1306 end
1307 end
1308 end
1309 murderer = v.Parent.Parent.Name
1310 if printvar == true then
1311 print(murderer.." is Murderer")
1312 end
1313 end
1314 end
1315 for i,v in pairs(v.Character:GetChildren()) do --Checks workspace player for knife (holding it)
1316 if v.Name == "Knife" then
1317 if espnames == true then
1318 local teamname = v.Parent.Name
1319 if v.Parent.Head ~= nil then --Tried to failproof to stop printing nil
1320 Create(v.Parent.Head, false, colors1 ,colors2, colors3, teamname)
1321 else
1322 if printvar == true then
1323 print("Head missing from murderer!")
1324 end
1325 end
1326 elseif espnames == false then
1327 local teamname = "Murderer"
1328 if v.Parent.Head ~= nil then
1329 Create(v.Parent.Head, false, colors1 ,colors2, colors3, teamname)
1330 else
1331 if printvar == true then
1332 print("Head missing from murderer!")
1333 end
1334 end
1335 end
1336 murderer = v.Parent.Name
1337 if printvar == true then --Tried to failproof to stop printing nil
1338 local murderer1 = tostring(v.Parent.Name)
1339 print(murderer1.." is Murderer")
1340 end
1341 end
1342 end
1343 end
1344 end
1345end
1346
1347function findsheriff() --Find who the sheriff is
1348 local colors1 = 0
1349 local colors2 = 0
1350 local colors3 = 255
1351 for i, v in pairs(game:GetService("Players"):GetChildren()) do
1352 if v ~= game:GetService("Players").LocalPlayer then
1353 for i,v in pairs(v.Backpack:GetChildren()) do
1354 if v.Name == "Revolver" or v.Name == "Gun" then --Lazy to check if its revolver or gun and checks backpack for gun
1355 if espnames == true then
1356 local teamname = v.Parent.Parent.Name
1357 if v.Parent.Parent.Character.Head ~= nil then --Tried to failproof to stop printing nil
1358 Create(v.Parent.Parent.Character.Head, false, colors1 ,colors2, colors3, teamname)
1359 else
1360 if printvar == true then
1361 print("Head missing from sheriff!")
1362 end
1363 end
1364 elseif espnames == false then
1365 local teamname = "Sheriff"
1366 if v.Parent.Parent.Character.Head ~= nil then --Tried to failproof to stop printing nil
1367 Create(v.Parent.Parent.Character.Head, false, colors1 ,colors2, colors3, teamname)
1368 else
1369 if printvar == true then
1370 print("Head missing from sheriff!")
1371 end
1372 end
1373 end
1374 sheriff = v.Parent.Parent.Name
1375 if printvar == true then
1376 local sheriff1 = tostring(v.Parent.Parent.Name)
1377 print(sheriff1.." is Sheriff")
1378 end
1379 end
1380 end
1381 for i,v in pairs(v.Character:GetChildren()) do
1382 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)
1383 if espnames == true then
1384 local teamname = v.Parent.Name
1385 if v.Parent.Head ~= nil then --Tried to failproof to stop printing nil
1386 Create(v.Parent.Head, false, colors1 ,colors2, colors3, teamname)
1387 else
1388 if printvar == true then
1389 print("Head missing from sheriff!")
1390 end
1391 end
1392 elseif espnames == false then
1393 local teamname = "Sheriff"
1394 if v.Parent.Head ~= nil then --Tried to failproof to stop printing nil
1395 Create(v.Parent.Head, false, colors1 ,colors2, colors3, teamname)
1396 else
1397 if printvar == true then
1398 print("Head missing from sheriff!")
1399 end
1400 end
1401 end
1402 sheriff = v.Parent.Name
1403 if printvar == true then
1404 local sheriff1 = tostring(v.Parent.Name)
1405 print(sheriff1.." is Sheriff")
1406 end
1407 end
1408 end
1409 end
1410 end
1411end
1412
1413function findplayers() --Find all players but local player
1414 findmurderer() --Finds murderer
1415 findsheriff() --Finds sheriff
1416 local colors1 = 0
1417 local colors2 = 255
1418 local colors3 = 0
1419 for i, v in pairs(game:GetService("Players"):GetChildren()) do
1420 if v ~= game:GetService("Players").LocalPlayer then --If not local player
1421 if v.Name ~= murderer then --If not murderer
1422 if v.Name ~= sheriff then --If not sheriff
1423 if espnames == true then
1424 local teamname = v.Name
1425 if v.Character.Head ~= nil then --Tried to failproof to stop printing nil
1426 Create(v.Character.Head, false, colors1 ,colors2, colors3, teamname)
1427 else
1428 if printvar == true then
1429 print("Head missing from sheriff!")
1430 end
1431 end
1432 elseif espnames == false then
1433 local teamname = "Innocents"
1434 if v.Parent.Head ~= nil then --Tried to failproof to stop printing nil
1435 Create(v.Character.Head, false, colors1 ,colors2, colors3, teamname)
1436 else
1437 if printvar == true then
1438 print("Head missing from sheriff!")
1439 end
1440 end
1441 end
1442 end
1443 end
1444 end
1445 end
1446end
1447
1448function Clear() --Clears all the esps
1449 for _,v in pairs(player.PlayerGui:children()) do
1450 if v.Name == "tracker" and v:isA("BillboardGui") then
1451 v:Destroy()
1452 end
1453 end
1454end
1455
1456function XrayOn(obj) --Enables xray
1457 for _,v in pairs(obj:GetChildren()) do
1458 if (v:IsA("BasePart")) and not v.Parent:FindFirstChild("Humanoid") then
1459 v.LocalTransparencyModifier = 0.75
1460 end
1461 XrayOn(v)
1462 end
1463end
1464
1465function XrayOff(obj) --Disables xray
1466 for _,v in pairs(obj:GetChildren()) do
1467 if (v:IsA("BasePart")) and not v.Parent:FindFirstChild("Humanoid") then
1468 v.LocalTransparencyModifier = 0
1469 end XrayOff(v)
1470 end
1471end
1472
1473function sFLY() --Fly function
1474 repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('Torso') and LP.Character:FindFirstChild('Humanoid')
1475 repeat wait() until mouse
1476
1477 local T = LP.Character.Torso
1478 local CONTROL = {F = 0, B = 0, L = 0, R = 0}
1479 local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
1480 local SPEED = 0
1481
1482 local function FLY()
1483 FLYING = true
1484 local BG = Instance.new('BodyGyro', T)
1485 local BV = Instance.new('BodyVelocity', T)
1486 BG.P = 9e4
1487 BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
1488 BG.cframe = T.CFrame
1489 BV.velocity = Vector3.new(0, 0.1, 0)
1490 BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
1491 spawn(function()
1492 repeat wait()
1493 LP.Character.Humanoid.PlatformStand = true
1494 if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
1495 SPEED = 50
1496 elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
1497 SPEED = 0
1498 end
1499 if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
1500 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
1501 lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
1502 elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
1503 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
1504 else
1505 BV.velocity = Vector3.new(0, 0.1, 0)
1506 end
1507 BG.cframe = workspace.CurrentCamera.CoordinateFrame
1508 until not FLYING
1509 CONTROL = {F = 0, B = 0, L = 0, R = 0}
1510 lCONTROL = {F = 0, B = 0, L = 0, R = 0}
1511 SPEED = 0
1512 BG:destroy()
1513 BV:destroy()
1514 LP.Character.Humanoid.PlatformStand = false
1515 end)
1516 end
1517
1518 mouse.KeyDown:connect(function(KEY)
1519 if KEY:lower() == 'w' then
1520 CONTROL.F = 1
1521 elseif KEY:lower() == 's' then
1522 CONTROL.B = -1
1523 elseif KEY:lower() == 'a' then
1524 CONTROL.L = -1
1525 elseif KEY:lower() == 'd' then
1526 CONTROL.R = 1
1527 end
1528 end)
1529
1530 mouse.KeyUp:connect(function(KEY)
1531 if KEY:lower() == 'w' then
1532 CONTROL.F = 0
1533 elseif KEY:lower() == 's' then
1534 CONTROL.B = 0
1535 elseif KEY:lower() == 'a' then
1536 CONTROL.L = 0
1537 elseif KEY:lower() == 'd' then
1538 CONTROL.R = 0
1539 end
1540 end)
1541 FLY()
1542end
1543
1544function NOFLY() --Unfly function
1545 FLYING = false
1546 LP.Character.Humanoid.PlatformStand = false
1547end
1548
1549local noclipcoro = coroutine.wrap(function() --Noclip function
1550 while true do
1551 if NClip == true then
1552 if game.Players ~= nil then
1553 if game.Players.LocalPlayer ~= nil then
1554 if game.Players.LocalPlayer.Character ~= nil then
1555 if game.Players.LocalPlayer.Character:FindFirstChild("Torso") ~= nil then
1556 if game.Players.LocalPlayer.Character:FindFirstChild("Head") ~= nil then
1557 game.Players.LocalPlayer.Character.Torso.CanCollide = false
1558 game.Players.LocalPlayer.Character.Head.CanCollide = false
1559 end
1560 end
1561 end
1562 end
1563 end
1564 end
1565 game:service("RunService").Stepped:wait()
1566 end
1567end)
1568
1569noclipcoro() --For noclip to work
1570
1571game:GetService("Players").LocalPlayer.CharacterAdded:connect(function(character) --Resets specific things for ease
1572 flyvar = false
1573 FlyActive.Text = "Inactive"
1574 FlyActive.TextColor3 = Color3.new(1, 0, 1)
1575 godmodevar = false
1576 GodModeActive.Text = "Inactive"
1577 GodModeActive.TextColor3 = Color3.new(1, 0, 1)
1578 Clear()
1579 MSESPActive.Text = "Inactive"
1580 MSESPActive.TextColor3 = Color3.new(1, 0, 1)
1581 PlayersEspActive.Text = "Inactive"
1582 PlayersEspActive.TextColor3 = Color3.new(1, 0, 1)
1583 EspOffActive.Text = "Active"
1584 EspOffActive.TextColor3 = Color3.new(0, 1, 0)
1585end)
1586
1587mouse.KeyDown:connect(function(KeyDown) --If shift is held, run
1588 if KeyDown == "0" and runActive == false and keyOff == false then
1589 runActive = true
1590 player.Character.Humanoid.WalkSpeed = 32
1591 RunActiveGui.Text = "Active"
1592 RunActiveGui.TextColor3 = Color3.new(0, 1, 0)
1593 end
1594end)
1595
1596mouse.KeyUp:connect(function(KeyUp) --If shift is released, walk
1597 if KeyUp == "0" and runActive == true and keyOff == false then
1598 runActive = false
1599 player.Character.Humanoid.WalkSpeed = 16
1600 RunActiveGui.Text = "Inactive"
1601 RunActiveGui.TextColor3 = Color3.new(1, 0, 1)
1602 end
1603end)
1604
1605function coingrabberfunc() --Coin grabber function
1606 local children = game.Workspace:GetChildren()
1607 for _, child in pairs(children) do
1608 for _, child in pairs(child:GetChildren()) do
1609 table.insert(children, child)
1610 end
1611 if child:IsA("BasePart") and child.Name == "Coin" then
1612 child.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
1613 end
1614 end
1615end
1616
1617function godmodefunc() --Godmode function
1618 local player = game.Players.LocalPlayer
1619 if player.Character then
1620 if player.Character:FindFirstChild("Humanoid") then
1621 player.Character.Humanoid.Name = "1"
1622 end
1623 local l = player.Character["1"]:Clone()
1624 l.Parent = player.Character
1625 l.Name = "Humanoid"; wait(0.1)
1626 player.Character["1"]:Destroy()
1627 workspace.CurrentCamera.CameraSubject = player.Character.Humanoid
1628 player.Character.Animate.Disabled = true; wait(0.1)
1629 player.Character.Animate.Disabled = false
1630 end
1631end
1632
1633--Coin Grabber--
1634Coin.Name = "CoinGrabber"
1635Coin.Parent = Main
1636Coin.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
1637Coin.BorderColor3 = Color3.new(0, 0.607843, 1)
1638Coin.BorderSizePixel = 5
1639Coin.Position = UDim2.new(0, 0, 0.215, 0)
1640Coin.Size = UDim2.new(1.005, 0, 0.08, 0)
1641Coin.ZIndex = 4
1642Coin.Font = Enum.Font.SciFi
1643Coin.FontSize = Enum.FontSize.Size24
1644Coin.Text = "Coin Grabber ["..string.upper(coinkey).."]"
1645Coin.TextColor3 = Color3.fromRGB(255, 255, 26)
1646Coin.TextSize = 20
1647Coin.TextWrapped = true
1648Coin.MouseButton1Down:connect(function(x, y)
1649 coingrabberfunc()
1650end)
1651
1652--Murderer/Sheriff Esp--
1653MSESPActive.Name = "MSEspActive"
1654MSESPActive.Parent = Main
1655MSESPActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
1656MSESPActive.BorderColor3 = Color3.new(0, 0.607843, 1)
1657MSESPActive.BorderSizePixel = 5
1658MSESPActive.Position = UDim2.new(0.755, 0, 0.315, 0)
1659MSESPActive.Size = UDim2.new(0.25, 0, 0.08, 0)
1660MSESPActive.ZIndex = 4
1661MSESPActive.Font = Enum.Font.SciFi
1662MSESPActive.FontSize = Enum.FontSize.Size24
1663MSESPActive.Text = "Inactive"
1664MSESPActive.TextColor3 = Color3.new(1, 0, 1)
1665MSESPActive.TextSize = 20
1666MSESPActive.TextWrapped = true
1667
1668MSEsp.Name = "MSEsp"
1669MSEsp.Parent = Main
1670MSEsp.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
1671MSEsp.BorderColor3 = Color3.new(0, 0.607843, 1)
1672MSEsp.BorderSizePixel = 5
1673MSEsp.Position = UDim2.new(0, 0, 0.315, 0)
1674MSEsp.Size = UDim2.new(0.75, 0, 0.08, 0)
1675MSEsp.ZIndex = 4
1676MSEsp.Font = Enum.Font.SciFi
1677MSEsp.FontSize = Enum.FontSize.Size24
1678MSEsp.Text = "Murderer/Sheriff Esp ["..string.upper(MSkey).."]"
1679MSEsp.TextColor3 = Color3.fromRGB(255, 102, 255)
1680MSEsp.TextSize = 20
1681MSEsp.TextWrapped = true
1682MSEsp.MouseButton1Down:connect(function(x, y)
1683 murderer = "None"
1684 sheriff = "None"
1685 Clear()
1686 findmurderer()
1687 findsheriff()
1688 if printvar == true then
1689 print("Murderer/Sheriff")
1690 end
1691 MSESPActive.Text = "Active"
1692 MSESPActive.TextColor3 = Color3.new(0, 1, 0)
1693 PlayersEspActive.Text = "Inactive"
1694 PlayersEspActive.TextColor3 = Color3.new(1, 0, 1)
1695 EspOffActive.Text = "Inactive"
1696 EspOffActive.TextColor3 = Color3.new(1, 0, 1)
1697end)
1698
1699--All Players Esp
1700PlayersEspActive.Name = "PlayersEspActive"
1701PlayersEspActive.Parent = Main
1702PlayersEspActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
1703PlayersEspActive.BorderColor3 = Color3.new(0, 0.607843, 1)
1704PlayersEspActive.BorderSizePixel = 5
1705PlayersEspActive.Position = UDim2.new(0.755, 0, 0.415, 0)
1706PlayersEspActive.Size = UDim2.new(0.25, 0, 0.08, 0)
1707PlayersEspActive.ZIndex = 4
1708PlayersEspActive.Font = Enum.Font.SciFi
1709PlayersEspActive.FontSize = Enum.FontSize.Size24
1710PlayersEspActive.Text = "Inactive"
1711PlayersEspActive.TextColor3 = Color3.new(1, 0, 1)
1712PlayersEspActive.TextSize = 20
1713PlayersEspActive.TextWrapped = true
1714
1715PlayersEsp.Name = "PlayersEsp"
1716PlayersEsp.Parent = Main
1717PlayersEsp.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
1718PlayersEsp.BorderColor3 = Color3.new(0, 0.607843, 1)
1719PlayersEsp.BorderSizePixel = 5
1720PlayersEsp.Position = UDim2.new(0, 0, 0.415, 0)
1721PlayersEsp.Size = UDim2.new(0.75, 0, 0.08, 0)
1722PlayersEsp.ZIndex = 4
1723PlayersEsp.Font = Enum.Font.SciFi
1724PlayersEsp.FontSize = Enum.FontSize.Size24
1725PlayersEsp.Text = "All Players Esp ["..string.upper(playerskey).."]"
1726PlayersEsp.TextColor3 = Color3.fromRGB(102, 255, 51)
1727PlayersEsp.TextSize = 20
1728PlayersEsp.TextWrapped = true
1729PlayersEsp.MouseButton1Down:connect(function(x, y)
1730 Clear()
1731 if printvar == true then
1732 print("Players Esp")
1733 end
1734 MSESPActive.Text = "Inactive"
1735 MSESPActive.TextColor3 = Color3.new(1, 0, 1)
1736 PlayersEspActive.Text = "Active"
1737 PlayersEspActive.TextColor3 = Color3.new(0, 1, 0)
1738 EspOffActive.Text = "Inactive"
1739 EspOffActive.TextColor3 = Color3.new(1, 0, 1)
1740 findplayers()
1741end)
1742
1743--Esp Off
1744EspOffActive.Name = "EspOffActive"
1745EspOffActive.Parent = Main
1746EspOffActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
1747EspOffActive.BorderColor3 = Color3.new(0, 0.607843, 1)
1748EspOffActive.BorderSizePixel = 5
1749EspOffActive.Position = UDim2.new(0.755, 0, 0.515, 0)
1750EspOffActive.Size = UDim2.new(0.25, 0, 0.08, 0)
1751EspOffActive.ZIndex = 4
1752EspOffActive.Font = Enum.Font.SciFi
1753EspOffActive.FontSize = Enum.FontSize.Size24
1754EspOffActive.Text = "Active"
1755EspOffActive.TextColor3 = Color3.new(0, 1, 0)
1756EspOffActive.TextSize = 20
1757EspOffActive.TextWrapped = true
1758
1759EspOff.Name = "EspOff"
1760EspOff.Parent = Main
1761EspOff.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
1762EspOff.BorderColor3 = Color3.new(0, 0.607843, 1)
1763EspOff.BorderSizePixel = 5
1764EspOff.Position = UDim2.new(0, 0, 0.515, 0)
1765EspOff.Size = UDim2.new(0.75, 0, 0.08, 0)
1766EspOff.ZIndex = 4
1767EspOff.Font = Enum.Font.SciFi
1768EspOff.FontSize = Enum.FontSize.Size24
1769EspOff.Text = "Esp Off ["..string.upper(espoffkey).."]"
1770EspOff.TextColor3 = Color3.fromRGB(255, 255, 255)
1771EspOff.TextSize = 20
1772EspOff.TextWrapped = true
1773EspOff.MouseButton1Down:connect(function(x, y)
1774 Clear()
1775 if printvar == true then
1776 print("Esp Off")
1777 end
1778 MSESPActive.Text = "Inactive"
1779 MSESPActive.TextColor3 = Color3.new(1, 0, 1)
1780 PlayersEspActive.Text = "Inactive"
1781 PlayersEspActive.TextColor3 = Color3.new(1, 0, 1)
1782 EspOffActive.Text = "Active"
1783 EspOffActive.TextColor3 = Color3.new(0, 1, 0)
1784end)
1785
1786--Run
1787RunActiveGui.Name = "RunActiveGui"
1788RunActiveGui.Parent = Main
1789RunActiveGui.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
1790RunActiveGui.BorderColor3 = Color3.new(0, 0.607843, 1)
1791RunActiveGui.BorderSizePixel = 5
1792RunActiveGui.Position = UDim2.new(0.755, 0, 0.615, 0)
1793RunActiveGui.Size = UDim2.new(0.25, 0, 0.08, 0)
1794RunActiveGui.ZIndex = 4
1795RunActiveGui.Font = Enum.Font.SciFi
1796RunActiveGui.FontSize = Enum.FontSize.Size24
1797RunActiveGui.Text = "Inactive"
1798RunActiveGui.TextColor3 = Color3.new(1, 0, 1)
1799RunActiveGui.TextSize = 20
1800RunActiveGui.TextWrapped = true
1801
1802Run.Name = "Run"
1803Run.Parent = Main
1804Run.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
1805Run.BorderColor3 = Color3.new(0, 0.607843, 1)
1806Run.BorderSizePixel = 5
1807Run.Position = UDim2.new(0, 0, 0.615, 0)
1808Run.Size = UDim2.new(0.75, 0, 0.08, 0)
1809Run.ZIndex = 4
1810Run.Font = Enum.Font.SciFi
1811Run.FontSize = Enum.FontSize.Size24
1812Run.Text = "Run [Shift]"
1813Run.TextColor3 = Color3.fromRGB(255, 51, 0)
1814Run.TextSize = 20
1815Run.TextWrapped = true
1816Run.MouseButton1Down:connect(function(x, y)
1817 if runActive == false then
1818 runActive = true
1819 player.Character.Humanoid.WalkSpeed = 32
1820 RunActiveGui.Text = "Active"
1821 RunActiveGui.TextColor3 = Color3.new(0, 1, 0)
1822 elseif runActive == true then
1823 runActive = false
1824 player.Character.Humanoid.WalkSpeed = 16
1825 RunActiveGui.Text = "Inactive"
1826 RunActiveGui.TextColor3 = Color3.new(1, 0, 1)
1827 end
1828end)
1829
1830--Fly
1831FlyActive.Name = "FlyActive"
1832FlyActive.Parent = Main
1833FlyActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
1834FlyActive.BorderColor3 = Color3.new(0, 0.607843, 1)
1835FlyActive.BorderSizePixel = 5
1836FlyActive.Position = UDim2.new(0.755, 0, 0.715, 0)
1837FlyActive.Size = UDim2.new(0.25, 0, 0.08, 0)
1838FlyActive.ZIndex = 4
1839FlyActive.Font = Enum.Font.SciFi
1840FlyActive.FontSize = Enum.FontSize.Size24
1841FlyActive.Text = "Inactive"
1842FlyActive.TextColor3 = Color3.new(1, 0, 1)
1843FlyActive.TextSize = 20
1844FlyActive.TextWrapped = true
1845
1846Fly.Name = "Fly"
1847Fly.Parent = Main
1848Fly.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
1849Fly.BorderColor3 = Color3.new(0, 0.607843, 1)
1850Fly.BorderSizePixel = 5
1851Fly.Position = UDim2.new(0, 0, 0.715, 0)
1852Fly.Size = UDim2.new(0.75, 0, 0.08, 0)
1853Fly.ZIndex = 4
1854Fly.Font = Enum.Font.SciFi
1855Fly.FontSize = Enum.FontSize.Size24
1856Fly.Text = "Fly ["..string.upper(flykey).."]"
1857Fly.TextColor3 = Color3.fromRGB(204, 255, 255)
1858Fly.TextSize = 20
1859Fly.TextWrapped = true
1860Fly.MouseButton1Down:connect(function(x, y)
1861 if flyvar == false then
1862 sFLY()
1863 flyvar = true
1864 FlyActive.Text = "Active"
1865 FlyActive.TextColor3 = Color3.new(0, 1, 0)
1866 elseif flyvar == true then
1867 flyvar = false
1868 NOFLY()
1869 FlyActive.Text = "Inactive"
1870 FlyActive.TextColor3 = Color3.new(1, 0, 1)
1871 end
1872end)
1873
1874--Noclip
1875NoclipActive.Name = "NoclipActive"
1876NoclipActive.Parent = Main
1877NoclipActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
1878NoclipActive.BorderColor3 = Color3.new(0, 0.607843, 1)
1879NoclipActive.BorderSizePixel = 5
1880NoclipActive.Position = UDim2.new(0.755, 0, 0.815, 0)
1881NoclipActive.Size = UDim2.new(0.25, 0, 0.08, 0)
1882NoclipActive.ZIndex = 4
1883NoclipActive.Font = Enum.Font.SciFi
1884NoclipActive.FontSize = Enum.FontSize.Size24
1885NoclipActive.Text = "Inactive"
1886NoclipActive.TextColor3 = Color3.new(1, 0, 1)
1887NoclipActive.TextSize = 20
1888NoclipActive.TextWrapped = true
1889
1890Noclip.Name = "Noclip"
1891Noclip.Parent = Main
1892Noclip.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
1893Noclip.BorderColor3 = Color3.new(0, 0.607843, 1)
1894Noclip.BorderSizePixel = 5
1895Noclip.Position = UDim2.new(0, 0, 0.815, 0)
1896Noclip.Size = UDim2.new(0.75, 0, 0.08, 0)
1897Noclip.ZIndex = 4
1898Noclip.Font = Enum.Font.SciFi
1899Noclip.FontSize = Enum.FontSize.Size24
1900Noclip.Text = "Noclip ["..string.upper(noclipkey).."]"
1901Noclip.TextColor3 = Color3.fromRGB(0, 102, 255)
1902Noclip.TextSize = 20
1903Noclip.TextWrapped = true
1904Noclip.MouseButton1Down:connect(function(x, y)
1905 if NClip == false then
1906 NClip = true
1907 if printvar == true then
1908 print("Noclip Enabled")
1909 end
1910 NoclipActive.Text = "Active"
1911 NoclipActive.TextColor3 = Color3.new(0, 1, 0)
1912 elseif NClip == true then
1913 NClip = false
1914 if printvar == true then
1915 print("Noclip Disabled")
1916 end
1917 NoclipActive.Text = "Inactive"
1918 NoclipActive.TextColor3 = Color3.new(1, 0, 1)
1919 end
1920end)
1921
1922--GodMode
1923GodModeActive.Name = "GodModeActive"
1924GodModeActive.Parent = Main
1925GodModeActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
1926GodModeActive.BorderColor3 = Color3.new(0, 0.607843, 1)
1927GodModeActive.BorderSizePixel = 5
1928GodModeActive.Position = UDim2.new(0.755, 0, 0.915, 0)
1929GodModeActive.Size = UDim2.new(0.25, 0, 0.08, 0)
1930GodModeActive.ZIndex = 4
1931GodModeActive.Font = Enum.Font.SciFi
1932GodModeActive.FontSize = Enum.FontSize.Size24
1933GodModeActive.Text = "Inactive"
1934GodModeActive.TextColor3 = Color3.new(1, 0, 1)
1935GodModeActive.TextSize = 20
1936GodModeActive.TextWrapped = true
1937
1938GodMode.Name = "GodMode"
1939GodMode.Parent = Main
1940GodMode.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
1941GodMode.BorderColor3 = Color3.new(0, 0.607843, 1)
1942GodMode.BorderSizePixel = 5
1943GodMode.Position = UDim2.new(0, 0, 0.915, 0)
1944GodMode.Size = UDim2.new(0.75, 0, 0.08, 0)
1945GodMode.ZIndex = 4
1946GodMode.Font = Enum.Font.SciFi
1947GodMode.FontSize = Enum.FontSize.Size24
1948GodMode.Text = "God Mode ["..string.upper(godmodekey).."]"
1949GodMode.TextColor3 = Color3.fromRGB(255, 255, 255)
1950GodMode.TextSize = 20
1951GodMode.TextWrapped = true
1952GodMode.MouseButton1Down:connect(function(x, y)
1953 if godmodevar == false then
1954 GodModeActive.Text = "Active"
1955 GodModeActive.TextColor3 = Color3.new(0, 1, 0)
1956 godmodevar = true
1957 godmodefunc()
1958 end
1959end)
1960
1961--Xray On
1962GuiXrayOnActive.Name = "GuiXrayOnActive"
1963GuiXrayOnActive.Parent = Main
1964GuiXrayOnActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
1965GuiXrayOnActive.BorderColor3 = Color3.new(0, 0.607843, 1)
1966GuiXrayOnActive.BorderSizePixel = 5
1967GuiXrayOnActive.Position = UDim2.new(0.755, 0, 1.015, 0)
1968GuiXrayOnActive.Size = UDim2.new(0.25, 0, 0.08, 0)
1969GuiXrayOnActive.ZIndex = 4
1970GuiXrayOnActive.Font = Enum.Font.SciFi
1971GuiXrayOnActive.FontSize = Enum.FontSize.Size24
1972GuiXrayOnActive.Text = "Inactive"
1973GuiXrayOnActive.TextColor3 = Color3.new(1, 0, 1)
1974GuiXrayOnActive.TextSize = 20
1975GuiXrayOnActive.TextWrapped = true
1976
1977GuiXrayOn.Name = "XrayOn"
1978GuiXrayOn.Parent = Main
1979GuiXrayOn.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
1980GuiXrayOn.BorderColor3 = Color3.new(0, 0.607843, 1)
1981GuiXrayOn.BorderSizePixel = 5
1982GuiXrayOn.Position = UDim2.new(0, 0, 1.015, 0)
1983GuiXrayOn.Size = UDim2.new(0.75, 0, 0.08, 0)
1984GuiXrayOn.ZIndex = 4
1985GuiXrayOn.Font = Enum.Font.SciFi
1986GuiXrayOn.FontSize = Enum.FontSize.Size24
1987GuiXrayOn.Text = "Xray On ["..string.upper(xrayonkey).."]"
1988GuiXrayOn.TextColor3 = Color3.fromRGB(255, 204, 102)
1989GuiXrayOn.TextSize = 20
1990GuiXrayOn.TextWrapped = true
1991GuiXrayOn.MouseButton1Down:connect(function(x, y)
1992 GuiXrayOnActive.Text = "Active"
1993 GuiXrayOnActive.TextColor3 = Color3.new(0, 1, 0)
1994 GuiXrayOffActive.Text = "Inactive"
1995 GuiXrayOffActive.TextColor3 = Color3.new(1, 0, 1)
1996 XrayOn(obj)
1997end)
1998
1999--Xray Off
2000GuiXrayOffActive.Name = "GuiXrayOffActive"
2001GuiXrayOffActive.Parent = Main
2002GuiXrayOffActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
2003GuiXrayOffActive.BorderColor3 = Color3.new(0, 0.607843, 1)
2004GuiXrayOffActive.BorderSizePixel = 5
2005GuiXrayOffActive.Position = UDim2.new(0.755, 0, 1.115, 0)
2006GuiXrayOffActive.Size = UDim2.new(0.25, 0, 0.08, 0)
2007GuiXrayOffActive.ZIndex = 4
2008GuiXrayOffActive.Font = Enum.Font.SciFi
2009GuiXrayOffActive.FontSize = Enum.FontSize.Size24
2010GuiXrayOffActive.Text = "Active"
2011GuiXrayOffActive.TextColor3 = Color3.new(0, 1, 0)
2012GuiXrayOffActive.TextSize = 20
2013GuiXrayOffActive.TextWrapped = true
2014
2015GuiXrayOff.Name = "XrayOff"
2016GuiXrayOff.Parent = Main
2017GuiXrayOff.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
2018GuiXrayOff.BorderColor3 = Color3.new(0, 0.607843, 1)
2019GuiXrayOff.BorderSizePixel = 5
2020GuiXrayOff.Position = UDim2.new(0, 0, 1.115, 0)
2021GuiXrayOff.Size = UDim2.new(0.75, 0, 0.08, 0)
2022GuiXrayOff.ZIndex = 4
2023GuiXrayOff.Font = Enum.Font.SciFi
2024GuiXrayOff.FontSize = Enum.FontSize.Size24
2025GuiXrayOff.Text = "Xray Off ["..string.upper(xrayoffkey).."]"
2026GuiXrayOff.TextColor3 = Color3.fromRGB(255, 153, 51)
2027GuiXrayOff.TextSize = 20
2028GuiXrayOff.TextWrapped = true
2029GuiXrayOff.MouseButton1Down:connect(function(x, y)
2030 GuiXrayOnActive.Text = "Inactive"
2031 GuiXrayOnActive.TextColor3 = Color3.new(1, 0, 1)
2032 GuiXrayOffActive.Text = "Active"
2033 GuiXrayOffActive.TextColor3 = Color3.new(0, 1, 0)
2034 XrayOff(obj)
2035end)
2036
2037--Bring Gun to You
2038BringGun.Name = "BringGun"
2039BringGun.Parent = Main
2040BringGun.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
2041BringGun.BorderColor3 = Color3.new(0, 0.607843, 1)
2042BringGun.BorderSizePixel = 5
2043BringGun.Position = UDim2.new(0, 0, 1.215, 0)
2044BringGun.Size = UDim2.new(1.005, 0, 0.08, 0)
2045BringGun.ZIndex = 4
2046BringGun.Font = Enum.Font.SciFi
2047BringGun.FontSize = Enum.FontSize.Size24
2048BringGun.Text = "Teleport Gun ["..string.upper(bringgunkey).."]"
2049BringGun.TextColor3 = Color3.fromRGB(0, 255, 0)
2050BringGun.TextSize = 20
2051BringGun.TextWrapped = true
2052BringGun.MouseButton1Down:connect(function(x, y)
2053 if game.Workspace.GunDrop.CFrame ~= nil then
2054 game.Workspace.GunDrop.CFrame = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame
2055 else
2056 if printvar == true then
2057 print("Gun not currently dropped")
2058 end
2059 end
2060end)
2061
2062--Keybinds
2063KeybindsActive.Name = "KeybindsActive"
2064KeybindsActive.Parent = Main
2065KeybindsActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
2066KeybindsActive.BorderColor3 = Color3.new(0, 0.607843, 1)
2067KeybindsActive.BorderSizePixel = 5
2068KeybindsActive.Position = UDim2.new(0.755, 0, 1.315, 0)
2069KeybindsActive.Size = UDim2.new(0.25, 0, 0.08, 0)
2070KeybindsActive.ZIndex = 4
2071KeybindsActive.Font = Enum.Font.SciFi
2072KeybindsActive.FontSize = Enum.FontSize.Size24
2073KeybindsActive.Text = "Active"
2074KeybindsActive.TextColor3 = Color3.new(0, 1, 0)
2075KeybindsActive.TextSize = 20
2076KeybindsActive.TextWrapped = true
2077
2078Keybinds.Name = "Keybinds"
2079Keybinds.Parent = Main
2080Keybinds.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
2081Keybinds.BorderColor3 = Color3.new(0, 0.607843, 1)
2082Keybinds.BorderSizePixel = 5
2083Keybinds.Position = UDim2.new(0, 0, 1.315, 0)
2084Keybinds.Size = UDim2.new(0.75, 0, 0.08, 0)
2085Keybinds.ZIndex = 4
2086Keybinds.Font = Enum.Font.SciFi
2087Keybinds.FontSize = Enum.FontSize.Size24
2088Keybinds.Text = "Keybinds [Ctrl]"
2089Keybinds.TextColor3 = Color3.fromRGB(255, 255, 255)
2090Keybinds.TextSize = 20
2091Keybinds.TextWrapped = true
2092Keybinds.MouseButton1Down:connect(function(x, y)
2093 if keyOff == true then
2094 keyOff = false
2095 KeybindsActive.Text = "Active"
2096 KeybindsActive.TextColor3 = Color3.new(0, 1, 0)
2097 elseif keyOff == false then
2098 keyOff = true
2099 KeybindsActive.Text = "Inactive"
2100 KeybindsActive.TextColor3 = Color3.new(1, 0, 1)
2101 end
2102end)
2103
2104Show.Name = "Show"
2105Show.Parent = MM2
2106Show.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
2107Show.BorderColor3 = Color3.new(0, 0.607843, 1)
2108Show.BorderSizePixel = 5
2109Show.Position = UDim2.new(0, 0, 0.85799998, 0)
2110Show.Size = UDim2.new(0.08, 0, 0.04, 0)
2111Show.ZIndex = 4
2112Show.Font = Enum.Font.SciFi
2113Show.FontSize = Enum.FontSize.Size24
2114Show.Text = "Show ["..string.upper(hideshowguikey).."]"
2115Show.TextColor3 = Color3.new(0, 0.333333, 1)
2116Show.TextSize = 20
2117Show.TextWrapped = true
2118Show.Visible = false
2119
2120Hide.Name = "Hide"
2121Hide.Parent = Main
2122Hide.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
2123Hide.BorderColor3 = Color3.new(0, 0.607843, 1)
2124Hide.BorderSizePixel = 5
2125Hide.Position = UDim2.new(0, 0, 1.415, 0)
2126Hide.Size = UDim2.new(1.005, 0, 0.08, 0)
2127Hide.ZIndex = 4
2128Hide.Font = Enum.Font.SciFi
2129Hide.FontSize = Enum.FontSize.Size24
2130Hide.Text = "Hide ["..string.upper(hideshowguikey).."]"
2131Hide.TextColor3 = Color3.new(0, 0.333333, 1)
2132Hide.TextSize = 20
2133Hide.TextWrapped = true
2134
2135Hide.MouseButton1Down:connect(function(x, y)
2136 if showvar == true then
2137 showvar = false
2138 Main.Visible = false
2139 Show.Visible = true
2140 if printvar == true then
2141 print("Hidden")
2142 end
2143 end
2144end)
2145
2146Show.MouseButton1Down:connect(function(x, y)
2147 if showvar == false then
2148 showvar = true
2149 Show.Visible = false
2150 Main.Visible = true
2151 if printvar == true then
2152 print("Shown")
2153 end
2154 end
2155end)
2156
2157inputcode.InputBegan:connect(function(input)
2158 if input.KeyCode == Enum.KeyCode.LeftControl then
2159 if keyOff == true then
2160 keyOff = false
2161 KeybindsActive.Text = "Active"
2162 KeybindsActive.TextColor3 = Color3.new(0, 1, 0)
2163 elseif keyOff == false then
2164 keyOff = true
2165 KeybindsActive.Text = "Inactive"
2166 KeybindsActive.TextColor3 = Color3.new(1, 0, 1)
2167 end
2168 end
2169end)
2170
2171mouse.keyDown:connect(function(key)
2172 if keyOff == false then
2173 if key == coinkey then --Coin Grabber
2174 coingrabberfunc()
2175 elseif key == MSkey then --Murderer/Sheriff Esp On
2176 murderer = "None"
2177 sheriff = "None"
2178 Clear()
2179 findmurderer()
2180 findsheriff()
2181 if printvar == true then
2182 print("Murderer/Sheriff")
2183 end
2184 MSESPActive.Text = "Active"
2185 MSESPActive.TextColor3 = Color3.new(0, 1, 0)
2186 PlayersEspActive.Text = "Inactive"
2187 PlayersEspActive.TextColor3 = Color3.new(1, 0, 1)
2188 EspOffActive.Text = "Inactive"
2189 EspOffActive.TextColor3 = Color3.new(1, 0, 1)
2190 elseif key == playerskey then --Player Esp On
2191 Clear()
2192 MSESPActive.Text = "Inactive"
2193 MSESPActive.TextColor3 = Color3.new(1, 0, 1)
2194 PlayersEspActive.Text = "Active"
2195 PlayersEspActive.TextColor3 = Color3.new(0, 1, 0)
2196 EspOffActive.Text = "Inactive"
2197 EspOffActive.TextColor3 = Color3.new(1, 0, 1)
2198 findplayers()
2199 if printvar == true then
2200 print("Players")
2201 end
2202 elseif key == espoffkey then --Esp off
2203 Clear()
2204 if printvar == true then
2205 print("Esp Disabled")
2206 end
2207 MSESPActive.Text = "Inactive"
2208 MSESPActive.TextColor3 = Color3.new(1, 0, 1)
2209 PlayersEspActive.Text = "Inactive"
2210 PlayersEspActive.TextColor3 = Color3.new(1, 0, 1)
2211 EspOffActive.Text = "Active"
2212 EspOffActive.TextColor3 = Color3.new(0, 1, 0)
2213 elseif key == flykey then --Fly
2214 if flyvar == false then
2215 sFLY()
2216 flyvar = true
2217 FlyActive.Text = "Active"
2218 FlyActive.TextColor3 = Color3.new(0, 1, 0)
2219 elseif flyvar == true then
2220 flyvar = false
2221 NOFLY()
2222 FlyActive.Text = "Inactive"
2223 FlyActive.TextColor3 = Color3.new(1, 0, 1)
2224 end
2225 elseif key == noclipkey then --Noclip toggle
2226 if NClip == false then
2227 NClip = true
2228 if printvar == true then
2229 print("Noclip Enabled")
2230 end
2231 NoclipActive.Text = "Active"
2232 NoclipActive.TextColor3 = Color3.new(0, 1, 0)
2233 elseif NClip == true then
2234 NClip = false
2235 if printvar == true then
2236 print("Noclip Disabled")
2237 end
2238 NoclipActive.Text = "Inactive"
2239 NoclipActive.TextColor3 = Color3.new(1, 0, 1)
2240 end
2241 elseif key == godmodekey then --Godmode
2242 if godmodevar == false then
2243 godmodevar = true
2244 godmodefunc()
2245 GodModeActive.Text = "Active"
2246 GodModeActive.TextColor3 = Color3.new(0, 1, 0)
2247 end
2248 elseif key == xrayonkey then --Xray On
2249 GuiXrayOnActive.Text = "Active"
2250 GuiXrayOnActive.TextColor3 = Color3.new(0, 1, 0)
2251 GuiXrayOffActive.Text = "Inactive"
2252 GuiXrayOffActive.TextColor3 = Color3.new(1, 0, 1)
2253 XrayOn(obj)
2254 elseif key == xrayoffkey then --Xray Off
2255 GuiXrayOnActive.Text = "Inactive"
2256 GuiXrayOnActive.TextColor3 = Color3.new(1, 0, 1)
2257 GuiXrayOffActive.Text = "Active"
2258 GuiXrayOffActive.TextColor3 = Color3.new(0, 1, 0)
2259 XrayOff(obj)
2260 elseif key == bringgunkey then --Teleport Gun to You
2261 if game.Workspace.GunDrop.CFrame ~= nil then
2262 game.Workspace.GunDrop.CFrame = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame
2263 else
2264 if printvar == true then
2265 print("Gun not currently dropped")
2266 end
2267 end
2268 elseif key == hideshowguikey then --Show/Hide Gui
2269 if showvar == false then
2270 showvar = true
2271 Show.Visible = false
2272 Main.Visible = true
2273 if printvar == true then
2274 print("Shown")
2275 end
2276 elseif showvar == true then
2277 showvar = false
2278 Main.Visible = false
2279 Show.Visible = true
2280 if printvar == true then
2281 print("Hidden")
2282 end
2283 end
2284 end
2285 end
2286end)
2287end
2288
2289
2290create new paste / dealsnew! / syntax languages / archive / faq / tools / night mode / api / scraping api
2291privacy statement / cookies policy / terms of service / security disclosure / dmca / contact
2292
2293By using Pastebin.com you agree to our cookies policy to enhance your experience.
2294Site design & logo © 2019 Pastebin; user contributions (pastes) licensed under cc by-sa 3.0 -- FavPNG -- Dedicated Server Hosting by Steadfast
2295Windows Desktop Application
2296Free Transparent PNG Images
2297Top