Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why do I get an Interval error?

Asked by
Toflyc 5
8 years ago
local peeps = game.Players:GetChildren()
teleport(peeps[math.random(1,game.Players.NumPlayers)],Vector3.new(0,10,20))

In the output it highlights 'random' but I don't know what I'm supposed to do

Answer this question