Well, here are the problems.
1.) Character might not be loaded yet
2.) Character's body parts will fall off.
3.) Character is an Object value.
To wait for the character to load you must do this:
1 | local character = plr.Character |
2 | if not character or not character.Parent then |
3 | character = plr.CharacterAdded:wait() |
To make the model stick you must make joints after everything else:
02 | local plr = game.Players.LocalPlayer |
03 | plr.Character:ClearAllChildren() |
04 | game.Workspace.Chicken:MakeJoints() |
05 | plr.Character = Workspace.Chicken |
09 | local plr = game.Players.LocalPlayer |
10 | plr.Character:ClearAllChildren() |
11 | plr.Character = Workspace.Chicken |
12 | plr.Character:MakeJoints() |
Characters can't change value:
1 | game.Players.LocalPlayer.Character = "Hi" |
The reason you cant move is because you don't have a
1.) Humanoid
2.) Animation Script
3.) Other vital movement stuff.
This is all because you cleared the character's children.
If you want, you can use this script:
1 | game.Players.PlayerAdded:connect( function (player) |
2 | player.CharacterAdded:connect( function (character) |
Now just make a second roblox account and give it clothes to look like the chicken. Then you can replace "13667373" with the new accounts user ID.
If the chicken is not the same shape as a normal player, you can do this:
1 | game.Players.PlayerAdded:connect( function (player) |
2 | player.CharacterAdded:connect( function (character) |
3 | character.Torso.CFrame = CFrame.new(character.Torso.CFrame) * CFrame.Angles( 5 , 0 , 0 ) |
Some of these scripts are just ideas.
Hope it helps!