Advertisement
Honansik

Defender's Depot Auto Grab Script

Dec 10th, 2021
966
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.46 KB | None | 0 0
  1. while wait(1) do
  2.     pcall(function()
  3.         local player = game.Players.LocalPlayer
  4.         local rootPart = player.Character["HumanoidRootPart"]
  5.         local crate = game.Workspace:FindFirstChild("Basic")
  6.         if firetouchinterest then
  7.             firetouchinterest(rootPart,crate,0)
  8.             firetouchinterest(rootPart,crate,1)
  9.         else
  10.             crate.CanCollide = false
  11.             crate.Position = rootPart.Position
  12.         end
  13.     end)
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement