My character loading script does not work? (solved cus im dumb)
Asked by
5 years ago Edited 5 years ago
So, I am trying to make it so my dummy model copys the player model of the player when they join. It works just fine when I put a direct userid in. However, when I try to grab the user ID from the player when they join, it doesn't work. I get the error "Userid is not a valid member of player"
Any help is appreciated
1 | function playerAdded(player) |
2 | if player.name ~ = "ROBLOX" then |
5 | game.Workspace.dummyloader.Configuration.userId.Value = player.Userid |
9 | game.Players.PlayerAdded:Connect(playerAdded) |