|
| 09 Nov 2015 08:56 AM |
Okay so I've been trying to make hair and hat morphs for my new game so players can customize their RP characters. I made a few and I thought they were working great (using this http://forum.roblox.com/Forum/ShowPost.aspx?PostID=43662368). However, when I was testing out my game, I came in contact with an NPC character I made and the hat started multiplying and shooting everywhere.. I checked the hat giver script and it seemed fine, and the NPC doesn't contain any scripts or bugs. Any way to prevent this?
Thanks, Arty :) |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2015 09:08 AM |
P.S.
I assume this is happening because of the hat's contact with a "humanoid" item. The script ensures that the item will clone when a player touches it. It seems that the solution would be to remove the humanoid part in each NPC.. but I want my NPCs to have names. ALSO there would still be the same hair explosion problem if two players came in contact with each other. So I'm really just looking for a solution to this. |
|
|
| Report Abuse |
|
|
|
| 21 Nov 2015 05:40 PM |
| This issue was resolved. Thanks to those who messaged me with advice :) |
|
|
| Report Abuse |
|
|
BrayC7
|
  |
| Joined: 27 Feb 2014 |
| Total Posts: 2094 |
|
|
| 21 Nov 2015 06:05 PM |
| I can bet you a nickel that she got no messages about her issue whatsoever. |
|
|
| Report Abuse |
|
|
|
| 23 Nov 2015 05:10 PM |
| Got help from a guy named hunxrepair. Hope your arrogance gets you far in life :) |
|
|
| Report Abuse |
|
|
|
| 23 Nov 2015 05:18 PM |
| You don't put a hat giver on a Humanoid, you're only supposed to put the actual hat on it. Sorry, but you have to be pretty dumb and inexperienced to not know this. It's not a "glitch", when a hat giver comes in contact with a Humanoid, it clones the hat on to the player's head. A Humanoid constantly touching this constantly creates hats. It's not rocket science, do a little Lua research. |
|
|
| Report Abuse |
|
|
|
| 23 Nov 2015 06:16 PM |
| If it's touching a humanoid, it will keep running the same code however many FPS.. which is normally around 30-40 times a second. |
|
|
| Report Abuse |
|
|
|
| 23 Nov 2015 06:24 PM |
| Yeah well it's resolved now so no need to be rude. You can't become experienced in anything without being new at it at some point. |
|
|
| Report Abuse |
|
|
|
| 23 Nov 2015 06:25 PM |
| Also, I didn't put a hat on a humanoid. When the hat giver came in contact with humanoids it multiplied. I'm not stupid. |
|
|
| Report Abuse |
|
|
|
| 23 Nov 2015 06:43 PM |
| you're talking to yourself now.. |
|
|
| Report Abuse |
|
|
|
| 23 Nov 2015 06:45 PM |
| To post a thread for a question like this, I'd say you weren't very experienced in scripting and Robloz functions... |
|
|
| Report Abuse |
|
|
|
| 23 Nov 2015 06:53 PM |
| ROBLOX should make a section called 'Arguement', where it would be lovely for both of you to argue about a hat giver... |
|
|
| Report Abuse |
|
|
|
| 23 Nov 2015 09:55 PM |
| It was a simple question. I never claimed to be experienced, and it's arrogant to look down on people who are new at something. As if you were born with the knowledge? I don't think so. Leave me alone and next time you want to reply to a thread, try being helpful instead of picking a fight and insulting someone. |
|
|
| Report Abuse |
|
|
FPSPwnz0r
|
  |
| Joined: 27 Jun 2011 |
| Total Posts: 2737 |
|
|
| 24 Nov 2015 01:43 AM |
btw just as a side note for hat givers debounce would probably help
but then again i am horrible at scripting, so what do I know? |
|
|
| Report Abuse |
|
|
|
| 24 Nov 2015 03:00 PM |
| I never said that I look down on people who aren't Lua masters, but maybe try learning the language and Roblox Studio capabilities a bit better. |
|
|
| Report Abuse |
|
|