|
| 08 Mar 2013 03:11 PM |
I'm not sure why this script isn't working, any help?
function onEntered(Player) Player.CharacterAdded:wait() c = script.PlayScreen:Clone() c.Parent = Player.PlayerGui wait(5) c.Frame.GroupGProduction.TextTransparency =(0.9) wait(0.1) c.Frame.GroupGProduction.TextTransparency =(0.8) wait(0.1) c.Frame.GroupGProduction.TextTransparency =(0.7) wait(0.1) c.Frame.GroupGProduction.TextTransparency =(0.6) wait(0.1) c.Frame.GroupGProduction.TextTransparency =(0.5) wait(0.1) c.Frame.GroupGProduction.TextTransparency =(0.4) wait(0.1) c.Frame.GroupGProduction.TextTransparency =(0.3) wait(0.1) c.Frame.GroupGProduction.TextTransparency =(0.2) wait(0.1) c.Frame.GroupGProduction.TextTransparency =(0.1) wait(0.1) c.Frame.GroupGProduction.TextTransparency =(0) wait(3) c.Frame.FPSLogo.TextTransparency =(0.9) wait(0.1) c.Frame.FPSLogo.TextTransparency =(0.8) wait(0.1) c.Frame.FPSLogo.TextTransparency =(0.7) wait(0.1) c.Frame.FPSLogo.TextTransparency =(0.6) wait(0.1) c.Frame.FPSLogo.TextTransparency =(0.5) wait(0.1) c.Frame.FPSLogo.TextTransparency =(0.4) wait(0.1) c.Frame.FPSLogo.TextTransparency =(0.3) wait(0.1) c.Frame.FPSLogo.TextTransparency =(0.2) wait(0.1) c.Frame.FPSLogo.TextTransparency =(0.1) wait(0.1) c.Frame.FPSLogo.TextTransparency =(0) wait(3) c.Frame.TextButton.TextTransparency =(0.9) wait(0.1) c.Frame.TextButton.TextTransparency =(0.8) wait(0.1) c.Frame.TextButton.TextTransparency =(0.7) wait(0.1) c.Frame.TextButton.TextTransparency =(0.6) wait(0.1) c.Frame.TextButton.TextTransparency =(0.5) wait(0.1) c.Frame.TextButton.TextTransparency =(0.4) wait(0.1) c.Frame.TextButton.TextTransparency =(0.3) wait(0.1) c.Frame.TextButton.TextTransparency =(0.2) wait(0.1) c.Frame.TextButton.TextTransparency =(0.1) wait(0.1) c.Frame.TextButton.TextTransparency =(0) end
game.Players.PlayerAdded:connect(onEntered) |
|
|
| Report Abuse |
|
|
|
| 08 Mar 2013 03:15 PM |
Too inefficient. Go put some for loops in it. |
|
|
| Report Abuse |
|
|
|
| 08 Mar 2013 03:17 PM |
| It was working before, but now the GUI doesn't show. Could you help with that? |
|
|
| Report Abuse |
|
|
| |
|
|
| 08 Mar 2013 03:49 PM |
| First put some for loops in. Then we'll help. |
|
|
| Report Abuse |
|
|
|
| 08 Mar 2013 03:50 PM |
@dog
That wouldn't really change what the code does.
@OP
What did you change that caused it to break?
¤ ¤ † K M <( •д• )> X D † ¤ ¤ |
|
|
| Report Abuse |
|
|
|
| 08 Mar 2013 03:55 PM |
| I'm not sure. When it worked, I forgot to save when I turned off my laptop. I am pretty sure it is identical. |
|
|
| Report Abuse |
|
|
|
| 08 Mar 2013 04:03 PM |
| Omg, this again. I wait a while and it fixes itself. |
|
|
| Report Abuse |
|
|
|
| 08 Mar 2013 04:03 PM |
@Knight, It's way too inefficient a loop would definitely clean it up. |
|
|
| Report Abuse |
|
|
|
| 08 Mar 2013 04:06 PM |
@tested
I know what it does, and that it would be much better, though there seems to be no errors either way.
¤ ¤ † K M <( •д• )> X D † ¤ ¤ |
|
|
| Report Abuse |
|
|
|
| 08 Mar 2013 04:07 PM |
| Never said there would be errors. he just wants it more efficient and so do I. |
|
|
| Report Abuse |
|
|
|
| 08 Mar 2013 04:14 PM |
Since a lot insist on it, try this:
function Fade( Instance, Property, Start, End, Step, Time ) for i = Start, End, Step do Instance[Property] = i Wait( Time ) end end
Game.Players.PlayerAdded:connect(function( Player ) Player.CharacterAdded:wait( ) Clone = script.PlayScreen:Clone( ) Clone .Parent = Player.PlayerGui Wait(5) Fade(c.Frame.GroupGProduction, TextTransparency, 0.9, 0, -0.1, 0.1) Wait(3) Fade(c.Frame.FPSLogo, TextTransparency, 0.9, 0, -0.1, 0.1) Wait(3) Fade(c.Frame.TextButton, TextTransparency, 0.9, 0, -0.1, 0.1) end )
¤ ¤ † K M <( •д• )> X D † ¤ ¤ |
|
|
| Report Abuse |
|
|