|
| 04 Feb 2017 03:30 PM |
Hello im trying to make the message's transparency be set to 0 when the door is clicked, but it doesn't even show up. Any ideas?
message = game.StarterGui.Messages.Message
function open() message.TextTransparency = 0 wait(3) message.Text = "You are already doing better than your predecessors." wait(3) message.TextTransparency = 1 script.Parent.CanCollide = false script.Parent.Transparency = 1 end
script.Parent.ClickDetector.mouseClick:connect(open) |
|
|
| Report Abuse |
|
|
|
| 04 Feb 2017 03:32 PM |
you can't control all clients' GUIs at the same time changing it in StarterGui just changes what will be cloned to the PlayerGui on spawn/join
|
|
|
| Report Abuse |
|
|
Inductive
|
  |
| Joined: 28 May 2012 |
| Total Posts: 6480 |
|
|
| 04 Feb 2017 03:32 PM |
| Well, for one thing, you're changing the gui in the startgui, which will have no effect on the gui that the player is presently seeing. You'd have to go through player GUI for that. |
|
|
| Report Abuse |
|
|
|
| 04 Feb 2017 03:33 PM |
"You'd have to go through player GUI for that."
don't control PlayerGui from the server
|
|
|
| Report Abuse |
|
|
|
| 04 Feb 2017 03:36 PM |
| Alright, how would I do this? Im new to scripting with guis. |
|
|
| Report Abuse |
|
|
| |
|