Hi. I'm making a game on the ROBLOX platform using Lua coding language. I need to make it so that every time the game is loaded, a brick/part is spawned in 1 of 4 locations RANDOMLY. I have a capture the flag game, and there are four castles. I want my flag part to spawn in any of the 4 towers when the game begins, randomly. Does anyone know how to do this?
What I have tried:
I have tried looking up many other tutorials, but they do not accomplish my intents. They always show what to do to make the brick spawn in completely random places, which is not what I need in this case. I want the brick to spawn in 1 of 4 already specified locations, randomly each time. Thanks!