|
| 19 Mar 2015 09:00 AM |
I want to set the players' character to a model. The model has limbs (head, torso, arms, legs), a Humanoid, and a HumanoidRootPart.
When I try to set the players' character to this model, it kinda-sorta works. However, instead of being able to control it, the character just floats in the air, the falling animation playing and all. After a few seconds, the character disappears and the player respawns.
All this is done from a localScript with filteringEnabled. |
|
|
| Report Abuse |
|
|
|
| 19 Mar 2015 10:02 AM |
| Alright. It didn't work because I tried to set properties of the player/character from a localscript with filteringEnabled. It now works in servers too, but only the first time the player spawns. Do you have any idea why this is? |
|
|
| Report Abuse |
|
|
|
| 19 Mar 2015 10:05 AM |
Needs to be done from the server
also make sure to disable players.CharacterAutoLoads
⬡ |
|
|
| Report Abuse |
|
|
|
| 19 Mar 2015 10:09 AM |
| Why should I set characerautoloads to false? |
|
|
| Report Abuse |
|
|
|
| 19 Mar 2015 10:09 AM |
If the character autoloads, then the player will respawn every time the character changes
⬡ |
|
|
| Report Abuse |
|
|
|
| 19 Mar 2015 10:15 AM |
Oh, ok. That's not a problem at the moment, since I've found a workaround where I don't change the character. Also, I've "solved" the problem.
Every time a player spawns, a localscript is put in their playergui.
I put a wait(1) before adding that localscript to the playergui. That solved it. If you want to help me further, I've already made a post regarding this. Here it is:
http://www.roblox.com/Forum/ShowPost.aspx?PostID=158189124 |
|
|
| Report Abuse |
|
|