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

How can I insert an accessory into a player without it just falling to the floor?

Asked by 7 years ago
Edited 7 years ago

Hi,

I'm creating a few hats for my group on roblox. So far, I've created the accessory itself, welded it together and made it so you are able to walk over it to wear it.

The next step I need to take is actually giving the player the accessory automatically when they join the team. I can't seem to find anything anywhere explaining how to attach accessories to a player, and by just inserting it into a player, it just falls to the ground.

Thank you for your time, any help is appreciated,

Hollowalexs

0
They use attachments that have the same name as the attachment in the character, roblox will then weld it to the character. User#5423 17 — 7y
0
If you are wanting the hat to stay on the head of the avatar, then you'll have to weld it to their actual head. Here is a link about how to script a weld. Hope if helps! http://wiki.roblox.com/index.php?title=Weld TickTockTheory 106 — 7y
0
Also you might have to use CFrame and CFrame.Angles to make it fit right TickTockTheory 106 — 7y

1 answer

Log in to vote
0
Answered by
FedrixYT -21
7 years ago

you anchor it first so it stays or put Cancollide on true

0
If you anchor it it wont move unless you edit the Position or CFrame of it, but even so, w/ a hat it'll get the player stuck in the position. (Unless that's changed.) TheeDeathCaster 2368 — 7y
Ad

Answer this question