So, I've been trying to make a script so that players would be teleported to one of the locations given randomly. I'm not to familiar with math.random or anything random in general. Here is something I tried below. If I can figure out how to work this, I'm also going to want to have more locations to be teleported to randomly.
function teleport()
script.Parent.Parent.Parent.Parent.Character.Torso.CFrame = CFrame.new(math.random(-194.983, 101.68, 1.904, -235.392, 69.082, 41.8))
end
script.Parent.MouseButton1Down:connect(teleport)

2 comments
I understand math.random now. Thanks!
<3