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: LET ME TRY THAT ONE AGAIN

Previous Thread :: Next Thread 
wiijimmy is not online. wiijimmy
Joined: 11 Jan 2009
Total Posts: 130
03 Sep 2013 03:51 AM
ok so
I tried this before, and got into a heavy argument, so I'll try again.
Why doesn't this work?

function onPlayerEntered(player)
script.Parent.A.TextTransparency = 0
wait(5)
script.Parent.A.TextTransparency = 1
script.Parent.B.TextTransparency = 0
wait(5)
script.Parent.B.TextTransparency = 1
script.Parent.C.TextTransparency = 0
wait(5)
script.Parent.C.TextTransparency = 1
script.Parent.D.TextTransparency = 0
wait(5)
script.Parent.D.TextTransparency = 1
script.Parent.E.TextTransparency = 0
wait(5)
script.Parent.E.TextTransparency = 1
end

game.Players.PlayerAdded:connect(onPlayerEntered)

It's placed in the StarterGui, and is in the frame itself. I want some captions to come and go. I test it in play mode and it doesn't work. Can I have help please?
Report Abuse
YEGGOR is not online. YEGGOR
Joined: 02 Apr 2013
Total Posts: 1150
03 Sep 2013 03:55 AM
Take this

http://www.roblox.com/Remote-Error-Monitoring-System-item?id=65774258


It lets you see errors in play mode.

You just need to set a few values in the model and then you're set.

Hope it helps.
Report Abuse
wiijimmy is not online. wiijimmy
Joined: 11 Jan 2009
Total Posts: 130
03 Sep 2013 03:55 AM
Ok, I'll try it out.
Report Abuse
wiijimmy is not online. wiijimmy
Joined: 11 Jan 2009
Total Posts: 130
03 Sep 2013 04:01 AM
It didn't see any Lua errors, when there obviously were. I don't know what to do, I really would like this script.
Report Abuse
wiijimmy is not online. wiijimmy
Joined: 11 Jan 2009
Total Posts: 130
03 Sep 2013 06:44 AM
bumpity bump it didn't work .
Someone else help meee
Report Abuse
killajake25 is not online. killajake25
Joined: 31 Jan 2011
Total Posts: 1713
03 Sep 2013 06:46 AM
Try starting the function with a different way, for example, touch or click, so you can test it in studio mode.
Report Abuse
wiijimmy is not online. wiijimmy
Joined: 11 Jan 2009
Total Posts: 130
03 Sep 2013 06:48 AM
Ok, That is a good idea. thanks.
But that's not what I want. I want t know why the script itself doesn't work.
Report Abuse
killajake25 is not online. killajake25
Joined: 31 Jan 2011
Total Posts: 1713
03 Sep 2013 06:51 AM
Yes, and being able to see the output is a very useful way of doing it. Try it, and send us the Output.
Report Abuse
wiijimmy is not online. wiijimmy
Joined: 11 Jan 2009
Total Posts: 130
03 Sep 2013 06:56 AM
Killa, it won't work for two reasons.
A) It's in the starterGui. I'm not changing the whole script.
B) It won't work onTouched if it didn't work onPlayerEntered. I can see the output by testing it how I am testing it.
I want a change in the script, not a change in the method.
Report Abuse
killajake25 is not online. killajake25
Joined: 31 Jan 2011
Total Posts: 1713
03 Sep 2013 06:58 AM
I was going to suggest you can change it back to onPlayerEntered once you've got the output, but you can see it anyway. What does it say?
Report Abuse
wiijimmy is not online. wiijimmy
Joined: 11 Jan 2009
Total Posts: 130
03 Sep 2013 07:02 AM
Nothing, once again. Because it's a fault with the script that I need to debug. I've changed it to access the PlayerGui onTouched and everything. It doesn't work.
Report Abuse
killajake25 is not online. killajake25
Joined: 31 Jan 2011
Total Posts: 1713
03 Sep 2013 07:04 AM
I have no idea then, sorry.
Report Abuse
wiijimmy is not online. wiijimmy
Joined: 11 Jan 2009
Total Posts: 130
03 Sep 2013 07:57 AM
oh my gosh that actually worked.
THANKS.
(to killa, btw)
and I made it in the spawn
and I made you fall from the spawn
so it's working
thanks c:
Report Abuse
killajake25 is not online. killajake25
Joined: 31 Jan 2011
Total Posts: 1713
03 Sep 2013 08:00 AM
Oh, okay then :P
One problem that may encounter is if people spawn ontop of other people who just stand on the spawn. I suggest having a bool value inside the player whether they've seen it or not, which is easy to implement into the script, and have them need to touch a couple bricks around the spawn.
Report Abuse
wiijimmy is not online. wiijimmy
Joined: 11 Jan 2009
Total Posts: 130
03 Sep 2013 08:12 AM
Nah. I put the spawnpoint high up, and made it CanCollide false. So you fall down through a trap door to where you're supposed to be.
Report Abuse
killajake25 is not online. killajake25
Joined: 31 Jan 2011
Total Posts: 1713
03 Sep 2013 08:24 AM
Ah, okay. :)
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