Local drawer = script. Parent.
Local weapon1 = Game. Replicatedstorage. Weapon1.
Local weapon2 = Game. Replicatedstorage. Weapon2.
Local respawntime = 15.
Local function spawnRandomWeapon()
Local randomdrawer = math. Random(1, 3)
Local weapon.
if randomdrawer == 1 then.
Weapon = weapon1:Clone()
Else.
Weapon = weapon2:Clone()
End.
Weapon. Parent = drawer: Findfirstchild("kutu". Randomdrawer)
End.
While true do.
Wait(respawntime)
spawnRandomWeapon()
End.