Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Area = script.Parent.Insidebattle
- Area.Touched:Connect(function() end) -- Just for a TouchInterest to occur on a CanCollide false part
- function CheckIfPlayerIsInArea(Part)
- local touching = Part:GetTouchingParts()
- for i,val in pairs(touching) do
- if val.Parent.ClassName == "Model" then
- if val.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
- if val.Parent:FindFirstChildOfClass("Humanoid").Name ~= "Zombie" then
- return true
- end
- end
- end
- end
- return false
- end
- local TweenService = game:GetService("TweenService")
- db = false
- local function ResetBossFight()
- --L1 --LEVEL 1
- script.Parent.L1R.Position = Vector3.new(-69, 41.25, -19.5)
- script.Parent.L1R.Material = Enum.Material.WoodPlanks
- script.Parent.L1R.Anchored = true
- script.Parent.L1R.CanCollide = false
- script.Parent.L1R.Transparency = 1
- script.Parent.MoL1.Position = Vector3.new(-69, 39, -34)
- script.Parent.MoL1.Transparency = 1
- script.Parent.MoL1.OOF.Disabled = true
- --L2 --LEVEL 2
- script.Parent.L2Y.Position = Vector3.new(-58.575, 43.25, -23.575)
- script.Parent.L2Y.Material = Enum.Material.WoodPlanks
- script.Parent.L2Y.Anchored = true
- script.Parent.L2Y.CanCollide = false
- script.Parent.L2Y.Transparency = 1
- script.Parent.MoL2.Position = Vector3.new(-69, 38.88, -34)
- script.Parent.MoL2.Transparency = 1
- script.Parent.MoL2.OOF.Disabled = true
- script.Parent.MoL2.Size = Vector3.new(7, 0.75, 7)
- --L3
- script.Parent.L3G.Position = Vector3.new(-54.5, 45.25, -34)
- script.Parent.L3G.Material = Enum.Material.WoodPlanks
- script.Parent.L3G.Anchored = true
- script.Parent.L3G.CanCollide = false
- script.Parent.L3G.Transparency = 1
- script.Parent.FireBall1.Position = Vector3.new(-69, 73.25, -24)
- script.Parent.FireBall2.Position = Vector3.new(-59, 73.25, -34)
- script.Parent.FireBall3.Position = Vector3.new(-69, 73.25, -44)
- script.Parent.FireBall4.Position = Vector3.new(-79, 73.25, -34)
- --L4
- script.Parent.L4B.Position = Vector3.new(-58.575, 47.25, -44.425)
- script.Parent.L4B.Material = Enum.Material.WoodPlanks
- script.Parent.L4B.Anchored = true
- script.Parent.L4B.CanCollide = false
- script.Parent.L4B.Transparency = 1
- --L5
- script.Parent.L5P.Position = Vector3.new(-69, 49.25, -48.5)
- script.Parent.L5P.Material = Enum.Material.WoodPlanks
- script.Parent.L5P.Anchored = true
- script.Parent.L5P.CanCollide = false
- script.Parent.L5P.Transparency = 1
- --end
- script.Parent.protection.backtx.Transparency = 1
- script.Parent.protection.lefttx.Transparency = 1
- script.Parent.protection.fronttx.Transparency = 1
- script.Parent.protection.righttx.Transparency = 1
- script.Parent.Parent.MegaSquadMo.Head.face.Texture = "rbxassetid://5941521724"
- script.Parent.exit.Script.Disabled = true
- script.Parent.exit.Sparkles.Enabled = false
- script.Parent.exit.face.Transparency = 1
- script.Parent.exit.logo.Transparency = 1
- script.Parent.exit.Transparency = 1
- script.Parent.Parent.MegaSquadMo.Rotationscript.Disabled = true
- wait(1.5)
- script.Parent.Parent.MegaSquadMo.Rotationscript.Disabled = false
- wait(5)
- db = false
- end
- game.Workspace.ObbyStructure.L14.MegaSquadMo.Rotationscript.Disabled = true
- script.Parent.Insidebattle.Touched:Connect(function(hit)
- if db == false then
- db = true
- if CheckIfPlayerIsInArea(Area) == false then --check to see if player is in mingame
- script.Parent.Door.HingeConstraint.AngularVelocity = 1
- print(CheckIfPlayerIsInArea(Area))
- wait(3)
- db = false
- else
- print(CheckIfPlayerIsInArea(Area))
- script.Parent.Door.HingeConstraint.AngularVelocity = -1
- script.Parent.Parent.MegaSquadMo.Rotationscript.Disabled = true
- wait(1.5)
- script.Parent.Parent.MegaSquadMo.Rotationscript.Disabled = false
- --start L1 --LEVEL 1
- wait(3)
- local MoL1 = script.Parent:FindFirstChild("MoL1")
- local L1OOF = MoL1:FindFirstChild("OOF")
- local L1R = script.Parent:FindFirstChild("L1R")
- local Rotecount = 0
- local info1 = TweenInfo.new(
- 10,
- Enum.EasingStyle.Linear,
- Enum.EasingDirection.Out,
- 0,
- false,
- 0
- )
- local infocomplete1 = TweenInfo.new(
- 2,
- Enum.EasingStyle.Circular,
- Enum.EasingDirection.Out,
- 0,
- false,
- 0
- )
- local goal1 = {Orientation = Vector3.new(0, 360, 0)}
- local goalcomplete1 = {Position = Vector3.new(-69, 41.25, -27.5)}
- local rotateparttween = TweenService:Create(MoL1, info1, goal1)
- local completetween = TweenService:Create(L1R, infocomplete1, goalcomplete1)
- --scriptstart
- MoL1.Transparency = 0.35
- L1OOF.Disabled = false
- wait(1.5)
- repeat
- rotateparttween:play()
- rotateparttween.Completed:wait()
- Rotecount = Rotecount + 1
- print(Rotecount)
- until Rotecount == 4
- L1OOF.Disabled = true
- MoL1.Transparency = 1
- wait(1.5) -- add player check here
- if CheckIfPlayerIsInArea(Area) == false then --check to see if player is still in mingame
- Rotecount = 0
- ResetBossFight()
- script.Parent.Door.HingeConstraint.AngularVelocity = 1
- else
- script.Parent.Door.HingeConstraint.AngularVelocity = -1
- local ClickDetector = Instance.new("ClickDetector")
- ClickDetector.Parent = L1R
- ClickDetector.MaxActivationDistance = 32
- local CDt = L1R:WaitForChild("ClickDetector")
- L1R.Transparency = 0.35
- CDt.MouseClick:Connect(function()
- CDt:Destroy()
- L1R.Anchored = false
- completetween:play()
- --L1R.CanCollide = true
- end)
- Rotecount = 0
- completetween.Completed:wait()
- L1R.Anchored = true
- L1R.Transparency = 0
- if CheckIfPlayerIsInArea(Area) == false then --check to see if player is still in mingame
- ResetBossFight()
- script.Parent.Door.HingeConstraint.AngularVelocity = 1
- else
- script.Parent.Door.HingeConstraint.AngularVelocity = -1
- --start L2 --LEVEL 2
- wait(3)
- local MoL2 = script.Parent:FindFirstChild("MoL2")
- local L2OOF = MoL2:FindFirstChild("OOF")
- local L2Y = script.Parent:FindFirstChild("L2Y")
- local Growcount = 0
- local info2 = TweenInfo.new(
- 5,
- Enum.EasingStyle.Quint,
- Enum.EasingDirection.InOut,
- 0,
- true,
- 0
- )
- local infocomplete2 = TweenInfo.new(
- 2,
- Enum.EasingStyle.Circular,
- Enum.EasingDirection.Out,
- 0,
- false,
- 0
- )
- local goal2 = {Size = Vector3.new(35, 0.75, 35)}
- local goalcomplete2 = {Position = Vector3.new(-64.232, 43.25, -29.232)}
- local growparttween = TweenService:Create(MoL2, info2, goal2)
- local completetween2 = TweenService:Create(L2Y, infocomplete2, goalcomplete2)
- --scriptstart
- MoL2.Transparency = 0.35
- L2OOF.Disabled = false
- wait(1.5)
- repeat
- growparttween:play()
- growparttween.Completed:wait()
- Growcount = Growcount + 1
- print(Growcount)
- until Growcount == 4
- L2OOF.Disabled = true
- MoL2.Transparency = 1
- wait(1.5) -- add player check here
- if CheckIfPlayerIsInArea(Area) == false then --check to see if player is still in mingame
- Growcount = 0
- Rotecount = 0
- ResetBossFight()
- script.Parent.Door.HingeConstraint.AngularVelocity = 1
- else
- script.Parent.Door.HingeConstraint.AngularVelocity = -1
- local ClickDetector = Instance.new("ClickDetector")
- ClickDetector.Parent = L2Y
- ClickDetector.MaxActivationDistance = 32
- local CDt = L2Y:WaitForChild("ClickDetector")
- L2Y.Transparency = 0.35
- CDt.MouseClick:Connect(function()
- CDt:Destroy()
- L2Y.Anchored = false
- completetween2:play()
- --L1R.CanCollide = true
- end)
- Growcount = 0
- Rotecount = 0
- completetween2.Completed:wait()
- L2Y.Anchored = true
- L2Y.Transparency = 0
- if CheckIfPlayerIsInArea(Area) == false then --check to see if player is still in mingame
- ResetBossFight()
- script.Parent.Door.HingeConstraint.AngularVelocity = 1
- else
- script.Parent.Door.HingeConstraint.AngularVelocity = -1
- --start L3 --LEVEL 3
- wait(3)
- local FB1 = script.Parent:FindFirstChild("FireBall1")
- local FB2 = script.Parent:FindFirstChild("FireBall2")
- local FB3 = script.Parent:FindFirstChild("FireBall3")
- local FB4 = script.Parent:FindFirstChild("FireBall4")
- local FB1OOF = FB1:FindFirstChild("OOF")
- local FB2OOF = FB2:FindFirstChild("OOF")
- local FB3OOF = FB3:FindFirstChild("OOF")
- local FB4OOF = FB4:FindFirstChild("OOF")
- local M1 = script.Parent:FindFirstChild("Marker1")
- local M2 = script.Parent:FindFirstChild("Marker2")
- local M3 = script.Parent:FindFirstChild("Marker3")
- local M4 = script.Parent:FindFirstChild("Marker4")
- local M1OOF = M1:FindFirstChild("OOF")
- local M2OOF = M2:FindFirstChild("OOF")
- local M3OOF = M3:FindFirstChild("OOF")
- local M4OOF = M4:FindFirstChild("OOF")
- local L3G = script.Parent:FindFirstChild("L3G")
- local attackcount = 0
- local info3 = TweenInfo.new(
- 3,
- Enum.EasingStyle.Linear,
- Enum.EasingDirection.Out,
- 0,
- false,
- 1
- )
- local infocomplete3 = TweenInfo.new(
- 2,
- Enum.EasingStyle.Circular,
- Enum.EasingDirection.Out,
- 0,
- false,
- 0
- )
- local goal3a = {Position = Vector3.new(-69, 38.75, -24)}
- local goal3b = {Position = Vector3.new(-59, 38.75, -34)}
- local goal3c = {Position = Vector3.new(-69, 38.75, -44)}
- local goal3d = {Position = Vector3.new(-79, 38.75, -34)}
- local goalcomplete3 = {Position = Vector3.new(-62.5, 45.25, -34)}
- local aparttween = TweenService:Create(FB1, info3, goal3a)
- local bparttween = TweenService:Create(FB2, info3, goal3b)
- local cparttween = TweenService:Create(FB3, info3, goal3c)
- local dparttween = TweenService:Create(FB4, info3, goal3d)
- local completetween3 = TweenService:Create(L3G, infocomplete3, goalcomplete3)
- --scriptstart
- ----MoL2.Transparency = 0.35
- FB1.Fire.Enabled = true
- FB2.Fire.Enabled = true
- FB3.Fire.Enabled = true
- FB4.Fire.Enabled = true
- wait(1.5)
- repeat
- aparttween:play()
- wait(0.25)
- bparttween:play()
- wait(0.25)
- cparttween:play()
- wait(0.25)
- dparttween:play()
- dparttween.Completed:wait()
- attackcount = attackcount + 1
- script.Parent.Marker1.Transparency = 0
- script.Parent.Marker2.Transparency = 0
- script.Parent.Marker3.Transparency = 0
- script.Parent.Marker4.Transparency = 0
- wait(0.25)
- FB1.Position = Vector3.new(-69, 73.25, -24)
- FB2.Position = Vector3.new(-59, 73.25, -34)
- FB3.Position = Vector3.new(-69, 73.25, -44)
- FB4.Position = Vector3.new(-79, 73.25, -34)
- wait(0.25)
- print(attackcount)
- until attackcount == 4
- FB1.Fire.Enabled = false
- FB2.Fire.Enabled = false
- FB3.Fire.Enabled = false
- FB4.Fire.Enabled = false
- --MoL2.Transparency = 1
- wait(1.5) -- add player check here
- if CheckIfPlayerIsInArea(Area) == false then --check to see if player is still in mingame
- attackcount = 0
- Growcount = 0
- Rotecount = 0
- ResetBossFight()
- script.Parent.Door.HingeConstraint.AngularVelocity = 1
- else
- script.Parent.Door.HingeConstraint.AngularVelocity = -1
- local ClickDetector = Instance.new("ClickDetector")
- ClickDetector.Parent = L3G
- ClickDetector.MaxActivationDistance = 32
- local CDt = L3G:WaitForChild("ClickDetector")
- L3G.Transparency = 0.35
- CDt.MouseClick:Connect(function()
- CDt:Destroy()
- L3G.Anchored = false
- completetween3:play()
- --L1R.CanCollide = true
- end)
- attackcount = 0
- Growcount = 0
- Rotecount = 0
- completetween3.Completed:wait()
- L3G.Anchored = true
- L3G.Transparency = 0
- if CheckIfPlayerIsInArea(Area) == false then --check to see if player is still in mingame
- ResetBossFight()
- script.Parent.Door.HingeConstraint.AngularVelocity = 1
- else
- script.Parent.Door.HingeConstraint.AngularVelocity = -1
- --start L4 --LEVEL 4
- wait(3)
- local MoL4 = script.Parent:FindFirstChild("Ammo")
- local MoL4flame = MoL4.Fire
- local L4B = script.Parent:FindFirstChild("L4B")
- local throwcount = 0
- local info4 = TweenInfo.new(
- 1,
- Enum.EasingStyle.Exponential,
- Enum.EasingDirection.Out,
- 0,
- true,
- 0
- )
- local infocomplete4 = TweenInfo.new(
- 2,
- Enum.EasingStyle.Circular,
- Enum.EasingDirection.Out,
- 0,
- false,
- 0
- )
- local goal4 = {Position = script.Parent.Parent.MegaSquadMo.ClosestTarget.Value}
- local goalcomplete4 = {Position = Vector3.new(-64.232, 47.25, -38.768)}
- local ammotween = TweenService:Create(MoL4, info4, goal4)
- local completetween4 = TweenService:Create(L4B, infocomplete4, goalcomplete4)
- --scriptstart
- MoL4.Transparency = 0
- MoL4flame.Enabled = true
- wait(1.5)
- repeat
- goal4 = {Position = script.Parent.Parent.MegaSquadMo.ClosestTarget.Value}
- ammotween = TweenService:Create(MoL4, info4, goal4)
- ammotween:play()
- ammotween.Completed:wait()
- throwcount = throwcount + 1
- print(throwcount)
- MoL4.Position = Vector3.new(-69, 47, -34)
- wait(0.5)
- until throwcount == 8
- MoL4flame.Enabled = false
- MoL4.Transparency = 1
- wait(1.5) -- add player check here
- if CheckIfPlayerIsInArea(Area) == false then --check to see if player is still in mingame
- throwcount = 0
- attackcount = 0
- Growcount = 0
- Rotecount = 0
- ResetBossFight()
- script.Parent.Door.HingeConstraint.AngularVelocity = 1
- else
- script.Parent.Door.HingeConstraint.AngularVelocity = -1
- local ClickDetector = Instance.new("ClickDetector")
- ClickDetector.Parent = L4B
- ClickDetector.MaxActivationDistance = 32
- local CDt = L4B:WaitForChild("ClickDetector")
- L4B.Transparency = 0.35
- CDt.MouseClick:Connect(function()
- CDt:Destroy()
- L4B.Anchored = false
- completetween4:play()
- --L1R.CanCollide = true
- end)
- throwcount = 0
- attackcount = 0
- Growcount = 0
- Rotecount = 0
- completetween4.Completed:wait()
- L4B.Anchored = true
- L4B.Transparency = 0
- if CheckIfPlayerIsInArea(Area) == false then --check to see if player is still in mingame
- ResetBossFight()
- script.Parent.Door.HingeConstraint.AngularVelocity = 1
- else
- script.Parent.Door.HingeConstraint.AngularVelocity = -1
- --start L5 --LEVEL 5
- wait(3)
- local MoL1 = script.Parent:FindFirstChild("MoL1")
- local L1OOF = MoL1:FindFirstChild("OOF")
- local L1R = script.Parent:FindFirstChild("L1R")
- local Rotecount = 0
- local info1 = TweenInfo.new(
- 5,
- Enum.EasingStyle.Linear,
- Enum.EasingDirection.Out,
- 0,
- false,
- 0
- )
- local infocomplete1 = TweenInfo.new(
- 2,
- Enum.EasingStyle.Circular,
- Enum.EasingDirection.Out,
- 0,
- false,
- 0
- )
- local goal1 = {Orientation = Vector3.new(0, 360, 0)}
- local goalcomplete1 = {Position = Vector3.new(-69, 41.25, -27.5)}
- local rotateparttween = TweenService:Create(MoL1, info1, goal1)
- local completetween = TweenService:Create(L1R, infocomplete1, goalcomplete1)
- local MoL2 = script.Parent:FindFirstChild("MoL2")
- local L2OOF = MoL2:FindFirstChild("OOF")
- local L2Y = script.Parent:FindFirstChild("L2Y")
- local Growcount = 0
- local info2 = TweenInfo.new(
- 5,
- Enum.EasingStyle.Quint,
- Enum.EasingDirection.InOut,
- 0,
- true,
- 0
- )
- local infocomplete2 = TweenInfo.new(
- 2,
- Enum.EasingStyle.Circular,
- Enum.EasingDirection.Out,
- 0,
- false,
- 0
- )
- local goal2 = {Size = Vector3.new(35, 0.75, 35)}
- local goalcomplete2 = {Position = Vector3.new(-64.232, 43.25, -29.232)}
- local growparttween = TweenService:Create(MoL2, info2, goal2)
- local completetween2 = TweenService:Create(L2Y, infocomplete2, goalcomplete2)
- local FB1 = script.Parent:FindFirstChild("FireBall1")
- local FB2 = script.Parent:FindFirstChild("FireBall2")
- local FB3 = script.Parent:FindFirstChild("FireBall3")
- local FB4 = script.Parent:FindFirstChild("FireBall4")
- local FB1OOF = FB1:FindFirstChild("OOF")
- local FB2OOF = FB2:FindFirstChild("OOF")
- local FB3OOF = FB3:FindFirstChild("OOF")
- local FB4OOF = FB4:FindFirstChild("OOF")
- local M1 = script.Parent:FindFirstChild("Marker1")
- local M2 = script.Parent:FindFirstChild("Marker2")
- local M3 = script.Parent:FindFirstChild("Marker3")
- local M4 = script.Parent:FindFirstChild("Marker4")
- local M1OOF = M1:FindFirstChild("OOF")
- local M2OOF = M2:FindFirstChild("OOF")
- local M3OOF = M3:FindFirstChild("OOF")
- local M4OOF = M4:FindFirstChild("OOF")
- local L3G = script.Parent:FindFirstChild("L3G")
- local attackcount = 0
- local info3 = TweenInfo.new(
- 5,
- Enum.EasingStyle.Linear,
- Enum.EasingDirection.Out,
- 0,
- false,
- 1
- )
- local infocomplete3 = TweenInfo.new(
- 2,
- Enum.EasingStyle.Circular,
- Enum.EasingDirection.Out,
- 0,
- false,
- 0
- )
- local goal3a = {Position = Vector3.new(-69, 38.75, -24)}
- local goal3b = {Position = Vector3.new(-59, 38.75, -34)}
- local goal3c = {Position = Vector3.new(-69, 38.75, -44)}
- local goal3d = {Position = Vector3.new(-79, 38.75, -34)}
- local goalcomplete3 = {Position = Vector3.new(-62.5, 45.25, -34)}
- local aparttween = TweenService:Create(FB1, info3, goal3a)
- local bparttween = TweenService:Create(FB2, info3, goal3b)
- local cparttween = TweenService:Create(FB3, info3, goal3c)
- local dparttween = TweenService:Create(FB4, info3, goal3d)
- local completetween3 = TweenService:Create(L3G, infocomplete3, goalcomplete3)
- local L5P = script.Parent:FindFirstChild("L5P")
- local infocomplete5 = TweenInfo.new(
- 2,
- Enum.EasingStyle.Circular,
- Enum.EasingDirection.Out,
- 0,
- false,
- 0
- )
- local goalcomplete5 = {Position = Vector3.new(-69, 49.25, -40.5)}
- local completetween5 = TweenService:Create(L5P, infocomplete5, goalcomplete5)
- --scriptstart
- FB1.Fire.Enabled = true
- FB2.Fire.Enabled = true
- FB3.Fire.Enabled = true
- FB4.Fire.Enabled = true
- MoL2.Transparency = 0.35
- L2OOF.Disabled = false
- MoL1.Transparency = 0.35
- L1OOF.Disabled = false
- wait(1.5)
- repeat
- rotateparttween:play()
- growparttween:play()
- aparttween:play()
- bparttween:play()
- cparttween:play()
- dparttween:play()
- rotateparttween.Completed:wait()
- Rotecount = Rotecount + 1
- print(Rotecount)
- script.Parent.Marker1.Transparency = 0
- script.Parent.Marker2.Transparency = 0
- script.Parent.Marker3.Transparency = 0
- script.Parent.Marker4.Transparency = 0
- wait(0.25)
- FB1.Position = Vector3.new(-69, 73.25, -24)
- FB2.Position = Vector3.new(-59, 73.25, -34)
- FB3.Position = Vector3.new(-69, 73.25, -44)
- FB4.Position = Vector3.new(-79, 73.25, -34)
- until Rotecount == 4
- L1OOF.Disabled = true
- MoL1.Transparency = 1
- L2OOF.Disabled = true
- MoL2.Transparency = 1
- FB1.Fire.Enabled = false
- FB2.Fire.Enabled = false
- FB3.Fire.Enabled = false
- FB4.Fire.Enabled = false
- wait(1.5) -- add player check here
- if CheckIfPlayerIsInArea(Area) == false then --check to see if player is still in mingame
- throwcount = 0
- attackcount = 0
- Growcount = 0
- Rotecount = 0
- ResetBossFight()
- script.Parent.Door.HingeConstraint.AngularVelocity = 1
- else
- script.Parent.Door.HingeConstraint.AngularVelocity = -1
- local ClickDetector = Instance.new("ClickDetector")
- ClickDetector.Parent = L5P
- ClickDetector.MaxActivationDistance = 32
- local CDt = L5P:WaitForChild("ClickDetector")
- L5P.Transparency = 0.35
- CDt.MouseClick:Connect(function()
- CDt:Destroy()
- L5P.Anchored = false
- completetween5:play()
- --L1R.CanCollide = true
- end)
- throwcount = 0
- attackcount = 0
- Growcount = 0
- Rotecount = 0
- completetween5.Completed:wait()
- L5P.Anchored = true
- L5P.Transparency = 0
- if CheckIfPlayerIsInArea(Area) == false then --check to see if player is still in mingame
- ResetBossFight()
- script.Parent.Door.HingeConstraint.AngularVelocity = 1
- else
- script.Parent.Door.HingeConstraint.AngularVelocity = -1
- wait(1.5)
- L1R.Material = Enum.Material.Neon
- L1R.CanCollide = true
- L1R.Touched:Connect(function()
- L2Y.Material = Enum.Material.Neon
- L2Y.CanCollide = true
- L2Y.Touched:Connect(function()
- L3G.Material = Enum.Material.Neon
- L3G.CanCollide = true
- L3G.Touched:Connect(function()
- L4B.Material = Enum.Material.Neon
- L4B.CanCollide = true
- L4B.Touched:Connect(function()
- L5P.Material = Enum.Material.Neon
- L5P.CanCollide = true
- L5P.Touched:Connect(function()
- wait(1.5)
- script.Parent.protection.backtx.Transparency = 0
- script.Parent.protection.lefttx.Transparency = 0
- script.Parent.protection.fronttx.Transparency = 0
- script.Parent.protection.righttx.Transparency = 0
- wait(1.5)
- script.Parent.Parent.MegaSquadMo.Head.face.Texture = "rbxassetid://5941708511"
- wait(3)
- script.Parent.exit.Script.Disabled = false
- wait(3)
- repeat
- CheckIfPlayerIsInArea(Area)
- wait(1)
- until CheckIfPlayerIsInArea(Area) == false
- ResetBossFight()
- script.Parent.Parent.MegaSquadMo.Rotationscript.Disabled = true
- wait(1.5)
- script.Parent.Parent.MegaSquadMo.Rotationscript.Disabled = false
- wait(5)
- script.Parent.Door.HingeConstraint.AngularVelocity = 1
- end)
- end)
- end)
- end)
- end)
- --db = false
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement