Advertisement
RobloxMaker30021

Zero Hub SkyRanch

Sep 8th, 2021
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 21.54 KB | None | 0 0
  1. -- Zero Hub Official Script
  2.  
  3. -- Made for: SkyRanch Tycoon 2
  4.  
  5. -- Link: https://www.roblox.com/games/338970520/Sky-Ranch-Tycoon
  6.  
  7. -- Instances:
  8.  
  9. local zerohub_skyranch = Instance.new("ScreenGui")
  10. local DragFrame = Instance.new("ImageLabel")
  11. local SinHubLabel = Instance.new("TextLabel")
  12. local LogoLabel = Instance.new("TextLabel")
  13. local Close = Instance.new("TextButton")
  14. local Minimize = Instance.new("TextButton")
  15. local Maximize = Instance.new("TextButton")
  16. local ButtonFrame = Instance.new("ImageLabel")
  17. local GetWood = Instance.new("TextButton")
  18. local GetCrops = Instance.new("TextButton")
  19. local GetIron = Instance.new("TextButton")
  20. local GetEggs = Instance.new("TextButton")
  21. local GetStone = Instance.new("TextButton")
  22. local SellWood = Instance.new("TextButton")
  23. local SellCrops = Instance.new("TextButton")
  24. local SellIron = Instance.new("TextButton")
  25. local SellEggs = Instance.new("TextButton")
  26. local SellStone = Instance.new("TextButton")
  27. local GiveItemsLabel = Instance.new("TextLabel")
  28. local SellItemsLabel = Instance.new("TextLabel")
  29. local TeleportLabel = Instance.new("TextLabel")
  30. local Sawmill = Instance.new("TextButton")
  31. local BlacksmithTP = Instance.new("TextButton")
  32. local BakeryTP = Instance.new("TextButton")
  33. local MiscLabel = Instance.new("TextLabel")
  34. local AutoFarm = Instance.new("TextButton")
  35. local Speed = Instance.new("TextButton")
  36. local JumpPower = Instance.new("TextButton")
  37. local ResetPowers = Instance.new("TextButton")
  38. local LoadingFrame = Instance.new("ImageLabel")
  39. local DragBar = Instance.new("ImageLabel")
  40. local SinHubLabelLoad = Instance.new("TextLabel")
  41. local LogoLabelLoad = Instance.new("TextLabel")
  42. local LoadingLabel = Instance.new("TextLabel")
  43. local Waiter = Instance.new("Frame")
  44. local Loader = Instance.new("Frame")
  45.  
  46. --Properties:
  47.  
  48. zerohub_skyranch.Name = "zerohub_skyranch"
  49. zerohub_skyranch.Parent = game.CoreGui
  50.  
  51. DragFrame.Name = "DragFrame"
  52. DragFrame.Parent = zerohub_skyranch
  53. DragFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  54. DragFrame.BackgroundTransparency = 1.000
  55. DragFrame.BorderSizePixel = 0
  56. DragFrame.Position = UDim2.new(0.175872073, 0, 0.221579954, 0)
  57. DragFrame.Size = UDim2.new(0, 579, 0, 33)
  58. DragFrame.ZIndex = 2
  59. DragFrame.Image = "rbxassetid://3570695787"
  60. DragFrame.ImageColor3 = Color3.fromRGB(61, 61, 61)
  61. DragFrame.ScaleType = Enum.ScaleType.Slice
  62. DragFrame.SliceCenter = Rect.new(100, 100, 100, 100)
  63. DragFrame.SliceScale = 0.120
  64. DragFrame.Draggable = true
  65. DragFrame.Active = true
  66. DragFrame.Visible = false
  67.  
  68.  
  69. SinHubLabel.Name = "SinHubLabel"
  70. SinHubLabel.Parent = DragFrame
  71. SinHubLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  72. SinHubLabel.BackgroundTransparency = 1.000
  73. SinHubLabel.BorderSizePixel = 0
  74. SinHubLabel.Position = UDim2.new(0.326235116, 0, 0, 0)
  75. SinHubLabel.Size = UDim2.new(0, 200, 0, 33)
  76. SinHubLabel.ZIndex = 2
  77. SinHubLabel.Font = Enum.Font.FredokaOne
  78. SinHubLabel.Text = "Zero Hub - Skyranch Tycoon 2"
  79. SinHubLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  80. SinHubLabel.TextScaled = true
  81. SinHubLabel.TextSize = 14.000
  82. SinHubLabel.TextWrapped = true
  83. SinHubLabel.Draggable = true
  84.  
  85. LogoLabel.Name = "LogoLabel"
  86. LogoLabel.Parent = DragFrame
  87. LogoLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  88. LogoLabel.BackgroundTransparency = 1.000
  89. LogoLabel.BorderSizePixel = 0
  90. LogoLabel.Size = UDim2.new(0, 38, 0, 33)
  91. LogoLabel.ZIndex = 2
  92. LogoLabel.Font = Enum.Font.FredokaOne
  93. LogoLabel.Text = "Z"
  94. LogoLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  95. LogoLabel.TextSize = 20.000
  96. LogoLabel.TextWrapped = true
  97. LogoLabel.Draggable = true
  98.  
  99. Close.Name = "Close"
  100. Close.Parent = DragFrame
  101. Close.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  102. Close.BackgroundTransparency = 1.000
  103. Close.BorderSizePixel = 0
  104. Close.Position = UDim2.new(0.939310789, 0, -0.0109340781, 0)
  105. Close.Size = UDim2.new(0, 25, 0, 33)
  106. Close.ZIndex = 2
  107. Close.Font = Enum.Font.SourceSansBold
  108. Close.Text = "X"
  109. Close.TextColor3 = Color3.fromRGB(255, 255, 255)
  110. Close.TextSize = 14.000
  111. Close.MouseButton1Down:connect(function()
  112.     DragFrame:Destroy()
  113. end)
  114.  
  115. Minimize.Name = "Minimize"
  116. Minimize.Parent = DragFrame
  117. Minimize.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  118. Minimize.BackgroundTransparency = 1.000
  119. Minimize.BorderSizePixel = 0
  120. Minimize.Position = UDim2.new(0.885530233, 0, -0.0109340781, 0)
  121. Minimize.Size = UDim2.new(0, 25, 0, 33)
  122. Minimize.ZIndex = 2
  123. Minimize.Font = Enum.Font.SourceSansBold
  124. Minimize.Text = "_"
  125. Minimize.TextColor3 = Color3.fromRGB(255, 255, 255)
  126. Minimize.TextSize = 14.000
  127. Minimize.MouseButton1Down:connect(function()
  128.     ButtonFrame.Visible = false
  129.     Minimize.Visible = false
  130.     Maximize.Visible = true
  131. end)
  132.  
  133. Maximize.Name = "Minimize"
  134. Maximize.Parent = DragFrame
  135. Maximize.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  136. Maximize.BackgroundTransparency = 1.000
  137. Maximize.BorderSizePixel = 0
  138. Maximize.Position = UDim2.new(0.885530233, 0, -0.0109340781, 0)
  139. Maximize.Size = UDim2.new(0, 25, 0, 33)
  140. Maximize.ZIndex = 2
  141. Maximize.Font = Enum.Font.SourceSansBold
  142. Maximize.Text = "="
  143. Maximize.TextColor3 = Color3.fromRGB(255, 255, 255)
  144. Maximize.Visible = false
  145. Maximize.TextSize = 14.000
  146. Maximize.MouseButton1Down:connect(function()
  147.     ButtonFrame.Visible = true
  148.     Minimize.Visible = true
  149.     Maximize.Visible = false
  150. end)
  151.  
  152.  
  153. ButtonFrame.Name = "ButtonFrame"
  154. ButtonFrame.Parent = DragFrame
  155. ButtonFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  156. ButtonFrame.BackgroundTransparency = 1.000
  157. ButtonFrame.Position = UDim2.new(0, 0, 0.363636374, 0)
  158. ButtonFrame.Size = UDim2.new(0, 579, 0, 291)
  159. ButtonFrame.Image = "rbxassetid://3570695787"
  160. ButtonFrame.ImageColor3 = Color3.fromRGB(51, 51, 51)
  161. ButtonFrame.ScaleType = Enum.ScaleType.Slice
  162. ButtonFrame.SliceCenter = Rect.new(100, 100, 100, 100)
  163. ButtonFrame.SliceScale = 0.120
  164.  
  165. GetWood.Name = "GetWood"
  166. GetWood.Parent = ButtonFrame
  167. GetWood.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
  168. GetWood.BorderSizePixel = 0
  169. GetWood.Position = UDim2.new(0.0381165929, 0, 0.216494843, 0)
  170. GetWood.Size = UDim2.new(0, 116, 0, 37)
  171. GetWood.Font = Enum.Font.SourceSansLight
  172. GetWood.Text = "Get Wood"
  173. GetWood.TextColor3 = Color3.fromRGB(255, 255, 255)
  174. GetWood.TextScaled = true
  175. GetWood.TextSize = 14.000
  176. GetWood.TextWrapped = true
  177. GetWood.MouseButton1Down:connect(function()
  178.     game.Workspace.Events.ItemPlacing.RewardOrHarvest:InvokeServer("Wood", 48, Wood)
  179. end)
  180.  
  181. GetCrops.Name = "GetCrops"
  182. GetCrops.Parent = ButtonFrame
  183. GetCrops.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
  184. GetCrops.BorderSizePixel = 0
  185. GetCrops.Position = UDim2.new(0.0386681668, 0, 0.512931883, 0)
  186. GetCrops.Size = UDim2.new(0, 116, 0, 37)
  187. GetCrops.Font = Enum.Font.SourceSansLight
  188. GetCrops.Text = "Get Crops"
  189. GetCrops.TextColor3 = Color3.fromRGB(255, 255, 255)
  190. GetCrops.TextScaled = true
  191. GetCrops.TextSize = 14.000
  192. GetCrops.TextWrapped = true
  193. GetCrops.MouseButton1Down:connect(function()
  194.     game.Workspace.Events.ItemPlacing.RewardOrHarvest:InvokeServer("Crops", 48, Crop)
  195. end)
  196.  
  197. GetIron.Name = "GetIron"
  198. GetIron.Parent = ButtonFrame
  199. GetIron.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
  200. GetIron.BorderSizePixel = 0
  201. GetIron.Position = UDim2.new(0.0368519947, 0, 0.363231391, 0)
  202. GetIron.Size = UDim2.new(0, 116, 0, 37)
  203. GetIron.Font = Enum.Font.SourceSansLight
  204. GetIron.Text = "Get Iron"
  205. GetIron.TextColor3 = Color3.fromRGB(255, 255, 255)
  206. GetIron.TextScaled = true
  207. GetIron.TextSize = 14.000
  208. GetIron.TextWrapped = true
  209. GetIron.MouseButton1Down:connect(function()
  210.     game.Workspace.Events.ItemPlacing.RewardOrHarvest:InvokeServer("Iron", 48, Iron)
  211. end)
  212.  
  213. GetEggs.Name = "GetEggs"
  214. GetEggs.Parent = ButtonFrame
  215. GetEggs.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
  216. GetEggs.BorderSizePixel = 0
  217. GetEggs.Position = UDim2.new(0.0386681668, 0, 0.662632465, 0)
  218. GetEggs.Size = UDim2.new(0, 116, 0, 37)
  219. GetEggs.Font = Enum.Font.SourceSansLight
  220. GetEggs.Text = "Get Eggs"
  221. GetEggs.TextColor3 = Color3.fromRGB(255, 255, 255)
  222. GetEggs.TextScaled = true
  223. GetEggs.TextSize = 14.000
  224. GetEggs.TextWrapped = true
  225. GetEggs.MouseButton1Down:connect(function()
  226.     game.Workspace.Events.ItemPlacing.RewardOrHarvest:InvokeServer("Eggs", 48, Egg)
  227. end)
  228.  
  229. GetStone.Name = "GetStone"
  230. GetStone.Parent = ButtonFrame
  231. GetStone.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
  232. GetStone.BorderSizePixel = 0
  233. GetStone.Position = UDim2.new(0.0364260152, 0, 0.809338987, 0)
  234. GetStone.Size = UDim2.new(0, 116, 0, 37)
  235. GetStone.Font = Enum.Font.SourceSansLight
  236. GetStone.Text = "Get Stone"
  237. GetStone.TextColor3 = Color3.fromRGB(255, 255, 255)
  238. GetStone.TextScaled = true
  239. GetStone.TextSize = 14.000
  240. GetStone.TextWrapped = true
  241. GetStone.MouseButton1Down:connect(function()
  242.     game.Workspace.Events.ItemPlacing.RewardOrHarvest:InvokeServer("Stone", 48, Stone)
  243. end)
  244.  
  245. SellWood.Name = "SellWood"
  246. SellWood.Parent = ButtonFrame
  247. SellWood.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
  248. SellWood.BorderSizePixel = 0
  249. SellWood.Position = UDim2.new(0.260844886, 0, 0.216494843, 0)
  250. SellWood.Size = UDim2.new(0, 116, 0, 37)
  251. SellWood.Font = Enum.Font.SourceSansLight
  252. SellWood.Text = "Sell Wood"
  253. SellWood.TextColor3 = Color3.fromRGB(255, 255, 255)
  254. SellWood.TextScaled = true
  255. SellWood.TextSize = 14.000
  256. SellWood.TextWrapped = true
  257. SellWood.MouseButton1Down:connect(function()
  258.     game.Workspace.Events.Trading.Seller:InvokeServer(192, "Wood", 48)
  259. end)
  260.  
  261. SellCrops.Name = "SellCrops"
  262. SellCrops.Parent = ButtonFrame
  263. SellCrops.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
  264. SellCrops.BorderSizePixel = 0
  265. SellCrops.Position = UDim2.new(0.261396408, 0, 0.512941539, 0)
  266. SellCrops.Size = UDim2.new(0, 116, 0, 37)
  267. SellCrops.Font = Enum.Font.SourceSansLight
  268. SellCrops.Text = "Sell Crops"
  269. SellCrops.TextColor3 = Color3.fromRGB(255, 255, 255)
  270. SellCrops.TextScaled = true
  271. SellCrops.TextSize = 14.000
  272. SellCrops.TextWrapped = true
  273. SellCrops.MouseButton1Down:connect(function()
  274.     game.Workspace.Events.Trading.Seller:InvokeServer(192, "Crops", 48)
  275. end)
  276.  
  277. SellIron.Name = "SellIron"
  278. SellIron.Parent = ButtonFrame
  279. SellIron.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
  280. SellIron.BorderSizePixel = 0
  281. SellIron.Position = UDim2.new(0.259580255, 0, 0.363236099, 0)
  282. SellIron.Size = UDim2.new(0, 116, 0, 37)
  283. SellIron.Font = Enum.Font.SourceSansLight
  284. SellIron.Text = "Sell Iron"
  285. SellIron.TextColor3 = Color3.fromRGB(255, 255, 255)
  286. SellIron.TextScaled = true
  287. SellIron.TextSize = 14.000
  288. SellIron.TextWrapped = true
  289. SellIron.MouseButton1Down:connect(function()
  290.     game.Workspace.Events.Trading.Seller:InvokeServer(288, "Iron", 48)
  291. end)
  292.  
  293. SellEggs.Name = "SellEggs"
  294. SellEggs.Parent = ButtonFrame
  295. SellEggs.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
  296. SellEggs.BorderSizePixel = 0
  297. SellEggs.Position = UDim2.new(0.261396408, 0, 0.662646711, 0)
  298. SellEggs.Size = UDim2.new(0, 116, 0, 37)
  299. SellEggs.Font = Enum.Font.SourceSansLight
  300. SellEggs.Text = "Sell Eggs"
  301. SellEggs.TextColor3 = Color3.fromRGB(255, 255, 255)
  302. SellEggs.TextScaled = true
  303. SellEggs.TextSize = 14.000
  304. SellEggs.TextWrapped = true
  305. SellEggs.MouseButton1Down:connect(function()
  306.     game.Workspace.Events.Trading.Seller:InvokeServer(480, "Eggs", 48)
  307. end)
  308.  
  309. SellStone.Name = "SellStone"
  310. SellStone.Parent = ButtonFrame
  311. SellStone.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
  312. SellStone.BorderSizePixel = 0
  313. SellStone.Position = UDim2.new(0.25915426, 0, 0.80935806, 0)
  314. SellStone.Size = UDim2.new(0, 116, 0, 37)
  315. SellStone.Font = Enum.Font.SourceSansLight
  316. SellStone.Text = "Sell Stone"
  317. SellStone.TextColor3 = Color3.fromRGB(255, 255, 255)
  318. SellStone.TextScaled = true
  319. SellStone.TextSize = 14.000
  320. SellStone.TextWrapped = true
  321. SellStone.MouseButton1Down:connect(function()
  322.     game.Workspace.Events.Trading.Seller:InvokeServer(240, "Stone", 48)
  323. end)
  324.  
  325. GiveItemsLabel.Name = "GiveItemsLabel"
  326. GiveItemsLabel.Parent = ButtonFrame
  327. GiveItemsLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  328. GiveItemsLabel.BackgroundTransparency = 1.000
  329. GiveItemsLabel.Position = UDim2.new(0.0386681668, 0, 0.12371134, 0)
  330. GiveItemsLabel.Size = UDim2.new(0, 114, 0, 21)
  331. GiveItemsLabel.Font = Enum.Font.SourceSans
  332. GiveItemsLabel.Text = "Give Items"
  333. GiveItemsLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  334. GiveItemsLabel.TextSize = 14.000
  335.  
  336. SellItemsLabel.Name = "SellItemsLabel"
  337. SellItemsLabel.Parent = ButtonFrame
  338. SellItemsLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  339. SellItemsLabel.BackgroundTransparency = 1.000
  340. SellItemsLabel.Position = UDim2.new(0.260844886, 0, 0.12371134, 0)
  341. SellItemsLabel.Size = UDim2.new(0, 115, 0, 21)
  342. SellItemsLabel.Font = Enum.Font.SourceSans
  343. SellItemsLabel.Text = "Sell Items"
  344. SellItemsLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  345. SellItemsLabel.TextSize = 14.000
  346.  
  347. TeleportLabel.Name = "TeleportLabel"
  348. TeleportLabel.Parent = ButtonFrame
  349. TeleportLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  350. TeleportLabel.BackgroundTransparency = 1.000
  351. TeleportLabel.Position = UDim2.new(0.484452128, 0, 0.123711333, 0)
  352. TeleportLabel.Size = UDim2.new(0, 115, 0, 21)
  353. TeleportLabel.Font = Enum.Font.SourceSans
  354. TeleportLabel.Text = "Teleports"
  355. TeleportLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  356. TeleportLabel.TextSize = 14.000
  357.  
  358. Sawmill.Name = "Sawmill"
  359. Sawmill.Parent = ButtonFrame
  360. Sawmill.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
  361. Sawmill.BorderSizePixel = 0
  362. Sawmill.Position = UDim2.new(0.482672513, 0, 0.212033346, 0)
  363. Sawmill.Size = UDim2.new(0, 116, 0, 37)
  364. Sawmill.Font = Enum.Font.SourceSansLight
  365. Sawmill.Text = "Sawmill"
  366. Sawmill.TextColor3 = Color3.fromRGB(255, 255, 255)
  367. Sawmill.TextScaled = true
  368. Sawmill.TextSize = 14.000
  369. Sawmill.TextWrapped = true
  370. Sawmill.MouseButton1Down:connect(function()
  371.     game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-82.6121979, 155.026031, -6.79492569)
  372. end)
  373.  
  374. BlacksmithTP.Name = "BlacksmithTP"
  375. BlacksmithTP.Parent = ButtonFrame
  376. BlacksmithTP.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
  377. BlacksmithTP.BorderSizePixel = 0
  378. BlacksmithTP.Position = UDim2.new(0.481034458, 0, 0.361738801, 0)
  379. BlacksmithTP.Size = UDim2.new(0, 116, 0, 37)
  380. BlacksmithTP.Font = Enum.Font.SourceSansLight
  381. BlacksmithTP.Text = "Blacksmith"
  382. BlacksmithTP.TextColor3 = Color3.fromRGB(255, 255, 255)
  383. BlacksmithTP.TextScaled = true
  384. BlacksmithTP.TextSize = 14.000
  385. BlacksmithTP.TextWrapped = true
  386. BlacksmithTP.MouseButton1Down:connect(function()
  387.     game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-142.219666, 153.801178, -105.418365)
  388. end)
  389.  
  390.  
  391. BakeryTP.Name = "BakeryTP"
  392. BakeryTP.Parent = ButtonFrame
  393. BakeryTP.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
  394. BakeryTP.BorderSizePixel = 0
  395. BakeryTP.Position = UDim2.new(0.482761562, 0, 0.511443973, 0)
  396. BakeryTP.Size = UDim2.new(0, 116, 0, 37)
  397. BakeryTP.Font = Enum.Font.SourceSansLight
  398. BakeryTP.Text = "Bakery"
  399. BakeryTP.TextColor3 = Color3.fromRGB(255, 255, 255)
  400. BakeryTP.TextScaled = true
  401. BakeryTP.TextSize = 14.000
  402. BakeryTP.TextWrapped = true
  403. BakeryTP.MouseButton1Down:connect(function()
  404.     game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-149.203598, 154.009918, 45.6523361)
  405. end)
  406.  
  407. MiscLabel.Name = "MiscLabel"
  408. MiscLabel.Parent = ButtonFrame
  409. MiscLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  410. MiscLabel.BackgroundTransparency = 1.000
  411. MiscLabel.Position = UDim2.new(0.699311495, 0, 0.123711348, 0)
  412. MiscLabel.Size = UDim2.new(0, 115, 0, 21)
  413. MiscLabel.Font = Enum.Font.SourceSans
  414. MiscLabel.Text = "Misc"
  415. MiscLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  416. MiscLabel.TextSize = 14.000
  417.  
  418. AutoFarm.Name = "AutoFarm"
  419. AutoFarm.Parent = ButtonFrame
  420. AutoFarm.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
  421. AutoFarm.BorderSizePixel = 0
  422. AutoFarm.Position = UDim2.new(0.702105165, 0, 0.214856312, 0)
  423. AutoFarm.Size = UDim2.new(0, 116, 0, 37)
  424. AutoFarm.Font = Enum.Font.SourceSansLight
  425. AutoFarm.Text = "Auto Farm"
  426. AutoFarm.TextColor3 = Color3.fromRGB(255, 255, 255)
  427. AutoFarm.TextScaled = true
  428. AutoFarm.TextSize = 14.000
  429. AutoFarm.TextWrapped = true
  430. AutoFarm.MouseButton1Down:connect(function()
  431.     while true do
  432.         game.Workspace.Events.ItemPlacing.RewardOrHarvest:InvokeServer("Crops", 16, Crop)
  433.         game.Workspace.Events.ItemPlacing.RewardOrHarvest:InvokeServer("Wood", 16, Wood)
  434.         game.Workspace.Events.ItemPlacing.RewardOrHarvest:InvokeServer("Iron", 16, Iron)
  435.         game.Workspace.Events.ItemPlacing.RewardOrHarvest:InvokeServer("Eggs", 16, Egg)
  436.         game.Workspace.Events.ItemPlacing.RewardOrHarvest:InvokeServer("Stone", 16, Stone)
  437.         wait(1)
  438.         game.Workspace.Events.Trading.Seller:InvokeServer(192, "Crops", 16)
  439.         game.Workspace.Events.Trading.Seller:InvokeServer(192, "Wood", 16)
  440.         game.Workspace.Events.Trading.Seller:InvokeServer(288, "Iron", 16)
  441.         game.Workspace.Events.Trading.Seller:InvokeServer(480, "Eggs", 16)
  442.         game.Workspace.Events.Trading.Seller:InvokeServer(240, "Stone", 16)
  443.         wait(1)
  444.     end
  445. end)
  446.  
  447. Speed.Name = "Speed"
  448. Speed.Parent = ButtonFrame
  449. Speed.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
  450. Speed.BorderSizePixel = 0
  451. Speed.Position = UDim2.new(0.698650956, 0, 0.359186202, 0)
  452. Speed.Size = UDim2.new(0, 116, 0, 37)
  453. Speed.Font = Enum.Font.SourceSansLight
  454. Speed.Text = "Fast Speed"
  455. Speed.TextColor3 = Color3.fromRGB(255, 255, 255)
  456. Speed.TextScaled = true
  457. Speed.TextSize = 14.000
  458. Speed.TextWrapped = true
  459. Speed.MouseButton1Down:connect(function()
  460.     game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 32
  461. end)
  462.  
  463. JumpPower.Name = "JumpPower"
  464. JumpPower.Parent = ButtonFrame
  465. JumpPower.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
  466. JumpPower.BorderSizePixel = 0
  467. JumpPower.Position = UDim2.new(0.696923792, 0, 0.510388911, 0)
  468. JumpPower.Size = UDim2.new(0, 116, 0, 37)
  469. JumpPower.Font = Enum.Font.SourceSansLight
  470. JumpPower.Text = "High Jump"
  471. JumpPower.TextColor3 = Color3.fromRGB(255, 255, 255)
  472. JumpPower.TextScaled = true
  473. JumpPower.TextSize = 14.000
  474. JumpPower.TextWrapped = true
  475. JumpPower.MouseButton1Down:connect(function()
  476.     game.Players.LocalPlayer.Character.Humanoid.JumpPower = 100
  477. end)
  478.  
  479. ResetPowers.Name = "JumpPower"
  480. ResetPowers.Parent = ButtonFrame
  481. ResetPowers.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
  482. ResetPowers.BorderSizePixel = 0
  483. ResetPowers.Position = UDim2.new(0.696923792, 0, 0.661591709, 0)
  484. ResetPowers.Size = UDim2.new(0, 116, 0, 37)
  485. ResetPowers.Font = Enum.Font.SourceSansLight
  486. ResetPowers.Text = "Reset Powers"
  487. ResetPowers.TextColor3 = Color3.fromRGB(255, 255, 255)
  488. ResetPowers.TextScaled = true
  489. ResetPowers.TextSize = 14.000
  490. ResetPowers.TextWrapped = true
  491. ResetPowers.MouseButton1Down:connect(function()
  492.     game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
  493.     game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
  494. end)
  495.  
  496. LoadingFrame.Name = "LoadingFrame"
  497. LoadingFrame.Parent = zerohub_skyranch
  498. LoadingFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  499. LoadingFrame.BackgroundTransparency = 1.000
  500. LoadingFrame.Position = UDim2.new(0.261627913, 0, 0.385356456, 0)
  501. LoadingFrame.Size = UDim2.new(0, 327, 0, 119)
  502. LoadingFrame.Visible = false
  503. LoadingFrame.Image = "rbxassetid://3570695787"
  504. LoadingFrame.ImageColor3 = Color3.fromRGB(51, 51, 51)
  505. LoadingFrame.ScaleType = Enum.ScaleType.Slice
  506. LoadingFrame.SliceCenter = Rect.new(100, 100, 100, 100)
  507. LoadingFrame.SliceScale = 0.120
  508. LoadingFrame.Visible = true
  509.  
  510. DragBar.Name = "DragBar"
  511. DragBar.Parent = LoadingFrame
  512. DragBar.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  513. DragBar.BackgroundTransparency = 1.000
  514. DragBar.Size = UDim2.new(0, 327, 0, 31)
  515. DragBar.Image = "rbxassetid://3570695787"
  516. DragBar.ImageColor3 = Color3.fromRGB(61, 61, 61)
  517. DragBar.ScaleType = Enum.ScaleType.Slice
  518. DragBar.SliceCenter = Rect.new(100, 100, 100, 100)
  519. DragBar.SliceScale = 0.120
  520. DragBar.Active = true
  521.  
  522. SinHubLabelLoad.Name = "SinHubLabelLoad"
  523. SinHubLabelLoad.Parent = DragBar
  524. SinHubLabelLoad.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  525. SinHubLabelLoad.BackgroundTransparency = 1.000
  526. SinHubLabelLoad.Position = UDim2.new(0.21406728, 0, 0, 0)
  527. SinHubLabelLoad.Size = UDim2.new(0, 187, 0, 31)
  528. SinHubLabelLoad.Font = Enum.Font.FredokaOne
  529. SinHubLabelLoad.Text = "Zero Hub"
  530. SinHubLabelLoad.TextColor3 = Color3.fromRGB(255, 255, 255)
  531. SinHubLabelLoad.TextScaled = true
  532. SinHubLabelLoad.TextSize = 14.000
  533. SinHubLabelLoad.TextWrapped = true
  534.  
  535. LogoLabelLoad.Name = "LogoLabelLoad"
  536. LogoLabelLoad.Parent = DragBar
  537. LogoLabelLoad.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  538. LogoLabelLoad.BackgroundTransparency = 1.000
  539. LogoLabelLoad.Size = UDim2.new(0, 35, 0, 31)
  540. LogoLabelLoad.Font = Enum.Font.FredokaOne
  541. LogoLabelLoad.Text = "Z"
  542. LogoLabelLoad.TextColor3 = Color3.fromRGB(255, 255, 255)
  543. LogoLabelLoad.TextScaled = true
  544. LogoLabelLoad.TextSize = 14.000
  545. LogoLabelLoad.TextWrapped = true
  546.  
  547. LoadingLabel.Name = "LoadingLabel"
  548. LoadingLabel.Parent = LoadingFrame
  549. LoadingLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  550. LoadingLabel.BackgroundTransparency = 1.000
  551. LoadingLabel.BorderSizePixel = 0
  552. LoadingLabel.Position = UDim2.new(0.192660555, 0, 0.327731103, 0)
  553. LoadingLabel.Size = UDim2.new(0, 200, 0, 26)
  554. LoadingLabel.Font = Enum.Font.FredokaOne
  555. LoadingLabel.Text = "Loading Zero Hub..."
  556. LoadingLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  557. LoadingLabel.TextScaled = true
  558. LoadingLabel.TextSize = 14.000
  559. LoadingLabel.TextWrapped = true
  560.  
  561. Waiter.Name = "Waiter"
  562. Waiter.Parent = LoadingFrame
  563. Waiter.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  564. Waiter.Position = UDim2.new(0.0581039749, 0, 0.630252123, 0)
  565. Waiter.Size = UDim2.new(0, 290, 0, 28)
  566.  
  567. Loader.Name = "Loader"
  568. Loader.Parent = LoadingFrame
  569. Loader.BackgroundColor3 = Color3.fromRGB(85, 255, 0)
  570. Loader.Position = UDim2.new(0.0581039749, 0, 0.630252123, 0)
  571. Loader.Size = UDim2.new(0, 0, 0, 28)
  572.  
  573. -- Loader
  574. local tweentime = 7
  575. local loadtime = 2
  576. local waittime = tweentime + loadtime
  577.  
  578. wait(3)
  579. Loader:TweenSize(UDim2.new(0, 290,0, 28), "Out", "Sine", loadtime)
  580.  
  581. wait(waittime)
  582. LoadingLabel.Text = "Zero Hub Loaded!"
  583.  
  584. LoadingFrame:TweenPosition(UDim2.new(0.262, 0,5, 0), "Out", "Sine", 1)
  585. wait(0.25)
  586. LoadingFrame.Visible = false
  587. DragFrame.Visible = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement