Advertisement
trixade

Untitled

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