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