Workspace.Main:43: bad argument #2 to '?' (Vector3 expected, got nil) Help?
I have another problem with this script...
Heres SOME of the script
Problem is in LINE 6!
01 | local TeleportLocation = Vector 3. new( 248.01 , 74.84 , 162.94 ) |
03 | PlayersInGame = game.Players:GetChildren() |
04 | for i = 1 , #PlayersInGame do |
06 | PlayersInGame [ i ] .Character:MoveTo(TeleportLocation + Position) |
10 | local Players = game.Players:GetPlayers() |
14 | PickedPlayer = Players [ math.random( 1 , #Players) ] |
16 | for i, v in pairs (game.Lighting:GetChildren()) do |
17 | if v.Name = = Object then |
18 | v:clone().Parent = PickedPlayer.Backpack |
22 | h = Instance.new( 'Message' ) |
23 | h.Text = 'Game in Progress [2 Minutes]' |