What I have so far:
game.Players:WaitForChild("MageMasterHD") game.Players.MageMasterHD.Chatted:Connect(function (msg) if msg == "/test" then print (msg) end end)
This works but I want the message if it is a command to be not sended
game:GetService("Players").PlayerAdded:Connect(function(player) player.Chatted:Connect(function(msg) if msg == "/test" then print(msg) end end) end)