How to make a server slock pop up

I’m trying to make a server slock pop up that is linked to the admin. For example a pop up gui comes up and says ‘Server is slocked’.

The issue is me, as I’m a Scripter that is currently learning on different variables of scripts/lua.

I tried youtube and the developer hub but it didn’t work. There were no results, so yes.

The server pop up should be saying ‘Server slocked’.

1 Like

Could you elaborate? I dont understand what you said and mean by “Server slocked” and “scripter learning variables roblox/lua”

2 Likes

Server slock as in the server is locked, and the other thing I meant I’m a begginer in scripting.

What do you mean by locking the server? Like the server is restricted to everyone else but some people?

1 Like

Well it’s like admin, you do: :slock on which restricts people from entering the game anymore and the rest who joined before it slocked stay in. So when you run the command :slock on, the server pop up should say: ‘The server has been slocked’.

You could use Roblox SetCore.

To make an: ChatMakeSystemMessage (send message in chat)
Or an: SendNotification (send roblox notification “like friend request”)

1 Like