I have another problem with this script... Heres SOME of the script Problem is in LINE 6!
local TeleportLocation = Vector3.new(248.01, 74.84, 162.94) PlayersInGame = game.Players:GetChildren() for i = 1, #PlayersInGame do print("Debug 9") PlayersInGame[i].Character:MoveTo(TeleportLocation + Position) local Players = game.Players:GetPlayers() local Object = 'Blade' --Change it to ur Weapon print("Debug 10") PickedPlayer = Players[math.random(1, #Players)] print("Debug 11") for i, v in pairs (game.Lighting:GetChildren()) do if v.Name == Object then v:clone().Parent = PickedPlayer.Backpack print("Debug 12") end end h = Instance.new('Message') h.Text = 'Game in Progress [2 Minutes]' print("Debug 13")
Position isn't defined so thats why it returned nil
Make Position a variable at least or if you mean the character's current position just use
PlayersInGame[i].Character:MoveTo(TeleportLocation + PlayersInGame[i].Character.Torso.Position)