Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

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

Asked by 7 years ago

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.

0
+1 to omit moderation rep loss Goulstem 8144 — 7y

Marked as Duplicate by Goulstem

This question has been asked before, and already has an answer. If those answers do not fully address your question, then please ask a new question here.

Why was this question closed?

1 answer

Log in to vote
-1
Answered by 7 years ago

``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)``

0
Thx tecady2111 12 — 7y
0
Explain your code, and format it correctly mate. Goulstem 8144 — 7y
Ad