Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Basic Admin Essentials Give Logging?

Asked by
qu_uo 0
3 years ago

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)``

Answer this question