jjadtru
(Jad)
#1
I am trying to change the colour of my frame and I’m having a problem
button.MouseButton1Down:Connect(function()
Sprint:FireServer()
button.BackgroundColor3(84, 166, 94)
end)
In the output it says
Players.JadtrugamingYT1.PlayerGui.SprintButton.Run.LocalScript:7: attempt to call a Color3 value
end)
1 Like
TongyTwo
(Piggywise)
#2
button.BackgroundColor3 = Color3.new(84, 166, 94)
jjadtru
(Jad)
#3
Ok thank you I will try it 
You need to do this (this is for every color change)
button.BackgroundColor = Color3.fromRGB(84, 166, 94)
Here’s an article about Color.
1 Like