Advertisement
Guest User

Untitled

a guest
Feb 18th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.52 KB | None | 0 0
  1. local plr = game.Players.LocalPlayer
  2. local plrName = plr.Name
  3. local char = plr.Character.HumanoidRootPart
  4. local plrSlime = workspace.Slimes[plrName]
  5. local RunService = game:GetService('RunService')
  6.  
  7.  function farm()
  8.     game.ReplicatedStorage.Events.Rebirth:InvokeServer()
  9.     for i,v in pairs(workspace.Eatable:GetChildren()) do
  10.         if v:IsA('BasePart') then
  11.             plr.Character.HumanoidRootPart.CFrame = v.CFrame + Vector3.new(0, 2, 0)
  12.             plrSlime.CFrame = plr.Character.HumanoidRootPart.CFrame
  13.             wait()
  14.         end
  15.     end
  16. end
  17.  
  18. farm()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement