i want to know how only certain people to have a item
COMMUNITY QUESTION
how to make only certain people have a item in a game?
2 answers
game.Players.PlayerAdded:Connect(function(plr) local character = game.Workspace:WaitForChild(plr.Name) if plr.Name == "PUT USERNAME HERE" then local g = game.ServerStorage.Tool:Clone() g.Parent = plr.Backpack end end)
Try this (hopefully it works)
game.Players.PlayerAdded:Connect(function(player)
if player.Name == "USERNAME" then
game.ServerStorage.Sword.Parent = player.Backpack
end
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

10 comments
ScriptingHelpers is not a request site
its asking questions and he did ask a question
yes thats true
I asked a question and all they said is 'ScriptingHelpers is not a request site' but its really a question site
yea
Not Constructive remains the most commonly used moderation message. Often, users who receive this message post request questions. We are Scripting Helpers, we are not a for-hire set of scripters. Our sole goal is to teach and assist. New users often ask questions in the form of requests, which is not the goal of this website.
Request questions are seen as questions where the users ask if people may make a script for them. These are typically difficult to achieve goals where all the work is placed on the person answering the question. The user generally puts little to no research into how to achieve that goal and has little knowledge on how this goal may be achieved.
If you did make attempts to solve the question you're asking, we ask that you show it. We want to know where your current level of knowledge is and want to help you build on that. With that, tell us the current outcome of your code and what outputs and errors show. We are a help website, but we want you to make an attempt at research and development. If you get stuck, we're here to help.
If we feel as though you have no desire to learn, we are not going to help you.
and he and me did get stuck, so we need help not to be put down