Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to allow some tools to be used by the players that I want?

I need help with this. As the question says, the tools have to be used only by the players that I want. Example: I want the hammer to be used by me and another friend.

1 comment

0

+1 to omit moderation rep loss

1 answer

``local admin = "Rocket_Coder"

game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character) if player.Name == admin then game.ReplicatedStorage.Tool:Clone().Parent = player.Backpack end end) end)``

2 comments

0

Thx

0

Explain your code, and format it correctly mate.

This discussion is preserved as it was. New answers, comments, and votes are closed.