Build A Boat For Treasure Script | INSTANT CLEAR

[ad_1]

Created by DevSamuel

Features:

-- 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

ENJOY!

Warning: DO NOT DOWNLOAD anything from this page, you’re only here to copy the script!

[ad_2]

123movies 123movie thesoap2day soap 2 day 123movies movies123 123movies