Advertisement
rrixh

allan skript

Aug 12th, 2024
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.45 KB | None | 0 0
  1. while true do
  2. local plr = game.Players.LocalPlayer
  3. local char = plr.Character or plr.CharacterAdded:Wait()
  4. for _, npc in pairs(game.Workspace.NPCs:GetChildren()) do
  5. local tool = char:FindFirstChild("ToolName") or plr.Backpack:FindFirstChild("ToolName")
  6. if tool and npc:FindFirstChild("HumanoidRootPart") then
  7. tool.Parent = char
  8. tool:Activate()
  9. npc.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0, 0, -5)
  10. end
  11. end
  12. wait(5)
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement