Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why doesnt my GUI transition colors with my local script?

Asked by 6 years ago

I'm a noob scripter I get it.

Script:

TextButton, TextButton1, TextButton2, TextButton3, TextButton4 = game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.TextButton, game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.TextButton1, game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.TextButton2, game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.TextButton3

if TextButton.ClickDetector.MouseHoverEnter:connect (function() TextButton.BackgroundColor3 = Color3.new("Camo")

end)

0
TextButton.MouseEnter:Connect(function() CODE end) also Color3.new() doesn't accept BrickColors. Do BrickColor.new("Camo").Color RubenKan 3615 — 6y
0
dude use code block andthen put ur code inside of it. FlippinAwesomeCrew 62 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago
Edited 6 years ago

TextButton.MouseEnter:Connect(function() CODE end) also Color3.new() doesn't accept BrickColors. Do BrickColor.new("Camo").Color . If this helped than accept this as an answer. I hope it works :)

Ad

Answer this question