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

Can someone help me with making a spawner that spawns random weapons?

I want to make a spawner that spawns a random weapon every 10 minutes. Since im new to scripting I dont know how to make this kind of script.

3 comments

0

where do you want the weapons to spawn?

0

where are you storing the weapons

0

Im storing the weapons in game.Lighting.Weapons

2 answers

This site isn't a request site, please consider trying. Though I will give you a bit of code to start you off.

Step 1. Make sure you have all the tool you want to spawn in the ***ReplicatedStorage***

Step 2. Insert a server script (normal script) into ***ServerScriptService***

type this code;

local tools = game.ReplicatedStorage:GetChildren()

while true do
	-- ur code
end

This is just to start you off, if I helped please accept answer.

##NOTE##

You might wanna add some if statements and a BoolValue to check if there is currently a tool.

3 comments

0

I know how to make the beginning but I dont know how to make the weapon spawn next to the part.

0

You clone the items and then position them at the brick

0

You clone the items and then position them at the brick

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