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 » Scripting Helpers
Home Search
 

Re: How to insert a model into a character

Previous Thread :: Next Thread 
Soybeen is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
25 Feb 2014 05:21 PM
Hi, I'd like to make something of a "morph", you could call it. I'm attempting a script that would replace your ROBLOX character with one of many models. If anyone could offer pointers on how I could do this with the highest level of efficiency, I'd be grateful. Code is highly appreciated, but since this would be such a long script, it's not necessary.

The script would need to:

- Find the children of the player's character model that are parts, and remove (or flawlessly hide) all parts without killing the character. In the process, the character's name and health bar will also have to be hidden.

- Copy a model and its contents from the Lighting to the position of the character's torso, bound to the character. When the character moves, it would look like


Essentially this would render the character appearing like an object, but with all the movement capabilities of a normal character (jump, walk, fall)

Report Abuse
Soybeen is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
25 Feb 2014 05:23 PM
Sorry about that typo:
When the character moves, it would look like the player is just a nameless object.
Report Abuse
IAmThe0nly0ne is not online. IAmThe0nly0ne
Joined: 01 Feb 2014
Total Posts: 770
25 Feb 2014 05:25 PM
Are you trying to make a prophunt game?
Report Abuse
Soybeen is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
26 Feb 2014 04:06 PM
No, this has another purpose entirely.
Report Abuse
maxomega3 is not online. maxomega3
Joined: 11 Jun 2010
Total Posts: 10668
26 Feb 2014 04:10 PM
Look at how Kohl changes humanoid names. I don't understand this myself.

As for the finding the character, just use hit.Parent. Making them invisible is probably the best method. If you really want to get fancy, you can change the player's Character to something else, but it's very difficult, I'm told.
Report Abuse
maxomega3 is not online. maxomega3
Joined: 11 Jun 2010
Total Posts: 10668
26 Feb 2014 04:10 PM
The lighting thing is just a matter of cloning and welding, as well.
Report Abuse
Duelingwarlord is not online. Duelingwarlord
Joined: 15 Feb 2010
Total Posts: 22333
26 Feb 2014 04:29 PM
For naming of kohl:

1. Clone head
2. Weld fakehead to player
3. Make currenthead transparent
4. Add humanoid to fakehead
5. Rename the fakehead part
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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