local Spawn1 = game.Workspace.Spawn1
local Spawn2 = game.Workspace.Spawn2
local Spawn3 = game.Workspace.Spawn3
local plr = game.Players.LocalPlayer
repeat wait() until plr.Character
script.Parent.MouseButton1Click:Connect(function()
local spawner = math.random(1,3)
if spawner ==1 then
if spawner ==2 then
if spawner ==3 then
end)
I made three different parts and tried to make a random spawn but didn't work. Feedback would be amazing!

2 comments
It kind of is needed though because if he's making a mini-game, I think the easiest thing to do is to teleport people to "spawns"
That's true. It really depends on what kind of game he's making