game.Players.PlayerAdded:Connect(function(plr)
plr.Chatted:Connect(function(content)
if plr.Name == "ByGermanKnight" then
if string.sub(content, 0, 1) == "/" then
print("/ was typed")
end
end
end)
end)
If this is in the script (<), the chat doesnt work. Why?
< = if string.sub(content, 0, 1) == “/” then
print("/ was typed")