Advertisement
Guest User

Mining Simulator

a guest
Nov 3rd, 2018
14,974
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 36.77 KB | None | 0 0
  1. --UI & some scripts by DSD#1567
  2. --Scripts by Mushkrem, Racist Dolphin, LuckyMMB ect
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local GuiStart1 = Instance.new("Frame")
  5. local HideButton = Instance.new("TextButton")
  6. local GUINameLabel1 = Instance.new("TextLabel")
  7. local OpenButton = Instance.new("TextButton")
  8. local MainFrame1 = Instance.new("Frame")
  9. local DecoFrame1 = Instance.new("Frame")
  10. local HomeFrame = Instance.new("Frame")
  11. local DecoFrame2 = Instance.new("TextButton")
  12. local DecoFrame3 = Instance.new("TextButton")
  13. local DecoFrame4 = Instance.new("TextButton")
  14. local DecoFrame6 = Instance.new("TextButton")
  15. local DecoFrame8 = Instance.new("TextButton")
  16. local DecoFrame9 = Instance.new("TextButton")
  17. local DecoFrame10 = Instance.new("TextButton")
  18. local DecoFrame11 = Instance.new("TextButton")
  19. local HomeButton = Instance.new("TextButton")
  20. local LocalPlayerButton = Instance.new("TextButton")
  21. local TeleportsButton = Instance.new("TextButton")
  22. local FunctionsButton = Instance.new("TextButton")
  23. local FunctionsFrame = Instance.new("Frame")
  24. local SellButton = Instance.new("TextButton")
  25. local DecoFrame7 = Instance.new("TextButton")
  26. local SellToggleButton = Instance.new("TextButton")
  27. local BuyButton = Instance.new("TextButton")
  28. local BuyToggleButton = Instance.new("TextButton")
  29. local FastMineButton = Instance.new("TextButton")
  30. local UnglitchButton = Instance.new("TextButton")
  31. local SellToggleTextBox = Instance.new("TextBox")
  32. local BuyToggleTextBox = Instance.new("TextBox")
  33. local MineDangerStatusGUIButton = Instance.new("TextButton")
  34. local TeleportsFrame = Instance.new("Frame")
  35. local DecoFrame13 = Instance.new("TextButton")
  36. local EarthTPButton = Instance.new("TextButton")
  37. local SpaceTPButton = Instance.new("TextButton")
  38. local CandyLandTPButton = Instance.new("TextButton")
  39. local ToyLandTPButton = Instance.new("TextButton")
  40. local FoodLandTPButton = Instance.new("TextButton")
  41. local DinoLandTPButton = Instance.new("TextButton")
  42. local AtlantisTPButton = Instance.new("TextButton")
  43. local TheBeachTPButton = Instance.new("TextButton")
  44. local CrystalCavernTPButton = Instance.new("TextButton")
  45. local HalloweenTPButton = Instance.new("TextButton")
  46. local LocalPlayerFrame = Instance.new("Frame")
  47. local DecoFrame12 = Instance.new("TextButton")
  48. local SpeedButton = Instance.new("TextButton")
  49. local JumpPowerButton = Instance.new("TextButton")
  50. local FlyButton = Instance.new("TextButton")
  51. local Fly = false
  52.  
  53. WalkNumber = "1"
  54. JumpNumber = "1"
  55. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  56.  
  57. local plr = game:GetService("Players").LocalPlayer.Character.Humanoid
  58. plr.Parent = nil
  59. wait()
  60. local clone = Instance.new("Humanoid",game:GetService("Players").LocalPlayer.Character)
  61. clone.Parent.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(0,1000,0))
  62. wait(.6)
  63. clone:Destroy()
  64. plr.Parent = game:GetService("Players").LocalPlayer.Character
  65.  
  66. GuiStart1.Name = "GuiStart1"
  67. GuiStart1.Parent = ScreenGui
  68. GuiStart1.Active = true
  69. GuiStart1.BackgroundColor3 = Color3.new(0.105882, 0.105882, 0.105882)
  70. GuiStart1.BorderSizePixel = 0
  71. GuiStart1.Position = UDim2.new(0.507143617, 0, 0.195893392, 0)
  72. GuiStart1.Selectable = true
  73. GuiStart1.Size = UDim2.new(0, 417, 0, 33)
  74. GuiStart1.Draggable = true
  75.  
  76. HideButton.Name = "HideButton"
  77. HideButton.Parent = GuiStart1
  78. HideButton.BackgroundColor3 = Color3.new(0.0470588, 0.0470588, 0.0470588)
  79. HideButton.BorderSizePixel = 0
  80. HideButton.Position = UDim2.new(0.930000007, 0, 0.121212125, 0)
  81. HideButton.Size = UDim2.new(0, 25, 0, 25)
  82. HideButton.Selected = true
  83. HideButton.Font = Enum.Font.SourceSans
  84. HideButton.Text = ""
  85. HideButton.TextColor3 = Color3.new(0, 0, 0)
  86. HideButton.TextSize = 14
  87. HideButton.MouseButton1Click:connect(function()
  88. GuiStart1.Visible = false
  89. end)
  90.  
  91.  
  92. GUINameLabel1.Name = "GUINameLabel1"
  93. GUINameLabel1.Parent = GuiStart1
  94. GUINameLabel1.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  95. GUINameLabel1.BackgroundTransparency = 1
  96. GUINameLabel1.BorderSizePixel = 0
  97. GUINameLabel1.Position = UDim2.new(0.0191846527, 0, -0.181818187, 5)
  98. GUINameLabel1.Size = UDim2.new(0, 277, 0, 34)
  99. GUINameLabel1.Font = Enum.Font.SourceSansBold
  100. GUINameLabel1.Text = "Mining Simulator"
  101. GUINameLabel1.TextColor3 = Color3.new(1, 1, 1)
  102. GUINameLabel1.TextScaled = true
  103. GUINameLabel1.TextSize = 25
  104. GUINameLabel1.TextStrokeColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  105. GUINameLabel1.TextWrapped = true
  106. GUINameLabel1.TextXAlignment = Enum.TextXAlignment.Left
  107.  
  108. OpenButton.Name = "OpenButton"
  109. OpenButton.Parent = GuiStart1
  110. OpenButton.BackgroundColor3 = Color3.new(0.27451, 0.27451, 0.27451)
  111. OpenButton.BorderSizePixel = 0
  112. OpenButton.Position = UDim2.new(0.860000014, 0, 0.121212125, 0)
  113. OpenButton.Size = UDim2.new(0, 25, 0, 25)
  114. OpenButton.Font = Enum.Font.SourceSans
  115. OpenButton.Text = ""
  116. OpenButton.TextColor3 = Color3.new(0, 0, 0)
  117. OpenButton.TextSize = 14
  118. OpenButton.MouseButton1Click:connect(function()
  119. if MainFrame1.Visible == false
  120. then MainFrame1.Visible = true
  121. else
  122. MainFrame1.Visible = false
  123. end
  124. end)
  125.  
  126. MainFrame1.Name = "MainFrame1"
  127. MainFrame1.Parent = GuiStart1
  128. MainFrame1.BackgroundColor3 = Color3.new(0.0470588, 0.0470588, 0.0470588)
  129. MainFrame1.BorderColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  130. MainFrame1.BorderSizePixel = 0
  131. MainFrame1.Position = UDim2.new(0, 0, 1, 0)
  132. MainFrame1.Size = UDim2.new(0, 417, 0, 424)
  133. MainFrame1.Visible = false
  134.  
  135. DecoFrame1.Name = "DecoFrame1"
  136. DecoFrame1.Parent = MainFrame1
  137. DecoFrame1.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  138. DecoFrame1.BorderSizePixel = 0
  139. DecoFrame1.Size = UDim2.new(0, 129, 0, 424)
  140.  
  141. HomeFrame.Name = "HomeFrame"
  142. HomeFrame.Parent = MainFrame1
  143. HomeFrame.BackgroundColor3 = Color3.new(0.0470588, 0.0470588, 0.0470588)
  144. HomeFrame.BorderSizePixel = 0
  145. HomeFrame.Position = UDim2.new(0.309352517, 0, 0, 0)
  146. HomeFrame.Size = UDim2.new(0, 288, 0, 424)
  147.  
  148. DecoFrame2.Name = "DecoFrame2"
  149. DecoFrame2.Parent = HomeFrame
  150. DecoFrame2.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  151. DecoFrame2.BorderSizePixel = 0
  152. DecoFrame2.Position = UDim2.new(0.0694444478, 0, 0.047169812, 0)
  153. DecoFrame2.Size = UDim2.new(0, 247, 0, 39)
  154. DecoFrame2.Font = Enum.Font.SourceSansBold
  155. DecoFrame2.Text = "UI BY DSDamn"
  156. DecoFrame2.TextColor3 = Color3.new(1, 1, 1)
  157. DecoFrame2.TextScaled = true
  158. DecoFrame2.TextSize = 14
  159. DecoFrame2.TextWrapped = true
  160.  
  161. DecoFrame3.Name = "DecoFrame3"
  162. DecoFrame3.Parent = HomeFrame
  163. DecoFrame3.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  164. DecoFrame3.BorderSizePixel = 0
  165. DecoFrame3.Position = UDim2.new(0.0694444478, 0, 0.149000004, 0)
  166. DecoFrame3.Size = UDim2.new(0, 247, 0, 27)
  167. DecoFrame3.Font = Enum.Font.SourceSansBold
  168. DecoFrame3.Text = "With Mushkrem"
  169. DecoFrame3.TextColor3 = Color3.new(1, 1, 1)
  170. DecoFrame3.TextScaled = true
  171. DecoFrame3.TextSize = 14
  172. DecoFrame3.TextWrapped = true
  173.  
  174. DecoFrame4.Name = "DecoFrame4"
  175. DecoFrame4.Parent = HomeFrame
  176. DecoFrame4.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  177. DecoFrame4.BorderSizePixel = 0
  178. DecoFrame4.Position = UDim2.new(0.0694444478, 0, 0.238207549, 0)
  179. DecoFrame4.Size = UDim2.new(0, 247, 0, 39)
  180. DecoFrame4.Font = Enum.Font.SourceSansBold
  181. DecoFrame4.Text = "Scripts By:"
  182. DecoFrame4.TextColor3 = Color3.new(1, 1, 1)
  183. DecoFrame4.TextScaled = true
  184. DecoFrame4.TextSize = 14
  185. DecoFrame4.TextWrapped = true
  186.  
  187. DecoFrame6.Name = "DecoFrame6"
  188. DecoFrame6.Parent = HomeFrame
  189. DecoFrame6.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  190. DecoFrame6.BorderSizePixel = 0
  191. DecoFrame6.Position = UDim2.new(0.000324726105, 0, 0.964622617, 0)
  192. DecoFrame6.Size = UDim2.new(0, 288, 0, 15)
  193. DecoFrame6.Font = Enum.Font.SourceSansBold
  194. DecoFrame6.Text = "DSD#1567"
  195. DecoFrame6.TextColor3 = Color3.new(1, 1, 1)
  196. DecoFrame6.TextScaled = true
  197. DecoFrame6.TextSize = 14
  198. DecoFrame6.TextWrapped = true
  199.  
  200. DecoFrame8.Name = "DecoFrame8"
  201. DecoFrame8.Parent = HomeFrame
  202. DecoFrame8.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  203. DecoFrame8.BorderSizePixel = 0
  204. DecoFrame8.Position = UDim2.new(0.0694444478, 0, 0.339622647, 0)
  205. DecoFrame8.Size = UDim2.new(0, 247, 0, 25)
  206. DecoFrame8.Font = Enum.Font.SourceSansBold
  207. DecoFrame8.Text = "DSD"
  208. DecoFrame8.TextColor3 = Color3.new(1, 1, 1)
  209. DecoFrame8.TextSize = 25
  210. DecoFrame8.TextWrapped = true
  211.  
  212. DecoFrame9.Name = "DecoFrame9"
  213. DecoFrame9.Parent = HomeFrame
  214. DecoFrame9.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  215. DecoFrame9.BorderSizePixel = 0
  216. DecoFrame9.Position = UDim2.new(0.0689999983, 0, 0.408792466, 0)
  217. DecoFrame9.Size = UDim2.new(0, 247, 0, 25)
  218. DecoFrame9.Font = Enum.Font.SourceSansBold
  219. DecoFrame9.Text = "Mushkrem"
  220. DecoFrame9.TextColor3 = Color3.new(1, 1, 1)
  221. DecoFrame9.TextSize = 25
  222. DecoFrame9.TextWrapped = true
  223.  
  224. DecoFrame10.Name = "DecoFrame10"
  225. DecoFrame10.Parent = HomeFrame
  226. DecoFrame10.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  227. DecoFrame10.BorderSizePixel = 0
  228. DecoFrame10.Position = UDim2.new(0.0689999983, 0, 0.475792438, 0)
  229. DecoFrame10.Size = UDim2.new(0, 247, 0, 25)
  230. DecoFrame10.Font = Enum.Font.SourceSansBold
  231. DecoFrame10.Text = "Racist Dolphin"
  232. DecoFrame10.TextColor3 = Color3.new(1, 1, 1)
  233. DecoFrame10.TextSize = 25
  234. DecoFrame10.TextWrapped = true
  235.  
  236. DecoFrame11.Name = "DecoFrame11"
  237. DecoFrame11.Parent = HomeFrame
  238. DecoFrame11.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  239. DecoFrame11.BorderSizePixel = 0
  240. DecoFrame11.Position = UDim2.new(0.0689999983, 0, 0.544792473, 0)
  241. DecoFrame11.Size = UDim2.new(0, 247, 0, 25)
  242. DecoFrame11.Font = Enum.Font.SourceSansBold
  243. DecoFrame11.Text = "LuckyMMB"
  244. DecoFrame11.TextColor3 = Color3.new(1, 1, 1)
  245. DecoFrame11.TextSize = 25
  246. DecoFrame11.TextWrapped = true
  247.  
  248. HomeButton.Name = "HomeButton"
  249. HomeButton.Parent = MainFrame1
  250. HomeButton.BackgroundColor3 = Color3.new(0.0823529, 0.0823529, 0.0823529)
  251. HomeButton.BorderSizePixel = 0
  252. HomeButton.Position = UDim2.new(0, 0, 0, 3)
  253. HomeButton.Size = UDim2.new(0, 129, 0, 30)
  254. HomeButton.Font = Enum.Font.SourceSansBold
  255. HomeButton.Text = "Home"
  256. HomeButton.TextColor3 = Color3.new(1, 1, 1)
  257. HomeButton.TextSize = 24
  258. HomeButton.TextWrapped = true
  259. HomeButton.MouseButton1Click:connect(function()
  260. HomeFrame.Visible = true
  261. FunctionsFrame.Visible = false
  262. LocalPlayerFrame.Visible = false
  263. TeleportsFrame.Visible = false
  264. end)
  265.  
  266. LocalPlayerButton.Name = "LocalPlayerButton"
  267. LocalPlayerButton.Parent = MainFrame1
  268. LocalPlayerButton.BackgroundColor3 = Color3.new(0.0823529, 0.0823529, 0.0823529)
  269. LocalPlayerButton.BorderSizePixel = 0
  270. LocalPlayerButton.Position = UDim2.new(0, 0, 0.0869999975, 0)
  271. LocalPlayerButton.Size = UDim2.new(0, 129, 0, 30)
  272. LocalPlayerButton.Font = Enum.Font.SourceSansBold
  273. LocalPlayerButton.Text = "LocalPlayer"
  274. LocalPlayerButton.TextColor3 = Color3.new(1, 1, 1)
  275. LocalPlayerButton.TextSize = 24
  276. LocalPlayerButton.TextWrapped = true
  277. LocalPlayerButton.MouseButton1Click:connect(function()
  278. HomeFrame.Visible = false
  279. FunctionsFrame.Visible = false
  280. LocalPlayerFrame.Visible = true
  281. TeleportsFrame.Visible = false
  282. end)
  283.  
  284. TeleportsButton.Name = "TeleportsButton"
  285. TeleportsButton.Parent = MainFrame1
  286. TeleportsButton.BackgroundColor3 = Color3.new(0.0823529, 0.0823529, 0.0823529)
  287. TeleportsButton.BorderSizePixel = 0
  288. TeleportsButton.Position = UDim2.new(0, 0, 0.166999996, 0)
  289. TeleportsButton.Size = UDim2.new(0, 129, 0, 30)
  290. TeleportsButton.Font = Enum.Font.SourceSansBold
  291. TeleportsButton.Text = "Teleports"
  292. TeleportsButton.TextColor3 = Color3.new(1, 1, 1)
  293. TeleportsButton.TextSize = 24
  294. TeleportsButton.TextWrapped = true
  295. TeleportsButton.MouseButton1Click:connect(function()
  296. HomeFrame.Visible = false
  297. FunctionsFrame.Visible = false
  298. LocalPlayerFrame.Visible = false
  299. TeleportsFrame.Visible = true
  300. end)
  301.  
  302. FunctionsButton.Name = "FunctionsButton"
  303. FunctionsButton.Parent = MainFrame1
  304. FunctionsButton.BackgroundColor3 = Color3.new(0.0823529, 0.0823529, 0.0823529)
  305. FunctionsButton.BorderSizePixel = 0
  306. FunctionsButton.Position = UDim2.new(0, 0, 0.247999996, 0)
  307. FunctionsButton.Size = UDim2.new(0, 129, 0, 30)
  308. FunctionsButton.Font = Enum.Font.SourceSansBold
  309. FunctionsButton.Text = "Functions"
  310. FunctionsButton.TextColor3 = Color3.new(1, 1, 1)
  311. FunctionsButton.TextSize = 24
  312. FunctionsButton.TextWrapped = true
  313. FunctionsButton.MouseButton1Click:connect(function()
  314. HomeFrame.Visible = false
  315. FunctionsFrame.Visible = true
  316. LocalPlayerFrame.Visible = false
  317. TeleportsFrame.Visible = false
  318. end)
  319.  
  320. FunctionsFrame.Name = "FunctionsFrame"
  321. FunctionsFrame.Parent = MainFrame1
  322. FunctionsFrame.BackgroundColor3 = Color3.new(0.0470588, 0.0470588, 0.0470588)
  323. FunctionsFrame.BorderSizePixel = 0
  324. FunctionsFrame.Position = UDim2.new(0.309352517, 0, 0, 0)
  325. FunctionsFrame.Size = UDim2.new(0, 288, 0, 424)
  326. FunctionsFrame.Visible = false
  327.  
  328. SellButton.Name = "SellButton"
  329. SellButton.Parent = FunctionsFrame
  330. SellButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  331. SellButton.BorderSizePixel = 0
  332. SellButton.Position = UDim2.new(0.0350000001, 0, 0.126000002, 0)
  333. SellButton.Size = UDim2.new(0, 131, 0, 27)
  334. SellButton.Font = Enum.Font.SourceSansBold
  335. SellButton.Text = "Sell"
  336. SellButton.TextColor3 = Color3.new(1, 1, 1)
  337. SellButton.TextScaled = true
  338. SellButton.TextSize = 14
  339. SellButton.TextWrapped = true
  340. SellButton.MouseButton1Click:connect(function()
  341. local part = Instance.new("Part", workspace)
  342.  
  343. local var = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  344. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Activation.Sell.CFrame * CFrame.new(0,5,0)
  345. wait(1)
  346. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = var
  347.  
  348. end)
  349.  
  350. DecoFrame7.Name = "DecoFrame7"
  351. DecoFrame7.Parent = FunctionsFrame
  352. DecoFrame7.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  353. DecoFrame7.BorderSizePixel = 0
  354. DecoFrame7.Position = UDim2.new(0.000324726105, 0, 0.964622617, 0)
  355. DecoFrame7.Size = UDim2.new(0, 288, 0, 15)
  356. DecoFrame7.Font = Enum.Font.SourceSansBold
  357. DecoFrame7.Text = "DSD#1567"
  358. DecoFrame7.TextColor3 = Color3.new(1, 1, 1)
  359. DecoFrame7.TextScaled = true
  360. DecoFrame7.TextSize = 14
  361. DecoFrame7.TextWrapped = true
  362.  
  363. SellToggleButton.Name = "SellToggleButton"
  364. SellToggleButton.Parent = FunctionsFrame
  365. SellToggleButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  366. SellToggleButton.BorderSizePixel = 0
  367. SellToggleButton.Position = UDim2.new(0.638888896, 0, 0.125, 0)
  368. SellToggleButton.Size = UDim2.new(0, 94, 0, 27)
  369. SellToggleButton.Font = Enum.Font.SourceSansBold
  370. SellToggleButton.Text = "Click to toggle"
  371. SellToggleButton.TextColor3 = Color3.new(1, 1, 1)
  372. SellToggleButton.TextScaled = true
  373. SellToggleButton.TextSize = 14
  374. SellToggleButton.TextWrapped = true
  375. SellToggleButton.MouseButton1Click:connect(function()
  376. game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
  377. if key == SellToggleTextBox.Text then
  378. local part = Instance.new("Part", workspace)
  379.  
  380. local var = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  381. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Activation.Sell.CFrame * CFrame.new(0,5,0)
  382. wait(1)
  383. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = var
  384. end
  385. end)
  386. end)
  387.  
  388. BuyButton.Name = "BuyButton"
  389. BuyButton.Parent = FunctionsFrame
  390. BuyButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  391. BuyButton.BorderSizePixel = 0
  392. BuyButton.Position = UDim2.new(0.0350000001, 0, 0.197999999, 0)
  393. BuyButton.Size = UDim2.new(0, 131, 0, 27)
  394. BuyButton.Font = Enum.Font.SourceSansBold
  395. BuyButton.Text = "Buy"
  396. BuyButton.TextColor3 = Color3.new(1, 1, 1)
  397. BuyButton.TextScaled = true
  398. BuyButton.TextSize = 14
  399. BuyButton.TextWrapped = true
  400. BuyButton.MouseButton1Click:Connect(function()
  401. local part = Instance.new("Part", workspace)
  402.  
  403.  
  404. local var = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  405. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Activation.Buy.CFrame * CFrame.new(0,5,0)
  406. wait(1)
  407. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = var
  408.  
  409.  
  410. end)
  411.  
  412. BuyToggleButton.Name = "BuyToggleButton"
  413. BuyToggleButton.Parent = FunctionsFrame
  414. BuyToggleButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  415. BuyToggleButton.BorderSizePixel = 0
  416. BuyToggleButton.Position = UDim2.new(0.638888896, 0, 0.198113203, 0)
  417. BuyToggleButton.Size = UDim2.new(0, 94, 0, 27)
  418. BuyToggleButton.Font = Enum.Font.SourceSansBold
  419. BuyToggleButton.Text = "Click to toggle"
  420. BuyToggleButton.TextColor3 = Color3.new(1, 1, 1)
  421. BuyToggleButton.TextScaled = true
  422. BuyToggleButton.TextSize = 14
  423. BuyToggleButton.TextWrapped = true
  424. BuyToggleButton.MouseButton1Click:connect(function()
  425. game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
  426. if key == BuyToggleTextBox.Text then
  427. local part = Instance.new("Part", workspace)
  428.  
  429.  
  430. local var = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  431. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Activation.Buy.CFrame * CFrame.new(0,5,0)
  432. wait(1)
  433. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = var
  434. end
  435. end)
  436. end)
  437.  
  438. FastMineButton.Name = "FastMineButton"
  439. FastMineButton.Parent = FunctionsFrame
  440. FastMineButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  441. FastMineButton.BorderSizePixel = 0
  442. FastMineButton.Position = UDim2.new(0.0347222239, 0, 0.023584906, 0)
  443. FastMineButton.Size = UDim2.new(0, 268, 0, 39)
  444. FastMineButton.Font = Enum.Font.SourceSansBold
  445. FastMineButton.Text = "Fast Mine"
  446. FastMineButton.TextColor3 = Color3.new(1, 1, 1)
  447. FastMineButton.TextScaled = true
  448. FastMineButton.TextSize = 14
  449. FastMineButton.TextWrapped = true
  450. FastMineButton.MouseButton1Down:Connect(function()
  451. -- Synapse Only / Protosmasher Only
  452. -- Made by: Racist Dolphin#5199 ID: 146307779735322624
  453.  
  454. local ps = game:GetService("Players")
  455. local i = game:GetService("UserInputService")
  456. local r = game:GetService("RunService")
  457. local cg = game:GetService("CoreGui")
  458. local p = ps.LocalPlayer
  459. local c = p.Character
  460. p.CharacterAdded:connect(function(char)
  461. c = char
  462. end)
  463. local m = getrawmetatable(game)
  464. pcall(function()
  465. make_writeable(m)
  466. end)
  467. --setreadonly(m, false)
  468.  
  469. local oldnamecall = m.__namecall
  470.  
  471. local env, env2, maxRange, start = nil, nil, nil, nil
  472.  
  473. m.__namecall = function(...)
  474. local t = {...}
  475. local method = t[#t]
  476.  
  477. if method == "FindFirstChild" then
  478. if t[2] == "Stats" then
  479. env = getfenv(2)
  480. if env.script then
  481. if env.script.Parent ~= nil then
  482. if tostring(env.script.Parent) == "ScreenGui" then
  483. --maxRange = debug.getupvalue(2, "maxRange")
  484. start = debug.getlocal(2, "start")
  485. if start ~= nil then
  486. debug.setupvalue(2, "maxRange", 999)
  487. debug.setlocal(2, "startTick", tick() + 999)
  488. debug.setlocal(2, "start", tick() - 999)
  489. debug.setlocal(2, "mineTime", 0)
  490. end
  491. end
  492. end
  493. end
  494. end
  495. end
  496.  
  497. return oldnamecall(...)
  498. end
  499. end)
  500.  
  501. UnglitchButton.Name = "UnglitchButton"
  502. UnglitchButton.Parent = FunctionsFrame
  503. UnglitchButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  504. UnglitchButton.BorderSizePixel = 0
  505. UnglitchButton.Position = UDim2.new(0.0350000001, 0, 0.272000015, 0)
  506. UnglitchButton.Size = UDim2.new(0, 268, 0, 39)
  507. UnglitchButton.Font = Enum.Font.SourceSansBold
  508. UnglitchButton.Text = "Unglitch"
  509. UnglitchButton.TextColor3 = Color3.new(1, 1, 1)
  510. UnglitchButton.TextScaled = true
  511. UnglitchButton.TextSize = 14
  512. UnglitchButton.TextWrapped = true
  513. UnglitchButton.MouseButton1Click:connect(function()
  514. location = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  515. game.Players.LocalPlayer.Character.Humanoid.Name = 1
  516. local l = game.Players.LocalPlayer.Character["1"]:Clone()
  517. l.Parent = game.Players.LocalPlayer.Character
  518. l.Name = "Humanoid"
  519. wait(0.1)
  520. game.Players.LocalPlayer.Character["1"]:Destroy()
  521. game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
  522. game.Players.LocalPlayer.Character.Animate.Disabled = true
  523. wait(0.1)
  524. game.Players.LocalPlayer.Character.Animate.Disabled = false
  525. game.Players.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
  526. wait()
  527. location = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  528. local prt = Instance.new("Model", workspace);
  529. Instance.new("Part", prt).Name="Torso";
  530. Instance.new("Part", prt).Name="Head";
  531. Instance.new("Humanoid", prt).Name="Humanoid";
  532. game.Players.LocalPlayer.Character=prt
  533. wait(6)
  534. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = location
  535. loadstring(game:HttpGet(('https://pastebin.com/raw/CCHHMuM9'),true))()
  536. end)
  537.  
  538. SellToggleTextBox.Name = "SellToggleTextBox"
  539. SellToggleTextBox.Parent = FunctionsFrame
  540. SellToggleTextBox.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  541. SellToggleTextBox.BorderSizePixel = 0
  542. SellToggleTextBox.Position = UDim2.new(0.510416687, 0, 0.125, 0)
  543. SellToggleTextBox.Size = UDim2.new(0, 37, 0, 27)
  544. SellToggleTextBox.Font = Enum.Font.SourceSansBold
  545. SellToggleTextBox.Text = "f"
  546. SellToggleTextBox.TextColor3 = Color3.new(1, 1, 1)
  547. SellToggleTextBox.TextScaled = true
  548. SellToggleTextBox.TextSize = 14
  549. SellToggleTextBox.TextWrapped = true
  550.  
  551. BuyToggleTextBox.Name = "BuyToggleTextBox"
  552. BuyToggleTextBox.Parent = FunctionsFrame
  553. BuyToggleTextBox.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  554. BuyToggleTextBox.BorderSizePixel = 0
  555. BuyToggleTextBox.Position = UDim2.new(0.510416687, 0, 0.198113203, 0)
  556. BuyToggleTextBox.Size = UDim2.new(0, 37, 0, 27)
  557. BuyToggleTextBox.Font = Enum.Font.SourceSansBold
  558. BuyToggleTextBox.Text = "e"
  559. BuyToggleTextBox.TextColor3 = Color3.new(1, 1, 1)
  560. BuyToggleTextBox.TextScaled = true
  561. BuyToggleTextBox.TextSize = 14
  562. BuyToggleTextBox.TextWrapped = true
  563.  
  564. MineDangerStatusGUIButton.Name = "MineDangerStatusGUIButton"
  565. MineDangerStatusGUIButton.Parent = FunctionsFrame
  566. MineDangerStatusGUIButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  567. MineDangerStatusGUIButton.BorderSizePixel = 0
  568. MineDangerStatusGUIButton.Position = UDim2.new(0.0350000001, 0, 0.372000009, 0)
  569. MineDangerStatusGUIButton.Size = UDim2.new(0, 268, 0, 39)
  570. MineDangerStatusGUIButton.Font = Enum.Font.SourceSansBold
  571. MineDangerStatusGUIButton.Text = "Mine Danger GUI"
  572. MineDangerStatusGUIButton.TextColor3 = Color3.new(1, 1, 1)
  573. MineDangerStatusGUIButton.TextScaled = true
  574. MineDangerStatusGUIButton.TextSize = 14
  575. MineDangerStatusGUIButton.TextWrapped = true
  576. MineDangerStatusGUIButton.MouseButton1Down:Connect(function()
  577. local plr = game.Players.LocalPlayer
  578. local plrGui = plr.PlayerGui
  579. local gui = plrGui:FindFirstChild('ScreenGui')
  580. local frame = gui:FindFirstChild('Collapse')
  581. if game.PlaceId == 1417427737 then
  582. print('Success showing mine gui!')
  583. frame.Visible = true
  584. end
  585. end)
  586.  
  587. TeleportsFrame.Name = "TeleportsFrame"
  588. TeleportsFrame.Parent = MainFrame1
  589. TeleportsFrame.BackgroundColor3 = Color3.new(0.0470588, 0.0470588, 0.0470588)
  590. TeleportsFrame.BorderSizePixel = 0
  591. TeleportsFrame.Position = UDim2.new(0.309352517, 0, 0, 0)
  592. TeleportsFrame.Size = UDim2.new(0, 288, 0, 424)
  593. TeleportsFrame.Visible = false
  594.  
  595. DecoFrame13.Name = "DecoFrame13"
  596. DecoFrame13.Parent = TeleportsFrame
  597. DecoFrame13.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  598. DecoFrame13.BorderSizePixel = 0
  599. DecoFrame13.Position = UDim2.new(0.000324726105, 0, 0.964622617, 0)
  600. DecoFrame13.Size = UDim2.new(0, 288, 0, 15)
  601. DecoFrame13.Font = Enum.Font.SourceSansBold
  602. DecoFrame13.Text = "DSD#1567"
  603. DecoFrame13.TextColor3 = Color3.new(1, 1, 1)
  604. DecoFrame13.TextScaled = true
  605. DecoFrame13.TextSize = 14
  606. DecoFrame13.TextWrapped = true
  607.  
  608. EarthTPButton.Name = "EarthTPButton"
  609. EarthTPButton.Parent = TeleportsFrame
  610. EarthTPButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  611. EarthTPButton.BorderSizePixel = 0
  612. EarthTPButton.Position = UDim2.new(0.0347222239, 0, 0.0259433966, 0)
  613. EarthTPButton.Size = UDim2.new(0, 131, 0, 27)
  614. EarthTPButton.Font = Enum.Font.SourceSansBold
  615. EarthTPButton.Text = "Earth"
  616. EarthTPButton.TextColor3 = Color3.new(1, 1, 1)
  617. EarthTPButton.TextScaled = true
  618. EarthTPButton.TextSize = 14
  619. EarthTPButton.TextWrapped = true
  620. EarthTPButton.MouseButton1Down:connect(function()
  621. target = CFrame.new(0, 12, 0)
  622. for i, player in ipairs(game.Players:GetChildren()) do
  623. if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
  624. player.Character.HumanoidRootPart.CFrame = target + Vector3.new(0, i * 5, 0)
  625. end
  626. end
  627. end)
  628.  
  629. SpaceTPButton.Name = "SpaceTPButton"
  630. SpaceTPButton.Parent = TeleportsFrame
  631. SpaceTPButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  632. SpaceTPButton.BorderSizePixel = 0
  633. SpaceTPButton.Position = UDim2.new(0.510694444, 0, 0.0269434005, 0)
  634. SpaceTPButton.Size = UDim2.new(0, 131, 0, 27)
  635. SpaceTPButton.Font = Enum.Font.SourceSansBold
  636. SpaceTPButton.Text = "Space"
  637. SpaceTPButton.TextColor3 = Color3.new(1, 1, 1)
  638. SpaceTPButton.TextScaled = true
  639. SpaceTPButton.TextSize = 14
  640. SpaceTPButton.TextWrapped = true
  641. SpaceTPButton.MouseButton1Down:connect(function()
  642. target = CFrame.new(6, 12, 1574)
  643. for i, player in ipairs(game.Players:GetChildren()) do
  644. if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
  645. player.Character.HumanoidRootPart.CFrame = target + Vector3.new(0, i * 5, 0)
  646. end
  647. end
  648. end)
  649.  
  650. CandyLandTPButton.Name = "CandyLandTPButton"
  651. CandyLandTPButton.Parent = TeleportsFrame
  652. CandyLandTPButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  653. CandyLandTPButton.BorderSizePixel = 0
  654. CandyLandTPButton.Position = UDim2.new(0.0350000001, 0, 0.0989999995, 0)
  655. CandyLandTPButton.Size = UDim2.new(0, 131, 0, 27)
  656. CandyLandTPButton.Font = Enum.Font.SourceSansBold
  657. CandyLandTPButton.Text = "Candy Land"
  658. CandyLandTPButton.TextColor3 = Color3.new(1, 1, 1)
  659. CandyLandTPButton.TextScaled = true
  660. CandyLandTPButton.TextSize = 14
  661. CandyLandTPButton.TextWrapped = true
  662. CandyLandTPButton.MouseButton1Down:connect(function()
  663. target = CFrame.new(35, 12, 3035)
  664. for i, player in ipairs(game.Players:GetChildren()) do
  665. if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
  666. player.Character.HumanoidRootPart.CFrame = target + Vector3.new(0, i * 5, 0)
  667. end
  668. end
  669. end)
  670.  
  671. ToyLandTPButton.Name = "ToyLandTPButton"
  672. ToyLandTPButton.Parent = TeleportsFrame
  673. ToyLandTPButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  674. ToyLandTPButton.BorderSizePixel = 0
  675. ToyLandTPButton.Position = UDim2.new(0.510694444, 0, 0.0989999995, 0)
  676. ToyLandTPButton.Size = UDim2.new(0, 131, 0, 27)
  677. ToyLandTPButton.Font = Enum.Font.SourceSansBold
  678. ToyLandTPButton.Text = "Toy Land"
  679. ToyLandTPButton.TextColor3 = Color3.new(1, 1, 1)
  680. ToyLandTPButton.TextScaled = true
  681. ToyLandTPButton.TextSize = 14
  682. ToyLandTPButton.TextWrapped = true
  683. ToyLandTPButton.MouseButton1Down:connect(function()
  684. target = CFrame.new(35, 12, 5662)
  685. for i, player in ipairs(game.Players:GetChildren()) do
  686. if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
  687. player.Character.HumanoidRootPart.CFrame = target + Vector3.new(0, i * 5, 0)
  688. end
  689. end
  690. end)
  691.  
  692. FoodLandTPButton.Name = "FoodLandTPButton"
  693. FoodLandTPButton.Parent = TeleportsFrame
  694. FoodLandTPButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  695. FoodLandTPButton.BorderSizePixel = 0
  696. FoodLandTPButton.Position = UDim2.new(0.0350000001, 0, 0.172999993, 0)
  697. FoodLandTPButton.Size = UDim2.new(0, 131, 0, 27)
  698. FoodLandTPButton.Font = Enum.Font.SourceSansBold
  699. FoodLandTPButton.Text = "Food Land"
  700. FoodLandTPButton.TextColor3 = Color3.new(1, 1, 1)
  701. FoodLandTPButton.TextScaled = true
  702. FoodLandTPButton.TextSize = 14
  703. FoodLandTPButton.TextWrapped = true
  704. FoodLandTPButton.MouseButton1Down:connect(function()
  705. target = CFrame.new(35, 12, 8754)
  706. for i, player in ipairs(game.Players:GetChildren()) do
  707. if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
  708. player.Character.HumanoidRootPart.CFrame = target + Vector3.new(0, i * 5, 0)
  709. end
  710. end
  711. end)
  712.  
  713. DinoLandTPButton.Name = "DinoLandTPButton"
  714. DinoLandTPButton.Parent = TeleportsFrame
  715. DinoLandTPButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  716. DinoLandTPButton.BorderSizePixel = 0
  717. DinoLandTPButton.Position = UDim2.new(0.510694444, 0, 0.172999993, 0)
  718. DinoLandTPButton.Size = UDim2.new(0, 131, 0, 27)
  719. DinoLandTPButton.Font = Enum.Font.SourceSansBold
  720. DinoLandTPButton.Text = "Dino Land"
  721. DinoLandTPButton.TextColor3 = Color3.new(1, 1, 1)
  722. DinoLandTPButton.TextScaled = true
  723. DinoLandTPButton.TextSize = 14
  724. DinoLandTPButton.TextWrapped = true
  725. DinoLandTPButton.MouseButton1Down:connect(function()
  726. target = CFrame.new(35, 12, 10517)
  727. for i, player in ipairs(game.Players:GetChildren()) do
  728. if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
  729. player.Character.HumanoidRootPart.CFrame = target + Vector3.new(0, i * 5, 0)
  730. end
  731. end
  732. end)
  733.  
  734. AtlantisTPButton.Name = "AtlantisTPButton"
  735. AtlantisTPButton.Parent = TeleportsFrame
  736. AtlantisTPButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  737. AtlantisTPButton.BorderSizePixel = 0
  738. AtlantisTPButton.Position = UDim2.new(0.0350000001, 0, 0.246000007, 0)
  739. AtlantisTPButton.Size = UDim2.new(0, 131, 0, 28)
  740. AtlantisTPButton.Font = Enum.Font.SourceSansBold
  741. AtlantisTPButton.Text = "Atlantis"
  742. AtlantisTPButton.TextColor3 = Color3.new(1, 1, 1)
  743. AtlantisTPButton.TextScaled = true
  744. AtlantisTPButton.TextSize = 14
  745. AtlantisTPButton.TextWrapped = true
  746. AtlantisTPButton.MouseButton1Down:connect(function()
  747. target = CFrame.new(35, 12, 11937)
  748. for i, player in ipairs(game.Players:GetChildren()) do
  749. if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
  750. player.Character.HumanoidRootPart.CFrame = target + Vector3.new(0, i * 5, 0)
  751. end
  752. end
  753. end)
  754.  
  755. TheBeachTPButton.Name = "TheBeachTPButton"
  756. TheBeachTPButton.Parent = TeleportsFrame
  757. TheBeachTPButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  758. TheBeachTPButton.BorderSizePixel = 0
  759. TheBeachTPButton.Position = UDim2.new(0.510694444, 0, 0.246000007, 0)
  760. TheBeachTPButton.Size = UDim2.new(0, 131, 0, 28)
  761. TheBeachTPButton.Font = Enum.Font.SourceSansBold
  762. TheBeachTPButton.Text = "The Beach"
  763. TheBeachTPButton.TextColor3 = Color3.new(1, 1, 1)
  764. TheBeachTPButton.TextScaled = true
  765. TheBeachTPButton.TextSize = 14
  766. TheBeachTPButton.TextWrapped = true
  767. TheBeachTPButton.MouseButton1Down:connect(function()
  768. target = CFrame.new(35, 12, 14342)
  769. for i, player in ipairs(game.Players:GetChildren()) do
  770. if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
  771. player.Character.HumanoidRootPart.CFrame = target + Vector3.new(0, i * 5, 0)
  772. end
  773. end
  774. end)
  775.  
  776. CrystalCavernTPButton.Name = "CrystalCavernTPButton"
  777. CrystalCavernTPButton.Parent = TeleportsFrame
  778. CrystalCavernTPButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  779. CrystalCavernTPButton.BorderSizePixel = 0
  780. CrystalCavernTPButton.Position = UDim2.new(0.0350000001, 0, 0.319999993, 0)
  781. CrystalCavernTPButton.Size = UDim2.new(0, 131, 0, 28)
  782. CrystalCavernTPButton.Font = Enum.Font.SourceSansBold
  783. CrystalCavernTPButton.Text = "Crystal Cavern"
  784. CrystalCavernTPButton.TextColor3 = Color3.new(1, 1, 1)
  785. CrystalCavernTPButton.TextScaled = true
  786. CrystalCavernTPButton.TextSize = 14
  787. CrystalCavernTPButton.TextWrapped = true
  788. CrystalCavernTPButton.MouseButton1Down:connect(function()
  789. target = CFrame.new(35, 12, 18370)
  790. for i, player in ipairs(game.Players:GetChildren()) do
  791. if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
  792. player.Character.HumanoidRootPart.CFrame = target + Vector3.new(0, i * 5, 0)
  793. end
  794. end
  795. end)
  796.  
  797. HalloweenTPButton.Name = "HalloweenTPButton"
  798. HalloweenTPButton.Parent = TeleportsFrame
  799. HalloweenTPButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  800. HalloweenTPButton.BorderSizePixel = 0
  801. HalloweenTPButton.Position = UDim2.new(0.510694444, 0, 0.319999993, 0)
  802. HalloweenTPButton.Size = UDim2.new(0, 131, 0, 28)
  803. HalloweenTPButton.Font = Enum.Font.SourceSansBold
  804. HalloweenTPButton.Text = "Halloween Event"
  805. HalloweenTPButton.TextColor3 = Color3.new(1, 1, 1)
  806. HalloweenTPButton.TextScaled = true
  807. HalloweenTPButton.TextSize = 14
  808. HalloweenTPButton.TextWrapped = true
  809. HalloweenTPButton.MouseButton1Down:connect(function()
  810. target = CFrame.new(35, 12, 22392)
  811. for i, player in ipairs(game.Players:GetChildren()) do
  812. if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
  813. player.Character.HumanoidRootPart.CFrame = target + Vector3.new(0, i * 5, 0)
  814. end
  815. end
  816. end)
  817.  
  818. LocalPlayerFrame.Name = "LocalPlayerFrame"
  819. LocalPlayerFrame.Parent = MainFrame1
  820. LocalPlayerFrame.BackgroundColor3 = Color3.new(0.0470588, 0.0470588, 0.0470588)
  821. LocalPlayerFrame.BorderSizePixel = 0
  822. LocalPlayerFrame.Position = UDim2.new(0.309352517, 0, 0, 0)
  823. LocalPlayerFrame.Size = UDim2.new(0, 288, 0, 424)
  824. LocalPlayerFrame.Visible = false
  825.  
  826. DecoFrame12.Name = "DecoFrame12"
  827. DecoFrame12.Parent = LocalPlayerFrame
  828. DecoFrame12.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  829. DecoFrame12.BorderSizePixel = 0
  830. DecoFrame12.Position = UDim2.new(0.000324726105, 0, 0.964622617, 0)
  831. DecoFrame12.Size = UDim2.new(0, 288, 0, 15)
  832. DecoFrame12.Font = Enum.Font.SourceSansBold
  833. DecoFrame12.Text = "DSD#1567"
  834. DecoFrame12.TextColor3 = Color3.new(1, 1, 1)
  835. DecoFrame12.TextScaled = true
  836. DecoFrame12.TextSize = 14
  837. DecoFrame12.TextWrapped = true
  838.  
  839. SpeedButton.Name = "SpeedButton"
  840. SpeedButton.Parent = LocalPlayerFrame
  841. SpeedButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  842. SpeedButton.BorderSizePixel = 0
  843. SpeedButton.Position = UDim2.new(0.0347222239, 0, 0.0259433966, 0)
  844. SpeedButton.Size = UDim2.new(0, 131, 0, 27)
  845. SpeedButton.Font = Enum.Font.SourceSansBold
  846. SpeedButton.Text = "Speed: I"
  847. SpeedButton.TextColor3 = Color3.new(1, 1, 1)
  848. SpeedButton.TextScaled = true
  849. SpeedButton.TextSize = 14
  850. SpeedButton.TextWrapped = true
  851. SpeedButton.MouseButton1Click:connect(function()
  852. if WalkNumber == "1" then
  853. SpeedButton.Text = "Speed: II"
  854. WalkNumber = "2"
  855. Walk = 30
  856. elseif WalkNumber == "2" then
  857. SpeedButton.Text = "Speed: III"
  858. WalkNumber = "3"
  859. Walk = 75
  860. elseif WalkNumber == "3" then
  861. SpeedButton.Text = "Speed: I"
  862. WalkNumber = "1"
  863. Walk = 16
  864. else
  865. SpeedButton.Text = "Speed: I"
  866. WalkNumber = "1"
  867. Walk = 16
  868. end
  869. player = game.Players.LocalPlayer
  870. player.Character.Humanoid.WalkSpeed = Walk
  871. end)
  872.  
  873. JumpPowerButton.Name = "JumpPowerButton"
  874. JumpPowerButton.Parent = LocalPlayerFrame
  875. JumpPowerButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  876. JumpPowerButton.BorderSizePixel = 0
  877. JumpPowerButton.Position = UDim2.new(0.510694444, 0, 0.0269434005, 0)
  878. JumpPowerButton.Size = UDim2.new(0, 131, 0, 27)
  879. JumpPowerButton.Font = Enum.Font.SourceSansBold
  880. JumpPowerButton.Text = "JumpPower: I"
  881. JumpPowerButton.TextColor3 = Color3.new(1, 1, 1)
  882. JumpPowerButton.TextScaled = true
  883. JumpPowerButton.TextSize = 14
  884. JumpPowerButton.TextWrapped = true
  885. JumpPowerButton.MouseButton1Click:connect(function()
  886. if JumpNumber == "1" then
  887. JumpPowerButton.Text = "JumpPower: II"
  888. JumpNumber = "2"
  889. Jump = 150
  890. elseif JumpNumber == "2" then
  891. JumpPowerButton.Text = "JumpPower: III"
  892. JumpNumber = "3"
  893. Jump = 400
  894. elseif JumpNumber == "3" then
  895. JumpPowerButton.Text = "JumpPower: I"
  896. JumpNumber = "1"
  897. Jump = 50
  898. else
  899. JumpPowerButton.Text = "JumpPower: I"
  900. JumpNumber = "1"
  901. Jump = 50
  902. end
  903. player = game.Players.LocalPlayer
  904. player.Character.Humanoid.JumpPower = Jump
  905. end)
  906.  
  907.  
  908.  
  909. FlyButton.Name = "FlyButton"
  910. FlyButton.Parent = LocalPlayerFrame
  911. FlyButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  912. FlyButton.BorderSizePixel = 0
  913. FlyButton.Position = UDim2.new(0.0347222239, 0, 0.0990566015, 0)
  914. FlyButton.Size = UDim2.new(0, 268, 0, 42)
  915. FlyButton.Font = Enum.Font.SourceSansBold
  916. FlyButton.Text = "Fly"
  917. FlyButton.TextColor3 = Color3.new(1, 1, 1)
  918. FlyButton.TextScaled = true
  919. FlyButton.TextSize = 14
  920. FlyButton.TextWrapped = true
  921. FlyButton.MouseButton1Click:connect(function()
  922. if Fly == true then
  923. Fly = false
  924. return
  925. end
  926. Fly = true
  927. local mouse=game.Players.LocalPlayer:GetMouse''
  928. localplayer=game.Players.LocalPlayer
  929. game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
  930. local torso = game.Players.LocalPlayer.Character.HumanoidRootPart
  931. local speed=0
  932. local keys={a=false,d=false,w=false,s=false}
  933. local e1
  934. local e2
  935. local function start()
  936. local pos = Instance.new("BodyPosition",torso)
  937. local gyro = Instance.new("BodyGyro",torso)
  938. pos.Name="EPIXPOS"
  939. pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  940. pos.position = torso.Position
  941. gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  942. gyro.cframe = torso.CFrame
  943. repeat
  944. wait()
  945. localplayer.Character.Humanoid.PlatformStand=true
  946. local new=gyro.cframe - gyro.cframe.p + pos.position
  947. if not keys.w and not keys.s and not keys.a and not keys.d then
  948. speed=1
  949. end
  950. if keys.w then
  951. new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  952. speed=speed+0.01
  953. end
  954. if keys.s then
  955. new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  956. speed=speed+0.01
  957. end
  958. if keys.d then
  959. new = new * CFrame.new(speed,0,0)
  960. speed=speed+0.01
  961. end
  962. if keys.a then
  963. new = new * CFrame.new(-speed,0,0)
  964. speed=speed+0.01
  965. end
  966. if speed>5 then
  967. speed=5
  968. end
  969. pos.position=new.p
  970. if keys.w then
  971. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
  972. elseif keys.s then
  973. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
  974. else
  975. gyro.cframe = workspace.CurrentCamera.CoordinateFrame
  976. end
  977. until not Fly
  978. if gyro then gyro:Destroy() end
  979. if pos then pos:Destroy() end
  980. flying=false
  981. localplayer.Character.Humanoid.PlatformStand=false
  982. speed=0
  983. end
  984. e1=mouse.KeyDown:connect(function(key)
  985. if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
  986. if key=="w" then
  987. keys.w=true
  988. elseif key=="s" then
  989. keys.s=true
  990. elseif key=="a" then
  991. keys.a=true
  992. elseif key=="d" then
  993. keys.d=true
  994. end
  995. end)
  996. e2=mouse.KeyUp:connect(function(key)
  997. if key=="w" then
  998. keys.w=false
  999. elseif key=="s" then
  1000. keys.s=false
  1001. elseif key=="a" then
  1002. keys.a=false
  1003. elseif key=="d" then
  1004. keys.d=false
  1005. end
  1006. end)
  1007. start()
  1008. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement