gabeisdumblol

yes

Feb 4th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. local Items = game:GetService("Workspace").Interactables:GetChildren()
  2. local HumanoidRootPart = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart
  3.  
  4. for _,v in pairs(Items) do
  5. if v:FindFirstChild("Main") and v.Crumble.Value <= game:GetService("ReplicatedStorage").DataBag[game.Players.LocalPlayer.Name].Size.Value * 5 then
  6. local Main = v:FindFirstChild'Main'
  7. HumanoidRootPart.CFrame = Main.CFrame
  8. wait()
  9. repeat
  10. if (HumanoidRootPart.Position - Main.Position).Magnitude >= 5 then
  11. HumanoidRootPart.CFrame = Main.CFrame
  12. end
  13. game:GetService("ReplicatedStorage").Sonsho:FireServer(Main)
  14. wait()
  15. until v.Crumble.Value <= 0
  16. end
  17. end
Add Comment
Please, Sign In to add comment