Ad
Log in to vote
-2

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

Asked by 1 month ago

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

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. AZDev 590 — 1mo
1
give the poor script kiddie a break, probably new here + making a dead trend game greatneil80 2612 — 1mo
0
kiddo im not new ive been in roblox stuido for 3 years and its not a dead trend game lmao coolants19 1 — 18d

1 answer

Log in to vote
0
Answered by
TechModel 118
1 month ago

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))
Ad

Answer this question