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.
Can someone help me with making a spawner that spawns random weapons?
2 answers
Next to the spawner (Brick)
1 comment
use the comments
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
I know how to make the beginning but I dont know how to make the weapon spawn next to the part.
You clone the items and then position them at the brick
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.

3 comments
where do you want the weapons to spawn?
where are you storing the weapons
Im storing the weapons in game.Lighting.Weapons