hi i have a group and we have a handto system, i got the log script and everything but i will like to make it a basic admin command i tried this when a player says givelogs a gui pops up but it is not working can someone help me with it?
``local players = game:GetService("Players")
players.PlayerAdded:Connect(function(plr) plr.Chatted:Connect(function(msg) if msg == "givelogs" then script.Parent.Enabled = true end end) end)``