I have no idea why its not working can anybody help me
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
--Removes InMenu tag
player.InMenu:Destroy()
end
end)

1 comment
you firing the event somewhere?