Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function start()
- for i,v in ipairs(game:GetService("Workspace").BoatStages.OtherStages:GetChildren()) do
- v:Destroy()
- end
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-28, 54, 670)
- local endf = game.Workspace.BoatStages.NormalStages.TheEnd.GoldenChest.LightPart.CFrame + Vector3.new(0,416,0)
- local tweenservice = game:GetService("TweenService")
- local part = game.Players.LocalPlayer.Character.HumanoidRootPart
- local goal = {
- CFrame = endf
- }
- local info = TweenInfo.new(
- 24,
- Enum.EasingStyle.Linear,
- Enum.EasingDirection.Out,
- 0,
- false,
- 0
- )
- local parttween = tweenservice:Create(part, info, goal)
- parttween:Play()
- parttween.Completed:Wait()
- print("Completed")
- part.CFrame = game.Workspace.BoatStages.NormalStages.TheEnd.GoldenChest.LightPart.CFrame
- wait(20)
- start()
- end
- start()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement