i want to make a gamepass give a hat (dominus)when they have it. heres what i got:
game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:wait() if game:GetService("GamePassService"):PlayerHasPass(player, 1067433517) then game.workspace.player.hat = 48545806 end end)
You can just put the hat model in replicatedstorage and clone it into the player if the player has the gamepass.
local Hat = game.ReplicatedStorage:WaitForChild("Dominus") local HatClone = Hat:Clone() HatClone.Parent = Player.Character