How do I make a GUI appear to everyone when one player touch a part

This is what I have so far, but I do not know what I did wrong since base on the forum I am suppose to make a remote event which I did from the image.

Basically how this script works is I have a GUI at starterGUI and the textLabel is unchecked on visible and the code basically just makes the GUI visible, this system works perfectly when it’s only for one player, but I want to make it all the player in the server.

No Remote Events, since your on the server. Just loop through the players!

for _, plr in next, Players:GetPlayers() do
    plr.PlayerGui.UI.Enabled = true.
end

oh so if I take my original code that only work for one part if they touch it (script down below)

and loop through the players, then it will plays the GUI for all the player at the same time?

Yeah, this will work. Just loop it.

Ok so it works, but since I am pretty bad at coding can you tell me how to make it loop based on the amount players in the server, this is what my code looks like but it only playing the start of the sentence for the text

We can’t make code for you, this sub-forum is meant to fix code

Sorry, I don’t understand what you mean.

Why would you want to do that?

oop sorry I didn’t read how loop work and I see, I’ll figure out to fix it then

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.