|
| 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 |
|
|
| |
|
| |
|
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 |
|
|
|
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 28 Mar 2013 10:02 AM |
| Oh. Huh. Interesting idea. |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|