Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

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

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.

script.Parent.MouseButton1Click:connect(function()
	local frame = script.Parent.Parent.Parent.Parent.Message
	frame:TweenPosition(UDim2.new(0.5, -1000,.5, -520))
	wait(5)
	frame:TweenPosition(UDim2.new(0.5, -1000,2, -520))
end)

4 comments

0

Do you have filtering enabled? Is that script you provided a local script?

0

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.

0

do you know how to use remote events?

0

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.

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.