Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Why doesnt my GUI transition colors with my local script?

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)

2 comments

0

TextButton.MouseEnter:Connect(function() CODE end) also Color3.new() doesn't accept BrickColors. Do BrickColor.new("Camo").Color

0

dude use code block andthen put ur code inside of it.

1 answer

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 :)

This discussion is preserved as it was. New answers, comments, and votes are closed.