So I got a problem here. I am making an admin panel and I made it password protected. My idea is when I press a button in the admin panel, everyone sees a certain gui on a certain model. My problem is I don't know how to make it a global image instead of local image on the Surface GUI. I need everyone to see it when I click it instead of just me seeing it. Here is the script.
local button = script.Parent
local pic = game.Workspace.DraftDetails.SurfaceGui.Frame.Welcome
local board = game.Workspace.DraftDetails.SurfaceGui.Frame
------------------------------------------------------------------------------------------
button.MouseButton1Click:Connect(function()
if pic.Visible == false then
pic.Visible = true
board.PickIsIn.Visible = false
elseif pic.Visible == true then
pic.Visible = false
end
end)
I need to know how to make it Global. If anyone can help me, that would be great!
UPDATE: I am reading the RemoteEvents on wiki and its kind of helping me. So far i got this
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local player = Players.LocalPlayer
local button = script.Parent
local function ButtonClicked()
end
is that good so far?

8 comments
By the way, the certain gui is an ImageLabel, but its local which i dont want.
You will need to create the surface GUI on the server and use a RemoteEvent
Do you know a script that would work for this on a RemoteEvent?
Click here to learn how to use remote events: http://wiki.roblox.com/index.php?title=Remote_Functions_%26_Events
Ok thanks i will read that.
Is all this on a local script? If it is, you need to make a global script to do this instead, aka a local script that references a remote event, or a module script with the function to show the surface gui.
Wait so where do i put the normal script in?
im completley lost.. i dont know what to do. i dont even know if what i have so far is right tbh.