|
| 15 Dec 2014 06:06 AM |
UI.Quality.Low.Button.MouseButton1Click:connect(function() if not ButtonPushed then ButtonPushed = true ClickSound:Play() if UI.Quality.Low.Style == "DropShadow" then UI.Quality.Low.Style = "RobloxSquare" else UI.Quality.Low.Style = "DropShadow" end end ButtonPushed = false end) Why won't this work? No errors nothing, the sound plays even if you click more than once, the "Style" won't change c: |
|
|
| Report Abuse |
|
|
|
| 15 Dec 2014 06:13 AM |
You need Enum, which is what you technically should be doing, and it is more correct IMO.
if US.Quality.Low.Style == Enum.FrameStyle.DropShadow then |
|
|
| Report Abuse |
|
|
| |
|