generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: What's the proper way to change players' characters?

Previous Thread :: Next Thread 
Klink45 is not online. Klink45
Joined: 06 Jun 2011
Total Posts: 26054
07 Jun 2015 06:13 PM
This is all defined and stuff, but it just seems to completely break stuff when it isn't supposed to. Oh, and I've handled the camera and stuff, it just seems to be this one line that is breaking my script:

player.Character = New

For some reason, when I try to change the character to one of my custom ones, the players are disconnected for no apparent reason and stuff. Any help?

u sicko!
Report Abuse
Klink45 is not online. Klink45
Joined: 06 Jun 2011
Total Posts: 26054
07 Jun 2015 06:33 PM
>I have one line of code.

u sicko!
Report Abuse
Klink45 is not online. Klink45
Joined: 06 Jun 2011
Total Posts: 26054
07 Jun 2015 06:45 PM
Oh come on.

u sicko!
Report Abuse
Klink45 is not online. Klink45
Joined: 06 Jun 2011
Total Posts: 26054
07 Jun 2015 06:55 PM
...

u sicko!
Report Abuse
Darkenus is not online. Darkenus
Joined: 17 Jul 2014
Total Posts: 1997
07 Jun 2015 07:00 PM
Doing this is tough, but there are several ways.

_______________________

If your custom character is made off of an actual player, or say you want to copy a player, you can change the player's appearance:

game.Players.Klink45.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=23749623"

All you'd have to do is change the userId to whomever you'd like to base your character's appearance off of.

_____________________

However, if you want to change your character's appearance to a "custom" character, I suggest you store your hats and clothing of your custom character into a model. Then you'd loop through the model and change your original character's hats and clothing to the new one from the model, by either deleting the old one, and adding the new one, or editing the properties/template/id.
Report Abuse
Klink45 is not online. Klink45
Joined: 06 Jun 2011
Total Posts: 26054
07 Jun 2015 07:02 PM
Ok thanks, you've been immensely helpful.

u sicko!
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image