Advertisement
ElDiskCode

script agarrar objetos

May 1st, 2025
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.31 KB | None | 0 0
  1. local tool = script.Parent.Parent.Parent.Parent:FindFirstChild("nombre de objeto") -- aquí cambiar
  2.  
  3. script.Parent.Triggered:Connect(function(player)
  4.  wait(0.1)
  5.  local character = player.Character
  6.  tool.Parent = player.Backpack
  7.  character.Humanoid:EquipTool(tool)
  8.  script.Parent.MaxActivationDistance = 0
  9.  
  10. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement