So, I’m creating a game where admins would have a crown made on their head. I have a script that creates a new instance but how would I grab a model from the server storage?
Here is the instance.new script.
game.Players.PlayerAdded:connect(function(plr)
if plr.Name == "slenderW0lf_YT" then
plr.CharacterAdded:connect(function(chr)
local pe = Instance.new("Fire")
pe.Parent = chr.Head
end)
end
end)
You can have a table and then use table.find() if there are multiple admins. Also for you to grab a model from server storage you’d need to clone it and then parent it to the head, but you’d also need to use weld constraint if i’m not mistaken and you would need to have a main part inside of a model and etc.
Read my post above ^^^. Also for the main part inside the model you can weld that to the player’s head you know and I’m pretty sure you are able to change the position of the main part if im correct.
Okay in the model have the center part then use a weld constraint to connect it to the other parts of the model which you can then parent the parts welded to the center to be under the center. Then you can clone the main part and then weld that main part to the player’s head or you can just clone the model and weld the main part. You should use a weld constraint for welding ^.