Still have questions? Join our Discord server and get real time help.
Log in to vote

How to make a Gui appear for all players via gui button?

Asked by 4 months ago
Edited 4 months ago

I would like to create a script that makes a non-interactive gui appear for all players in the server. I've tried to figure it out myself via youtube tutorials and wiki, but I still can't seem to figure it out myself.

Here's what I have, it only makes the gui appear for my client.

    local frame = script.Parent.Parent.Parent.Parent.Message
    frame:TweenPosition(, -1000,.5, -520))
    frame:TweenPosition(, -1000,2, -520))
Do you have filtering enabled? Is that script you provided a local script? skate992 21 — 4mo
Filtering is enabled in studio, and yes it's a local script. I'd like to learn how to make clicking the gui button affect all players in-game. mikster1 -5 — 4mo
do you know how to use remote events? unsatisfie_d 1211 — 4mo
Somewhat, not really, I can understand/read code and what it means. It's just when it comes to writing my scripts that I run into dead ends. mikster1 -5 — 4mo

1 answer

Log in to vote
Answered by 4 months ago

Use FireAllClients() metod with RemoteEvents


Answer this question