Alright, so I'm a modeler thats just trying to put together a script that makes it so only certain people can have a model as their starter character but its not working and I dont know why, any help?
local players = {"Voxoc"}
game.Players.PlayerAdded:Connect(function(plr) plr.CharacterAdded:connect(function(chr) for i = 1, #players do if players[i] == plr.Name then local object = game.Workspace["Armored Titan"]
local clonedObject = object:Clone() clonedObject.Name = "StarterCharacter" clonedObject.Parent = game.StarterPlayer end end end) end)

1 comment
Please use lua code blocks when inserting your code to a question.