Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Zero Hub Official Script
- -- Made for: SkyRanch Tycoon 2
- -- Link: https://www.roblox.com/games/338970520/Sky-Ranch-Tycoon
- -- Instances:
- local zerohub_skyranch = Instance.new("ScreenGui")
- local DragFrame = Instance.new("ImageLabel")
- local SinHubLabel = Instance.new("TextLabel")
- local LogoLabel = Instance.new("TextLabel")
- local Close = Instance.new("TextButton")
- local Minimize = Instance.new("TextButton")
- local Maximize = Instance.new("TextButton")
- local ButtonFrame = Instance.new("ImageLabel")
- local GetWood = Instance.new("TextButton")
- local GetCrops = Instance.new("TextButton")
- local GetIron = Instance.new("TextButton")
- local GetEggs = Instance.new("TextButton")
- local GetStone = Instance.new("TextButton")
- local SellWood = Instance.new("TextButton")
- local SellCrops = Instance.new("TextButton")
- local SellIron = Instance.new("TextButton")
- local SellEggs = Instance.new("TextButton")
- local SellStone = Instance.new("TextButton")
- local GiveItemsLabel = Instance.new("TextLabel")
- local SellItemsLabel = Instance.new("TextLabel")
- local TeleportLabel = Instance.new("TextLabel")
- local Sawmill = Instance.new("TextButton")
- local BlacksmithTP = Instance.new("TextButton")
- local BakeryTP = Instance.new("TextButton")
- local MiscLabel = Instance.new("TextLabel")
- local AutoFarm = Instance.new("TextButton")
- local Speed = Instance.new("TextButton")
- local JumpPower = Instance.new("TextButton")
- local ResetPowers = Instance.new("TextButton")
- local LoadingFrame = Instance.new("ImageLabel")
- local DragBar = Instance.new("ImageLabel")
- local SinHubLabelLoad = Instance.new("TextLabel")
- local LogoLabelLoad = Instance.new("TextLabel")
- local LoadingLabel = Instance.new("TextLabel")
- local Waiter = Instance.new("Frame")
- local Loader = Instance.new("Frame")
- --Properties:
- zerohub_skyranch.Name = "zerohub_skyranch"
- zerohub_skyranch.Parent = game.CoreGui
- DragFrame.Name = "DragFrame"
- DragFrame.Parent = zerohub_skyranch
- DragFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- DragFrame.BackgroundTransparency = 1.000
- DragFrame.BorderSizePixel = 0
- DragFrame.Position = UDim2.new(0.175872073, 0, 0.221579954, 0)
- DragFrame.Size = UDim2.new(0, 579, 0, 33)
- DragFrame.ZIndex = 2
- DragFrame.Image = "rbxassetid://3570695787"
- DragFrame.ImageColor3 = Color3.fromRGB(61, 61, 61)
- DragFrame.ScaleType = Enum.ScaleType.Slice
- DragFrame.SliceCenter = Rect.new(100, 100, 100, 100)
- DragFrame.SliceScale = 0.120
- DragFrame.Draggable = true
- DragFrame.Active = true
- DragFrame.Visible = false
- SinHubLabel.Name = "SinHubLabel"
- SinHubLabel.Parent = DragFrame
- SinHubLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- SinHubLabel.BackgroundTransparency = 1.000
- SinHubLabel.BorderSizePixel = 0
- SinHubLabel.Position = UDim2.new(0.326235116, 0, 0, 0)
- SinHubLabel.Size = UDim2.new(0, 200, 0, 33)
- SinHubLabel.ZIndex = 2
- SinHubLabel.Font = Enum.Font.FredokaOne
- SinHubLabel.Text = "Zero Hub - Skyranch Tycoon 2"
- SinHubLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- SinHubLabel.TextScaled = true
- SinHubLabel.TextSize = 14.000
- SinHubLabel.TextWrapped = true
- SinHubLabel.Draggable = true
- LogoLabel.Name = "LogoLabel"
- LogoLabel.Parent = DragFrame
- LogoLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- LogoLabel.BackgroundTransparency = 1.000
- LogoLabel.BorderSizePixel = 0
- LogoLabel.Size = UDim2.new(0, 38, 0, 33)
- LogoLabel.ZIndex = 2
- LogoLabel.Font = Enum.Font.FredokaOne
- LogoLabel.Text = "Z"
- LogoLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- LogoLabel.TextSize = 20.000
- LogoLabel.TextWrapped = true
- LogoLabel.Draggable = true
- Close.Name = "Close"
- Close.Parent = DragFrame
- Close.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Close.BackgroundTransparency = 1.000
- Close.BorderSizePixel = 0
- Close.Position = UDim2.new(0.939310789, 0, -0.0109340781, 0)
- Close.Size = UDim2.new(0, 25, 0, 33)
- Close.ZIndex = 2
- Close.Font = Enum.Font.SourceSansBold
- Close.Text = "X"
- Close.TextColor3 = Color3.fromRGB(255, 255, 255)
- Close.TextSize = 14.000
- Close.MouseButton1Down:connect(function()
- DragFrame:Destroy()
- end)
- Minimize.Name = "Minimize"
- Minimize.Parent = DragFrame
- Minimize.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Minimize.BackgroundTransparency = 1.000
- Minimize.BorderSizePixel = 0
- Minimize.Position = UDim2.new(0.885530233, 0, -0.0109340781, 0)
- Minimize.Size = UDim2.new(0, 25, 0, 33)
- Minimize.ZIndex = 2
- Minimize.Font = Enum.Font.SourceSansBold
- Minimize.Text = "_"
- Minimize.TextColor3 = Color3.fromRGB(255, 255, 255)
- Minimize.TextSize = 14.000
- Minimize.MouseButton1Down:connect(function()
- ButtonFrame.Visible = false
- Minimize.Visible = false
- Maximize.Visible = true
- end)
- Maximize.Name = "Minimize"
- Maximize.Parent = DragFrame
- Maximize.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Maximize.BackgroundTransparency = 1.000
- Maximize.BorderSizePixel = 0
- Maximize.Position = UDim2.new(0.885530233, 0, -0.0109340781, 0)
- Maximize.Size = UDim2.new(0, 25, 0, 33)
- Maximize.ZIndex = 2
- Maximize.Font = Enum.Font.SourceSansBold
- Maximize.Text = "="
- Maximize.TextColor3 = Color3.fromRGB(255, 255, 255)
- Maximize.Visible = false
- Maximize.TextSize = 14.000
- Maximize.MouseButton1Down:connect(function()
- ButtonFrame.Visible = true
- Minimize.Visible = true
- Maximize.Visible = false
- end)
- ButtonFrame.Name = "ButtonFrame"
- ButtonFrame.Parent = DragFrame
- ButtonFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ButtonFrame.BackgroundTransparency = 1.000
- ButtonFrame.Position = UDim2.new(0, 0, 0.363636374, 0)
- ButtonFrame.Size = UDim2.new(0, 579, 0, 291)
- ButtonFrame.Image = "rbxassetid://3570695787"
- ButtonFrame.ImageColor3 = Color3.fromRGB(51, 51, 51)
- ButtonFrame.ScaleType = Enum.ScaleType.Slice
- ButtonFrame.SliceCenter = Rect.new(100, 100, 100, 100)
- ButtonFrame.SliceScale = 0.120
- GetWood.Name = "GetWood"
- GetWood.Parent = ButtonFrame
- GetWood.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
- GetWood.BorderSizePixel = 0
- GetWood.Position = UDim2.new(0.0381165929, 0, 0.216494843, 0)
- GetWood.Size = UDim2.new(0, 116, 0, 37)
- GetWood.Font = Enum.Font.SourceSansLight
- GetWood.Text = "Get Wood"
- GetWood.TextColor3 = Color3.fromRGB(255, 255, 255)
- GetWood.TextScaled = true
- GetWood.TextSize = 14.000
- GetWood.TextWrapped = true
- GetWood.MouseButton1Down:connect(function()
- game.Workspace.Events.ItemPlacing.RewardOrHarvest:InvokeServer("Wood", 48, Wood)
- end)
- GetCrops.Name = "GetCrops"
- GetCrops.Parent = ButtonFrame
- GetCrops.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
- GetCrops.BorderSizePixel = 0
- GetCrops.Position = UDim2.new(0.0386681668, 0, 0.512931883, 0)
- GetCrops.Size = UDim2.new(0, 116, 0, 37)
- GetCrops.Font = Enum.Font.SourceSansLight
- GetCrops.Text = "Get Crops"
- GetCrops.TextColor3 = Color3.fromRGB(255, 255, 255)
- GetCrops.TextScaled = true
- GetCrops.TextSize = 14.000
- GetCrops.TextWrapped = true
- GetCrops.MouseButton1Down:connect(function()
- game.Workspace.Events.ItemPlacing.RewardOrHarvest:InvokeServer("Crops", 48, Crop)
- end)
- GetIron.Name = "GetIron"
- GetIron.Parent = ButtonFrame
- GetIron.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
- GetIron.BorderSizePixel = 0
- GetIron.Position = UDim2.new(0.0368519947, 0, 0.363231391, 0)
- GetIron.Size = UDim2.new(0, 116, 0, 37)
- GetIron.Font = Enum.Font.SourceSansLight
- GetIron.Text = "Get Iron"
- GetIron.TextColor3 = Color3.fromRGB(255, 255, 255)
- GetIron.TextScaled = true
- GetIron.TextSize = 14.000
- GetIron.TextWrapped = true
- GetIron.MouseButton1Down:connect(function()
- game.Workspace.Events.ItemPlacing.RewardOrHarvest:InvokeServer("Iron", 48, Iron)
- end)
- GetEggs.Name = "GetEggs"
- GetEggs.Parent = ButtonFrame
- GetEggs.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
- GetEggs.BorderSizePixel = 0
- GetEggs.Position = UDim2.new(0.0386681668, 0, 0.662632465, 0)
- GetEggs.Size = UDim2.new(0, 116, 0, 37)
- GetEggs.Font = Enum.Font.SourceSansLight
- GetEggs.Text = "Get Eggs"
- GetEggs.TextColor3 = Color3.fromRGB(255, 255, 255)
- GetEggs.TextScaled = true
- GetEggs.TextSize = 14.000
- GetEggs.TextWrapped = true
- GetEggs.MouseButton1Down:connect(function()
- game.Workspace.Events.ItemPlacing.RewardOrHarvest:InvokeServer("Eggs", 48, Egg)
- end)
- GetStone.Name = "GetStone"
- GetStone.Parent = ButtonFrame
- GetStone.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
- GetStone.BorderSizePixel = 0
- GetStone.Position = UDim2.new(0.0364260152, 0, 0.809338987, 0)
- GetStone.Size = UDim2.new(0, 116, 0, 37)
- GetStone.Font = Enum.Font.SourceSansLight
- GetStone.Text = "Get Stone"
- GetStone.TextColor3 = Color3.fromRGB(255, 255, 255)
- GetStone.TextScaled = true
- GetStone.TextSize = 14.000
- GetStone.TextWrapped = true
- GetStone.MouseButton1Down:connect(function()
- game.Workspace.Events.ItemPlacing.RewardOrHarvest:InvokeServer("Stone", 48, Stone)
- end)
- SellWood.Name = "SellWood"
- SellWood.Parent = ButtonFrame
- SellWood.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
- SellWood.BorderSizePixel = 0
- SellWood.Position = UDim2.new(0.260844886, 0, 0.216494843, 0)
- SellWood.Size = UDim2.new(0, 116, 0, 37)
- SellWood.Font = Enum.Font.SourceSansLight
- SellWood.Text = "Sell Wood"
- SellWood.TextColor3 = Color3.fromRGB(255, 255, 255)
- SellWood.TextScaled = true
- SellWood.TextSize = 14.000
- SellWood.TextWrapped = true
- SellWood.MouseButton1Down:connect(function()
- game.Workspace.Events.Trading.Seller:InvokeServer(192, "Wood", 48)
- end)
- SellCrops.Name = "SellCrops"
- SellCrops.Parent = ButtonFrame
- SellCrops.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
- SellCrops.BorderSizePixel = 0
- SellCrops.Position = UDim2.new(0.261396408, 0, 0.512941539, 0)
- SellCrops.Size = UDim2.new(0, 116, 0, 37)
- SellCrops.Font = Enum.Font.SourceSansLight
- SellCrops.Text = "Sell Crops"
- SellCrops.TextColor3 = Color3.fromRGB(255, 255, 255)
- SellCrops.TextScaled = true
- SellCrops.TextSize = 14.000
- SellCrops.TextWrapped = true
- SellCrops.MouseButton1Down:connect(function()
- game.Workspace.Events.Trading.Seller:InvokeServer(192, "Crops", 48)
- end)
- SellIron.Name = "SellIron"
- SellIron.Parent = ButtonFrame
- SellIron.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
- SellIron.BorderSizePixel = 0
- SellIron.Position = UDim2.new(0.259580255, 0, 0.363236099, 0)
- SellIron.Size = UDim2.new(0, 116, 0, 37)
- SellIron.Font = Enum.Font.SourceSansLight
- SellIron.Text = "Sell Iron"
- SellIron.TextColor3 = Color3.fromRGB(255, 255, 255)
- SellIron.TextScaled = true
- SellIron.TextSize = 14.000
- SellIron.TextWrapped = true
- SellIron.MouseButton1Down:connect(function()
- game.Workspace.Events.Trading.Seller:InvokeServer(288, "Iron", 48)
- end)
- SellEggs.Name = "SellEggs"
- SellEggs.Parent = ButtonFrame
- SellEggs.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
- SellEggs.BorderSizePixel = 0
- SellEggs.Position = UDim2.new(0.261396408, 0, 0.662646711, 0)
- SellEggs.Size = UDim2.new(0, 116, 0, 37)
- SellEggs.Font = Enum.Font.SourceSansLight
- SellEggs.Text = "Sell Eggs"
- SellEggs.TextColor3 = Color3.fromRGB(255, 255, 255)
- SellEggs.TextScaled = true
- SellEggs.TextSize = 14.000
- SellEggs.TextWrapped = true
- SellEggs.MouseButton1Down:connect(function()
- game.Workspace.Events.Trading.Seller:InvokeServer(480, "Eggs", 48)
- end)
- SellStone.Name = "SellStone"
- SellStone.Parent = ButtonFrame
- SellStone.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
- SellStone.BorderSizePixel = 0
- SellStone.Position = UDim2.new(0.25915426, 0, 0.80935806, 0)
- SellStone.Size = UDim2.new(0, 116, 0, 37)
- SellStone.Font = Enum.Font.SourceSansLight
- SellStone.Text = "Sell Stone"
- SellStone.TextColor3 = Color3.fromRGB(255, 255, 255)
- SellStone.TextScaled = true
- SellStone.TextSize = 14.000
- SellStone.TextWrapped = true
- SellStone.MouseButton1Down:connect(function()
- game.Workspace.Events.Trading.Seller:InvokeServer(240, "Stone", 48)
- end)
- GiveItemsLabel.Name = "GiveItemsLabel"
- GiveItemsLabel.Parent = ButtonFrame
- GiveItemsLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- GiveItemsLabel.BackgroundTransparency = 1.000
- GiveItemsLabel.Position = UDim2.new(0.0386681668, 0, 0.12371134, 0)
- GiveItemsLabel.Size = UDim2.new(0, 114, 0, 21)
- GiveItemsLabel.Font = Enum.Font.SourceSans
- GiveItemsLabel.Text = "Give Items"
- GiveItemsLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- GiveItemsLabel.TextSize = 14.000
- SellItemsLabel.Name = "SellItemsLabel"
- SellItemsLabel.Parent = ButtonFrame
- SellItemsLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- SellItemsLabel.BackgroundTransparency = 1.000
- SellItemsLabel.Position = UDim2.new(0.260844886, 0, 0.12371134, 0)
- SellItemsLabel.Size = UDim2.new(0, 115, 0, 21)
- SellItemsLabel.Font = Enum.Font.SourceSans
- SellItemsLabel.Text = "Sell Items"
- SellItemsLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- SellItemsLabel.TextSize = 14.000
- TeleportLabel.Name = "TeleportLabel"
- TeleportLabel.Parent = ButtonFrame
- TeleportLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TeleportLabel.BackgroundTransparency = 1.000
- TeleportLabel.Position = UDim2.new(0.484452128, 0, 0.123711333, 0)
- TeleportLabel.Size = UDim2.new(0, 115, 0, 21)
- TeleportLabel.Font = Enum.Font.SourceSans
- TeleportLabel.Text = "Teleports"
- TeleportLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- TeleportLabel.TextSize = 14.000
- Sawmill.Name = "Sawmill"
- Sawmill.Parent = ButtonFrame
- Sawmill.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
- Sawmill.BorderSizePixel = 0
- Sawmill.Position = UDim2.new(0.482672513, 0, 0.212033346, 0)
- Sawmill.Size = UDim2.new(0, 116, 0, 37)
- Sawmill.Font = Enum.Font.SourceSansLight
- Sawmill.Text = "Sawmill"
- Sawmill.TextColor3 = Color3.fromRGB(255, 255, 255)
- Sawmill.TextScaled = true
- Sawmill.TextSize = 14.000
- Sawmill.TextWrapped = true
- Sawmill.MouseButton1Down:connect(function()
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-82.6121979, 155.026031, -6.79492569)
- end)
- BlacksmithTP.Name = "BlacksmithTP"
- BlacksmithTP.Parent = ButtonFrame
- BlacksmithTP.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
- BlacksmithTP.BorderSizePixel = 0
- BlacksmithTP.Position = UDim2.new(0.481034458, 0, 0.361738801, 0)
- BlacksmithTP.Size = UDim2.new(0, 116, 0, 37)
- BlacksmithTP.Font = Enum.Font.SourceSansLight
- BlacksmithTP.Text = "Blacksmith"
- BlacksmithTP.TextColor3 = Color3.fromRGB(255, 255, 255)
- BlacksmithTP.TextScaled = true
- BlacksmithTP.TextSize = 14.000
- BlacksmithTP.TextWrapped = true
- BlacksmithTP.MouseButton1Down:connect(function()
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-142.219666, 153.801178, -105.418365)
- end)
- BakeryTP.Name = "BakeryTP"
- BakeryTP.Parent = ButtonFrame
- BakeryTP.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
- BakeryTP.BorderSizePixel = 0
- BakeryTP.Position = UDim2.new(0.482761562, 0, 0.511443973, 0)
- BakeryTP.Size = UDim2.new(0, 116, 0, 37)
- BakeryTP.Font = Enum.Font.SourceSansLight
- BakeryTP.Text = "Bakery"
- BakeryTP.TextColor3 = Color3.fromRGB(255, 255, 255)
- BakeryTP.TextScaled = true
- BakeryTP.TextSize = 14.000
- BakeryTP.TextWrapped = true
- BakeryTP.MouseButton1Down:connect(function()
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-149.203598, 154.009918, 45.6523361)
- end)
- MiscLabel.Name = "MiscLabel"
- MiscLabel.Parent = ButtonFrame
- MiscLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- MiscLabel.BackgroundTransparency = 1.000
- MiscLabel.Position = UDim2.new(0.699311495, 0, 0.123711348, 0)
- MiscLabel.Size = UDim2.new(0, 115, 0, 21)
- MiscLabel.Font = Enum.Font.SourceSans
- MiscLabel.Text = "Misc"
- MiscLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- MiscLabel.TextSize = 14.000
- AutoFarm.Name = "AutoFarm"
- AutoFarm.Parent = ButtonFrame
- AutoFarm.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
- AutoFarm.BorderSizePixel = 0
- AutoFarm.Position = UDim2.new(0.702105165, 0, 0.214856312, 0)
- AutoFarm.Size = UDim2.new(0, 116, 0, 37)
- AutoFarm.Font = Enum.Font.SourceSansLight
- AutoFarm.Text = "Auto Farm"
- AutoFarm.TextColor3 = Color3.fromRGB(255, 255, 255)
- AutoFarm.TextScaled = true
- AutoFarm.TextSize = 14.000
- AutoFarm.TextWrapped = true
- AutoFarm.MouseButton1Down:connect(function()
- while true do
- game.Workspace.Events.ItemPlacing.RewardOrHarvest:InvokeServer("Crops", 16, Crop)
- game.Workspace.Events.ItemPlacing.RewardOrHarvest:InvokeServer("Wood", 16, Wood)
- game.Workspace.Events.ItemPlacing.RewardOrHarvest:InvokeServer("Iron", 16, Iron)
- game.Workspace.Events.ItemPlacing.RewardOrHarvest:InvokeServer("Eggs", 16, Egg)
- game.Workspace.Events.ItemPlacing.RewardOrHarvest:InvokeServer("Stone", 16, Stone)
- wait(1)
- game.Workspace.Events.Trading.Seller:InvokeServer(192, "Crops", 16)
- game.Workspace.Events.Trading.Seller:InvokeServer(192, "Wood", 16)
- game.Workspace.Events.Trading.Seller:InvokeServer(288, "Iron", 16)
- game.Workspace.Events.Trading.Seller:InvokeServer(480, "Eggs", 16)
- game.Workspace.Events.Trading.Seller:InvokeServer(240, "Stone", 16)
- wait(1)
- end
- end)
- Speed.Name = "Speed"
- Speed.Parent = ButtonFrame
- Speed.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
- Speed.BorderSizePixel = 0
- Speed.Position = UDim2.new(0.698650956, 0, 0.359186202, 0)
- Speed.Size = UDim2.new(0, 116, 0, 37)
- Speed.Font = Enum.Font.SourceSansLight
- Speed.Text = "Fast Speed"
- Speed.TextColor3 = Color3.fromRGB(255, 255, 255)
- Speed.TextScaled = true
- Speed.TextSize = 14.000
- Speed.TextWrapped = true
- Speed.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 32
- end)
- JumpPower.Name = "JumpPower"
- JumpPower.Parent = ButtonFrame
- JumpPower.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
- JumpPower.BorderSizePixel = 0
- JumpPower.Position = UDim2.new(0.696923792, 0, 0.510388911, 0)
- JumpPower.Size = UDim2.new(0, 116, 0, 37)
- JumpPower.Font = Enum.Font.SourceSansLight
- JumpPower.Text = "High Jump"
- JumpPower.TextColor3 = Color3.fromRGB(255, 255, 255)
- JumpPower.TextScaled = true
- JumpPower.TextSize = 14.000
- JumpPower.TextWrapped = true
- JumpPower.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 100
- end)
- ResetPowers.Name = "JumpPower"
- ResetPowers.Parent = ButtonFrame
- ResetPowers.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
- ResetPowers.BorderSizePixel = 0
- ResetPowers.Position = UDim2.new(0.696923792, 0, 0.661591709, 0)
- ResetPowers.Size = UDim2.new(0, 116, 0, 37)
- ResetPowers.Font = Enum.Font.SourceSansLight
- ResetPowers.Text = "Reset Powers"
- ResetPowers.TextColor3 = Color3.fromRGB(255, 255, 255)
- ResetPowers.TextScaled = true
- ResetPowers.TextSize = 14.000
- ResetPowers.TextWrapped = true
- ResetPowers.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
- end)
- LoadingFrame.Name = "LoadingFrame"
- LoadingFrame.Parent = zerohub_skyranch
- LoadingFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- LoadingFrame.BackgroundTransparency = 1.000
- LoadingFrame.Position = UDim2.new(0.261627913, 0, 0.385356456, 0)
- LoadingFrame.Size = UDim2.new(0, 327, 0, 119)
- LoadingFrame.Visible = false
- LoadingFrame.Image = "rbxassetid://3570695787"
- LoadingFrame.ImageColor3 = Color3.fromRGB(51, 51, 51)
- LoadingFrame.ScaleType = Enum.ScaleType.Slice
- LoadingFrame.SliceCenter = Rect.new(100, 100, 100, 100)
- LoadingFrame.SliceScale = 0.120
- LoadingFrame.Visible = true
- DragBar.Name = "DragBar"
- DragBar.Parent = LoadingFrame
- DragBar.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- DragBar.BackgroundTransparency = 1.000
- DragBar.Size = UDim2.new(0, 327, 0, 31)
- DragBar.Image = "rbxassetid://3570695787"
- DragBar.ImageColor3 = Color3.fromRGB(61, 61, 61)
- DragBar.ScaleType = Enum.ScaleType.Slice
- DragBar.SliceCenter = Rect.new(100, 100, 100, 100)
- DragBar.SliceScale = 0.120
- DragBar.Active = true
- SinHubLabelLoad.Name = "SinHubLabelLoad"
- SinHubLabelLoad.Parent = DragBar
- SinHubLabelLoad.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- SinHubLabelLoad.BackgroundTransparency = 1.000
- SinHubLabelLoad.Position = UDim2.new(0.21406728, 0, 0, 0)
- SinHubLabelLoad.Size = UDim2.new(0, 187, 0, 31)
- SinHubLabelLoad.Font = Enum.Font.FredokaOne
- SinHubLabelLoad.Text = "Zero Hub"
- SinHubLabelLoad.TextColor3 = Color3.fromRGB(255, 255, 255)
- SinHubLabelLoad.TextScaled = true
- SinHubLabelLoad.TextSize = 14.000
- SinHubLabelLoad.TextWrapped = true
- LogoLabelLoad.Name = "LogoLabelLoad"
- LogoLabelLoad.Parent = DragBar
- LogoLabelLoad.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- LogoLabelLoad.BackgroundTransparency = 1.000
- LogoLabelLoad.Size = UDim2.new(0, 35, 0, 31)
- LogoLabelLoad.Font = Enum.Font.FredokaOne
- LogoLabelLoad.Text = "Z"
- LogoLabelLoad.TextColor3 = Color3.fromRGB(255, 255, 255)
- LogoLabelLoad.TextScaled = true
- LogoLabelLoad.TextSize = 14.000
- LogoLabelLoad.TextWrapped = true
- LoadingLabel.Name = "LoadingLabel"
- LoadingLabel.Parent = LoadingFrame
- LoadingLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- LoadingLabel.BackgroundTransparency = 1.000
- LoadingLabel.BorderSizePixel = 0
- LoadingLabel.Position = UDim2.new(0.192660555, 0, 0.327731103, 0)
- LoadingLabel.Size = UDim2.new(0, 200, 0, 26)
- LoadingLabel.Font = Enum.Font.FredokaOne
- LoadingLabel.Text = "Loading Zero Hub..."
- LoadingLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- LoadingLabel.TextScaled = true
- LoadingLabel.TextSize = 14.000
- LoadingLabel.TextWrapped = true
- Waiter.Name = "Waiter"
- Waiter.Parent = LoadingFrame
- Waiter.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Waiter.Position = UDim2.new(0.0581039749, 0, 0.630252123, 0)
- Waiter.Size = UDim2.new(0, 290, 0, 28)
- Loader.Name = "Loader"
- Loader.Parent = LoadingFrame
- Loader.BackgroundColor3 = Color3.fromRGB(85, 255, 0)
- Loader.Position = UDim2.new(0.0581039749, 0, 0.630252123, 0)
- Loader.Size = UDim2.new(0, 0, 0, 28)
- -- Loader
- local tweentime = 7
- local loadtime = 2
- local waittime = tweentime + loadtime
- wait(3)
- Loader:TweenSize(UDim2.new(0, 290,0, 28), "Out", "Sine", loadtime)
- wait(waittime)
- LoadingLabel.Text = "Zero Hub Loaded!"
- LoadingFrame:TweenPosition(UDim2.new(0.262, 0,5, 0), "Out", "Sine", 1)
- wait(0.25)
- LoadingFrame.Visible = false
- DragFrame.Visible = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement