Advertisement
DontDoItIDareU

Murder Mystery Murder All

Sep 21st, 2018
472
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.91 KB | None | 0 0
  1. local plr = game.Players.LocalPlayer
  2. repeat wait() until plr
  3. local windowname = "murder mystery exploit"
  4.  
  5.  
  6. -- here are the exploit functions. you need to make them
  7.  
  8. -- default exploits below
  9.  
  10. function normalspeed()
  11. plr.Character.Humanoid.WalkSpeed = 16
  12. end
  13.  
  14.  
  15. function godspeed()
  16. plr.Character.Humanoid.WalkSpeed = 50
  17. end
  18.  
  19.  
  20. -- make ur own exploits below
  21.  
  22.  
  23. function godmode()
  24. plr.Character:FindFirstChild("Humanoid"):Destroy()
  25. Instance.new("Humanoid", plr.Character)
  26. end
  27.  
  28.  
  29.  
  30.  
  31.  
  32. function revealrole()
  33. for _, player in pairs(game.Players:GetChildren()) do
  34. local gun = player.Backpack:FindFirstChild("Gun") or player.Character:FindFirstChild("Gun")
  35. local knife = player.Backpack:FindFirstChild("Knife") or player.Character:FindFirstChild("Knife")
  36. if gun then
  37. game:GetService("StarterGui"):SetCore("SendNotification", {Title = "The Sheriff is", Text = player.Name, Duration = 10, Button1 = "Dismiss"})
  38. --gun:Clone().Parent = plr.Backpack
  39. elseif knife then
  40. game:GetService("StarterGui"):SetCore("SendNotification", {Title = "The Murderer is", Text = player.Name, Duration = 10, Button1 = "Dismiss"})
  41. --knife:Clone().Parent = plr.Backpack
  42. end
  43. end
  44. end
  45.  
  46. function tpcoins()
  47. for a, b in pairs(workspace:GetChildren()) do
  48. local coins = b:FindFirstChild("CoinContainer")
  49. if coins then
  50. for _, coin in pairs(coins:GetChildren()) do
  51. coin.CFrame = plr.Character.Head.CFrame
  52. end
  53. end
  54. end
  55. end
  56.  
  57.  
  58. function tpspawn()
  59. plr.Character.HumanoidRootPart.CFrame = CFrame.new(-109.56, 140, -11.75) + Vector3.new(1, 0, 0)
  60. end
  61.  
  62.  
  63. function tpgun()
  64. game.Workspace:FindFirstChild("GunDrop").CFrame = plr.Character.HumanoidRootPart.CFrame
  65. end
  66.  
  67.  
  68. function tpall()
  69. for _, player in pairs(game.Players:GetChildren()) do
  70. if player.Name ~= plr.Name then
  71. local magnitude = (player.Character.Head.Position - plr.Character.Head.Position).magnitude
  72. if magnitude > 150 then -- distance away from ur body
  73. --player.Character.HumanoidRootPart.CFrame = plr.Character.HumanoidRootPart.CFrame + Vector3.new(0, 2, 0)
  74. player.Character.Torso.Position = plr.Character.HumanoidRootPart.Position + Vector3.new(0, 0, -2)
  75. end
  76. end
  77. end
  78. end
  79.  
  80.  
  81. function resizemurd()
  82. local size = 100
  83. for _, player in pairs(game.Players:GetChildren()) do
  84. if player.Backpack:FindFirstChild("Knife") or player.Character:FindFirstChild("Knife") then
  85. local torso = player.Character:FindFirstChild("Torso")
  86. torso.Size = Vector3.new(size, size, size)
  87. end
  88. end
  89. end
  90.  
  91.  
  92.  
  93.  
  94. -- put ur exploit name here and link to function
  95. local exploits = {
  96. ["1"] = {["text"] = "16 walkspeed", ["func"] = normalspeed},
  97. ["2"] = {["text"] = "50 walkspeed", ["func"] = godspeed},
  98. ["3"] = {["text"] = "godmode", ["func"] = godmode},
  99. ["4"] = {["text"] = "reveal roles", ["func"] = revealrole},
  100. ["5"] = {["text"] = "teleport all coins", ["func"] = tpcoins},
  101. ["6"] = {["text"] = "teleport to spawn", ["func"] = tpspawn},
  102. ["7"] = {["text"] = "teleport gun", ["func"] = tpgun},
  103. ["8"] = {["text"] = "teleport all to you", ["func"] = tpall},
  104. ["9"] = {["text"] = "resize murd", ["func"] = resizemurd},
  105. }
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113. -- dont touch below
  114.  
  115.  
  116.  
  117. -- amount of items in the exploits table
  118. local amount = 0
  119. for a, b in pairs(exploits) do
  120. amount = amount + 1
  121. end
  122.  
  123. -- Frames
  124. local screengui = Instance.new("ScreenGui")
  125. screengui.Parent = game.CoreGui
  126. local mainframe = Instance.new("Frame")
  127. mainframe.Parent = screengui
  128. mainframe.Size = UDim2.new(0, 200, 0, 50 * (amount + 1))
  129. mainframe.Active = true
  130. mainframe.Draggable = true
  131. local closebutton = Instance.new("TextButton")
  132. closebutton.Parent = mainframe
  133. closebutton.Size = UDim2.new(0, 200, 0, 15)
  134. closebutton.Position = UDim2.new(0, 0, 0, 20)
  135. closebutton.BackgroundColor3 = Color3.new(255/255, 0/255, 0/255)
  136. closebutton.TextXAlignment = "Left"
  137. closebutton.Text = "Exit Exploit"
  138. closebutton.MouseButton1Click:connect(function()
  139. screengui:Destroy() -- destroy the entire window
  140. end)
  141. local windowtext = Instance.new("TextLabel")
  142. windowtext.Parent = mainframe
  143. windowtext.Size = UDim2.new(0, 200, 0, 15)
  144. windowtext.Position = UDim2.new(0, 0, 0, 35)
  145. windowtext.BackgroundColor3 = Color3.new(255/255, 0/255, 255/255)
  146. windowtext.TextXAlignment = "Left"
  147. windowtext.Text = windowname
  148.  
  149. for a = 1, amount do
  150. local currentexploit = exploits[tostring(a)]
  151. local button = Instance.new("TextButton")
  152. button.Parent = mainframe
  153. button.Size = UDim2.new(0, 200, 0, 50)
  154. button.Position = UDim2.new(0, 0, 0, 50 * a)
  155. button.BackgroundColor3 = Color3.new(0/255, 255/255, 0/255)
  156. button.TextXAlignment = "Left"
  157. button.Text = tostring(a) .. " - " .. currentexploit["text"]
  158. button.MouseButton1Click:connect(currentexploit["func"])
  159. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement