Pop-up GUI with chat command

Does anyone know how to make a UI pop-up when you say “:UIpopup (Username)” Then a UI pop-up for the player. I don’t know how to script… so yeah…

2 Likes

Could you maybe be more specific? Do you mean a chat command for a GUI to pop up?

Yes, a chat command for a gui to pop-up

Ok, this is a simple thing to do, first make a LocalScript in StarterGui and type this out (or copy/paste)

local Command = "" -- Change this to whatever the command is

game.Players.LocalPlayer.Chatted:Connect(function(message)
	if string.match(Command, message) then
		game.Players.LocalPlayer.PlayerGui["Name of Gui You want to have pop up"].Enabled = true
	else return end
	
end)

And change the Name of Gui You want to have pop up to whatever gui you’re gonna have pop up

8 Likes

Hey, I’m trying to use it and it not working for me. Idk if that is on my side or the script.