if game:service'Players'.localPlayer.Character:FindFirstChild'Torso' then
for i,v in pairs(workspace:WaitForChild("Training"):WaitForChild("spawns"):children()) do
table.insert(spawns,v)
end
local SpawnTo = RandomFromTable(spawns)
game:service'Players'.LocalPlayer.Character.Torso.CFrame=SpawnTo.CFrame
else print'did not find torso!'end
game.Players.LocalPlayer.TeamColor = BrickColor.new("Bright orange")
script:WaitForChild("Training").Value = true
GetClass(game.Players.LocalPlayer,script.Parent.Parent.ClassPicked.Value)
wait(1)
enabled = true
I don't know why it's doing this, I've tried printing the spawns but it doesn't give me any output. Can anybody help?

1 comment
Give more info. Tell us things like where the error is, where the script is, what the script is. Also I sense somebody being a skiddie here because there's at least one deprecated thing there.