Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Character Appearance help?

Asked by
Vividex 162
9 years ago

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.

1 answer

Log in to vote
1
Answered by 9 years ago

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.

0
I actually just made a new place, no scripts at all xD I tried yours, it didn't crash me, but it didn't change me into the character either )-: Vividex 162 — 9y
1
Oh, you just have to reset. EzraNehemiah_TF2 3552 — 9y
0
Thanks it worked! My next goal is to make it only change my robloxian, is that possible? Vividex 162 — 9y
0
What do you mean "change my robloxian"? EzraNehemiah_TF2 3552 — 9y
Ad

Answer this question