|
| 28 Jan 2017 04:05 PM |
| Let's say someone has an announcement system. As soon as they click post, they want a gui to become visible on EVERYONE's screen, not just theirs. How is that possible?? Also, when editing the text of a textbox, does it change the text variable of the textbox for that person? Just asking |
|
|
| Report Abuse |
|
|
| |
|
|
| 28 Jan 2017 04:09 PM |
Without FE
for - players - do player.PlayerGui - stuff
With:
FireAllClients("DisplayGui") |
|
|
| Report Abuse |
|
|
|
| 28 Jan 2017 04:35 PM |
| Could you please be more specific? |
|
|
| Report Abuse |
|
|
Caspxrr
|
  |
| Joined: 07 Oct 2015 |
| Total Posts: 7433 |
|
|
| 28 Jan 2017 04:41 PM |
@Jelly, I don't know what he means either xpp |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 28 Jan 2017 04:42 PM |
https://forum.roblox.com/Forum/ShowPost.aspx?PostID=200061209
|
|
|
| Report Abuse |
|
|
|
| 28 Jan 2017 05:50 PM |
I'll show you my sucky script so far:
local announcement = script.Parent.Parent.Parent.AnnouncementType.Text -- This is what I need to work. It's a text box, so I need the text to always be equal to what the text is currently. local announcementDisplay = script.Parent.Parent.Parent.AnnouncementDisplay
script.Parent.MouseButton1Click:Connect(function() script.Parent.Parent.Visible = false script.Parent.Parent.Parent.AnnouncementType.Visible = false announcementDisplay.Text = announcement announcementDisplay.Visible = true -- This is what I need to be visible to all people. How do I do this? announcementDisplay.BackgroundTransparency = 0 wait(5) announcementDisplay.BackgroundTransparency = 0.3 wait(5) announcementDisplay.BackgroundTransparency = 0.6 wait(5) announcementDisplay.Visible = false -- I also need a way to make a cool down to stop spam. end) |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 28 Jan 2017 06:31 PM |
just have a string value in workspace that stores the message
and you can do something like this in a local script on every client
local messagevalue = workspace. the string value that holds the message local msggui = the gui that is supposed to show the message
messagevalue.Changed:connect(function(msg) msggui.Text = msg msggui.Visible = true wait(5) msggui.Visible = false end) |
|
|
| Report Abuse |
|
|