I want my friend to get a banhammer in m game what script can i use
This script should work. Tell me if there are any issues.
local players = {"PigTPM_S3"} --Replace with friends name
local tool = game.ServerStorage.Tool --Replace for your tool's location and name
game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(chr)
for i = 1, #players do
if players[i] == plr.Name then
tool:Clone().Parent = plr:WaitForChild("Backpack")
end
end
end)
end)
1 Like
ok thanks!!!
It should be a server script in ServerSriptService btw.
it worked thank you!!!
2 Likes