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

Unknown error on chat script, can someone help me?

Asked by 10 years ago
game.Players.PlayerAdded:connect(function(p)
p.Chatted:connect(function(m)
if m:sub(1,2) == "--" then
print("Player chatted: "..m))'
end
end)
end)

1 answer

Log in to vote
1
Answered by 10 years ago
game.Players.PlayerAdded:connect(function(p)
p.Chatted:connect(function(m)
if m:sub(1,2) == "--" then
print("Player chatted: "..m)
end
end)
end)

There you go!

1
Why did someone thumbs down? This script was correct. fireboltofdeath 635 — 10y
0
Probably jealous or something Tempestatem 884 — 10y
0
I know, right? fireboltofdeath 635 — 10y
0
I didn't notice the extra ) and the " ' " (A.K.A String) fireboltofdeath 635 — 10y
Ad

Answer this question