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.

3 comments

0

wtf

0

string.match(msg, "begone") or msg:match("begone")