So I have a Boolean Value (Playing) that is in the player's character and I can't seem to figure out why it ignores it even if it's set to false. Shouldn't it not teleport the player or am I doing something wrong?
if map == 1 then
game.Lighting.SampleMap:Clone().Parent = game.Workspace
status.Value = "ROBLOXIAN FOREST!"
wait(5)
target = CFrame.new(20.531, -47.377, 53.969)
for i, player in ipairs(game.Players:GetChildren()) do
if player.Character.Playing.Value == true then
player.Character.UpperTorso.CFrame = target + Vector3.new(0, i * 0, 0)
player.Character.IsAlive.Value = true
end
end
end
