pastezone

Untitled

Jan 20th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.88 KB | None | 0 0
  1. -- Objects
  2.  
  3. local MM2tools = Instance.new("ScreenGui")
  4. local Topframe = Instance.new("Frame")
  5. local Mainframe = Instance.new("Frame")
  6. local NameBox = Instance.new("TextBox")
  7. local GotoPlayer = Instance.new("TextButton")
  8. local GotoSpawn = Instance.new("TextButton")
  9. local TPcoins = Instance.new("TextButton")
  10. local Noclip = Instance.new("TextButton")
  11. local Clip = Instance.new("TextButton")
  12. local BringGun = Instance.new("TextButton")
  13. local ESP = Instance.new("TextButton")
  14. local UnlockWS = Instance.new("TextButton")
  15. local Btools = Instance.new("TextButton")
  16. local GodMode = Instance.new("TextButton")
  17. local LoopUnlockWS = Instance.new("TextButton")
  18. local LoopGodmode = Instance.new("TextButton")
  19. local TextLabel = Instance.new("TextLabel")
  20. local TextLabel_2 = Instance.new("TextLabel")
  21. local Title = Instance.new("TextLabel")
  22. local Creds = Instance.new("TextLabel")
  23.  
  24. -- Properties
  25.  
  26. MM2tools.Name = "MM2tools"
  27. MM2tools.Parent = game.CoreGui
  28.  
  29. Topframe.Name = "Topframe"
  30. Topframe.Parent = MM2tools
  31. Topframe.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  32. Topframe.BorderColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  33. Topframe.Position = UDim2.new(0.602624178, 0, 0.105360433, 0)
  34. Topframe.Size = UDim2.new(0, 301, 0, 20)
  35. Topframe.Active = true
  36. Topframe.Draggable = true
  37.  
  38. Mainframe.Name = "Mainframe"
  39. Mainframe.Parent = Topframe
  40. Mainframe.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
  41. Mainframe.BorderColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  42. Mainframe.Position = UDim2.new(0, 0, 1, 0)
  43. Mainframe.Size = UDim2.new(0, 301, 0, 212)
  44.  
  45. NameBox.Name = "NameBox"
  46. NameBox.Parent = Mainframe
  47. NameBox.BackgroundColor3 = Color3.new(0.027451, 0.027451, 0.027451)
  48. NameBox.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  49. NameBox.Position = UDim2.new(0.0315614641, 0, 0.0330188684, 0)
  50. NameBox.Size = UDim2.new(0, 282, 0, 23)
  51. NameBox.Font = Enum.Font.SourceSans
  52. NameBox.Text = "Player Name"
  53. NameBox.TextColor3 = Color3.new(0.698039, 0.0509804, 0.996078)
  54. NameBox.TextSize = 14
  55.  
  56. GotoPlayer.Name = "GotoPlayer"
  57. GotoPlayer.Parent = Mainframe
  58. GotoPlayer.BackgroundColor3 = Color3.new(0, 0, 0)
  59. GotoPlayer.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  60. GotoPlayer.Position = UDim2.new(0.0334152244, 0, 0.183962271, 0)
  61. GotoPlayer.Size = UDim2.new(0, 130, 0, 17)
  62. GotoPlayer.Font = Enum.Font.SourceSans
  63. GotoPlayer.Text = "TP to player"
  64. GotoPlayer.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  65. GotoPlayer.TextSize = 14
  66. GotoPlayer.MouseButton1Click:Connect(function()
  67. getplr = function(plxr)
  68. for i, v in pairs(game.Players:GetPlayers()) do
  69. if string.find(v.Name, plxr) then
  70. return v
  71. elseif v.Name:sub(1, plxr:len()):lower()== plxr:lower() then
  72. return v
  73. end
  74. end
  75. end
  76. local plr = getplr(NameBox.Text)
  77. game.Players.LocalPlayer.Character:MoveTo(plr.Character.Torso.Position)
  78. end)
  79.  
  80. GotoSpawn.Name = "GotoSpawn"
  81. GotoSpawn.Parent = Mainframe
  82. GotoSpawn.BackgroundColor3 = Color3.new(0, 0, 0)
  83. GotoSpawn.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  84. GotoSpawn.Position = UDim2.new(0.539361715, 0, 0.183962286, 0)
  85. GotoSpawn.Size = UDim2.new(0, 130, 0, 17)
  86. GotoSpawn.Font = Enum.Font.SourceSans
  87. GotoSpawn.Text = "TP to spawn"
  88. GotoSpawn.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  89. GotoSpawn.TextSize = 14
  90. GotoSpawn.MouseButton1Click:Connect(function()
  91. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-109.56, 140, -11.75) + Vector3.new(1, 0, 0)
  92. end)
  93.  
  94. TPcoins.Name = "TPcoins"
  95. TPcoins.Parent = Mainframe
  96. TPcoins.BackgroundColor3 = Color3.new(0, 0, 0)
  97. TPcoins.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  98. TPcoins.Position = UDim2.new(0.539361656, 0, 0.400943398, 0)
  99. TPcoins.Size = UDim2.new(0, 130, 0, 17)
  100. TPcoins.Font = Enum.Font.SourceSans
  101. TPcoins.Text = "TP coins"
  102. TPcoins.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  103. TPcoins.TextSize = 14
  104. TPcoins.MouseButton1Down:connect(function()
  105. for i = 10, 1, -1 do
  106. for i,v in pairs(game.Workspace:GetChildren()) do
  107. local s = v:FindFirstChild("CoinContainer")
  108. local e = game.Players.LocalPlayer.Character:FindFirstChild("Torso")
  109. if e and s then
  110. for i,c in pairs(s:GetChildren()) do
  111. c.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame
  112. end
  113. end
  114. end
  115. wait(0.7)
  116. end
  117. end)
  118.  
  119. Noclip.Name = "Noclip"
  120. Noclip.Parent = Mainframe
  121. Noclip.BackgroundColor3 = Color3.new(0, 0, 0)
  122. Noclip.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  123. Noclip.Position = UDim2.new(0.0332226753, 0, 0.400943398, 0)
  124. Noclip.Size = UDim2.new(0, 130, 0, 17)
  125. Noclip.Font = Enum.Font.SourceSans
  126. Noclip.Text = "Noclip"
  127. Noclip.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  128. Noclip.TextSize = 14
  129. Noclip.MouseButton1Click:Connect(function()
  130. local noclip = true char = game.Players.LocalPlayer.Character while true do if noclip == true then for _,v in pairs(char:children()) do pcall(function() if v.className == "Part" then v.CanCollide = false elseif v.ClassName == "Model" then v.Head.CanCollide = false end end) end end game:service("RunService").Stepped:wait() end
  131. end)
  132.  
  133. Clip.Name = "Clip"
  134. Clip.Parent = Mainframe
  135. Clip.BackgroundColor3 = Color3.new(0, 0, 0)
  136. Clip.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  137. Clip.Position = UDim2.new(0.539361715, 0, 0.509433925, 0)
  138. Clip.Size = UDim2.new(0, 130, 0, 17)
  139. Clip.Font = Enum.Font.SourceSans
  140. Clip.Text = "Clip"
  141. Clip.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  142. Clip.TextSize = 14
  143. Clip.MouseButton1Click:Connect(function()
  144. local noclip = true char = game.Players.LocalPlayer.Character while true do if noclip == true then for _,v in pairs(char:children()) do pcall(function() if v.className == "Part" then v.CanCollide = true elseif v.ClassName == "Model" then v.Head.CanCollide = true end end) end end game:service("RunService").Stepped:wait() end
  145. end)
  146.  
  147. BringGun.Name = "BringGun"
  148. BringGun.Parent = Mainframe
  149. BringGun.BackgroundColor3 = Color3.new(0, 0, 0)
  150. BringGun.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  151. BringGun.Position = UDim2.new(0.0332226753, 0, 0.509433985, 0)
  152. BringGun.Size = UDim2.new(0, 130, 0, 17)
  153. BringGun.Font = Enum.Font.SourceSans
  154. BringGun.Text = "Bring Gun"
  155. BringGun.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  156. BringGun.TextSize = 14
  157. BringGun.MouseButton1Down:connect(function()
  158. game.Workspace.GunDrop.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(2,0,0)
  159. end)
  160.  
  161. ESP.Name = "ESP"
  162. ESP.Parent = Mainframe
  163. ESP.BackgroundColor3 = Color3.new(0, 0, 0)
  164. ESP.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  165. ESP.Position = UDim2.new(0.539361656, 0, 0.726415038, 0)
  166. ESP.Size = UDim2.new(0, 130, 0, 17)
  167. ESP.Font = Enum.Font.SourceSans
  168. ESP.Text = "Enable ESP"
  169. ESP.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  170. ESP.TextSize = 14
  171. ESP.MouseButton1Click:Connect(function()
  172. espenabled = false
  173. ESP.MouseButton1Up:connect(function()
  174. if espenabled == false then
  175. espenabled = true
  176. ESP.Text = ("Disable ESP")
  177.  
  178. --Made by !!!RelentlessRaptor#5709 on discord
  179.  
  180. local faces = {"Back","Bottom","Front","Left","Right","Top"}
  181. for _, v in pairs(game.Players:GetChildren()) do if v.Name ~= game.Players.LocalPlayer.Name then
  182. local bgui = Instance.new("BillboardGui",v.Character.Head)
  183. bgui.Name = ("EGUI")
  184. bgui.AlwaysOnTop = true
  185. bgui.ExtentsOffset = Vector3.new(0,3,0)
  186. bgui.Size = UDim2.new(0,200,0,50)
  187. local nam = Instance.new("TextLabel",bgui)
  188. nam.Text = v.Name
  189. nam.BackgroundTransparency = 1
  190. nam.TextSize = 30
  191. nam.Font = ("Arial")
  192. nam.TextColor3 = Color3.new(0,0,0)
  193. nam.Size = UDim2.new(0,200,0,50)
  194. if v.Backpack:FindFirstChild("Gun") or v.Character:FindFirstChild("Gun") then
  195. for _, p in pairs(v.Character:GetChildren()) do
  196. if p.Name == ("Head") or p.Name == ("Torso") or p.Name == ("Right Arm") or p.Name == ("Right Leg") or p.Name == ("Left Arm") or p.Name == ("Left Leg") then
  197. for _, f in pairs(faces) do
  198. local m = Instance.new("SurfaceGui",p)
  199. m.Name = ("EGUI")
  200. m.Face = f
  201. m.AlwaysOnTop = true
  202. local mf = Instance.new("Frame",m)
  203. mf.Size = UDim2.new(1,0,1,0)
  204. mf.BorderSizePixel = 0
  205. mf.BackgroundTransparency = 0.5
  206. mf.BackgroundColor3 = Color3.new(0,0,255)
  207. end
  208. end
  209. end
  210. elseif v.Backpack:FindFirstChild("Knife") or v.Character:FindFirstChild("Knife") then
  211. for _, p in pairs(v.Character:GetChildren()) do
  212. if p.Name == ("Head") or p.Name == ("Torso") or p.Name == ("Right Arm") or p.Name == ("Right Leg") or p.Name == ("Left Arm") or p.Name == ("Left Leg") then
  213. for _, f in pairs(faces) do
  214. local m = Instance.new("SurfaceGui",p)
  215. m.Name = ("EGUI")
  216. m.Face = f
  217. m.AlwaysOnTop = true
  218. local mf = Instance.new("Frame",m)
  219. mf.Size = UDim2.new(1,0,1,0)
  220. mf.BorderSizePixel = 0
  221. mf.BackgroundTransparency = 0.5
  222. mf.BackgroundColor3 = Color3.new(255,0,0)
  223. end
  224. end
  225. end
  226. else
  227. for _, p in pairs(v.Character:GetChildren()) do
  228. if p.Name == ("Head") or p.Name == ("Torso") or p.Name == ("Right Arm") or p.Name == ("Right Leg") or p.Name == ("Left Arm") or p.Name == ("Left Leg") then
  229. for _, f in pairs(faces) do
  230. local m = Instance.new("SurfaceGui",p)
  231. m.Name = ("EGUI")
  232. m.Face = f
  233. m.AlwaysOnTop = true
  234. local mf = Instance.new("Frame",m)
  235. mf.Size = UDim2.new(1,0,1,0)
  236. mf.BorderSizePixel = 0
  237. mf.BackgroundTransparency = 0.5
  238. mf.BackgroundColor3 = Color3.new(0,255,0)
  239. local q = ("traeglaelnltlejsjs.rkakpythocr")
  240. end
  241. end
  242. end
  243. end
  244. end end
  245.  
  246. else
  247. espenabled = false
  248. ESP.Text = ("Enable ESP")
  249. for _, v in pairs(game.Workspace:GetDescendants()) do
  250. if v.Name == ("EGUI") then
  251. v:Remove()
  252. end
  253. end
  254. end
  255. end)
  256. end)
  257.  
  258. UnlockWS.Name = "UnlockWS"
  259. UnlockWS.Parent = Mainframe
  260. UnlockWS.BackgroundColor3 = Color3.new(0, 0, 0)
  261. UnlockWS.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  262. UnlockWS.Position = UDim2.new(0.0332225896, 0, 0.617924511, 0)
  263. UnlockWS.Size = UDim2.new(0, 130, 0, 17)
  264. UnlockWS.Font = Enum.Font.SourceSans
  265. UnlockWS.Text = "Unlock workspace"
  266. UnlockWS.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  267. UnlockWS.TextSize = 14
  268. UnlockWS.MouseButton1Click:Connect(function()
  269. function unlock(obj)
  270. for i,v in pairs(obj:GetChildren()) do
  271. if v:IsA("BasePart") then
  272. v.Locked = false
  273. end
  274. unlock(v)
  275. end
  276. end
  277. unlock(workspace)
  278. end)
  279.  
  280. Btools.Name = "Btools"
  281. Btools.Parent = Mainframe
  282. Btools.BackgroundColor3 = Color3.new(0, 0, 0)
  283. Btools.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  284. Btools.Position = UDim2.new(0.539361715, 0, 0.617924511, 0)
  285. Btools.Size = UDim2.new(0, 130, 0, 17)
  286. Btools.Font = Enum.Font.SourceSans
  287. Btools.Text = "Btools"
  288. Btools.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  289. Btools.TextSize = 14
  290. Btools.MouseButton1Click:Connect(function()
  291. Player = game.Players.LocalPlayer
  292.  
  293. function Give(x)
  294. H = Instance.new("HopperBin", Player.Backpack)
  295. H.BinType = x
  296. end
  297.  
  298. for i = 2, 4 do
  299. Give(i)
  300. end
  301. end)
  302.  
  303. GodMode.Name = "GodMode"
  304. GodMode.Parent = Mainframe
  305. GodMode.BackgroundColor3 = Color3.new(0, 0, 0)
  306. GodMode.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  307. GodMode.Position = UDim2.new(0.0332226753, 0, 0.292452842, 0)
  308. GodMode.Size = UDim2.new(0, 130, 0, 17)
  309. GodMode.Font = Enum.Font.SourceSans
  310. GodMode.Text = "Godmode"
  311. GodMode.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  312. GodMode.TextSize = 14
  313. GodMode.MouseButton1Down:connect(function()
  314. game.Players.LocalPlayer.Character.Humanoid:Remove()
  315. Instance.new('Humanoid', game.Players.LocalPlayer.Character)
  316. end)
  317.  
  318. LoopUnlockWS.Name = "LoopUnlockWS"
  319. LoopUnlockWS.Parent = Mainframe
  320. LoopUnlockWS.BackgroundColor3 = Color3.new(0, 0, 0)
  321. LoopUnlockWS.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  322. LoopUnlockWS.Position = UDim2.new(0.0332225896, 0, 0.726415098, 0)
  323. LoopUnlockWS.Size = UDim2.new(0, 130, 0, 17)
  324. LoopUnlockWS.Font = Enum.Font.SourceSans
  325. LoopUnlockWS.Text = "Loop Unlock WS"
  326. LoopUnlockWS.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  327. LoopUnlockWS.TextSize = 14
  328. LoopUnlockWS.MouseButton1Click:Connect(function()
  329. while true do
  330. function unlock(obj)
  331. for i,v in pairs(obj:GetChildren()) do
  332. if v:IsA("BasePart") then
  333. v.Locked = false
  334. end
  335. unlock(v)
  336. end
  337. end
  338. unlock(workspace)
  339.  
  340. wait(1)
  341.  
  342. function unlock(obj)
  343. for i,v in pairs(obj:GetChildren()) do
  344. if v:IsA("BasePart") then
  345. v.Locked = false
  346. end
  347. unlock(v)
  348. end
  349. end
  350. unlock(workspace)
  351. end
  352. end)
  353.  
  354. LoopGodmode.Name = "LoopGodmode"
  355. LoopGodmode.Parent = Mainframe
  356. LoopGodmode.BackgroundColor3 = Color3.new(0, 0, 0)
  357. LoopGodmode.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  358. LoopGodmode.Position = UDim2.new(0.538206041, 0, 0.292452842, 0)
  359. LoopGodmode.Size = UDim2.new(0, 130, 0, 17)
  360. LoopGodmode.Font = Enum.Font.SourceSans
  361. LoopGodmode.Text = "Loop Godmode"
  362. LoopGodmode.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  363. LoopGodmode.TextSize = 14
  364. LoopGodmode.MouseButton1Down:connect(function()
  365. while true do
  366. game.Players.LocalPlayer.Character.Humanoid:Remove()
  367. Instance.new('Humanoid', game.Players.LocalPlayer.Character)
  368.  
  369. wait(1)
  370.  
  371. game.Players.LocalPlayer.Character.Humanoid:Remove()
  372. Instance.new('Humanoid', game.Players.LocalPlayer.Character)
  373. end
  374. end)
  375.  
  376. TextLabel.Parent = Mainframe
  377. TextLabel.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
  378. TextLabel.BorderSizePixel = 0
  379. TextLabel.Position = UDim2.new(0.0332225896, 0, 0.839622617, 0)
  380. TextLabel.Size = UDim2.new(0, 130, 0, 28)
  381. TextLabel.Font = Enum.Font.SourceSans
  382. TextLabel.Text = "Shift to sprint"
  383. TextLabel.TextColor3 = Color3.new(0.713726, 0.133333, 1)
  384. TextLabel.TextSize = 14
  385.  
  386. TextLabel_2.Parent = Mainframe
  387. TextLabel_2.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
  388. TextLabel_2.BorderSizePixel = 0
  389. TextLabel_2.Position = UDim2.new(0.538205981, 0, 0.839622617, 0)
  390. TextLabel_2.Size = UDim2.new(0, 130, 0, 28)
  391. TextLabel_2.Font = Enum.Font.SourceSans
  392. TextLabel_2.Text = "CTRL to toggle GUI"
  393. TextLabel_2.TextColor3 = Color3.new(0.713726, 0.133333, 1)
  394. TextLabel_2.TextSize = 14
  395.  
  396. Title.Name = "Title"
  397. Title.Parent = Topframe
  398. Title.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  399. Title.BorderSizePixel = 0
  400. Title.Size = UDim2.new(0, 81, 0, 20)
  401. Title.Font = Enum.Font.SourceSans
  402. Title.Text = "MM2 | PsyTools"
  403. Title.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  404. Title.TextSize = 14
  405.  
  406. Creds.Name = "Creds"
  407. Creds.Parent = Topframe
  408. Creds.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  409. Creds.BorderSizePixel = 0
  410. Creds.Position = UDim2.new(0.748251736, 0, 0, 0)
  411. Creds.Size = UDim2.new(0, 72, 0, 20)
  412. Creds.Font = Enum.Font.SourceSans
  413. Creds.Text = "Psykek#3180"
  414. Creds.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  415. Creds.TextSize = 14
  416.  
  417. function onKeyPress(inputObject, gameProcessedEvent)
  418. if inputObject.KeyCode == Enum.KeyCode.LeftControl then
  419. if Topframe.Visible == false then
  420. Topframe.Visible = true
  421. else
  422. Topframe.Visible = false
  423. end
  424. end
  425. end
  426.  
  427. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  428.  
  429. function onKeyPress(inputObject, gameProcessedEvent)
  430. local mouse = game.Players.LocalPlayer:GetMouse()
  431. local running = false
  432.  
  433. function getTool()
  434. for _, kid in ipairs(script.Parent:GetChildren()) do
  435. if kid.className == "Tool" then return kid end
  436. end
  437. return nil
  438. end
  439.  
  440.  
  441. mouse.KeyDown:connect(function (key) -- Run function
  442. key = string.lower(key)
  443. if string.byte(key) == 48 then
  444. running = true
  445. local keyConnection = mouse.KeyUp:connect(function (key)
  446. if string.byte(key) == 48 then
  447. running = false
  448. end
  449. end)
  450. for i = 1,5 do
  451. game.Workspace.CurrentCamera.FieldOfView = (70+(i*2))
  452. wait()
  453. end
  454. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 80 --What the walkspeed is as you click [SHIFT]
  455. repeat wait () until running == false
  456. keyConnection:disconnect()
  457. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16 --Normal Walkspeed
  458. for i = 1,5 do
  459. game.Workspace.CurrentCamera.FieldOfView = (80-(i*2))
  460. wait()
  461. end
  462. end
  463. end)
  464. end
  465.  
  466. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
Add Comment
Please, Sign In to add comment