I did make this script but as i tryed testing it it didnt gave me the hat what did i do wrong?
This Script Schould give the Creator an hat
if Creators("LordDamionDevil","Juide") then
local hat = 180516502
game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character)
asset = game:GetService("InsertService"):LoadAsset(hat)
give = game:GetService("InsertService"):Insert(asset)
local children = asset:GetChildren()
for i = 1, #children do
children[i].Parent = character
end
end)
end)

5 comments
Is Creators() a function somewhere else in the script?
No
But i try to make it for Creators only
should isnt spelt like schould
plus you cant have creators in that way in an if statement