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
|
  |
| 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
|
  |
| Joined: 11 Jan 2009 |
| Total Posts: 130 |
|
| |
|
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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 03 Sep 2013 07:04 AM |
I have no idea then, sorry.
|
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 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
|
  |
| 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 |
|
|
| |
|