the script doesnt work in studio, but in servers it automatically crashes the game.
1 | game.Players.PlayerAdded:connect( function (Player) |
2 | Player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=70701268" |
3 | Player.Character:BreakJoints() |
4 | end ) |
The Issue is that the script is running before the players character is loaded
1 | function onPlayerEntered(player) |
2 | wait( 0.25 ) |
3 | player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=261" --Shedletsky |
4 | player:LoadCharacter( true ) |
5 | repeat wait () until player.Character ~ = nil |
6 | end |
7 | game.Players.PlayerAdded:connect(onPlayerEntered) |
Hope this helps