I ultimately want this script to turn only my character to 31790662 only but I haven't gotten to that part. Reading the script its supposed to change any person who joins the game to the UserID, I tried to run the code below but my game just shuts down. Any help?
game.Players.PlayerAdded:connect(function(Player) Player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=31790662" end)
It would be appreciated if you made it so only I will turn as this character and it won't affect others but if you don't want to thats fine.
EDIT: I changed the script.
game.Players.PlayerAdded:connect(function(Player) wait(.5) Player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=31790662" wait(15) Player:LoadCharacter()--Wait 15 seconds then respawn. end)
It's possible that you have too many scripts running at once. You can add waits to different scripts.