I've spend ages trying to figure out another error and now I have one that I can't solve.
gui=script.Parent
player=Game.Players.LocalPlayer
function Clicked()
gui.TextButton.BackgroundColor3=255, 78, 134
wait(2)
gui.TextButton.BackgroundColor3=155, 255, 247
end
script.Parent.TextButton.MouseButton1Click:connect(Clicked)
The output shows with this:
13:57:55.385 - Players.Player1.PlayerGui.P.LocalScript:5: bad argument #3 to 'BackgroundColor3' (Color3 expected, got number) 13:57:55.388 - Script 'Players.Player1.PlayerGui.P.LocalScript', Line 5 13:57:55.391 - Stack End 13:57:55.393 - Disconnected event because of exception
