I am trying to make an airdrop system such that the plane spawns in from different directions of 50 studs away from the centre. Here is an image of what I am saying: Image
My code uses math.random(-50,50) which will select numbers in the range of -50 to 50 which is not what I want. Is there anyway for it to choose either -50, 0 or 50? Using math.random(1,3) for a 33% chance of choosing any 1 number is too tedious and confusing for me.
local centre = script.Parent.CenterPoint
while wait (5) do
local chance = math.random(-50, 50)
local chance2 = math.random(-50, 50)
local jet = Instance.new("Part")
jet.Parent = workspace
jet.Name = "Jet"
print("Okay")
jet.CFrame = CFrame.new((centre.Position + Vector3.new(chance, 0, chance2)),workspace.CenterPoint.Position)
print(jet.Position)
end

2 comments
local chance = math.random(-1, 1) * 50
Thank you!