First create a table with all the positions you want it to spawn:
local SpawnPoints = { --Edit these to positions on your map
Vector3.new(0, 0, 0),
Vector3.new(0, 0, 0),
Vector3.new(0, 0, 0),
Vector3.new(0, 0, 0),
Vector3.new(0, 0, 0),
Vector3.new(0, 0, 0),
Vector3.new(0, 0, 0),
Vector3.new(0, 0, 0),
Vector3.new(0, 0, 0),
Vector3.new(0, 0, 0),
}
Then to choose one of these you can randomize it like this:
local RNG = Random.new(tick())
local Roll = RNG:NextInteger(1, #SpawnPoints)
local BombPosition = SpawnPoints[Roll] --This is a Vector3 of the final spawnpoint
Then to move the bomb’s model to the Vector3 that we rolled for, we simply do this
print("Spawning bomb at coordinates: "..tostring(BombPosition))
workspace.Bomb:PivotTo(CFrame.new(BombPosition)) --Converting Vector3 to CFrame
Obviously you’ll have to edit the system to work with how you’re doing things but it should be quite easy nonetheless. gl