Advertisement
scriptykids

Build A Boat For Treasure script

Oct 3rd, 2021
522
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. --babft farm
  2. local Stages = game:GetService("Workspace").BoatStages.NormalStages
  3. local client = game:GetService("Players").LocalPlayer
  4. local RunService = game:GetService("RunService")
  5.  
  6. local Penguin, Gold = workspace.ChangeCharacter, workspace.ClaimRiverResultsGold
  7.  
  8. _G.Busy = true;
  9.  
  10. function Float()
  11. while _G.Busy do game:GetService("RunService").RenderStepped:wait()
  12. if client.Character:FindFirstChild("Humanoid") ~= nil then
  13. client.Character.Humanoid:ChangeState(10)
  14. end
  15. end
  16. end
  17.  
  18. function Farm()
  19. while _G.Busy do
  20. for i = 1, 10 do wait(2)
  21. client.Character.HumanoidRootPart.CFrame = Stages["CaveStage"..i].DarknessPart.CFrame
  22. wait(0.1)
  23. workspace.ClaimRiverResultsGold:FireServer()
  24. end
  25. wait(1)
  26.  
  27. Penguin:FireServer("PenguinCharacter")
  28.  
  29. repeat wait() until client.Character:FindFirstChild("HumanoidRootPart")
  30.  
  31. end
  32. end
  33.  
  34. spawn(Float) spawn(Farm)
  35.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement