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

How to make it so that i can say Begone any player instead of only being able to Begone one person?

Asked by 4 years ago
plr = game:GetService("Players").LocalPlayer

plr.Chatted:Connect(function(msg)
    if msg == ("Begone mar") then
        game:GetService("Players"):chat(":music 949916584")
        game:GetService("Players"):chat(":fling mar")
        wait(1.53)
        game:GetService("Players"):chat(":stopmusic")
        wait(1.0)
        game:GetService("Players"):chat("k/mar")
        wait(1.53)

    end 
end)

This is what i have so far and i wanted to make it so that i can Begone any one and not just mar.

0
wtf bhqpping 80 — 4y
0
string.match(msg, "begone") or msg:match("begone") DeceptiveCaster 3761 — 4y

Answer this question