game.Players.PlayerAdded:Connect(function(player) local InMenu = Instance.new("BoolValue") InMenu.Name = "InMenu" InMenu.Parent = player end) game.ReplicatedStorage.MenuPlay.OnServerEvent:Connect(function(player) if player:FindFirstChild("InMenu") then player.InMenu:Destory() end end)