Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do you make an On - Touch block that makes a GUI with a TextLabel appear on everyones screens?

Asked by 5 years ago

How do you make a block where if you touch it a "StarterGUI" with a "TextLabel" on it will appear on everyone's screen for a few seconds like 3? I am starting to script but I really need help with this.. If you don't understand ask in the answer section, thank you.

0
Do you have an attempt to show? Because we don't just give away scripts. DeceptiveCaster 3761 — 5y

2 answers

Log in to vote
0
Answered by 5 years ago

If you've very recently begun your programming journey, I wouldn't start here. The goal you're trying to achieve can be accomplished with Remote Events/Functions, but they are quite complicated for a beginner. If you'd like to try to figure that out, though, you can do so here.

0
Thank you so much, I am learning a lot more about scripting now. Thank you for helping. :) iJasonSan 24 — 5y
Ad
Log in to vote
0
Answered by
Zeluxis 100
5 years ago

Unfortunately, you need to look through the wiki to teach yourself how to do this. It's not a request site, it's a help site. I'd advise looking at RemoteEvents.

However...

I'm happy to give you some ideas to point you in the right direction.

So, to begin with, RemoteEvents have many firing options when done from a Server Script. For example, you have the ability to fire between one client (a single player) or all the clients in a game (all the players). This can be done to achieve many things.

In your case, you'd want to fire all the clients YourEvent:FireAllClients() so that they would all receive the same signal to do the action you want them to do.

So, how to accomplish your goal

You'd want, to begin with, a simple OnTouched script that will fire all clients after it is touched.

After the clients receive your event signal, you will have to program it so it does the desired surface / screen UIs you wished them to do.

I hope this has helped you slightly, and if so, please accept this as your answer.

0
You don't need RemoteEvents to accomplish this. DeceptiveCaster 3761 — 5y
0
Thank you for your support. :) iJasonSan 24 — 5y
0
Thanks for helping me, but I am sorry I can't accept your answer. I would if I could accept two answers on one post, but someone else told me about a website to learn how to script. Thanks for your cooperation. iJasonSan 24 — 5y

Answer this question