Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

how would I make a Item spawner, with weapons?

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

this is not a script request site

1 comment

0

Azure thank you for telling me :)

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.

This discussion is preserved as it was. New answers, comments, and votes are closed.