Viktorkarlsson01

Murder Mystery 2:2

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