generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: onEnter script broken, no output

Previous Thread :: Next Thread 
cheesecake123456 is not online. cheesecake123456
Joined: 01 Jun 2009
Total Posts: 1529
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
dog456pop248 is not online. dog456pop248
Joined: 24 Aug 2008
Total Posts: 3977
08 Mar 2013 03:15 PM
Too inefficient.
Go put some for loops in it.
Report Abuse
cheesecake123456 is not online. cheesecake123456
Joined: 01 Jun 2009
Total Posts: 1529
08 Mar 2013 03:17 PM
It was working before, but now the GUI doesn't show. Could you help with that?
Report Abuse
cheesecake123456 is not online. cheesecake123456
Joined: 01 Jun 2009
Total Posts: 1529
08 Mar 2013 03:29 PM
Bump, any help?
Report Abuse
dog456pop248 is not online. dog456pop248
Joined: 24 Aug 2008
Total Posts: 3977
08 Mar 2013 03:49 PM
First put some for loops in. Then we'll help.
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
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
cheesecake123456 is not online. cheesecake123456
Joined: 01 Jun 2009
Total Posts: 1529
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
cheesecake123456 is not online. cheesecake123456
Joined: 01 Jun 2009
Total Posts: 1529
08 Mar 2013 04:03 PM
Omg, this again. I wait a while and it fixes itself.
Report Abuse
testedmarkel62 is not online. testedmarkel62
Joined: 25 Nov 2009
Total Posts: 4291
08 Mar 2013 04:03 PM
@Knight,
It's way too inefficient a loop would definitely clean it up.
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
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
testedmarkel62 is not online. testedmarkel62
Joined: 25 Nov 2009
Total Posts: 4291
08 Mar 2013 04:07 PM
Never said there would be errors. he just wants it more efficient and so do I.
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image