Basically wanting to create like taunts for my game, and one being the player sticking out their tongue. So just messing around with this, it creates the part, I’m guessing inside the players head, not entirely sure where it’s spawning in but yea. Not sure how to get it to be in the right spot of the players face tho
Because of the issue of players having different faces, when they join the game you could change their face to a generic smiling one and then just hard-code the positions relative to the character
Like @RedDuck765 said, there is too big of a variety across all the different faces on Roblox, so your best option would be limiting players to a few faces, or only one.
Currently your code is just putting the position at the head, hence:
tongue.Position = player.Character.Head.Position
So playing with that is gonna be the thing to yield some results.
Using 5 as an extravagant number just so I can try to see it outside the head, and then can lower it and get it closer to the head. However even with this number, I cant see it
Can’t say I’ve done a whole lot of welding like you are doing. Try making the part anchored, because then you’ll see if it’s spawning, and then possibly it had been falling off before finishing welding or something of that nature?
Ok yea that seems to work. It is spawning in, to the right of the player, easy fix. Only problem now though is the character can’t move. Thought since I’ve put the weld in the part before the part was parented to the head it wouldn’t be able to fall through
If you are giving players a tongue, unless you are enforcing default roblox heads you might want to make the tongue big and cartoony, as heads can range from this:
to this
and a small tongue would be stuck inside of or float in front of many heads
in terms of scripting, my team had an issue with welds that was fixed when we enabled one of the new options for welds in workspace, i don’t know if that would help at all though
To move around the tongue, the further negative you go on the middle position number (in the script, it’s -4.25) the higher is goes into the air. So -5 is like closer to the forehead. The larger the last number is, the further forward it goes. (Currently .75, but if you make it 1, it’ll be out infront of the head)
I just tuned it to my helmet, but obviously a face will be different placement.
Wait. No. Oof lol.
So, I didn’t move from spawn, and the tongue was fine. If you move from spawn and start mass clicking to spawn them, this happens. (I had BrickColor set to BrickColor.Random)
Just testing now, and it’s acting treally weird. Firstly it spawns at around my hips, and just saw the previous post and ye was gonna mention that. Seemingly gets further and further away from the player when you move around