How to make a effect when the menu is opened

How can I make an effect like in Nullxiety when you go to the Menu tab. Is there a way to detect it? Example: Roblox VR 2022.05.08 - 11.48.58.02

1 Like

To detect when the player access’s the menu use this:

local Player = game.Players.LocalPlayer
local GuiService = game:GetService("GuiService")

GuiService.MenuOpened:Connect(function()
	print(Player.Name.." opened their menu.")
end)

GuiService.MenuClosed:Connect(function()
	print(Player.Name.." closed their menu.")
end)