Advertisement
dady172172

Jetpack Universe GUI

Dec 20th, 2019
488
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 33.96 KB | None | 0 0
  1. --Game = https://www.roblox.com/games/4260821538/Jetpack-Universe
  2. --more/contact https://github.com/dady172172/Roblox-Cheats
  3. --I have moved to Gethub
  4. WS = game:GetService("Workspace")
  5. RS = game:GetService("ReplicatedStorage")
  6. LP = game:GetService("Players").LocalPlayer
  7. fuel = LP.Stats.Fuel
  8. maxfuel = LP.Stats.MaxFuel
  9. jetpacklevel = LP.Stats.JetpackLevel
  10. HRP = game.Players.LocalPlayer.Character.HumanoidRootPart
  11. ARS = WS.AreaResourseSpawns
  12. upgradejetpack = RS.CTS.UpgradeJetpack
  13. upgradefueltank = RS.CTS.UpgradeFuelTank
  14. sellspot = game:GetService("Workspace").SellingSpot.Collision
  15. sellOrigCFrame = sellspot.CFrame
  16.  
  17. local VirtualUser=game:service'VirtualUser'
  18. game:service'Players'.LocalPlayer.Idled:connect(function()
  19.     VirtualUser:CaptureController()
  20.     VirtualUser:ClickButton2(Vector2.new())
  21. end)
  22.  
  23. coal = false
  24. batteries = false
  25. wind = false
  26. solar = false
  27. oil = false
  28. nuclear = false
  29. corrodium = false
  30. prestige = false
  31. upgrade = false
  32. sell = false
  33. autofarm = false
  34. autofarmgo = false
  35.  
  36. local function CreateInstance(cls,props)
  37. local inst = Instance.new(cls)
  38. for i,v in pairs(props) do
  39.     inst[i] = v
  40. end
  41. return inst
  42. end
  43.    
  44. local JetPackSimGUI = CreateInstance('ScreenGui',{DisplayOrder=0,Enabled=true,ResetOnSpawn=true,Name='JetPackSimGUI', Parent=game.CoreGui})
  45. local Frame = CreateInstance('Frame',{Style=Enum.FrameStyle.Custom,Active=false,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(1, 1, 1),BackgroundTransparency=1,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.339563876, 0, 0.324749649, 0),Rotation=0,Selectable=false,Size=UDim2.new(0, 324, 0, 374),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name = 'Frame',Parent = JetPackSimGUI})
  46. local JPSFrame = CreateInstance('Frame',{Style=Enum.FrameStyle.DropShadow,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=0,ClipsDescendants=false,Draggable=true,Position=UDim2.new(-0.00012883544, 0, -0.00188835524, 0),Rotation=0,Selectable=false,Size=UDim2.new(0, 312, 0, 374),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=false,ZIndex=1,Name = 'JPSFrame',Parent = Frame})
  47. local CoalBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Coal',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.0120157134, 0, 0.204689085, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='CoalBtn',Parent = JPSFrame})
  48. local TextLabel = CreateInstance('TextLabel',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Jetpack Universe GUI',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(1, 1, 1),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,Active=false,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(1, 1, 1),BackgroundTransparency=1,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.281272709, 0, -1.81552023e-05, 0),Rotation=0,Selectable=false,Size=UDim2.new(0, 128, 0, 25),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='TextLabel',Parent = JPSFrame})
  49. local BatteriesBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Batteries',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.332528532, 0, 0.204689085, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='BatteriesBtn',Parent = JPSFrame})
  50. local WindBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Wind',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.659451663, 0, 0.204689085, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='WindBtn',Parent = JPSFrame})
  51. local SolarBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Solar',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.0120157357, 0, 0.311640948, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='SolarBtn',Parent = JPSFrame})
  52. local OilBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Oil',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.332528561, 0, 0.311640948, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='OilBtn',Parent = JPSFrame})
  53. local NuclearBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Nuclear',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.659451663, 0, 0.311640948, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='NuclearBtn',Parent = JPSFrame})
  54. local CorrodiumBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Corrodium',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.0120157134, 0, 0.418592811, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='CorrodiumBtn',Parent = JPSFrame})
  55. local PrestigeBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Prestige',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.0120157367, 0, 0.530892253, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='PrestigeBtn',Parent = JPSFrame})
  56. local UpgradeBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Upgrade',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.332528561, 0, 0.530892253, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='UpgradeBtn',Parent = JPSFrame})
  57. local SellBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Sell',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.659451783, 0, 0.530892253, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='SellBtn',Parent = JPSFrame})
  58. local AutoFarmBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Auto Farm',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.342924863, 0, 0.0890337229, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 83, 0, 22),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='AutoFarmBtn',Parent = JPSFrame})
  59. local TextLabel = CreateInstance('TextLabel',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Teleports',TextColor3=Color3.new(0, 0, 0),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(1, 1, 1),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=true,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,Active=false,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(1, 1, 1),BackgroundTransparency=1,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.126044244, 0, 0.638319254, 0),Rotation=0,Selectable=false,Size=UDim2.new(0, 218, 0, 18),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='TextLabel',Parent = JPSFrame})
  60. local ImageLabel = CreateInstance('ImageLabel',{Image='rbxassetid://38727848',ImageColor3=Color3.new(1, 1, 1),ImageRectOffset=Vector2.new(0, 0),ImageRectSize=Vector2.new(0, 0),ImageTransparency=0,ScaleType=Enum.ScaleType.Crop,SliceCenter=Rect.new(0, 0, 0, 0),Active=false,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(1, 1, 1),BackgroundTransparency=1,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.188999996, 0, 0, -90),Rotation=90,Selectable=false,Size=UDim2.new(0, 183, 0, 303),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='ImageLabel',Parent = JPSFrame})
  61. local ImageLabel = CreateInstance('ImageLabel',{Image='rbxassetid://38727848',ImageColor3=Color3.new(1, 1, 1),ImageRectOffset=Vector2.new(0, 0),ImageRectSize=Vector2.new(0, 0),ImageTransparency=0,ScaleType=Enum.ScaleType.Crop,SliceCenter=Rect.new(0, 0, 0, 0),Active=false,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(1, 1, 1),BackgroundTransparency=1,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.189269423, 0, 0.241655797, 0),Rotation=90,Selectable=false,Size=UDim2.new(0, 183, 0, 303),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='ImageLabel',Parent = JPSFrame})
  62. local TextLabel = CreateInstance('TextLabel',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Farm',TextColor3=Color3.new(0, 0, 0),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(1, 1, 1),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=true,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,Active=false,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(1, 1, 1),BackgroundTransparency=1,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.126044244, 0, 0.149014428, 0),Rotation=0,Selectable=false,Size=UDim2.new(0, 218, 0, 18),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='TextLabel',Parent = JPSFrame})
  63. local TpEarthBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Earth',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.00881058536, 0, 0.685972512, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='TpEarthBtn',Parent = JPSFrame})
  64. local TpFloatingIslandBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Floating Island',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.329323411, 0, 0.685972512, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='TpFloatingIslandBtn',Parent = JPSFrame})
  65. local TpMoonBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Moon',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.656246543, 0, 0.685972512, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='TpMoonBtn',Parent = JPSFrame})
  66. local TpCorroduisBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Corroduis',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.656246543, 0, 0.792924404, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='TpCorroduisBtn',Parent = JPSFrame})
  67. local TpNeptuneBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Neptune',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.329323441, 0, 0.792924404, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='TpNeptuneBtn',Parent = JPSFrame})
  68. local TpMarsBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Mars',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.00881060772, 0, 0.792924404, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='TpMarsBtn',Parent = JPSFrame})
  69. local TpUpgradeBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Upgrade',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.00881058536, 0, 0.899876237, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='TpUpgradeBtn',Parent = JPSFrame})
  70. local ChestsBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Chests',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.329323411, 0, 0.899876237, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='ChestsBtn',Parent = JPSFrame})
  71. local OpenBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Close',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(1.36609697, 0, -0.609625518, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 73, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='OpenBtn',Parent = Frame})
  72.  
  73. OpenBtn.MouseButton1Click:connect(function()
  74.     if JPSFrame.Visible == true then
  75.         OpenBtn.Text = "Open"
  76.         JPSFrame.Visible = false
  77.     else
  78.         OpenBtn.Text = "Close"
  79.         JPSFrame.Visible = true
  80.     end
  81. end)
  82.  
  83. AutoFarmBtn.MouseButton1Click:connect(function()
  84.     if autofarm == true then
  85.         autofarm = false
  86.         AutoFarmBtn.BackgroundColor3 = Color3.new(0, 0, 0)
  87.         TurnOffBtns()
  88.         sellspot.Transparency = .65
  89.         sellspot.CFrame = sellOrigCFrame
  90.     elseif autofarm == false then
  91.         autofarm = true
  92.         AutoFarmBtn.BackgroundColor3 = Color3.new(0, 170, 0)
  93.        
  94.     end
  95.     AutoFarmFunc()
  96. end)
  97.  
  98. CoalBtn.MouseButton1Click:connect(function()
  99.     if autofarm == true then return end
  100.     if coal == true then
  101.         coal = false
  102.         CoalBtn.BackgroundColor3 = Color3.new(0, 0, 0)
  103.     elseif coal == false then
  104.         coal = true
  105.         CoalBtn.BackgroundColor3 = Color3.new(0, 170, 0)
  106.     end
  107.     Coal()
  108. end)
  109.  
  110. BatteriesBtn.MouseButton1Click:connect(function()
  111.     if autofarm == true then return end
  112.     if batteries == true then
  113.         batteries = false
  114.         BatteriesBtn.BackgroundColor3 = Color3.new(0, 0, 0)
  115.     elseif batteries == false then
  116.         batteries = true
  117.         BatteriesBtn.BackgroundColor3 = Color3.new(0, 170, 0)
  118.     end
  119.     Batteries()
  120. end)
  121.  
  122. SolarBtn.MouseButton1Click:connect(function()
  123.     if autofarm == true then return end
  124.     if solar == true then
  125.         solar = false
  126.         SolarBtn.BackgroundColor3 = Color3.new(0, 0, 0)
  127.     elseif solar == false then
  128.         solar = true
  129.         SolarBtn.BackgroundColor3 = Color3.new(0, 170, 0)
  130.     end
  131.     Solar()
  132. end)
  133.  
  134. WindBtn.MouseButton1Click:connect(function()
  135.     if autofarm == true then return end
  136.     if wind == true then
  137.         wind = false
  138.         WindBtn.BackgroundColor3 = Color3.new(0, 0, 0)
  139.     elseif wind == false then
  140.         wind = true
  141.         WindBtn.BackgroundColor3 = Color3.new(0, 170, 0)
  142.     end
  143.     Wind()
  144. end)
  145.  
  146. OilBtn.MouseButton1Click:connect(function()
  147.     if autofarm == true then return end
  148.     if oil == true then
  149.         oil = false
  150.         OilBtn.BackgroundColor3 = Color3.new(0, 0, 0)
  151.     elseif oil == false then
  152.         oil = true
  153.         OilBtn.BackgroundColor3 = Color3.new(0, 170, 0)
  154.     end
  155.     Oil()
  156. end)
  157.  
  158. NuclearBtn.MouseButton1Click:connect(function()
  159.     if autofarm == true then return end
  160.     if nuclear == true then
  161.         nuclear = false
  162.         NuclearBtn.BackgroundColor3 = Color3.new(0, 0, 0)
  163.     elseif nuclear == false then
  164.         nuclear = true
  165.         NuclearBtn.BackgroundColor3 = Color3.new(0, 170, 0)
  166.     end
  167.     Nuclear()
  168. end)
  169.  
  170. CorrodiumBtn.MouseButton1Click:connect(function()
  171.     if autofarm == true then return end
  172.     if corrodium == true then
  173.         corrodium = false
  174.         CorrodiumBtn.BackgroundColor3 = Color3.new(0, 0, 0)
  175.     elseif corrodium == false then
  176.         corrodium = true
  177.         CorrodiumBtn.BackgroundColor3 = Color3.new(0, 170, 0)
  178.     end
  179.     Corrodium()
  180. end)
  181.  
  182. UpgradeBtn.MouseButton1Click:connect(function()
  183.     if autofarm == true then return end
  184.     if upgrade == true then
  185.         upgrade = false
  186.         UpgradeBtn.BackgroundColor3 = Color3.new(0, 0, 0)
  187.     elseif upgrade == false then
  188.         upgrade = true
  189.         UpgradeBtn.BackgroundColor3 = Color3.new(0, 170, 0)        
  190.     end
  191.     Upgrade()
  192. end)
  193.  
  194. SellBtn.MouseButton1Click:connect(function()
  195.     if autofarm == true then return end
  196.     if sell == true then
  197.         sell = false
  198.         SellBtn.BackgroundColor3 = Color3.new(0, 0, 0)        
  199.     elseif sell == false then
  200.         sell = true
  201.         SellBtn.BackgroundColor3 = Color3.new(0, 170, 0)      
  202.     end
  203.     SellFunc()
  204. end)
  205.  
  206. PrestigeBtn.MouseButton1Click:connect(function()
  207.     if autofarm == true then return end
  208.     if prestige == true then
  209.         prestige = false
  210.         PrestigeBtn.BackgroundColor3 = Color3.new(0, 0, 0)
  211.     elseif prestige == false then
  212.         prestige = true
  213.         PrestigeBtn.BackgroundColor3 = Color3.new(0, 170, 0)
  214.         game:GetService("ReplicatedStorage").ServerToClient.RequestPrestige:FireServer()
  215.     end    
  216. end)
  217.  
  218. TpEarthBtn.MouseButton1Click:connect(function()
  219.     HRP.CFrame = WS.PortalSpawns.Earth.CFrame
  220. end)
  221.  
  222. TpFloatingIslandBtn.MouseButton1Click:connect(function()
  223.     HRP.CFrame = WS.PortalSpawns["Floating Island"].CFrame
  224. end)
  225.  
  226. TpMoonBtn.MouseButton1Click:connect(function()
  227.     HRP.CFrame = WS.PortalSpawns.Moon.CFrame
  228. end)
  229.  
  230. TpMarsBtn.MouseButton1Click:connect(function()
  231.     HRP.CFrame = WS.PortalSpawns.Mars.CFrame
  232. end)
  233.  
  234. TpNeptuneBtn.MouseButton1Click:connect(function()
  235.     HRP.CFrame = WS.PortalSpawns.Neptune.CFrame
  236. end)
  237.  
  238. TpCorroduisBtn.MouseButton1Click:connect(function()
  239.     HRP.CFrame = WS.PortalSpawns.Corrodius.CFrame
  240. end)
  241.  
  242. TpUpgradeBtn.MouseButton1Click:connect(function()
  243.     HRP.CFrame = WS.UpgradeSpot.Collision.CFrame
  244. end)
  245.  
  246. ChestsBtn.MouseButton1Click:connect(function()
  247.     for _,v in pairs(game:GetService("Workspace").DailyTreasures:GetChildren()) do
  248.         local g = v.Model:FindFirstChild("Collision")
  249.         if g then  
  250.             HRP.CFrame = g.CFrame
  251.             wait(.5)
  252.         end
  253.     end
  254. end)
  255.  
  256. function SellFunc()  
  257.     while sell == true do
  258.         sellspot.Transparency = 1
  259.         wait(.1)
  260.         sellspot.CFrame = HRP.CFrame
  261.         if sell == false then
  262.             sellspot.Transparency = .65
  263.             sellspot.CFrame = sellOrigCFrame
  264.         end
  265.     end
  266. end
  267.  
  268. function Upgrade()
  269.     while upgrade == true do
  270.         wait(.5)
  271.         upgradejetpack:FireServer()
  272.         upgradefueltank:FireServer()
  273.     end
  274. end
  275.  
  276. function Coal()
  277.     while coal == true do
  278.         bound = ARS.Earth.Coal.Coal:FindFirstChild("BOUNDS")
  279.         wait()
  280.         if bound then
  281.             HRP.CFrame = bound.CFrame + Vector3.new(0, 3, 0)
  282.         end        
  283.     end
  284. end
  285.  
  286. function Batteries()
  287.     while batteries == true do      
  288.         bound = ARS.Earth.Batteries.Batteries:FindFirstChild("BOUNDS")
  289.         wait()
  290.         if bound then
  291.             HRP.CFrame = bound.CFrame + Vector3.new(0, 3, 0)
  292.         end        
  293.     end
  294. end
  295.  
  296. function Wind()
  297.     while wind == true do
  298.         bound = ARS["Floating Island"]["Wind Turbine"]["Wind Turbine"]:FindFirstChild("BOUNDS")
  299.         wait()
  300.         if bound then
  301.             HRP.CFrame = bound.CFrame + Vector3.new(0, 3, 0)
  302.         end        
  303.     end
  304. end
  305.  
  306. function Solar()
  307.     while solar == true do
  308.         bound = ARS.Moon["Solar Panel"]["Solar Panel"]:FindFirstChild("BOUNDS")
  309.         wait()
  310.         if bound then
  311.             HRP.CFrame = bound.CFrame + Vector3.new(0, 3, 0)
  312.         end        
  313.     end
  314. end
  315.  
  316. function Oil()
  317.     while oil == true do
  318.         bound = ARS.Mars["Oil Barrel"]["Oil Barrel"]:FindFirstChild("BOUNDS")
  319.         wait()
  320.         if bound then
  321.             HRP.CFrame = bound.CFrame + Vector3.new(0, 3, 0)
  322.         end        
  323.     end
  324. end
  325.  
  326. function Nuclear()
  327.     while nuclear == true do
  328.         bound = ARS.Neptune["Nuclear Waste"]["Nuclear Waste"]:FindFirstChild("BOUNDS")
  329.         wait()
  330.         if bound then
  331.             HRP.CFrame = bound.CFrame + Vector3.new(0, 3, 0)
  332.         end        
  333.     end
  334. end
  335.  
  336. function Corrodium()
  337.     while corrodium == true do
  338.         bound = ARS.Corrodius["Corrodium"]["Corrodium"]:FindFirstChild("BOUNDS")
  339.         wait()
  340.         if bound then
  341.             HRP.CFrame = bound.CFrame + Vector3.new(0, 3, 0)
  342.         end        
  343.     end
  344. end
  345.  
  346. function AutoFarmFunc()      
  347.     while autofarm == true do
  348.         TurnOffBtns()
  349.         local a = tonumber(jetpacklevel.Value)
  350.         if autofarm == false then return end
  351.         if a == 1 then --coal            
  352.             bound = ARS.Earth.Coal.Coal:FindFirstChild("BOUNDS")
  353.             wait()
  354.             if bound then
  355.                 HRP.CFrame = bound.CFrame + Vector3.new(0, 3, 0)
  356.             end            
  357.         elseif  a == 2 then --batteries            
  358.             bound = ARS.Earth.Batteries.Batteries:FindFirstChild("BOUNDS")
  359.             wait()
  360.             if bound then
  361.                 HRP.CFrame = bound.CFrame + Vector3.new(0, 3, 0)
  362.             end            
  363.         elseif  a == 3 then --wind          
  364.             bound = ARS["Floating Island"]["Wind Turbine"]["Wind Turbine"]:FindFirstChild("BOUNDS")
  365.             wait()
  366.             if bound then
  367.                 HRP.CFrame = bound.CFrame + Vector3.new(0, 3, 0)
  368.             end            
  369.         elseif a == 4 then --solar            
  370.             bound = ARS.Moon["Solar Panel"]["Solar Panel"]:FindFirstChild("BOUNDS")
  371.             wait()
  372.             if bound then
  373.                 HRP.CFrame = bound.CFrame + Vector3.new(0, 3, 0)
  374.             end            
  375.         elseif a == 5 then --oil          
  376.             bound = ARS.Mars["Oil Barrel"]["Oil Barrel"]:FindFirstChild("BOUNDS")
  377.             wait()
  378.             if bound then
  379.                 HRP.CFrame = bound.CFrame + Vector3.new(0, 3, 0)
  380.             end          
  381.         elseif a == 6 then --nuclear  
  382.             bound = ARS.Neptune["Nuclear Waste"]["Nuclear Waste"]:FindFirstChild("BOUNDS")
  383.             wait()
  384.             if bound then
  385.                 HRP.CFrame = bound.CFrame + Vector3.new(0, 3, 0)
  386.             end            
  387.         elseif a >= 7 then --corrodium          
  388.             bound = ARS.Corrodius["Corrodium"]["Corrodium"]:FindFirstChild("BOUNDS")
  389.             wait()
  390.             if bound then
  391.                 HRP.CFrame = bound.CFrame + Vector3.new(0, 3, 0)
  392.             end          
  393.         else
  394.             print("error in jetpack level")
  395.             upgrade = false
  396.             UpgradeBtn.BackgroundColor3 = Color3.new(0, 0, 0)                    
  397.             sell = false
  398.             SellBtn.BackgroundColor3 = Color3.new(0, 0, 0)
  399.             wait()
  400.         end
  401.         upgradejetpack:FireServer()
  402.         upgradefueltank:FireServer()
  403.         sellspot.Transparency = 1
  404.         sellspot.CFrame = HRP.CFrame    
  405.     end
  406. end
  407.  
  408. function TurnOffBtns()
  409.     if coal == true then
  410.         coal = false
  411.         CoalBtn.BackgroundColor3 = Color3.new(0, 0, 0)
  412.     end
  413.     if batteries == true then
  414.         batteries = false
  415.         BatteriesBtn.BackgroundColor3 = Color3.new(0, 0, 0)
  416.     end
  417.     if wind == true then
  418.         wind = false
  419.         WindBtn.BackgroundColor3 = Color3.new(0, 0, 0)
  420.     end
  421.     if solar == true then
  422.         solar = false
  423.         SolarBtn.BackgroundColor3 = Color3.new(0, 0, 0)
  424.     end
  425.     if oil == true then
  426.         oil = false
  427.         OilBtn.BackgroundColor3 = Color3.new(0, 0, 0)
  428.     end
  429.     if nuclear == true then
  430.         nuclear = false
  431.         NuclearBtn.BackgroundColor3 = Color3.new(0, 0, 0)
  432.     end
  433.     if corrodium == true then
  434.         corrodium = false
  435.         CorrodiumBtn.BackgroundColor3 = Color3.new(0, 0, 0)
  436.     end
  437.     if upgrade == true then
  438.         upgrade = false
  439.         UpgradeBtn.BackgroundColor3 = Color3.new(0, 0, 0)
  440.     end
  441.     if sell == true then
  442.         sell = false
  443.         SellBtn.BackgroundColor3 = Color3.new(0, 0, 0)
  444.     end
  445. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement