--BROUGHT TO YOU BY RobloxScripter.com!--
-- Settings
local Settings = {
Speed = 100,
Auto = false
}
-- Objects
local Players = game:GetService("Players")
local Workspace = game:GetService("Workspace")
local TweenService = game:GetService("TweenService")
local LocalPlayer = Players.LocalPlayer
local TeamColor = LocalPlayer.TeamColor
local Platform = Workspace[tostring(TeamColor) .. "Zone"]
local Clouds = Workspace.BoatStages.NormalStages.TheEnd.WaterFallEffectParts.Clouds.Part
-- Functions
local Teleport = function(CFrame)
local Time = (LocalPlayer.Character.HumanoidRootPart.Position - CFrame.Position).Magnitude / (Settings.Speed * 10)
TweenService:Create(LocalPlayer.Character.HumanoidRootPart, TweenInfo.new(Time, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), {CFrame = CFrame}):Play()
wait(Time)
end
-- Start
local Start = function()
Platform.VoteLaunchRE:FireServer()
repeat wait() until Platform.Color == Color3.fromRGB(8, 115, 207)
Teleport(CFrame.new(Workspace.Water.Position.X, 75, Platform.Position.Z))
Teleport(CFrame.new(Workspace.Water.Position.X, 75, Clouds.Position.Z))
Teleport(CFrame.new(Workspace.Water.Position.X, Clouds.Position.Y + 90, Clouds.Position.Z))
Teleport(Workspace.BoatStages.NormalStages.TheEnd.GoldenChest.Trigger.CFrame)
end
Start()
if Settings.Auto then
LocalPlayer.CharacterAdded:Connect(function() wait(0.5) Start() end)
end