Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- func = function(part)
- local CFrameTable = {
- CassidySpot = CFrame.new(-551.91864, -104.59137, 2612.57056, 0.729159772, -5.48060619e-08, 0.684342861, 8.07524714e-08, 0.999998748, -5.95509064e-09, -0.684343159, 5.9604595e-08, 0.729158878),
- PlayerSpot = CFrame.new(-551.668762, -104.59137, 2604.87329, -0.83290863, -5.48059305e-08, 0.553407073, -1.26628166e-08, 0.999996245, 7.99753082e-08, -0.553407848, 5.96044565e-08, -0.832907736),
- LookLeft = CFrame.new(-552.876038, -104.59137, 2614.65063, 0.999999523, -5.48059695e-08, 3.87430191e-07, 5.48060797e-08, 0.999997079, -5.96044956e-08, 3.87430191e-07, 5.96044956e-08, 0.999997437 ),
- LookRight = CFrame.new(-560.641846, -104.59137, 2603.19775, -7.74860325e-07, -5.48061294e-08, -1, -5.96047158e-08, 1, -5.48060832e-08, 1, 5.96046732e-08, -7.74860382e-07 ),
- PirateSpot = CFrame.new(-558.21637, -104.591362, 2607.75342, 5.68434189e-14, -5.48061045e-08, -1, -5.96046448e-08, 0.999999583, -5.48061294e-08, 0.999999583, 5.96046448e-08, -5.68434189e-14),
- CassidyWalk = CFrame.new( -546.329895, -104.590263, 2608.32568, 1.1368677e-13, -5.48060584e-08, -0.999999583, -5.96046164e-08, 0.999998748, -5.48061045e-08, 0.999999166, 5.9604595e-08, -1.10420116e-13 )
- }
- local Cassidy = Cutscene:SetupNPC('Cassidy', CFrameTable.CassidySpot)
- _CF.p.Character.HumanoidRootPart.CFrame = CFrameTable.PlayerSpot
- _CF.ClientDatabase:PDSEvent("Unanchor")
- Util.Halt(.25)
- _CF.Gui:FadeFromBlack()
- Cassidy:Say('Just a single chest? That\'s kinda lame.')
- Cassidy:Rotate()
- Cassidy:Say('I didn\'t properly thank you for dealing with Craig.')
- Cassidy:Say('You can take the contents of this chest. I don\'t mind.')
- Cassidy:Say('Anyway, I\'ll tell the receptionist that you\'ve completed the quest and go back to my home in Graphite Lodge.')
- Cassidy:Say('Opening the chest should be easy -- it\'s not like this ship is haunted or anything.')
- Cassidy:WalkTo(CFrameTable.CassidyWalk,14)
- _CF.Gui:FadeToBlack()
- Cassidy:Destroy()
- Util.Halt(.25)
- _CF.Gui:FadeFromBlack()
- _CF.Lighting:Darken(true)
- _CF.Dialogue:SaySimple('...it got dark. Surely this place isn\'t haunted, right?')
- _CF.Sound:Play('Whip')
- Util.Halt(.25)
- _CF.Dialogue:SaySimple('Who dares disturb my final resting spot?',nil,'???')
- _CF.Controls:Rotate(CFrameTable.LookLeft.p)
- Util.Halt(.5)
- _CF.Controls:Rotate(CFrameTable.LookRight.p)
- Util.Halt(.5)
- _CF.Controls:Rotate(CFrameTable.LookLeft.p)
- Util.Halt(.5)
- _CF.Controls:Rotate(CFrameTable.LookRight.p)
- Util.Halt(.5)
- local Pirate = Cutscene:SetupNPC('Ghost Pirate', CFrame.new(0,0,0))
- Pirate:BlueTeleportFade(.25,BrickColor.new('Black'))
- Pirate:Teleport(CFrameTable.PirateSpot)
- for i,v in pairs(Pirate.Model:GetDescendants()) do
- if v:IsA('BasePart') and v.Name ~= 'HumanoidRootPart' then
- Tween:PlayTween(v,{Transparency = .5},true,1,Enum.EasingStyle.Linear,Enum.EasingDirection.Out)
- end
- end
- Util.Halt(1)
- Pirate:Say('You cannot have what\'s inside this chest, you Blankist.')
- Pirate:Rotate()
- _CF.Controls:Rotate(Pirate.hrp.Position)
- _CF.Sound:Play('RecordScratch')
- _CF.Music:Stop()
- Pirate:Say('Wait... I thought you were a follower of Blankism.')
- _CF.Music:Play()
- Pirate:Say('What year is it?')
- _CF.Dialogue:SaySimple('<You tell him the current year.>')
- Pirate:Say('Oh my... My ship, my crew and I were destroyed over 500 years ago by those wretched beings...')
- Pirate:Say('I assume since this island is still standing, those people didn\'t achieve their ultimate goal.')
- Pirate:Say('Knowing this, I can finally be at ease.')
- Pirate:Say('...wait a second! My Doodles are still alive... how?')
- Pirate:Say('I\'m so happy... The thing I miss most from when I was alive was Doodle battling...')
- Pirate:Say('It\'s been literally hundreds of years since my last battle.')
- local point = Pirate:PlayAnim('Point')
- Pirate:Say('You\'re going to give me a good battle! If you win, I\'ll have no more lingering regrets and you can have my treasure chest!')
- point:Stop()
- _CF.Music:PlaySong('MoonlightBattle')
- Pirate:Say('I\'m not taking no for an answer!')
- local BattleEnd, Wipeout = _CF.Battle:TrainerBattle(62, Pirate.Model, function() end)
- local Result = BattleEnd:Wait()
- if Result == true then
- else
- _CF.InCutscene = nil
- _CF.Overworld:Toggle(true)
- _CF.Social.PlayerVisibility(true)
- _CF.Menu:Invisible()
- _CF.Wipeout[Wipeout].func()
- return
- end
- Pirate:Say('Wow... you are quite a battler.')
- Pirate:Say('That battle was satisfying... I have no regrets.')
- Pirate:Say('In this chest behind me is a Doodle.')
- Pirate:Say('You can fight it as many times as you want, but as soon as you capture it, the chest will disappear.')
- Pirate:Say('Good luck. I already released all my Doodles.')
- Pirate:BlueTeleportFade(.5,BrickColor.new('Black'))
- Util.Halt(.25)
- Pirate:Destroy()
- _CF.Dialogue:SaySimple('You can fight the Doodle in the chest when you\'re ready.')
- _CF.Dialogue:SaySimple('Otherwise, you have completed the quest \'Abandoned Pirate Ship\'! Turn it in at the Help Center.')
- _CF.ClientDatabase:PDSEvent("SetSwitch", '59',3)
- _CF.Controls:ToggleWalk(true)
- end
Add Comment
Please, Sign In to add comment