|
| 21 Oct 2017 04:21 PM |
I'm making an archeologist game, and I have a headlamp hat. Is there a way to force the players that join to wear the hat? Yes, it is in hat form.
"Wait, a minute.. This isn't a bathtub! YOU'RE MARINATING ME!!" |
|
|
| Report Abuse |
|
|
pidgey
|
  |
| Joined: 16 Jan 2008 |
| Total Posts: 2739 |
|
|
| 21 Oct 2017 04:22 PM |
| http://wiki.roblox.com/index.php?title=API:Class/Humanoid/AddAccessory |
|
|
| Report Abuse |
|
|
|
| 21 Oct 2017 04:24 PM |
I am quite new to scripting, could you explain a little bit? Sorry.
"Wait, a minute.. This isn't a bathtub! YOU'RE MARINATING ME!!" |
|
|
| Report Abuse |
|
|
|
| 21 Oct 2017 04:28 PM |
bump
"Wait, a minute.. This isn't a bathtub! YOU'RE MARINATING ME!!" |
|
|
| Report Abuse |
|
|
|
| 21 Oct 2017 04:32 PM |
bump2
"Wait, a minute.. This isn't a bathtub! YOU'RE MARINATING ME!!" |
|
|
| Report Abuse |
|
|
|
| 21 Oct 2017 04:35 PM |
*sigh bump3
"Wait, a minute.. This isn't a bathtub! YOU'RE MARINATING ME!!" |
|
|
| Report Abuse |
|
|
|
| 21 Oct 2017 04:35 PM |
local accessory = blah.blah:Clone() local humanoid = blah.blah
humanoid:AddAccessory(accessory)
|
|
|
| Report Abuse |
|
|
|
| 21 Oct 2017 04:39 PM |
Where would be a suitable place to put the script and hat?
"Wait, a minute.. This isn't a bathtub! YOU'RE MARINATING ME!!" |
|
|
| Report Abuse |
|
|
|
| 21 Oct 2017 04:42 PM |
game.Players.PlayerAdded:connect(function(player) local accessory = game.ReplicatedStorage.MyHat:Clone() local humanoid = player.Character.Humanoid humanoid:AddAccessory(accessory) end)
-- i think this can be a script in workspace watwat --yer hats in replicated storage froob
|
|
|
| Report Abuse |
|
|
|
| 21 Oct 2017 04:45 PM |
thx u yes i am very much a fr00b at scripting
"Wait, a minute.. This isn't a bathtub! YOU'RE MARINATING ME!!" |
|
|
| Report Abuse |
|
|