cortesjoren

Magnet Simuatlortrtr nigger

Jan 14th, 2019
383
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.51 KB | None | 0 0
  1. --GUI by skipper0503.
  2. --Thanks to ZFrogger#6467 for the scripts.
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local main = Instance.new("Frame")
  5. local title = Instance.new("TextLabel")
  6. local walkspeed = Instance.new("TextButton")
  7. local value1 = Instance.new("TextBox")
  8. local jump = Instance.new("TextButton")
  9. local value2 = Instance.new("TextBox")
  10. local island = Instance.new("TextButton")
  11. local energy = Instance.new("TextButton")
  12. local credit = Instance.new("TextLabel")
  13. local UlimitedCoins = Instance.new("TextButton")
  14. local close = Instance.new("TextButton")
  15. local credits = Instance.new("TextButton")
  16. local frame = Instance.new("Frame")
  17. local open = Instance.new("TextButton")
  18. local cred = Instance.new("Frame")
  19. local crd = Instance.new("TextLabel")
  20. --Properties:
  21. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  22.  
  23. main.Name = "main"
  24. main.Parent = ScreenGui
  25. main.BackgroundColor3 = Color3.new(0.0862745, 0.862745, 0.0313726)
  26. main.Position = UDim2.new(0.197988629, 0, 0.524017453, 0)
  27. main.Size = UDim2.new(0, 212, 0, 327)
  28. main.Visible = false
  29. main.Style = Enum.FrameStyle.RobloxRound
  30. main.Selectable = true
  31.  
  32. title.Name = "title"
  33. title.Parent = main
  34. title.BackgroundColor3 = Color3.new(1, 1, 1)
  35. title.BackgroundTransparency = 1
  36. title.Position = UDim2.new(-0.041003678, 0, -0.00967687089, 0)
  37. title.Selectable = true
  38. title.Size = UDim2.new(0, 212, 0, 39)
  39. title.Font = Enum.Font.Cartoon
  40. title.Text = "Magnet Simulater GUI"
  41. title.TextColor3 = Color3.new(1, 1, 1)
  42. title.TextSize = 22
  43. title.TextWrapped = true
  44.  
  45. walkspeed.Name = "walkspeed"
  46. walkspeed.Parent = main
  47. walkspeed.BackgroundColor3 = Color3.new(1, 1, 1)
  48. walkspeed.Position = UDim2.new(-0.00037650342, 0, 0.116648681, 0)
  49. walkspeed.Size = UDim2.new(0, 113, 0, 39)
  50. walkspeed.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  51. walkspeed.Font = Enum.Font.Cartoon
  52. walkspeed.Text = "Walkspeed"
  53. walkspeed.TextColor3 = Color3.new(0, 0, 0)
  54. walkspeed.TextSize = 14
  55. walkspeed.MouseButton1Down:connect(function()
  56. while true do
  57. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = value1.Text
  58. wait (0.1)
  59. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = value1.Text
  60. wait (0.1)
  61. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = value1.Text
  62. wait (0.1)
  63. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = value1.Text
  64. wait (0.1)
  65. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = value1.Text
  66. wait (0.1)
  67. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = value1.Text
  68. wait (0.1)
  69. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = value1.Text
  70. end
  71. end)
  72.  
  73. value1.Name = "value1"
  74. value1.Parent = main
  75. value1.BackgroundColor3 = Color3.new(1, 1, 1)
  76. value1.Position = UDim2.new(0.675712764, 0, 0.143941998, 0)
  77. value1.Size = UDim2.new(0, 49, 0, 22)
  78. value1.Font = Enum.Font.Cartoon
  79. value1.PlaceholderText = "Speed"
  80. value1.Text = ""
  81. value1.TextColor3 = Color3.new(0, 0, 0)
  82. value1.TextSize = 14
  83. value1.TextWrapped = true
  84.  
  85. jump.Name = "jump"
  86. jump.Parent = main
  87. jump.BackgroundColor3 = Color3.new(1, 1, 1)
  88. jump.Position = UDim2.new(-0.0047169812, 0, 0.263437659, 0)
  89. jump.Size = UDim2.new(0, 113, 0, 41)
  90. jump.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  91. jump.Font = Enum.Font.Cartoon
  92. jump.Text = "JumpPower"
  93. jump.TextColor3 = Color3.new(0, 0, 0)
  94. jump.TextSize = 14
  95. jump.MouseButton1Down:connect(function()
  96. while true do
  97. game.Players.LocalPlayer.Character.Humanoid.JumpPower = value2.Text
  98. wait (0.1)
  99. game.Players.LocalPlayer.Character.Humanoid.JumpPower = value2.Text
  100. wait (0.1)
  101. game.Players.LocalPlayer.Character.Humanoid.JumpPower = value2.Text
  102. wait (0.1)
  103. game.Players.LocalPlayer.Character.Humanoid.JumpPower = value2.Text
  104. wait (0.1)
  105. game.Players.LocalPlayer.Character.Humanoid.JumpPower = value2.Text
  106. wait (0.1)
  107. game.Players.LocalPlayer.Character.Humanoid.JumpPower = value2.Text
  108. wait (0.1)
  109. game.Players.LocalPlayer.Character.Humanoid.JumpPower = value2.Text
  110. end
  111. end)
  112.  
  113.  
  114. value2.Name = "value2"
  115. value2.Parent = main
  116. value2.BackgroundColor3 = Color3.new(1, 1, 1)
  117. value2.Position = UDim2.new(0.668182731, 0, 0.293548286, 0)
  118. value2.Size = UDim2.new(0, 50, 0, 22)
  119. value2.Font = Enum.Font.Cartoon
  120. value2.PlaceholderText = "Hight"
  121. value2.Text = ""
  122. value2.TextColor3 = Color3.new(0, 0, 0)
  123. value2.TextSize = 14
  124.  
  125. island.Name = "island"
  126. island.Parent = main
  127. island.BackgroundColor3 = Color3.new(1, 1, 1)
  128. island.Position = UDim2.new(-0.000348072499, 0, 0.43626979, 0)
  129. island.Size = UDim2.new(0, 188, 0, 39)
  130. island.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  131. island.Font = Enum.Font.Cartoon
  132. island.Text = "Magnet island"
  133. island.TextColor3 = Color3.new(0, 0, 0)
  134. island.TextSize = 14
  135. island.MouseButton1Down:connect(function()
  136. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.IslandInfo.islandtp.CFrame
  137. end)
  138.  
  139. energy.Name = "energy"
  140. energy.Parent = main
  141. energy.BackgroundColor3 = Color3.new(1, 1, 1)
  142. energy.Position = UDim2.new(-0.000348072499, 0, 0.616697907, 0)
  143. energy.Size = UDim2.new(0, 188, 0, 39)
  144. energy.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  145. energy.Font = Enum.Font.Cartoon
  146. energy.Text = "Energy Drink Gamepass"
  147. energy.TextColor3 = Color3.new(0, 0, 0)
  148. energy.TextSize = 14
  149. energy.MouseButton1Down:connect(function()
  150. game.ReplicatedStorage.Events.MagnetEvents.requestDrink:FireServer()
  151. end)
  152.  
  153. credit.Name = "credit"
  154. credit.Parent = main
  155. credit.BackgroundColor3 = Color3.new(1, 1, 1)
  156. credit.BackgroundTransparency = 1
  157. credit.Position = UDim2.new(0.213773191, 0, 0.0698892698, 0)
  158. credit.Selectable = true
  159. credit.Size = UDim2.new(0, 112, 0, 14)
  160. credit.Font = Enum.Font.Cartoon
  161. credit.Text = "By skipper0503"
  162. credit.TextColor3 = Color3.new(1, 1, 1)
  163. credit.TextScaled = true
  164. credit.TextSize = 22
  165. credit.TextWrapped = true
  166.  
  167. UlimitedCoins.Name = "Ulimited Coins/"
  168. UlimitedCoins.Parent = main
  169. UlimitedCoins.BackgroundColor3 = Color3.new(1, 1, 1)
  170. UlimitedCoins.Position = UDim2.new(0.0138028711, 0, 0.797126055, 0)
  171. UlimitedCoins.Size = UDim2.new(0, 188, 0, 39)
  172. UlimitedCoins.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  173. UlimitedCoins.Font = Enum.Font.Cartoon
  174. UlimitedCoins.Text = "Ulimited Coins/Auto open Eggs"
  175. UlimitedCoins.TextColor3 = Color3.new(0, 0, 0)
  176. UlimitedCoins.TextSize = 14
  177. UlimitedCoins.MouseButton1Down:connect(function()
  178. --[[
  179. EXECUTE IT TO ACTIVATE/DEACTIVATE AUTO OPEN EGGS (and auto money farm)
  180. Made by ZFrogger#6467
  181. ]]
  182. function BuyAllitem()
  183. local plr = game.Players.LocalPlayer
  184. for _,v in pairs(plr.Inventory:GetChildren()) do
  185. if v:FindFirstChild("Item") and v.Value == false then
  186. game.ReplicatedStorage.Events.ShopEvents.requestBuy:FireServer(v.Name, "Magnet")
  187. end
  188. end
  189. for _,v in pairs(plr.BackpackInventory:GetChildren()) do
  190. if not v.Value then
  191. game.ReplicatedStorage.Events.ShopEvents.requestBuy:FireServer(v.Name, "Backpack")
  192. end
  193. end
  194. game.ReplicatedStorage.Events.ShopEvents.buyDoor:FireServer(5000)
  195. game.ReplicatedStorage.Events.ShopEvents.buyDoor:FireServer(50000)
  196. game.ReplicatedStorage.Events.ShopEvents.buyDoor:FireServer(500000)
  197. game.ReplicatedStorage.Events.ShopEvents.buyDoor:FireServer(1500000)
  198. for i = 1,4 do
  199. if plr.ChickenStats[i].Bought.Value == false then
  200. game.ReplicatedStorage.ChickenEvents.buyChicken:FireServer(i)
  201. end
  202. if plr.ChickenStats[i].Level.Value < 9 then
  203. for v = plr.ChickenStats[i].Level.Value,9 do
  204. game.ReplicatedStorage.ChickenEvents.requestUpgrade:FireServer(i,v)
  205. end
  206. end
  207. end
  208. game.Players.LocalPlayer.Character.Island:Destroy()
  209. Island = Instance.new("LocalScript", game.Players.LocalPlayer.Character)
  210. Island.Name = "Island"
  211. Island.Source = [[local folder = workspace.IslandInfo
  212. local plr = game.Players.LocalPlayer
  213. repeat
  214. wait()
  215. until plr.Character
  216. local root = plr.Character:WaitForChild("HumanoidRootPart")
  217. local d = true
  218. folder.Island.Touched:connect(function(hit)
  219. local h = hit.Parent:FindFirstChild("Humanoid")
  220. local torso = h.Parent:FindFirstChild("HumanoidRootPart")
  221. if h and torso then
  222. local player = game.Players:GetPlayerFromCharacter(hit.Parent)
  223. if plr == player and d then
  224. d = false
  225. root.CFrame = CFrame.new(folder.islandtp.Position)
  226. wait(3)
  227. d = true
  228. end
  229. end
  230. end)
  231. folder.Main.Touched:connect(function(hit)
  232. local h = hit.Parent:FindFirstChild("Humanoid")
  233. local torso = h.Parent:FindFirstChild("HumanoidRootPart")
  234. if h and torso then
  235. local player = game.Players:GetPlayerFromCharacter(hit.Parent)
  236. if plr == player and d then
  237. d = false
  238. root.CFrame = CFrame.new(folder.returntp.Position)
  239. wait(3)
  240. d = true
  241. end
  242. end
  243. end)]]
  244. _G.eggs = true
  245. farmeggs()
  246. end
  247. function farmmoney()
  248. local plr = game.Players.LocalPlayer
  249. for _,v in pairs(plr.Purchases:GetChildren()) do
  250. v.Value = true
  251. end
  252. if game.ReplicatedStorage.Tools:FindFirstChild("Pink Rebirth Magnet") and not plr.Backpack:FindFirstChild("Pink Rebirth Magnet") then
  253. game.ReplicatedStorage.Tools["Pink Rebirth Magnet"].Parent = plr.Backpack
  254. end
  255. if plr.PlayerGui.GameHUD:FindFirstChild("FullBackpack") then
  256. plr.PlayerGui.GameHUD:FindFirstChild("FullBackpack"):Destroy()
  257. end
  258. while _G.farm do
  259. wait()
  260. local plr = game.Players.LocalPlayer
  261. local char = plr.Character.HumanoidRootPart
  262. if plr.Backpack:FindFirstChild("Pink Rebirth Magnet") then
  263. game.ReplicatedStorage.Events.MagnetEvents.requestGrab:FireServer("1250",plr.Backpack["Pink Rebirth Magnet"])
  264. else
  265. game.ReplicatedStorage.Events.MagnetEvents.requestGrab:FireServer("1250",plr.Character["Pink Rebirth Magnet"])
  266. end
  267. game.Workspace.Rings.Sell.CanCollide = false
  268. game.Workspace.Rings.Sell.CFrame = char.CFrame + Vector3.new(0,math.random(-1,1),0)
  269. if _G.maxvalue ~= nil then
  270. if plr.leaderstats.Money.Value >= _G.maxvalue then
  271. _G.farm = false
  272. BuyAllitem()
  273. break
  274. end
  275. elseif plr.leaderstats.Money.Value >= 10000000000000 then
  276. _G.farm = false
  277. BuyAllitem()
  278. break
  279. end
  280. end
  281. end
  282. function farmeggs()
  283. while _G.eggs do
  284. wait(.1)
  285. game.ReplicatedStorage.PetEvents.requesthatch:FireServer("Mythical Egg")
  286. game.ReplicatedStorage.PetEvents.requesthatch:FireServer("Epic Egg")
  287. game.ReplicatedStorage.PetEvents.requesthatch:FireServer("Legendary Egg")
  288. game.ReplicatedStorage.PetEvents.requesthatch:FireServer("Rare Egg")
  289. game.ReplicatedStorage.PetEvents.requesthatch:FireServer("Uncommon Egg")
  290. game.ReplicatedStorage.PetEvents.requesthatch:FireServer("Common Egg")
  291. end
  292. end
  293. if _G.farm then
  294. _G.farm = false
  295. elseif not _G.eggs then
  296. _G.farm = true
  297. farmmoney()
  298. end
  299. if _G.eggs then
  300. _G.eggs = false
  301. end
  302. end)
  303.  
  304.  
  305. close.Name = "close"
  306. close.Parent = main
  307. close.BackgroundColor3 = Color3.new(1, 1, 1)
  308. close.BackgroundTransparency = 1
  309. close.Position = UDim2.new(0.929074645, 0, -0.0271608327, 0)
  310. close.Size = UDim2.new(0, 21, 0, 15)
  311. close.Font = Enum.Font.SourceSans
  312. close.Text = "X"
  313. close.TextColor3 = Color3.new(1, 1, 1)
  314. close.TextSize = 14
  315. close.MouseButton1Down:connect(function()
  316. main.Visible = false
  317. frame.Visible = true
  318. end)
  319.  
  320.  
  321. credits.Name = "credits"
  322. credits.Parent = main
  323. credits.BackgroundColor3 = Color3.new(1, 1, 1)
  324. credits.Position = UDim2.new(0.0138290673, 0, 0.94890368, 0)
  325. credits.Size = UDim2.new(0, 188, 0, 23)
  326. credits.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  327. credits.Font = Enum.Font.Cartoon
  328. credits.Text = "Credits"
  329. credits.TextColor3 = Color3.new(0, 0, 0)
  330. credits.TextSize = 14
  331. credits.MouseButton1Down:connect(function()
  332. cred.Visible = true
  333. wait(10)
  334. cred.Visible = false
  335. end)
  336.  
  337. frame.Name = "frame"
  338. frame.Parent = ScreenGui
  339. frame.BackgroundColor3 = Color3.new(1, 1, 1)
  340. frame.BackgroundTransparency = 1
  341. frame.Position = UDim2.new(0.00817096233, 0, 0.828238726, 0)
  342. frame.Size = UDim2.new(0, 88, 0, 33)
  343. frame.Selectable = true
  344.  
  345. open.Name = "open"
  346. open.Parent = frame
  347. open.BackgroundColor3 = Color3.new(1, 1, 1)
  348. open.Position = UDim2.new(0.0401954651, 0, 0.0734622777, 0)
  349. open.Size = UDim2.new(0, 84, 0, 28)
  350. open.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  351. open.Font = Enum.Font.SourceSans
  352. open.Text = "Open"
  353. open.TextColor3 = Color3.new(0, 0, 0)
  354. open.TextSize = 14
  355. open.MouseButton1Down:connect(function()
  356. frame.Visible = false
  357. main.Visible = true
  358. end)
  359.  
  360.  
  361.  
  362. cred.Name = "cred"
  363. cred.Parent = ScreenGui
  364. cred.BackgroundColor3 = Color3.new(0.0862745, 0.862745, 0.0313726)
  365. cred.Position = UDim2.new(0.348837167, 0, 0.831767499, 0)
  366. cred.Size = UDim2.new(0, 275, 0, 72)
  367. cred.Visible = false
  368. cred.Style = Enum.FrameStyle.RobloxRound
  369. cred.Selectable = true
  370.  
  371. crd.Name = "crd"
  372. crd.Parent = cred
  373. crd.BackgroundColor3 = Color3.new(1, 1, 1)
  374. crd.BackgroundTransparency = 1
  375. crd.Position = UDim2.new(0.00373274996, 0, -0.0589183979, 0)
  376. crd.Selectable = true
  377. crd.Size = UDim2.new(0, 266, 0, 64)
  378. crd.Font = Enum.Font.Cartoon
  379. crd.Text = "Thanks to ZFrogger#6467 for the scripts"
  380. crd.TextColor3 = Color3.new(1, 1, 1)
  381. crd.TextSize = 22
  382. crd.TextWrapped = true
  383. -- Scripts:
Add Comment
Please, Sign In to add comment