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

How come this doesnt work?

Asked by 8 years ago

I think its the asset and not thecommands?

local Permitted = {"iSidersz", "Player", "OrlandoBaller"} local clo = game.Workspace.Puck:clone()

game.Workspace.Puck:clone() game.Players.PlayerAdded:connect(function(plr) -- When a player joins

for i,v in pairs(Permitted) do

    if v:lower() == plr.Name:lower() then -- Check if they're on the list

        plr.Chatted:connect(function(msg) -- When they chat. Msg is what they say

            if msg:lower() == "arp" then
clo:clone().Parent = game.Workspace




            end

        end)

    end

end

end)

Answer this question