Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

So im trying to make players teleport to a random spot using vector3's in my camping game?

game.Players.HumanoidRootPart.Position.new = Vector3.new("-281.534, 44.658, -459.13")

3 comments

0

There is a lot wrong with this question. It's far too broad, it's non-constructive, it's also not descriptive... We need a lot more information.

1

give the poor script kiddie a break, probably new here + making a dead trend game

0

kiddo im not new ive been in roblox stuido for 3 years and its not a dead trend game lmao

1 answer

✓ Accepted answer

Not too sure but maybe this is what you're looking for. Basically use math.random for each axis.

game.Players.HumanoidRootPart.Position.new = Vector3.new(math.random(0, -281.534), 44.658, math.random(0, -459.13))

This discussion is preserved as it was. New answers, comments, and votes are closed.