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: Move hat to fake head?

Previous Thread :: Next Thread 
CodeCreator1 is not online. CodeCreator1
Joined: 11 Mar 2013
Total Posts: 124
27 Mar 2013 02:56 PM
Hey guys, so I am trying to add a fake head to my roblox player but I can't figure out how to move the hat to a new brick, any help?
Report Abuse
CodeCreator1 is not online. CodeCreator1
Joined: 11 Mar 2013
Total Posts: 124
27 Mar 2013 03:48 PM
Bump
Report Abuse
CodeCreator1 is not online. CodeCreator1
Joined: 11 Mar 2013
Total Posts: 124
27 Mar 2013 04:49 PM
Bump again.
Report Abuse
As8D is online. As8D
Joined: 24 Dec 2009
Total Posts: 2907
27 Mar 2013 05:14 PM
As I said in the PM, set the AttachPos (or whatever that property is) to the current AttachPos + offset_from_real_head_to_fake_head

Also, remember to move the hat down to the fake head when it's dropped! Otherwise, it will move to the real head, which is... like 1000 studs above your character.



- As, logic of having multiple heads. It's reversed.
Report Abuse
stephen1182 is not online. stephen1182
Joined: 31 Aug 2010
Total Posts: 4003
27 Mar 2013 06:03 PM
Or, another way to add the Hat is to use CFrame.new. Just record the Position of the Head, and then CFrame the Hat on the Head. But that's a bit harder...

~stephen1182
Report Abuse
CodeCreator1 is not online. CodeCreator1
Joined: 11 Mar 2013
Total Posts: 124
27 Mar 2013 06:26 PM
Yeah I got that PM but when I tried it wouldn't work, all that would change is the direction the hat is facing. I will try the CFrame.
Report Abuse
As8D is online. As8D
Joined: 24 Dec 2009
Total Posts: 2907
27 Mar 2013 06:33 PM
http://wiki.roblox.com/index.php/AttachmentPos_(Property)

Sure it wouldn't work? D:

Also, looping CFrames will lag up your place!



-As, Chances of getting EGG advertisement is more than 10% bigger when using Studio 2013!
Report Abuse
CodeCreator1 is not online. CodeCreator1
Joined: 11 Mar 2013
Total Posts: 124
28 Mar 2013 05:29 AM
Thanks As8D, I was using the wrong property earlier, I tried it now and it works perfectly. My mute script is now amazing, Chat GUI + Fake Head = Amazing mute script.

The only thing to make it more perfect would be to have it so that the fake head still shows the health of the real head, but I don't think that is possible. However, if someone does know how to do that please post here or PM me.

Thanks again everyone for your help, especially As8D.
Report Abuse
As8D is online. As8D
Joined: 24 Dec 2009
Total Posts: 2907
28 Mar 2013 08:26 AM
^ Everything is possible!


As I also said in the PM, I suggest that you put the fake head in a model, along with a tiny invisible torso inside the head (Just so people won't find it. Ever. formFactor = Custom, then you can turn it down to 0.2x0.2x0.2).

Then put a Humanoid in the fake model, so it contains this:

Head
Torso
Humanoid

and name the model your name! KAPOW! Oh, and make it so the health of the fake Humanoid will change the health of the real humanoid and vice versa (So hitting real body parts will hurt the fake Humanoid too, and hitting the head (fake body part) will hurt the real Humanoid too!)



- As, DotDotDot, give me an egg.
Report Abuse
IJustPwndYou is not online. IJustPwndYou
Joined: 06 Mar 2012
Total Posts: 985
28 Mar 2013 09:52 AM
Is the fake head supposed to be where the real head is, like to hide the name?
Report Abuse
As8D is online. As8D
Joined: 24 Dec 2009
Total Posts: 2907
28 Mar 2013 10:00 AM
The real head will be moved like 1000 studs over the character.
The fake head will be moved where the real head originally was.

It is to hide the bubble-chat.


- As, any suggestions on how to flip a tile?
Report Abuse
IJustPwndYou is not online. IJustPwndYou
Joined: 06 Mar 2012
Total Posts: 985
28 Mar 2013 10:02 AM
Oh. Huh. Interesting idea.
Report Abuse
CodeCreator1 is not online. CodeCreator1
Joined: 11 Mar 2013
Total Posts: 124
28 Mar 2013 03:50 PM
I missed the part in the PM about the tiny torso! I will completely try that right now.
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