Nova355killer

Murder Mystery 2 Auto Win

Jun 25th, 2019
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.06 KB | None | 0 0
  1. local ScreenGui = Instance.new("ScreenGui")
  2. local main = Instance.new("Frame")
  3. local TextButton = Instance.new("TextButton")
  4. local X = Instance.new("TextButton")
  5. local TextLabel = Instance.new("TextLabel")
  6. local Reset = Instance.new("TextButton")
  7.  
  8. --Properties:
  9. ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
  10. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  11. ScreenGui.ResetOnSpawn = false
  12.  
  13. main.Name = "main"
  14. main.Parent = ScreenGui
  15. main.Active = true
  16. main.BackgroundColor3 = Color3.new(1, 1, 1)
  17. main.Position = UDim2.new(0.408912182, 0, 0.422348499, 0)
  18. main.Size = UDim2.new(0.182175621, 0, 0.155303031, 0)
  19. main.ZIndex = 2
  20. main.Draggable = true
  21.  
  22. TextButton.Parent = main
  23. TextButton.AnchorPoint = Vector2.new(0.5, 0.5)
  24. TextButton.BackgroundColor3 = Color3.new(0.52549, 1, 0.352941)
  25. TextButton.Position = UDim2.new(0.5, 0, 0.5, 0)
  26. TextButton.Size = UDim2.new(0.812949657, 0, 0.609756112, 0)
  27. TextButton.ZIndex = 2
  28. TextButton.AutoButtonColor = false
  29. TextButton.Font = Enum.Font.SourceSans
  30. TextButton.Text = "Win? maybe? idk"
  31. TextButton.TextColor3 = Color3.new(0, 0, 0)
  32. TextButton.TextSize = 14
  33.  
  34. X.Name = "X"
  35. X.Parent = main
  36. X.AnchorPoint = Vector2.new(0.5, 0.5)
  37. X.BackgroundColor3 = Color3.new(1, 0, 0)
  38. X.Position = UDim2.new(0.906474829, 0, -0.158536583, 0)
  39. X.Size = UDim2.new(0.187050357, 0, 0.317073166, 0)
  40. X.ZIndex = -1
  41. X.Font = Enum.Font.SourceSans
  42. X.Text = "X"
  43. X.TextColor3 = Color3.new(0, 0, 0)
  44. X.TextScaled = true
  45. X.TextSize = 14
  46. X.TextWrapped = true
  47.  
  48. TextLabel.Parent = main
  49. TextLabel.AnchorPoint = Vector2.new(0.5, 0.5)
  50. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  51. TextLabel.BackgroundTransparency = 1
  52. TextLabel.Position = UDim2.new(0.802158296, 0, 1.26829267, 0)
  53. TextLabel.Size = UDim2.new(1.41726613, 0, 0.536585391, 0)
  54. TextLabel.Font = Enum.Font.SourceSans
  55. TextLabel.Text = "Make sure you click it only after the game started and the countdown was done"
  56. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  57. TextLabel.TextScaled = true
  58. TextLabel.TextSize = 14
  59. TextLabel.TextWrapped = true
  60.  
  61. Reset.Name = "Reset"
  62. Reset.Parent = main
  63. Reset.AnchorPoint = Vector2.new(0.5, 0.5)
  64. Reset.BackgroundColor3 = Color3.new(1, 0.666667, 0)
  65. Reset.Position = UDim2.new(0.406474829, 0, -0.158536583, 0)
  66. Reset.Size = UDim2.new(0.812949657, 0, 0.317073166, 0)
  67. Reset.Font = Enum.Font.SourceSans
  68. Reset.Text = "Reset"
  69. Reset.TextColor3 = Color3.new(0, 0, 0)
  70. Reset.TextScaled = true
  71. Reset.TextSize = 14
  72. Reset.TextWrapped = true
  73.  
  74. Reset.MouseButton1Down:Connect(function()
  75. game.Players.LocalPlayer.Character.Humanoid.Health = 0
  76. end)
  77. X.MouseButton1Down:Connect(function()
  78. ScreenGui:Destroy()
  79. end)
  80. wait(3)
  81. local LocalPlayer = game:GetService("Players").LocalPlayer
  82. local torsoname = "Torso"
  83. if LocalPlayer.Character:FindFirstChild("Humanoid").RigType == Enum.HumanoidRigType.R15 then
  84. torsoname = "UpperTorso"
  85. end
  86.  
  87.  
  88. TextButton.MouseButton1Down:connect(function()
  89. if game.Players.LocalPlayer.Backpack:FindFirstChild("Revolver") ~= nil or game.Players.LocalPlayer.Backpack:FindFirstChild("Knife") == nil then
  90. print("hero")
  91. for index, plrs in pairs(game.Players:GetChildren()) do
  92. if plrs.Backpack:FindFirstChild("Knife") ~= nil or plrs.Character:FindFirstChild("Knife") ~= nil then
  93. print("hi")
  94. local v = plrs
  95.  
  96. local Target = game.Players:FindFirstChild("Predecoris")
  97. local Torso = game.Players.LocalPlayer.Character.HumanoidRootPart
  98. local SavedPos = Torso.CFrame
  99. local Active = true
  100. local POWER = 9e5
  101.  
  102. game:GetService('RunService').Stepped:connect(function()
  103. if Active == true then
  104. if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
  105. game.Players.LocalPlayer.Character.Head.CanCollide = false
  106. game.Players.LocalPlayer.Character.Torso.CanCollide = false
  107. game.Players.LocalPlayer.Character["Left Leg"].CanCollide = false
  108. game.Players.LocalPlayer.Character["Right Leg"].CanCollide = false
  109. POWER = 9e5
  110. else
  111. if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
  112. game.Players.LocalPlayer.Character.Head.CanCollide = false
  113. game.Players.LocalPlayer.Character.UpperTorso.CanCollide = false
  114. game.Players.LocalPlayer.Character.LowerTorso.CanCollide = false
  115. game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = false
  116. POWER = 9e4
  117. end
  118. end
  119. end
  120. end)
  121.  
  122.  
  123. if v.Character ~= nil then
  124. local savepos = LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
  125. game.Players.LocalPlayer.Character:FindFirstChild(torsoname).Anchored = true
  126. local tool = Instance.new("Tool", LocalPlayer.Backpack)
  127. local hat = LocalPlayer.Character:FindFirstChildOfClass("Accessory")
  128. local hathandle = hat.Handle
  129. hathandle.Parent = tool
  130. hathandle.Massless = true
  131. tool.GripPos = Vector3.new(0, 9e99, 0)
  132. tool.Parent = LocalPlayer.Character
  133. repeat wait() until LocalPlayer.Character:FindFirstChildOfClass("Tool") ~= nil
  134. tool.Grip = CFrame.new(Vector3.new(0, 0, 0))
  135. game.Players.LocalPlayer.Character:FindFirstChild(torsoname).Anchored = false
  136. repeat
  137. game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = v.Character:FindFirstChild("HumanoidRootPart").CFrame
  138. wait()
  139. until v.Character:FindFirstChild("Humanoid").Health <= 0 or game.Players.LocalPlayer.Character:FindFirstChild("Humanoid").Health <= 0
  140. game.Players.LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools()
  141. hathandle.Parent = hat
  142. hathandle.Massless = false
  143. tool:Destroy()
  144. LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = savepos
  145. end
  146.  
  147.  
  148.  
  149. game:GetService('RunService').Stepped:connect(function()
  150. if Active == true then
  151. Torso.CFrame = game.Players:FindFirstChild(v.Name).Character.HumanoidRootPart.CFrame
  152. end
  153. end)
  154. wait()
  155. Active = false
  156. for i,v in pairs(Torso:GetChildren()) do
  157. if v:IsA("BodyThrust") then
  158. v:Destroy()
  159. wait()
  160. else
  161. if v:IsA("BodyVelocity") or v:IsA("BodyGyro") then
  162. wait()
  163. v:Destroy()
  164. end
  165. end
  166. end
  167. end
  168. end
  169. else
  170. print("u got knifw")
  171. for index, plrs in pairs(game.Players:GetChildren()) do
  172. if plrs.Backpack:FindFirstChild("Revolver") ~= nil or plrs.Character:FindFirstChild("Revolver") ~= nil then
  173. print(plrs)
  174. local v = plrs
  175.  
  176. local Target = game.Players:FindFirstChild("Predecoris")
  177. local Torso = game.Players.LocalPlayer.Character.HumanoidRootPart
  178. local SavedPos = Torso.CFrame
  179. local Active = true
  180. local POWER = 9e5
  181.  
  182. game:GetService('RunService').Stepped:connect(function()
  183. if Active == true then
  184. if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
  185. game.Players.LocalPlayer.Character.Head.CanCollide = false
  186. game.Players.LocalPlayer.Character.Torso.CanCollide = false
  187. game.Players.LocalPlayer.Character["Left Leg"].CanCollide = false
  188. game.Players.LocalPlayer.Character["Right Leg"].CanCollide = false
  189. POWER = 9e5
  190. else
  191. if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
  192. game.Players.LocalPlayer.Character.Head.CanCollide = false
  193. game.Players.LocalPlayer.Character.UpperTorso.CanCollide = false
  194. game.Players.LocalPlayer.Character.LowerTorso.CanCollide = false
  195. game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = false
  196. POWER = 9e4
  197. end
  198. end
  199. end
  200. end)
  201.  
  202.  
  203. if v.Character ~= nil then
  204. local savepos = LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
  205. game.Players.LocalPlayer.Character:FindFirstChild(torsoname).Anchored = true
  206.  
  207. repeat
  208. game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = v.Character:FindFirstChild("HumanoidRootPart").CFrame
  209. wait()
  210. until v.Character:FindFirstChild("Humanoid").Health <= 0 or game.Players.LocalPlayer.Character:FindFirstChild("Humanoid").Health <= 0
  211. game.Players.LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools()
  212.  
  213. LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = savepos
  214. end
  215.  
  216.  
  217.  
  218. game:GetService('RunService').Stepped:connect(function()
  219. if Active == true then
  220. Torso.CFrame = game.Players:FindFirstChild(v.Name).Character.HumanoidRootPart.CFrame
  221. end
  222. end)
  223. wait()
  224. Active = false
  225. for i,v in pairs(Torso:GetChildren()) do
  226. if v:IsA("BodyThrust") then
  227. v:Destroy()
  228. wait()
  229. else
  230. if v:IsA("BodyVelocity") or v:IsA("BodyGyro") then
  231. wait()
  232. v:Destroy()
  233. end
  234. end
  235. end
  236. end
  237. end
  238. end
  239.  
  240. end)
Add Comment
Please, Sign In to add comment