Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function MoverAnimEvents()
- RunHandled(
- WaitForever,
- On(Event(Detector_01.Activated)),
- function()
- ParticlesImpactDust:Start()
- AnimatorMotionBlur:StartAnimation("Impact")
- AnimatorStreaks:StartAnimation("Impact")
- ShakerBig:StartShaking()
- Wait(Delay(1))
- ShakerSmall:StartShaking()
- Wait(Delay(1))
- BurningParticles:DisableEmitting()
- end
- )
- end
- BurnedSpaceShipVisibility:StartAnimation("NotVisible")
- DestroyedSpaceShip:Disappear()
- RunAsync(MoverAnimEvents)
- -- space ship force spawn/death code
- if false then
- Wait(Delay(2))
- SignalEvent("Start Spaceship fight")
- Wait(Delay(1))
- --SpaceShip:SetHealth(1)
- end
- -- start space ship destruction in-game sequence
- Wait(CustomEvent("Started Spaceship Warpout"))
- Wait(Delay(2.5))
- BurnedSpaceShipVisibility:StartAnimation("Appearing")
- DestroyedSpaceShip:Appear()
- MoverSpaceship:PlayAnim("Dying")
- DestroyedSpaceShip:PlayAnimStay("Dying")
- SpaceShipBurnedAnimator:StartAnimation("Burning")
- WarpOutFailSound:PlayOnce()
- BurnedSpaceShipExplodingSound:PlayOnce()
- Wait(Delay(1))
- BurningParticles:Start()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement