I made a chat command named “menu” and I can’t find a way to delete the specified message.
Code
local Players = game:GetService("Players")
local Mods = {UserId Would Go Here}
Players.PlayerAdded:Connect(function(player)
player.Chatted:connect(function(msg)
if msg == ";Menu" then
--Somehow Delete Message
for _, v in pairs(Mods) do
if Players:GetPlayerByUserId(v) == player then
player.PlayerGui.Menu.Enabled= true
end
end
end
end)
end)
Thanks so much if you could help