I don't understand what I'm doing wrong..?
Please make your question title relevant to your question content. It should be a one-sentence summary in question form.
So..I have 2 scripts that I'm working on. The first one is for making my gui button function...here's what I have, which doesn't seem to work:
01 | player = game.Players.PlayerAdded |
05 | game.StarterGui.FNMain.Frame.Play.Transparency = 1 |
07 | game.StarterGui.FNMain.Frame.Play.Transparency = 0 |
10 | button.MouseButton 1 Click:connect(click) |
and then theres my 2nd script which I have been working very hard to get to work and it isn't...so I have a Gui Image that I want to go from 1 transparency to 0 transparency decreasing by .5.
I have 3 scripts I attempted which won't work. Here are both:
1 | game.Players.PlayerAdded:connect( function (player) |
2 | player.CharacterAdded:wait() |
3 | local x = game.StarterGui.FNMain.Frame.ImageLabel |
6 | x.ImageTransparency = x.ImageTransparency- 0.1 |
Here's the 2nd script:
Here's the 3rd script:
1 | local a = game.StarterGui.FNMain.Frame.ImageLabel |
SORRY THAT THIS IS SO BIG..!