Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Roblox Studio - Starter Player Hair?

Asked by 6 years ago

Okay so I'm making a Roblox Game based on Dragon Ball. What I want is when players spawn in they have the default Goku hair, their Roblox Avatar stays the same. But their hair gets removed and gets replaced with new hair. So simply, I want players who spawn to have have custom hair and their roblox avatar stay the same. I've tried doing this with Humanoids, MeshParts, Models, etc. Keep in mind all of the hairs are Meshparts.

0
You need to make a "hat" that teleports directly to the players head.. greatneil80 2647 — 6y
0
How would I make it teleport to the player's head? User#21998 0 — 6y
0
You don't need to "Teleport" a hat. All you have to do it set the Hat's parent to the Player's character. Also make sure the Hat's handle is not anchored MRbraveDragon 374 — 6y
0
yeah i dont get this at all User#21998 0 — 6y
View all comments (5 more)
0
Do you know about Children and Parents? MRbraveDragon 374 — 6y
0
Yup User#21998 0 — 6y
0
I just don't get where to place the hat at, either starter player or elsewhere. Aswell as I don't get how would I hookup the hat's parent to the player's character. Idk if that would involve localplayer or not. User#21998 0 — 6y
0
It doesn't really matter where you place the hat. I recommend placing it in the "ReplicatedStorage". And to set something's parent to the Player's Character you would do(Thing.Parent = Player.Character)But of course you would have to define Player MRbraveDragon 374 — 6y
0
Alright I get that part, so the lua code you just gave first is a script or local script? Second where would I place the script / local script at? User#21998 0 — 6y

1 answer

Log in to vote
0
Answered by 4 years ago

Put in "StarterCharacterScripts"

function clone()
    game.ReplicatedStorage.GokuHair:Clone().Parent = script.Parent
end

clone()
Ad

Answer this question