NightGolden

Untitled

Mar 12th, 2023
634
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. --// Services
  2. local players = game:GetService("Players")
  3.  
  4. --// Workspace
  5. local stages = workspace:WaitForChild("BoatStages"):WaitForChild("NormalStages")
  6. local penguin, gold = workspace:WaitForChild("ChangeCharacter"), workspace:WaitForChild("ClaimRiverResultsGold")
  7.  
  8. --// Other
  9. local client = players.LocalPlayer
  10.  
  11. --// Main
  12. ---------
  13. _G.Busy = true
  14. while _G.Busy do
  15. local bodyVelocity = Instance.new("BodyVelocity")
  16. bodyVelocity.Velocity = Vector3.new(0, -4, 0)
  17. bodyVelocity.Parent = client.Character.HumanoidRootPart
  18.  
  19. for i = 1, 9 do
  20. if not client.Character or not client.Character:FindFirstChild("Humanoid") then
  21. repeat wait() until client.Character and client.Character:FindFirstChild("Humanoid")
  22. end
  23.  
  24. client.Character.HumanoidRootPart.CFrame = stages["CaveStage"..i].DarknessPart.CFrame wait(0.1)
  25.  
  26. if not _G.Busy then
  27. client.Character.Humanoid.Health = 0
  28. exit(0)
  29. end
  30.  
  31. if i == 1 then
  32. wait(4)
  33. else
  34. wait(2)
  35. end
  36.  
  37. gold:FireServer()
  38. end
  39.  
  40. penguin:FireServer("PenguinCharacter")
  41. client.Character:Remove()
  42.  
  43. repeat wait()
  44. until client.Character and client.Character:FindFirstChild("HumanoidRootPart")
  45.  
  46. end
  47. ---------
Add Comment
Please, Sign In to add comment