local value = game.Players.LocalPlayer:WaitForChild("Configuration").Base local player = game.Players.LocalPlayer for _, child in workspace.Bases:GetChildren() do if child:IsA("Model") then if child.Name == value.Value.Name then print(child.Name) local lockpos = child:WaitForChild("Lock").CFrame print(lockpos) local playerpos = game.Players.LocalPlayer.Character.Torso.CFrame game.Players.LocalPlayer.Character.Torso.CFrame = lockpos wait() game.Players.LocalPlayer.Character.Torso.CFrame = playerpos while task.wait() do if child:WaitForChild("Lock").LockAttachment.LockGui.Time.Text == "0" then print(child.Name) local lockpos = child:WaitForChild("Lock").CFrame print(lockpos) local playerpos = game.Players.LocalPlayer.Character.Torso.CFrame game.Players.LocalPlayer.Character.Torso.CFrame = lockpos wait() game.Players.LocalPlayer.Character.Torso.CFrame = playerpos end end end end end