I've been trying for the past few hours, and I cannot seem to come up with a script that allows me to add a model to my character upon entrance of the game, such as a cape or model backpack. I don't know if any of you remember the Roman Parthia, but upon entrance you'd be forced to wear a Tanned Tunic as a starter item and I'm looking to do this but only having the model equipped to you if you are in the specified group.
game.Players.PlayerAdded:connect(function(player) repeat wait()until player.Character local ModelId=144776710 if player.Name=="Vhaeron"then ModelId=144776710 end local ModelId = game:service("InsertService"):LoadAsset(ModelId):GetChildren()[1] ModelId.Parent=player.Character end)
Well, if you want models then you will need to call a weld script when
game.Workspace.ChildAdded:connect(function(AddedItem) if AddedItem:GetPlayerFromCharacter() then --Weld else end
You can also modify that by doing
plr = AddedItem:GetPlayerFromCharacter() if plr and plr:IsInGroup(GroupId) then --Weld
As for tools, you could modify it by getting the humanoid and using :ForceEquip()
Hope this helps.