I'm trying to make a script to check when a new player joins so it can prompt them with instructions. I have a script which changes there head to the color bright blue, and all the colors for a noob.
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local head = game.Workspace:WaitForChild(player.Name).Head
wait(0.5)
if head.BrickColor == "Bright blue" then
print(player.Name.." is a noob!")
else
print("Not a noob")
end
end)
end)
My script prints "Not a noob" but my head color is Bright blue. Anyway to fix this?

1 comment
You need to use the
BrickColor.new()constructor:if head.BrickColor == BrickColor.new("Bright blue") then