script.Parent.MouseButton1Down:Connect(homeButtonClick) function homeButtonClick () script.Parent.Parent.screen.BackgroundColor3 = Color3.new(252,0,9) end
It is not working. Every time I click the button I get: attempt to call a nil value
Any fixes?
Maybe try script.Parent.Parent.screen.BackgroundColor3 = Color3.fromRBG(252,0,9)