if not game:IsLoaded() then game.Loaded:Wait() end local TweenService = game:GetService("TweenService") local Character = game:GetService("Players").LocalPlayer.Character local HumanoidRootPart = Character:FindFirstChild("HumanoidRootPart") function FireProximityPrompt() for _, ProximityPrompt in ipairs(game:GetService("Workspace"):GetDescendants()) do if ProximityPrompt:IsA("ProximityPrompt") then fireproximityprompt(ProximityPrompt) end end end local tweenInfo = TweenInfo.new(0.8, Enum.EasingStyle.Quint, Enum.EasingDirection.Out) local tweenInfo2 = TweenInfo.new(5, Enum.EasingStyle.Quint, Enum.EasingDirection.Out) function TweenTeleport(type, cframe, check, check2) TweenService:Create(HumanoidRootPart, type, {CFrame = cframe}):Play() if type == tweenInfo then wait(0.81) elseif type == tweenInfo2 then wait(5.1) end if check == true then FireProximityPrompt() end if check2 == false then wait(0.3) elseif check2 == true then wait(4) end end TweenTeleport(tweenInfo, CFrame.new(140.27565, 3.0050087, 166.994507, 0.573396802, -3.52612481e-08, -0.819277823, 3.34832322e-08, 1, -1.96051566e-08, 0.819277823, -1.61905334e-08, 0.573396802), true, false) TweenTeleport(tweenInfo, CFrame.new(189.105362, 3.00500917, 227.308258, 0.0174892955, 3.30512773e-09, -0.999847054, -2.29380093e-09, 1, 3.26551031e-09, 0.999847054, 2.23633867e-09, 0.0174892955), true, false) TweenTeleport(tweenInfo, CFrame.new(253.510605, 24.0050011, 78.4200287, 0.999125063, 1.2962762e-09, -0.041822806, -3.5558867e-10, 1, 2.24996555e-08, 0.041822806, -2.24650964e-08, 0.999125063), true, false) for _, Enemy in ipairs(workspace:FindFirstChild("Enemies"):GetChildren()) do if Enemy:FindFirstChild("Crowbar") then while Enemy:FindFirstChild("Crowbar") and Enemy.Parent == workspace:FindFirstChild("Enemies") do task.wait() Character:PivotTo(Enemy:GetPivot() * CFrame.new(0,0,2)) end end end TweenTeleport(tweenInfo2, CFrame.new(257.720947, 24.0050049, 59.2259636, -0.99969846, 1.07899312e-09, -0.0245555136, 3.24105032e-09, 1, -8.80079298e-08, 0.0245555136, -8.8060979e-08, -0.99969846), true, false) while not HumanoidRootPart.CFrame == CFrame.new(257.720947, 24.0050049, 59.2259636, -0.99969846, 1.07899312e-09, -0.0245555136, 3.24105032e-09, 1, -8.80079298e-08, 0.0245555136, -8.8060979e-08, -0.99969846) do task.wait() end workspace:FindFirstChild("Corpses"):FindFirstChild("Enemy"):FindFirstChild("Crowbar").Hitbox.CFrame = HumanoidRootPart.CFrame workspace:FindFirstChild("LevelTwo"):FindFirstChild("DoubleDoor"):PivotTo(Character:GetPivot() * CFrame.new(0,0,2)) FireProximityPrompt() wait(0.3) TweenTeleport(tweenInfo, CFrame.new(257.637939, 24.0050087, 59.3342018, 0.999375761, -1.25436528e-09, 0.0353287496, 1.35045308e-09, 1, -2.69595746e-09, -0.0353287496, 2.74198442e-09, 0.999375761), true, false) TweenTeleport(tweenInfo2, CFrame.new(479.990021, -2.99499512, -33.8835793, 0.0470143929, 4.07308187e-09, -0.998894215, -8.75039774e-08, 1, -4.09098415e-11, 0.998894215, 8.74091413e-08, 0.0470143929), true, false) TweenTeleport(tweenInfo, CFrame.new(524.718811, -2.99499226, -80.1982727, -0.0158528034, 5.68121195e-08, 0.999874353, 1.07088695e-07, 1, -5.51213901e-08, -0.999874353, 1.06201412e-07, -0.0158528034), true, false) TweenTeleport(tweenInfo2, CFrame.new(455.606628, -13.7450027, -495.154968, 0.998765171, 9.35950961e-09, 0.0496808104, -6.55695009e-09, 1, -5.65742901e-08, -0.0496808104, 5.61786742e-08, 0.998765171), true, false) TweenTeleport(tweenInfo2, CFrame.new(479.726318, -28.4950066, -949.124023, 0.99998647, -1.82860027e-09, 0.00519865332, 1.38888279e-09, 1, 8.45865813e-08, -0.00519865332, -8.45782182e-08, 0.99998647), true, false)