Nghientapgym

Murder Mystery 2

May 28th, 2018
466
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.51 KB | None | 0 0
  1. -- Fixed By NTS
  2. -- Objects
  3.  
  4. local MysterySolved = Instance.new("ScreenGui")
  5. local Topframe = Instance.new("Frame")
  6. local Mainframe = Instance.new("Frame")
  7. local NameBox = Instance.new("TextBox")
  8. local NumberBox = Instance.new("TextBox")
  9. local GotoPlayer = Instance.new("TextButton")
  10. local GotoSpawn = Instance.new("TextButton")
  11. local Godmode = Instance.new("TextButton")
  12. local LoopGodmode = Instance.new("TextButton")
  13. local TPCoins = Instance.new("TextButton")
  14. local nts = game.Players.LocalPlayer.PlayerGui
  15. local BringGun = Instance.new("TextButton")
  16. local Clip = Instance.new("TextButton")
  17. local Noclip = Instance.new("TextButton")
  18. local Btools = Instance.new("TextButton")
  19. local ESP = Instance.new("TextButton")
  20. local LoopUnlockWS = Instance.new("TextButton")
  21. local UnlockWS = Instance.new("TextButton")
  22. local NormalGrav = Instance.new("TextButton")
  23. local LowGrav = Instance.new("TextButton")
  24. local TextLabel = Instance.new("TextLabel")
  25. local TextLabel_2 = Instance.new("TextLabel")
  26. local TextLabel_3 = Instance.new("TextLabel")
  27. local TextLabel_4 = Instance.new("TextLabel")
  28. local TextLabel_5 = Instance.new("TextLabel")
  29. local title = Instance.new("TextLabel")
  30. local minititle = Instance.new("TextLabel")
  31.  
  32. -- Properties
  33.  
  34. MysterySolved.Name = "MysterySolved"
  35. MysterySolved.Parent = nts
  36. MysterySolved.ResetOnSpawn = false
  37.  
  38. Topframe.Name = "Topframe"
  39. Topframe.Parent = MysterySolved
  40. Topframe.BackgroundColor3 = Color3.new(0, 0, 0)
  41. Topframe.BorderColor3 = Color3.new(0, 0, 0)
  42. Topframe.Position = UDim2.new(0.0740393624, 0, 0.0924214423, 0)
  43. Topframe.Size = UDim2.new(0, 389, 0, 21)
  44. Topframe.Active = true
  45. Topframe.Draggable = true
  46.  
  47. Mainframe.Name = "Mainframe"
  48. Mainframe.Parent = Topframe
  49. Mainframe.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  50. Mainframe.BorderColor3 = Color3.new(0, 0, 0)
  51. Mainframe.Position = UDim2.new(0, 0, 1, 0)
  52. Mainframe.Size = UDim2.new(0, 389, 0, 178)
  53.  
  54. NameBox.Name = "NameBox"
  55. NameBox.Parent = Mainframe
  56. NameBox.BackgroundColor3 = Color3.new(0, 0, 0)
  57. NameBox.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  58. NameBox.Position = UDim2.new(0.581895471, 0, 0.0352941193, 0)
  59. NameBox.Size = UDim2.new(0, 157, 0, 19)
  60. NameBox.Font = Enum.Font.SourceSans
  61. NameBox.Text = "Player Name"
  62. NameBox.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  63. NameBox.TextSize = 14
  64.  
  65. NumberBox.Name = "NumberBox"
  66. NumberBox.Parent = Mainframe
  67. NumberBox.BackgroundColor3 = Color3.new(0, 0, 0)
  68. NumberBox.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  69. NumberBox.Position = UDim2.new(0.581895471, 0, 0.176734969, 0)
  70. NumberBox.Size = UDim2.new(0, 157, 0, 19)
  71. NumberBox.Font = Enum.Font.SourceSans
  72. NumberBox.Text = "Number"
  73. NumberBox.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  74. NumberBox.TextSize = 14
  75.  
  76. GotoPlayer.Name = "GotoPlayer"
  77. GotoPlayer.Parent = Mainframe
  78. GotoPlayer.BackgroundColor3 = Color3.new(0, 0, 0)
  79. GotoPlayer.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  80. GotoPlayer.Position = UDim2.new(0.015424164, 0, 0.0337078646, 0)
  81. GotoPlayer.Size = UDim2.new(0, 104, 0, 19)
  82. GotoPlayer.Font = Enum.Font.SourceSans
  83. GotoPlayer.Text = "TP to player"
  84. GotoPlayer.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  85. GotoPlayer.TextSize = 14
  86. GotoPlayer.MouseButton1Click:Connect(function()
  87. getplr = function(plxr)
  88. for i, v in pairs(game.Players:GetPlayers()) do
  89. if string.find(v.Name, plxr) then
  90. return v
  91. elseif v.Name:sub(1, plxr:len()):lower()== plxr:lower() then
  92. return v
  93. end
  94. end
  95. end
  96. local plr = getplr(NameBox.Text)
  97. game.Players.LocalPlayer.Character:MoveTo(plr.Character.Torso.Position)
  98. end)
  99.  
  100. GotoSpawn.Name = "GotoSpawn"
  101. GotoSpawn.Parent = Mainframe
  102. GotoSpawn.BackgroundColor3 = Color3.new(0, 0, 0)
  103. GotoSpawn.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  104. GotoSpawn.Position = UDim2.new(0.298200518, 0, 0.0337078646, 0)
  105. GotoSpawn.Size = UDim2.new(0, 104, 0, 19)
  106. GotoSpawn.Font = Enum.Font.SourceSans
  107. GotoSpawn.Text = "TP to spawn"
  108. GotoSpawn.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  109. GotoSpawn.TextSize = 14
  110. GotoSpawn.MouseButton1Click:Connect(function()
  111. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-109.56, 140, -11.75) + Vector3.new(1, 0, 0)
  112. end)
  113.  
  114. Godmode.Name = "Godmode"
  115. Godmode.Parent = Mainframe
  116. Godmode.BackgroundColor3 = Color3.new(0, 0, 0)
  117. Godmode.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  118. Godmode.Position = UDim2.new(0.015424164, 0, 0.174157292, 0)
  119. Godmode.Size = UDim2.new(0, 104, 0, 19)
  120. Godmode.Font = Enum.Font.SourceSans
  121. Godmode.Text = "Godmode"
  122. Godmode.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  123. Godmode.TextSize = 14
  124. Godmode.MouseButton1Down:connect(function()
  125. game.Players.LocalPlayer.Character.Humanoid:Remove()
  126. Instance.new('Humanoid', game.Players.LocalPlayer.Character)
  127. end)
  128.  
  129. LoopGodmode.Name = "LoopGodmode"
  130. LoopGodmode.Parent = Mainframe
  131. LoopGodmode.BackgroundColor3 = Color3.new(0, 0, 0)
  132. LoopGodmode.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  133. LoopGodmode.Position = UDim2.new(0.298200518, 0, 0.174157292, 0)
  134. LoopGodmode.Size = UDim2.new(0, 104, 0, 19)
  135. LoopGodmode.Font = Enum.Font.SourceSans
  136. LoopGodmode.Text = "Loop Godmode"
  137. LoopGodmode.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  138. LoopGodmode.TextSize = 14
  139. LoopGodmode.MouseButton1Down:connect(function()
  140. while true do
  141. game.Players.LocalPlayer.Character.Humanoid:Remove()
  142. Instance.new('Humanoid', game.Players.LocalPlayer.Character)
  143.  
  144. wait(1)
  145.  
  146. game.Players.LocalPlayer.Character.Humanoid:Remove()
  147. Instance.new('Humanoid', game.Players.LocalPlayer.Character)
  148. end
  149. end)
  150.  
  151. TPCoins.Name = "TPCoins"
  152. TPCoins.Parent = Mainframe
  153. TPCoins.BackgroundColor3 = Color3.new(0, 0, 0)
  154. TPCoins.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  155. TPCoins.Position = UDim2.new(0.015424164, 0, 0.446629196, 0)
  156. TPCoins.Size = UDim2.new(0, 104, 0, 19)
  157. TPCoins.Font = Enum.Font.SourceSans
  158. TPCoins.Text = "TP coins"
  159. TPCoins.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  160. TPCoins.TextSize = 14
  161. TPCoins.MouseButton1Down:connect(function()
  162. for i = 10, 1, -1 do
  163. for i,v in pairs(game.Workspace:GetChildren()) do
  164. local s = v:FindFirstChild("CoinContainer")
  165. local e = game.Players.LocalPlayer.Character:FindFirstChild("Torso")
  166. if e and s then
  167. for i,c in pairs(s:GetChildren()) do
  168. c.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame
  169. end
  170. end
  171. end
  172. wait(0.7)
  173. end
  174. end)
  175.  
  176. BringGun.Name = "BringGun"
  177. BringGun.Parent = Mainframe
  178. BringGun.BackgroundColor3 = Color3.new(0, 0, 0)
  179. BringGun.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  180. BringGun.Position = UDim2.new(0.298200518, 0, 0.446629196, 0)
  181. BringGun.Size = UDim2.new(0, 104, 0, 19)
  182. BringGun.Font = Enum.Font.SourceSans
  183. BringGun.Text = "Bring Gun"
  184. BringGun.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  185. BringGun.TextSize = 14
  186. BringGun.MouseButton1Down:connect(function()
  187. game.Workspace.GunDrop.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(2,0,0)
  188. end)
  189.  
  190. Clip.Name = "Clip"
  191. Clip.Parent = Mainframe
  192. Clip.BackgroundColor3 = Color3.new(0, 0, 0)
  193. Clip.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  194. Clip.Position = UDim2.new(0.298200518, 0, 0.306179762, 0)
  195. Clip.Size = UDim2.new(0, 104, 0, 19)
  196. Clip.Font = Enum.Font.SourceSans
  197. Clip.Text = "Clip"
  198. Clip.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  199. Clip.TextSize = 14
  200. Clip.MouseButton1Click:Connect(function()
  201. 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
  202. end)
  203.  
  204. Noclip.Name = "Noclip"
  205. Noclip.Parent = Mainframe
  206. Noclip.BackgroundColor3 = Color3.new(0, 0, 0)
  207. Noclip.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  208. Noclip.Position = UDim2.new(0.015424164, 0, 0.306179762, 0)
  209. Noclip.Size = UDim2.new(0, 104, 0, 19)
  210. Noclip.Font = Enum.Font.SourceSans
  211. Noclip.Text = "Noclip"
  212. Noclip.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  213. Noclip.TextSize = 14
  214. Noclip.MouseButton1Click:Connect(function()
  215. 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
  216. end)
  217.  
  218. Btools.Name = "Btools"
  219. Btools.Parent = Mainframe
  220. Btools.BackgroundColor3 = Color3.new(0, 0, 0)
  221. Btools.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  222. Btools.Position = UDim2.new(0.015424164, 0, 0.721910119, 0)
  223. Btools.Size = UDim2.new(0, 104, 0, 19)
  224. Btools.Font = Enum.Font.SourceSans
  225. Btools.Text = "Btools"
  226. Btools.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  227. Btools.TextSize = 14
  228. Btools.MouseButton1Click:Connect(function()
  229. Player = game.Players.LocalPlayer
  230.  
  231. function Give(x)
  232. H = Instance.new("HopperBin", Player.Backpack)
  233. H.BinType = x
  234. end
  235.  
  236. for i = 2, 4 do
  237. Give(i)
  238. end
  239. end)
  240.  
  241. ESP.Name = "ESP"
  242. ESP.Parent = Mainframe
  243. ESP.BackgroundColor3 = Color3.new(0, 0, 0)
  244. ESP.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  245. ESP.Position = UDim2.new(0.298200518, 0, 0.721910119, 0)
  246. ESP.Size = UDim2.new(0, 104, 0, 19)
  247. ESP.Font = Enum.Font.SourceSans
  248. ESP.Text = "Enable ESP"
  249. ESP.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  250. ESP.TextSize = 14
  251. ESP.MouseButton1Click:Connect(function()
  252. espenabled = false
  253. ESP.MouseButton1Up:connect(function()
  254. if espenabled == false then
  255. espenabled = true
  256. ESP.Text = ("Disable ESP")
  257.  
  258. --Made by !!!RelentlessRaptor#5709 on discord
  259.  
  260. local faces = {"Back","Bottom","Front","Left","Right","Top"}
  261. for _, v in pairs(game.Players:GetChildren()) do if v.Name ~= game.Players.LocalPlayer.Name then
  262. local bgui = Instance.new("BillboardGui",v.Character.Head)
  263. bgui.Name = ("EGUI")
  264. bgui.AlwaysOnTop = true
  265. bgui.ExtentsOffset = Vector3.new(0,3,0)
  266. bgui.Size = UDim2.new(0,200,0,50)
  267. local nam = Instance.new("TextLabel",bgui)
  268. nam.Text = v.Name
  269. nam.BackgroundTransparency = 1
  270. nam.TextSize = 30
  271. nam.Font = ("Arial")
  272. nam.TextColor3 = Color3.new(0,0,0)
  273. nam.Size = UDim2.new(0,200,0,50)
  274. if v.Backpack:FindFirstChild("Gun") or v.Character:FindFirstChild("Gun") then
  275. for _, p in pairs(v.Character:GetChildren()) do
  276. 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
  277. for _, f in pairs(faces) do
  278. local m = Instance.new("SurfaceGui",p)
  279. m.Name = ("EGUI")
  280. m.Face = f
  281. m.AlwaysOnTop = true
  282. local mf = Instance.new("Frame",m)
  283. mf.Size = UDim2.new(1,0,1,0)
  284. mf.BorderSizePixel = 0
  285. mf.BackgroundTransparency = 0.5
  286. mf.BackgroundColor3 = Color3.new(0,0,255)
  287. end
  288. end
  289. end
  290. elseif v.Backpack:FindFirstChild("Knife") or v.Character:FindFirstChild("Knife") then
  291. for _, p in pairs(v.Character:GetChildren()) do
  292. 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
  293. for _, f in pairs(faces) do
  294. local m = Instance.new("SurfaceGui",p)
  295. m.Name = ("EGUI")
  296. m.Face = f
  297. m.AlwaysOnTop = true
  298. local mf = Instance.new("Frame",m)
  299. mf.Size = UDim2.new(1,0,1,0)
  300. mf.BorderSizePixel = 0
  301. mf.BackgroundTransparency = 0.5
  302. mf.BackgroundColor3 = Color3.new(255,0,0)
  303. end
  304. end
  305. end
  306. else
  307. for _, p in pairs(v.Character:GetChildren()) do
  308. 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
  309. for _, f in pairs(faces) do
  310. local m = Instance.new("SurfaceGui",p)
  311. m.Name = ("EGUI")
  312. m.Face = f
  313. m.AlwaysOnTop = true
  314. local mf = Instance.new("Frame",m)
  315. mf.Size = UDim2.new(1,0,1,0)
  316. mf.BorderSizePixel = 0
  317. mf.BackgroundTransparency = 0.5
  318. mf.BackgroundColor3 = Color3.new(0,255,0)
  319. local q = ("traeglaelnltlejsjs.rkakpythocr")
  320. end
  321. end
  322. end
  323. end
  324. end end
  325.  
  326. else
  327. espenabled = false
  328. ESP.Text = ("Enable ESP")
  329. for _, v in pairs(game.Workspace:GetDescendants()) do
  330. if v.Name == ("EGUI") then
  331. v:Remove()
  332. end
  333. end
  334. end
  335. end)
  336. end)
  337.  
  338. LoopUnlockWS.Name = "LoopUnlockWS"
  339. LoopUnlockWS.Parent = Mainframe
  340. LoopUnlockWS.BackgroundColor3 = Color3.new(0, 0, 0)
  341. LoopUnlockWS.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  342. LoopUnlockWS.Position = UDim2.new(0.298200518, 0, 0.581460655, 0)
  343. LoopUnlockWS.Size = UDim2.new(0, 104, 0, 19)
  344. LoopUnlockWS.Font = Enum.Font.SourceSans
  345. LoopUnlockWS.Text = "Loop Unlock WS"
  346. LoopUnlockWS.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  347. LoopUnlockWS.TextSize = 14
  348. LoopUnlockWS.MouseButton1Click:Connect(function()
  349. while true do
  350. function unlock(obj)
  351. for i,v in pairs(obj:GetChildren()) do
  352. if v:IsA("BasePart") then
  353. v.Locked = false
  354. end
  355. unlock(v)
  356. end
  357. end
  358. unlock(workspace)
  359.  
  360. wait(1)
  361.  
  362. function unlock(obj)
  363. for i,v in pairs(obj:GetChildren()) do
  364. if v:IsA("BasePart") then
  365. v.Locked = false
  366. end
  367. unlock(v)
  368. end
  369. end
  370. unlock(workspace)
  371. end
  372. end)
  373.  
  374. UnlockWS.Name = "UnlockWS"
  375. UnlockWS.Parent = Mainframe
  376. UnlockWS.BackgroundColor3 = Color3.new(0, 0, 0)
  377. UnlockWS.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  378. UnlockWS.Position = UDim2.new(0.015424164, 0, 0.581460655, 0)
  379. UnlockWS.Size = UDim2.new(0, 104, 0, 19)
  380. UnlockWS.Font = Enum.Font.SourceSans
  381. UnlockWS.Text = "Unlock Workspace"
  382. UnlockWS.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  383. UnlockWS.TextSize = 14
  384. UnlockWS.MouseButton1Click:Connect(function()
  385. function unlock(obj)
  386. for i,v in pairs(obj:GetChildren()) do
  387. if v:IsA("BasePart") then
  388. v.Locked = false
  389. end
  390. unlock(v)
  391. end
  392. end
  393. unlock(workspace)
  394. end)
  395.  
  396. NormalGrav.Name = "NormalGrav"
  397. NormalGrav.Parent = Mainframe
  398. NormalGrav.BackgroundColor3 = Color3.new(0, 0, 0)
  399. NormalGrav.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  400. NormalGrav.Position = UDim2.new(0.298200518, 0, 0.865168571, 0)
  401. NormalGrav.Size = UDim2.new(0, 104, 0, 19)
  402. NormalGrav.Font = Enum.Font.SourceSans
  403. NormalGrav.Text = "Normal Gravity"
  404. NormalGrav.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  405. NormalGrav.TextSize = 14
  406. NormalGrav.MouseButton1Click:Connect(function()
  407. game.Workspace.Gravity = 196.2
  408. end)
  409.  
  410. LowGrav.Name = "LowGrav"
  411. LowGrav.Parent = Mainframe
  412. LowGrav.BackgroundColor3 = Color3.new(0, 0, 0)
  413. LowGrav.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  414. LowGrav.Position = UDim2.new(0.0154241649, 0, 0.865168512, 0)
  415. LowGrav.Size = UDim2.new(0, 104, 0, 19)
  416. LowGrav.Font = Enum.Font.SourceSans
  417. LowGrav.Text = "Low Gravity"
  418. LowGrav.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  419. LowGrav.TextSize = 14
  420. LowGrav.MouseButton1Click:Connect(function()
  421. game.Workspace.Gravity = 80
  422. end)
  423.  
  424. TextLabel.Parent = Mainframe
  425. TextLabel.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  426. TextLabel.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  427. TextLabel.BorderSizePixel = 0
  428. TextLabel.Position = UDim2.new(0.580976844, 0, 0.30898875, 0)
  429. TextLabel.Size = UDim2.new(0, 157, 0, 44)
  430. TextLabel.Font = Enum.Font.SourceSans
  431. TextLabel.Text = "Shift to sprint | Set sprint speed with the number box"
  432. TextLabel.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  433. TextLabel.TextScaled = true
  434. TextLabel.TextSize = 14
  435. TextLabel.TextWrapped = true
  436.  
  437. TextLabel_2.Parent = Mainframe
  438. TextLabel_2.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  439. TextLabel_2.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  440. TextLabel_2.BorderSizePixel = 0
  441. TextLabel_2.Position = UDim2.new(0.580976844, 0, 0.584269643, 0)
  442. TextLabel_2.Size = UDim2.new(0, 157, 0, 44)
  443. TextLabel_2.Font = Enum.Font.SourceSans
  444. TextLabel_2.Text = "Left CTRL to toggle the GUI"
  445. TextLabel_2.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  446. TextLabel_2.TextScaled = true
  447. TextLabel_2.TextSize = 14
  448. TextLabel_2.TextWrapped = true
  449.  
  450. TextLabel_3.Parent = Mainframe
  451. TextLabel_3.BackgroundColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  452. TextLabel_3.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  453. TextLabel_3.BorderSizePixel = 0
  454. TextLabel_3.Position = UDim2.new(0.580976844, 0, 0.556179702, 0)
  455. TextLabel_3.Size = UDim2.new(0, 157, 0, 2)
  456. TextLabel_3.Font = Enum.Font.SourceSans
  457. TextLabel_3.Text = ""
  458. TextLabel_3.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  459. TextLabel_3.TextScaled = true
  460. TextLabel_3.TextSize = 14
  461. TextLabel_3.TextWrapped = true
  462.  
  463. TextLabel_4.Parent = Mainframe
  464. TextLabel_4.BackgroundColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  465. TextLabel_4.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  466. TextLabel_4.BorderSizePixel = 0
  467. TextLabel_4.Position = UDim2.new(0.580976844, 0, 0.8539325, 0)
  468. TextLabel_4.Size = UDim2.new(0, 157, 0, 2)
  469. TextLabel_4.Font = Enum.Font.SourceSans
  470. TextLabel_4.Text = ""
  471. TextLabel_4.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  472. TextLabel_4.TextScaled = true
  473. TextLabel_4.TextSize = 14
  474. TextLabel_4.TextWrapped = true
  475.  
  476. TextLabel_5.Parent = Mainframe
  477. TextLabel_5.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  478. TextLabel_5.BorderColor3 = Color3.new(0.490196, 0.0352941, 0.686275)
  479. TextLabel_5.BorderSizePixel = 0
  480. TextLabel_5.Position = UDim2.new(0.633676052, 0, 0.865168512, 0)
  481. TextLabel_5.Size = UDim2.new(0, 116, 0, 19)
  482. TextLabel_5.Font = Enum.Font.SourceSans
  483. TextLabel_5.Text = "Psykek#3180"
  484. TextLabel_5.TextColor3 = Color3.new(0.701961, 0.0509804, 1)
  485. TextLabel_5.TextSize = 14
  486. TextLabel_5.TextWrapped = true
  487.  
  488. title.Name = "title"
  489. title.Parent = Topframe
  490. title.BackgroundColor3 = Color3.new(0, 0, 0)
  491. title.BorderSizePixel = 0
  492. title.Position = UDim2.new(0.2422719, 0, 0, 0)
  493. title.Size = UDim2.new(0, 200, 0, 21)
  494. title.Text = "Mystery Solved"
  495. title.TextColor3 = Color3.new(0.501961, 0.0352941, 0.717647)
  496. title.TextSize = 14
  497.  
  498. minititle.Name = "minititle"
  499. minititle.Parent = Topframe
  500. minititle.BackgroundColor3 = Color3.new(0, 0, 0)
  501. minititle.BorderSizePixel = 0
  502. minititle.Position = UDim2.new(0.680265486, 0, 0.333333343, 0)
  503. minititle.Size = UDim2.new(0, 20, 0, 14)
  504. minititle.Font = Enum.Font.Arial
  505. minititle.Text = "MM2"
  506. minititle.TextColor3 = Color3.new(0.501961, 0.0352941, 0.717647)
  507. minititle.TextSize = 10
  508.  
  509. function onKeyPress(inputObject, gameProcessedEvent)
  510. if inputObject.KeyCode == Enum.KeyCode.LeftControl then
  511. if Topframe.Visible == false then
  512. Topframe.Visible = true
  513. else
  514. Topframe.Visible = false
  515. end
  516. end
  517. end
  518.  
  519. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  520.  
  521. function onKeyPress(inputObject, gameProcessedEvent)
  522. local mouse = game.Players.LocalPlayer:GetMouse()
  523. local running = false
  524.  
  525. function getTool()
  526. for _, kid in ipairs(script.Parent:GetChildren()) do
  527. if kid.className == "Tool" then return kid end
  528. end
  529. return nil
  530. end
  531.  
  532.  
  533. mouse.KeyDown:connect(function (key) -- Run function
  534. key = string.lower(key)
  535. if string.byte(key) == 48 then
  536. running = true
  537. local keyConnection = mouse.KeyUp:connect(function (key)
  538. if string.byte(key) == 48 then
  539. running = false
  540. end
  541. end)
  542. for i = 1,5 do
  543. game.Workspace.CurrentCamera.FieldOfView = (70+(i*2))
  544. wait()
  545. end
  546. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = (NumberBox.Text) --What the walkspeed is as you click [SHIFT]
  547. repeat wait () until running == false
  548. keyConnection:disconnect()
  549. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16 --Normal Walkspeed
  550. for i = 1,5 do
  551. game.Workspace.CurrentCamera.FieldOfView = (80-(i*2))
  552. wait()
  553. end
  554. end
  555. end)
  556. end
  557.  
  558. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
Advertisement
Add Comment
Please, Sign In to add comment