so, I'm making a game for my small community of friends, How can you make it for Certain people like if player.Name == "KingDaimTheGreat" then cause I’m trying to make it so only specific people wear specific clothes, also can i make so a player has a specific accessory.
COMMUNITY QUESTION
How can I give specific people different clothes in my game?
1 answer
What I'd probably want to do is have a script in the ServerScriptService using
game.Players.PlayerAdded:Connect(function(Player)
if Player.Name == "-your friend's name here-" then
local shirt = Player.Character:WaitForChild("Shirt")
local pants = Player.Character:WaitForChild("Pants")
shirt.ShirtTemplate = "-your id here-"
pants.PantsTemplate = "-your id here-"
end
end
Hopefully, that fixes it. And if doesn't, just comment and I'll see what's wrong with it.
This discussion is preserved as it was. New answers, comments, and votes are closed.
