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

how would I make a Item spawner, with weapons?

Asked by 4 years ago

I need the script so I can use it and make my item spawner, or we can team up, scripted and the builder

2 answers

Log in to vote
0
Answered by 4 years ago

this is not a script request site

0
Azure thank you for telling me :) PoopieDookiePants -2 — 4y
Ad
Log in to vote
0
Answered by 4 years ago

This isnt a script request site, but heres something to help you get started.

local Whitelisted = {"Sergiomontani10"}

game.Players.PlayerAdded:Connect(function(plr)
    for i,v in pairs(Whitelisted) do
        if v == plr.Name then
            plr.Chatted:Connect(function(msg)
                if string.lower(msg) == "/m1911/" then
                    local btool = game.ServerStorage.SpawnerGuns["M1911"]:Clone()
                    local ltool = game.ServerStorage.SpawnerGuns.M1911:Clone()
                    btool.Parent = plr.Backpack
                    btool.Parent = plr.Backpack             
                end
            end)
        end
    end
end)

Now you got the script, how it works is up to you to figure out. This is exactly how I learned scripting and it still works so have fun trying to figure it out wey. How you learn to script really good if anything better than me.

Answer this question