Advertisement
sneakydodge123

Untitled

Aug 4th, 2019
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
  2. print("FE Compatibility: by WaverlyCole & Mokiros")
  3. InternalData = {}
  4. do
  5. script.Parent = owner.Character
  6. local Event = Instance.new("RemoteEvent")
  7. Event.Name = "UserInput"
  8. local function NewFakeEvent()
  9. local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
  10. return Fake
  11. end
  12. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  13. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  14. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  15. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  16. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  17. local function TriggerEvent(self,Event,...)
  18. local Trigger = Mouse[Event]
  19. if Trigger and Trigger.fakeEvent and Trigger.Function then
  20. Trigger.Function(...)
  21. end
  22. end
  23. Mouse.TrigEvent = TriggerEvent
  24. UserInputService.TrigEvent = TriggerEvent
  25. Event.OnServerEvent:Connect(function(FiredBy,Input)
  26. if FiredBy.Name ~= owner.Name then end
  27. if Input.MouseEvent then
  28. Mouse.Target = Input.Target
  29. Mouse.Hit = Input.Hit
  30. else
  31. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  32. if Input.UserInputType == Enum.UserInputType.MouseButton1 then
  33. return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up")
  34. end
  35. for _,Action in pairs(ContextActionService.Actions) do
  36. for _,Key in pairs(Action.Keys) do
  37. if Key==Input.KeyCode then
  38. Action.Function(Action.Name,Input.UserInputState,Input)
  39. end
  40. end
  41. end
  42. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  43. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  44. end
  45. end)
  46. InternalData["Mouse"] = Mouse
  47. InternalData["ContextActionService"] = ContextActionService
  48. InternalData["UserInputService"] = UserInputService
  49. Event.Parent = NLS([[
  50. local Player = owner
  51. local Event = script:WaitForChild("UserInput")
  52. local UserInputService = game:GetService("UserInputService")
  53. local Mouse = Player:GetMouse()
  54. local Input = function(Input,gameProcessedEvent)
  55. if gameProcessedEvent then return end
  56. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  57. end
  58. UserInputService.InputBegan:Connect(Input)
  59. UserInputService.InputEnded:Connect(Input)
  60. local Hit,Target
  61. while wait(1/30) do
  62. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  63. Hit,Target = Mouse.Hit,Mouse.Target
  64. Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  65. end
  66. end
  67. ]],owner.Character)
  68. end
  69. RealGame = game;game = setmetatable({},{
  70. __index = function (self,Index)
  71. local Sandbox = function (Thing)
  72. if Thing:IsA("Player") then
  73. local RealPlayer = Thing
  74. return setmetatable({},{
  75. __index = function (self,Index)
  76. local Type = type(RealPlayer[Index])
  77. if Type == "function" then
  78. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  79. return function (self)
  80. return InternalData["Mouse"]
  81. end
  82. end
  83. return function (self,...)
  84. return RealPlayer[Index](RealPlayer,...)
  85. end
  86. else
  87. return RealPlayer[Index]
  88. end
  89. end;
  90. __tostring = function(self)
  91. return RealPlayer.Name
  92. end
  93. })
  94. end
  95. end
  96. if RealGame[Index] then
  97. local Type = type(RealGame[Index])
  98. if Type == "function" then
  99. if Index:lower() == "getservice" or Index:lower() == "service" then
  100. return function (self,Service)
  101. if Service:lower() == "players" then
  102. return setmetatable({},{
  103. __index = function (self2,Index2)
  104. local RealService = RealGame:GetService(Service)
  105. local Type2 = type(Index2)
  106. if Type2 == "function" then
  107. return function (self,...)
  108. return RealService[Index2](RealService,...)
  109. end
  110. else
  111. if Index2:lower() == "localplayer" then
  112. return Sandbox(owner)
  113. end
  114. return RealService[Index2]
  115. end
  116. end;
  117. __tostring = function(self)
  118. return RealGame:GetService(Service).Name
  119. end
  120. })
  121. elseif Service:lower() == "contextactionservice" then
  122. return InternalData["ContextActionService"]
  123. elseif Service:lower() == "contextactionservice" then
  124. return InternalData["UserInputService"]
  125. elseif Service:lower() == "runservice" then
  126. return setmetatable({},{
  127. __index = function(self2,Index2)
  128. local RealService = RealGame:GetService(Service)
  129. local Type2 = type(Index2)
  130. if Type2 == "function" then
  131. return function (self,...)
  132. return RealService[Index2](RealService,...)
  133. end
  134. else
  135. if Index2:lower() == "bindtorenderstep" then
  136. return function (self,Name,Priority,Function)
  137. return RealGame:GetService("RunService").Stepped:Connect(Function)
  138. end
  139. end
  140. if Index2:lower() == "renderstepped" then
  141. return RealService["Stepped"]
  142. end
  143. return RealService[Index2]
  144. end
  145. end
  146. })
  147. else
  148. return RealGame:GetService(Service)
  149. end
  150. end
  151. end
  152. return function (self,...)
  153. return RealGame[Index](RealGame,...)
  154. end
  155. else
  156. if game:GetService(Index) then
  157. return game:GetService(Index)
  158. end
  159. return RealGame[Index]
  160. end
  161. else
  162. return nil
  163. end
  164. end
  165. });Game = game;owner = game:GetService("Players").LocalPlayer
  166. print("Complete! Running...")
  167.  
  168. Player = game:GetService("Players").LocalPlayer
  169. Character = Player.Character
  170. PlayerGui = Player.PlayerGui
  171. Backpack = Player.Backpack
  172. Torso = Character.Torso
  173. Head = Character.Head
  174. Humanoid = Character.Humanoid
  175. LeftArm = Character["Left Arm"]
  176. LeftLeg = Character["Left Leg"]
  177. RightArm = Character["Right Arm"]
  178. RightLeg = Character["Right Leg"]
  179. LS = Torso["Left Shoulder"]
  180. LH = Torso["Left Hip"]
  181. RS = Torso["Right Shoulder"]
  182. RH = Torso["Right Hip"]
  183. Neck = Torso.Neck
  184. it=Instance.new
  185. vt=Vector3.new
  186. cf=CFrame.new
  187. euler=CFrame.fromEulerAnglesXYZ
  188. angles=CFrame.Angles
  189. RootPart=Character.HumanoidRootPart
  190. RootJoint=RootPart.RootJoint
  191. RootCF=euler(-1.57,0,3.14)
  192. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  193. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  194. RW,LW=Instance.new("Weld"),Instance.new("Weld")
  195. RH,LH=Instance.new("Weld"),Instance.new("Weld")
  196. cam=workspace.CurrentCamera
  197. local attack=false
  198. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  199. local fp = it("Part")
  200. fp.formFactor = formfactor
  201. fp.Parent = parent
  202. fp.Reflectance = reflectance
  203. fp.Transparency = transparency
  204. fp.CanCollide = false
  205. fp.Locked=true
  206. fp.BrickColor = brickcolor
  207. fp.Name = name
  208. fp.Size = size
  209. fp.Position = Torso.Position
  210. fp.Material="SmoothPlastic"
  211. fp:BreakJoints()
  212. return fp
  213. end
  214.  
  215. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  216. local mesh = it(Mesh)
  217. mesh.Parent = part
  218. if Mesh=="SpecialMesh" then
  219. mesh.MeshType = meshtype
  220. mesh.MeshId = meshid
  221. end
  222. mesh.Offset=offset
  223. mesh.Scale=scale
  224. return mesh
  225. end
  226.  
  227. function weld(parent,part1,part0,c0,c1)
  228. local weld = it("Weld")
  229. weld.Parent = parent
  230. weld.Part0 = part0
  231. weld.Part1 = part1
  232. weld.C0 = c0
  233. weld.C1 = c1
  234. return weld
  235. end
  236.  
  237. if Character:findFirstChild("Shades",true) ~= nil then
  238. Character:findFirstChild("Shades",true).Parent = nil
  239. end
  240.  
  241. local scale=1.5
  242. local ShadeCenter=it("Part")
  243. ShadeCenter.CanCollide=false
  244. ShadeCenter.CFrame=Torso.CFrame
  245. ShadeCenter.Transparency=1
  246. ShadeCenter.Parent=Character
  247. ShadeCenter.Name="Shades"
  248. ShadeCenter.formFactor=3
  249. ShadeCenter.Size=vt()
  250. ShadeCenter.TopSurface=0
  251. ShadeCenter.BottomSurface=0
  252. local shadeweld=weld(ShadeCenter,ShadeCenter,Head,cf(0,0.4,-0.65),cf(0,0,0))
  253. --[[scale=3
  254. shadeweld.Part0=Torso
  255. shadeweld.C0=cf(1.2,0,-0.7)*euler(0,-1,0.5)]]
  256. local Shade1=it("Part")
  257. Shade1.CanCollide=false
  258. Shade1.CFrame=Torso.CFrame
  259. Shade1.Reflectance=0.4
  260. Shade1.Transparency=0.05
  261. Shade1.BrickColor=BrickColor.new("Really black")
  262. Shade1.Parent=ShadeCenter
  263. Shade1.formFactor=3
  264. Shade1.Size=vt()
  265. Shade1.TopSurface=0
  266. Shade1.BottomSurface=0
  267. Shade1Mesh=it("SpecialMesh",Shade1)
  268. Shade1Mesh.MeshType="Wedge"
  269. Shade1Mesh.Scale=Vector3.new(0.075*scale,2*scale,2.8*scale)
  270. local w1=weld(Shade1,Shade1,ShadeCenter,cf(-1*0.3*scale,0,0),angles(math.rad(-45),math.rad(90*-1),0))
  271. coroutine.resume(coroutine.create(function(Mesh,Weld)
  272. while true do
  273. wait()
  274. Mesh.Scale=Vector3.new(0.075*scale,2*scale,2.8*scale)
  275. Weld.C0=cf(-1*0.3*scale,0,0)
  276. Weld.C1=angles(math.rad(-45),math.rad(90*-1),0)
  277. end
  278. end),Shade1Mesh,w1)
  279. local Shade2=it("Part")
  280. Shade2.CanCollide=false
  281. Shade2.CFrame=Torso.CFrame
  282. Shade2.Reflectance=0.4
  283. Shade2.Transparency=0.05
  284. Shade2.BrickColor=BrickColor.new("Really black")
  285. Shade2.Parent=ShadeCenter
  286. Shade2.formFactor=3
  287. Shade2.Size=vt()
  288. Shade2.TopSurface=0
  289. Shade2.BottomSurface=0
  290. Shade2Mesh=it("SpecialMesh",Shade2)
  291. Shade2Mesh.MeshType="Wedge"
  292. Shade2Mesh.Scale=Vector3.new(0.075*scale,2*scale,2.8*scale)
  293. local w2=weld(Shade2,Shade2,ShadeCenter,cf(1*0.3*scale,0,0),angles(math.rad(-45),math.rad(90*1),0))
  294. coroutine.resume(coroutine.create(function(Mesh,Weld)
  295. while true do
  296. wait()
  297. Mesh.Scale=Vector3.new(0.075*scale,2*scale,2.8*scale)
  298. Weld.C0=cf(1*0.3*scale,0,0)
  299. Weld.C1=angles(math.rad(-45),math.rad(90*1),0)
  300. end
  301. end),Shade2Mesh,w2)
  302.  
  303. if Backpack:findFirstChild("DRILL")~=nil then
  304. --Backpack:findFirstChild("DRILL").Parent=nil
  305. end
  306. if (script.Parent.className ~= "HopperBin") then
  307. Tool = Instance.new("HopperBin")
  308. Tool.Parent = Backpack
  309. Tool.Name = "CERTAIN KILL"
  310. script.Parent = Tool
  311. end
  312. Bin = script.Parent
  313.  
  314. game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=171070086")
  315. function GIGADRILLBREAKER()
  316. cam.CameraType="Scriptable"
  317. local partpos=part(3,Character,0,1,BrickColor.new("Black"),"PartPos",vt(0.5,0.5,0.5))
  318. partpos.Anchored=true
  319. partpos.CFrame=Torso.CFrame
  320. game:GetService("Debris"):AddItem(partpos,30)
  321. local sound=Instance.new("Sound")
  322. sound.Parent=partpos
  323. sound.Volume=1
  324. sound.SoundId="http://www.roblox.com/asset/?id=171070086"
  325. --171070086
  326. local sound2=Instance.new("Sound")
  327. sound2.Parent=Torso
  328. sound2.Volume=1
  329. sound2.SoundId="http://www.roblox.com/asset/?id=171070086"
  330. local sound3=Instance.new("Sound")
  331. sound3.Parent=workspace.CurrentCamera
  332. sound3.Volume=1
  333. sound3.SoundId="http://www.roblox.com/asset/?id=171070086"
  334. sound:Play()
  335. sound2:Play()
  336. sound3:Play()
  337. bodypos=Instance.new("BodyPosition")
  338. bodypos.P=4000
  339. bodypos.maxForce=Vector3.new(5000000,50000000,5000000)*5000
  340. bodypos.position=Torso.Position+Vector3.new(0,0,0)
  341. bodypos.Parent=Torso
  342. local bodygy=Instance.new("BodyGyro") --gg nubs
  343. bodygy.P=15000
  344. bodygy.D=100
  345. bodygy.maxTorque=Vector3.new(500000000,500000000,500000000)
  346. bodygy.cframe=RootPart.CFrame*euler(0,0,0)
  347. bodygy.Parent=RootPart
  348. RSH=Torso["Right Shoulder"]
  349. LSH=Torso["Left Shoulder"]
  350. RHP=Torso["Right Hip"]
  351. LHP=Torso["Left Hip"]
  352. --
  353. RSH.Parent=nil
  354. LSH.Parent=nil
  355. RHP.Parent=nil
  356. LHP.Parent=nil
  357. --
  358. RW.Part0=Torso
  359. RW.C0=cf(1.5,0.5,0)
  360. RW.C1=cf(0,0.5,0)
  361. RW.Part1=RightArm
  362. RW.Parent=Torso
  363. --
  364. LW.Part0=Torso
  365. LW.C0=cf(-1.5,0.5,0)
  366. LW.C1=cf(0,0.5,0)
  367. LW.Part1=LeftArm
  368. LW.Parent=Torso
  369. --_G.L = LW
  370. --
  371. RH.Part0=Torso
  372. RH.C0=cf(0.5,-1,0)
  373. RH.C1=cf(0,1,0)
  374. RH.Part1=RightLeg
  375. RH.Parent=Torso
  376. --
  377. LH.Part0=Torso
  378. LH.C0=cf(-0.5,-1,0)
  379. LH.C1=cf(0,1,0)
  380. LH.Part1=LeftLeg
  381. LH.Parent=Torso
  382. --_G.L = LW
  383. --
  384. wait(.2)
  385. shadeweld.Part0=RootPart
  386. shadeweld.C0=cf(0,1.9,-0.65)*euler(0,0,0)
  387. numb=2
  388. for i=0,1,0.1 do
  389. wait()
  390. --cam.CoordinateFrame=Torso.CFrame
  391. cam.CoordinateFrame=ShadeCenter.CFrame*euler(0,3.14,0)*cf(0,0,5)
  392. scale=1.5+1*i
  393. --shadeweld.C0=cf(0,0.4+2*i,-0.65)*euler(0,0,-0.1*i)
  394. shadeweld.C0=cf(0,1.9+8*i*numb,-0.65)*euler(0,0,-0.2*i)
  395. Torso.Neck.C0=necko
  396. RootJoint.C0=RootCF
  397. RW.C0=cf(1.5,0.5,0)
  398. LW.C0=cf(-1.5,0.5,0)
  399. RH.C0=cf(0.5,-1,0)
  400. LH.C0=cf(-0.5,-1,0)
  401. numb=numb-0.1
  402. end
  403. shadeweld.Part0=RightArm
  404. shadeweld.C0=cf(0,6,0)*euler(3.14,0,-0.2)
  405. for i=0,1,0.1 do
  406. wait()
  407. cam.CoordinateFrame=ShadeCenter.CFrame*euler(0,0,0)*cf(0,0,5)
  408. scale=2.5+0.5*i
  409. --shadeweld.C0=cf(0,0.4+2*i,-0.65)*euler(0,0,-0.1*i)
  410. --shadeweld.C0=cf(0,1.9+2-2*i,-0.65)*euler(0,0,-0.2)
  411. shadeweld.C0=euler(-3.14*i,0,0)*cf(-1.5*i,8-7.5*i,0)*euler(3.14,0,-0.2)
  412. Torso.Neck.C0=necko*euler(0,0,-0.2*i)
  413. RootJoint.C0=RootCF*euler(0,0,0.2*i)
  414. RW.C0=cf(1.5,0.5,0)*euler(3*i,0,0.2*i)
  415. LW.C0=cf(-1.5,0.5,0)
  416. RH.C0=cf(0.5,-1,0)
  417. LH.C0=cf(-0.5,-1,0)
  418. end
  419. for i=0,1,0.1 do
  420. wait()
  421. cam.CoordinateFrame=RootPart.CFrame*euler(-0.1*i,3.14-0.1*i,0)*cf(0,0,9+2*i)
  422. shadeweld.C0=euler(-3.14,0,0)*cf(-1.5,0.5,0)*euler(3.14,0,-0.2)
  423. Torso.Neck.C0=necko*euler(0,0,-0.2+0.3*i)
  424. RootJoint.C0=RootCF*euler(0.1*i,0,0.2-0.3*i)
  425. RW.C0=cf(1.5,0.5,0)*euler(3-1.5*i,0,0.2+0.2*i)
  426. LW.C0=cf(-1.5,0.5,0)*euler(0,0,-0.3*i)
  427. RH.C0=cf(0.5,-1,0)*euler(0.2*i,0,0.2*i)
  428. LH.C0=cf(-0.5,-1,0)*euler(-0.1*i,0,-0.3*i)
  429. end
  430. n=2
  431. for i=0,1,0.1 do
  432. wait()
  433. cam.CoordinateFrame=RootPart.CFrame*euler(-0.1,3.04,0)*cf(0,0,7)
  434. Torso.Neck.C0=necko*euler(0,0,0.1+0.1*i*n)
  435. RootJoint.C0=RootCF*euler(0.1+0.1*i*n,0,-0.1-0.1*i*n)
  436. RW.C0=cf(1.5,0.5,0)*euler(1.5-0.2*i*n,0,0.4+0.2*i*n)
  437. LW.C0=cf(-1.5,0.5,0)*euler(0.2*i*n,0,-0.3-0.1*i*n)
  438. RH.C0=cf(0.5,-1,0)*euler(0.2+0.1*i*n,0,0.2)
  439. LH.C0=cf(-0.5,-1,0)*euler(-0.1-0.1*i*n,0,-0.3)
  440. n=n-0.1
  441. end
  442. for i=0,1,0.1 do
  443. wait()
  444. cam.CoordinateFrame=RootPart.CFrame*euler(0.2,3,0)*cf(0,0,5)
  445. Torso.Neck.C0=necko*euler(0,0,0.2+0.7*i)
  446. RootJoint.C0=RootCF*euler(0.2,0,-0.2-1*i)
  447. RW.C0=cf(1.5,0.5,0)*euler(1.3,0,0.6+2*i)
  448. LW.C0=cf(-1.5,0.5,0)*euler(0.2+1*i,0,-0.4-0.6*i)
  449. RH.C0=cf(0.5,-1,0)*euler(0.3-0.2*i,0,0.2-0.3*i)
  450. LH.C0=cf(-0.5,-1,0)*euler(-0.2,0,-0.3)
  451. end
  452. n=2
  453. for i=0,1,0.1 do
  454. wait()
  455. cam.CoordinateFrame=RootPart.CFrame*euler(0.2,3,0)*cf(0,0,5)
  456. Torso.Neck.C0=necko*euler(0,0,0.9-0.4*i*n)
  457. RootJoint.C0=RootCF*euler(0.2,0,-1.2+0.7*i*n)
  458. RW.C0=cf(1.5,0.5,0)*euler(1.3+0.4*i*n,0,2.6-0.4*i*n)
  459. LW.C0=cf(-1.5,0.5,0)*euler(1.2,0,-1-1*i*n)
  460. RH.C0=cf(0.5,-1,0)*euler(0.1,0,-0.1+0.2*i*n)
  461. LH.C0=cf(-0.5,-1,0)*euler(-0.2+0.1*i*n,0,-0.3+0.2*i*n)
  462. n=n-0.1
  463. end
  464. for i=0,1,0.1 do
  465. wait()
  466. cam.CoordinateFrame=RootPart.CFrame*euler(0.2,3,0)*cf(0,0,5)
  467. Torso.Neck.C0=necko*euler(0,0,0.5-0.1*i)
  468. RootJoint.C0=RootCF*euler(0.2-0.1*i,0.2*i,-0.5+0.1*i)
  469. RW.C0=cf(1.5,0.5,0)*euler(1.7+2.7*i,-1.57*i,2.2-2*i)
  470. LW.C0=cf(-1.5,0.5,0)*euler(1.2,0,-2+1*i)
  471. RH.C0=cf(0.5,-1,0)*euler(0.1,0,0.1)
  472. LH.C0=cf(-0.5,-1,0)*euler(-0.1,0,-0.1-0.2*i)
  473. end
  474. n=2
  475. for i=0,1,0.1 do
  476. wait()
  477. cam.CoordinateFrame=RootPart.CFrame*euler(0.2,3,0)*cf(0,0,5+1*i)
  478. Torso.Neck.C0=necko*euler(-0.1*i*n,0,0.4-0.2*i*n)
  479. RootJoint.C0=RootCF*euler(0.1+0.3*i*n,0.2+0.2*i*n,-0.4+0.2*i*n)
  480. RW.C0=cf(1.5,0.5,0)*euler(4.4-1*i*n,-1.57,0.2)
  481. LW.C0=cf(-1.5,0.5,0)*euler(1.2,0,-1)
  482. RH.C0=cf(0.5,-1,0)*euler(0.1,0,0.1)
  483. LH.C0=cf(-0.5,-1,0)*euler(-0.1+0.5*i*n,0,-0.3)
  484. n=n-0.1
  485. end
  486. for i=0,1,0.2 do
  487. wait()
  488. cam.CoordinateFrame=RootPart.CFrame*euler(0.2-0.1*i,3-0.1*i,0)*cf(0,0,6+10*i)
  489. Torso.Neck.C0=necko*euler(-0.1,0,0.2)
  490. RootJoint.C0=RootCF*euler(0.4+0.2*i,0.4,-0.2)
  491. RW.C0=cf(1.5,0.5,0)*euler(3.4-2.4*i,-1.57,0.2)
  492. LW.C0=cf(-1.5,0.5,0)*euler(1.2,0,-1-0.2*i)
  493. RH.C0=cf(0.5,-1,0)*euler(0.1-0.3*i,0,0.1+0.2*i)
  494. LH.C0=cf(-0.5,-1,0)*euler(0.4+0.2*i,0,-0.3)
  495. end
  496. print("DO THROW")
  497. local ref=part(3,Character,0,1,BrickColor.new("White"),"Reference",vt(0.5,0.5,0.5))
  498. ref.Anchored=true
  499. ref.CFrame=RootPart.CFrame*cf(0,0,-200)
  500. game:GetService("Debris"):AddItem(ref,7)
  501. canhit=false
  502. local target=nil
  503. bb=Instance.new("BodyPosition")
  504. local gudbai=Instance.new("BodyGyro")
  505. con1=ShadeCenter.Touched:connect(function(hit)
  506. if hit.Parent:findFirstChild("Humanoid")~=nil and hit.Parent:findFirstChild("Torso")~=nil and hit.Parent~=Character then
  507. if canhit==false then
  508. canhit=true
  509. tors=hit.Parent.Torso
  510. print(hit.Parent)
  511. target=hit.Parent
  512. bb.Parent=tors
  513. bb.maxForce=Vector3.new(50000000000000000,50000000000000000,50000000000000000)
  514. bb.position=ref.Position
  515. end
  516. elseif hit.Name~="Base" and canhit==false and hit.Name~="Reference" then
  517. --hit.Anchored=false
  518. --hit:BreakJoints()
  519. --hit.Velocity=Vector3.new(math.random(-100,100),math.random(-100,100),math.random(-100,100))
  520. end
  521. end)
  522. shadeweld.Part0=nil
  523. --[[local bodypos2=Instance.new("BodyPosition")
  524. bodypos2.P=4000
  525. bodypos2.maxForce=Vector3.new(5000000,50000000,5000000)*5000
  526. bodypos2.position=ref.Position
  527. bodypos2.Parent=ShadeCenter]]
  528. prop=Instance.new("RocketPropulsion")
  529. prop.MaxSpeed=5000
  530. prop.CartoonFactor=0
  531. prop.MaxThrust=10000
  532. prop.Parent=ShadeCenter
  533. prop.Target=ref
  534. prop.ThrustD=1.5
  535. prop.TurnD=0
  536. prop.TurnP=0
  537. prop:Fire()
  538. local gg=Instance.new("BodyGyro") --gg nubs
  539. gg.P=15000
  540. gg.D=100
  541. gg.maxTorque=Vector3.new(500000000,500000000,500000000)
  542. gg.cframe=RootPart.CFrame*euler(0,1.57,0)
  543. gg.Parent=ShadeCenter
  544. coroutine.resume(coroutine.create(function(Part,Gyro)
  545. while Gyro.Parent~=nil do
  546. wait()
  547. Gyro.cframe=Gyro.cframe*euler(0,0,-1)
  548. end
  549. end),ShadeCenter,gg)
  550. for i=0,1,0.2 do
  551. wait()
  552. cam.CoordinateFrame=RootPart.CFrame*euler(0.1-0.1*i,2.9+0.1*i,0)*cf(0,0,16+5*i)
  553. Torso.Neck.C0=necko*euler(-0.1,0,0.2)
  554. RootJoint.C0=RootCF*cf(0,0,-0.5*i)*euler(0.6+0.8*i,0.4+0.4*i,-0.2-0.2*i)
  555. RootJoint.C1=RootCF*euler(0.7*i,0,-0.2*i)
  556. RW.C0=cf(1.5,0.5,0)*euler(1,-1.57,0.2)
  557. RW.C1=cf(0,0.5,0)*euler(0.5*i,0,0)
  558. LW.C0=cf(-1.5,0.5,0)*euler(1.2,0,-1.2-0.2*i)
  559. RH.C0=cf(0.5,-1,0)*euler(0.1-0.3,0,0.1+0.2)
  560. LH.C0=cf(-0.5,-1,0)*euler(0.6+0.2*i,0,-0.3-0.1*i)
  561. end
  562. coroutine.resume(coroutine.create(function(Camera)
  563. print(canhit)
  564. print(attack)
  565. while canhit==false and attack==true do
  566. wait()
  567. Camera.CoordinateFrame=ShadeCenter.CFrame*cf(0,0,7)
  568. --Camera.CoordinateFrame=cf(ShadeCenter.Position)*cf(0,0,5)
  569. end
  570. for i=0,1,0.1 do
  571. wait()
  572. if tors~=nil then
  573. Camera.CoordinateFrame=tors.CFrame*cf(0,0,7)
  574. end
  575. end
  576. end),cam)
  577. wait(1.5)
  578. if target~=nil then
  579. tors=target.Torso
  580. partpos.CFrame=tors.CFrame
  581. ShadesClone1=ShadeCenter:Clone()
  582. ShadesClone1.Parent=workspace
  583. local weld1=weld(ShadesClone1,ShadesClone1,tors,cf(0,0,0),cf(0,0,0))
  584. ShadesClone2=ShadeCenter:Clone()
  585. ShadesClone2.Parent=workspace
  586. local weld2=weld(ShadesClone2,ShadesClone2,tors,cf(0,0,0),cf(0,0,0))
  587. --[[bb2=Instance.new("BodyPosition")
  588. bb2.Parent=ShadesClone
  589. bb2.maxForce=Vector3.new(50000000000000000,50000000000000000,50000000000000000)
  590. bb2.position=tors.Position+vt(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  591. coroutine.resume(coroutine.create(function(Part,Gyro)
  592. end),ShadesClone,bb2)
  593. local gg2=Instance.new("BodyGyro")
  594. gg2.P=15000
  595. gg2.D=100
  596. gg2.maxTorque=Vector3.new(500000000,500000000,500000000)
  597. gg2.cframe=tors.CFrame*euler(0,1.57,0)
  598. gg2.Parent=ShadesClone
  599. coroutine.resume(coroutine.create(function(Part,Gyro)
  600. while Gyro.Parent~=nil do
  601. wait()
  602. print(Gyro.cframe)
  603. Gyro.cframe=Gyro.cframe*euler(0,0,-0.5)
  604. end
  605. end),ShadesClone,gg2)]]
  606. Shade1.Transparency=1
  607. Shade2.Transparency=1
  608. shadeweld.Part0=Head
  609. shadeweld.C0=cf(0,0.4,-0.65)
  610. prop.Parent=nil
  611. gg.Parent=nil
  612. scale=1.5
  613. gudbai.P=15000
  614. gudbai.D=100
  615. gudbai.maxTorque=Vector3.new(500000000,500000000,500000000)
  616. gudbai.cframe=cf(0,0,0)
  617. gudbai.Parent=tors
  618. camCF=tors.CFrame
  619. for i=0,1,0.02 do
  620. wait()
  621. cam.CoordinateFrame=camCF*euler(-0.2*i,0,0)*cf(0,0,7)
  622. weld1.C0=euler(0,0,0)*cf(20*i,0,0)
  623. weld1.C1=euler(0,0,7*i)
  624. weld2.C0=euler(0,0,0)*cf(-20*i,0,0)
  625. weld2.C1=euler(0,0,7*i)
  626. gudbai.cframe=cf(0,0,0)
  627. Torso.Neck.C0=necko*euler(-0.1+0.1*i,0,0.2-0.2*i)
  628. RootJoint.C0=RootCF*cf(0,0,-0.5+0.5*i)*euler(1.4-1.4*i,0.8-0.8*i,-0.4+0.4*i)
  629. RootJoint.C1=RootCF*euler(0.7-0.7*i,0,-0.2+0.2*i)
  630. RW.C0=cf(1.5,0.5,0)*euler(1-1*i,-1.57+1.57*i,0.2-0.2*i)
  631. RW.C1=cf(0,0.5,0)*euler(0.5-0.5*i,0,0)
  632. LW.C0=cf(-1.5,0.5,0)*euler(1.2-1.2*i,0,-1.4+1.4*i)
  633. RH.C0=cf(0.5,-1,0)*euler(-0.2+0.2*i,0,0.4-0.4*i)
  634. LH.C0=cf(-0.5,-1,0)*euler(0.8-0.8*i,0,-0.4+0.4*i)
  635. end
  636. for i=0,1,0.02 do
  637. wait()
  638. cam.CoordinateFrame=camCF*euler(-0.2+0.2*i,0,0)*cf(0,0,7+2*i)
  639. weld1.C0=euler(0,0,0)*cf(20-15*i,0,0)
  640. weld1.C1=euler(0,0,7+5*i)
  641. weld2.C0=euler(0,0,0)*cf(-20+15*i,0,0)
  642. weld2.C1=euler(0,0,7+5*i)
  643. gudbai.cframe=cf(0,0,0)
  644. end
  645. for i=0,6.5,0.1 do
  646. wait()
  647. cam.CoordinateFrame=camCF*euler(0,1*i,0)*cf(0,0,9)
  648. local prt=part(3,workspace,0,0,BrickColor.new("White"),"Effect",vt(0.5,0.5,0.5))
  649. prt.Anchored=true
  650. prt.CFrame=ShadesClone1.CFrame
  651. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(.25,1,.25))
  652. game:GetService("Debris"):AddItem(prt,5)
  653. coroutine.resume(coroutine.create(function(Part,Mesh)
  654. for i=0,1,0.05 do
  655. wait()
  656. Part.CFrame=Part.CFrame
  657. Part.Transparency=i
  658. Mesh.Scale=Mesh.Scale+vt(0,0.8,0)
  659. end
  660. Part.Parent=nil
  661. end),prt,msh)
  662. weld1.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(math.random(-300,300)/100,math.random(-300,300)/100,math.random(-300,300)/100)
  663. weld2.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(math.random(-300,300)/100,math.random(-300,300)/100,math.random(-300,300)/100)
  664. gudbai.cframe=cf(0,0,0)
  665. end
  666. wait()
  667. weld1.C0=cf(1.2,0,-0.7)*euler(0,-1,0.5)
  668. --weld1.C0=cf(2,1,0)*euler(0,0,1.3)
  669. --weld1.C0=cf(-2,0,0)*euler(0,1.57,0)
  670. weld2.C0=cf(-1.2,0,-0.7)*euler(0,-1,-0.5)
  671. gudbai.P=15000
  672. gudbai.D=100
  673. gudbai.maxTorque=Vector3.new(500000000,500000000,500000000)
  674. gudbai.cframe=cf(0,0,0)
  675. gudbai.Parent=tors
  676. wait(1)
  677. partpos.CFrame=tors.CFrame
  678. --cam.CameraType="Custom"
  679. for i=0,1,0.05 do
  680. wait()
  681. cam.CoordinateFrame=RootPart.CFrame*euler(-0.1*i,3.14,0)*cf(0,0,9+4*i)
  682. Torso.Neck.C0=necko*euler(0.2*i,0,0)
  683. RootJoint.C0=RootCF*cf(0,0,-0.3*i)*euler(0.3*i,0,0)
  684. RootJoint.C1=RootCF*euler(0,0,0)
  685. RW.C0=cf(1.5,0.5,0)*euler(2.8*i,0,0.2*i)
  686. LW.C0=cf(-1.5,0.5,0)*euler(2.8*i,0,-0.2*i)
  687. RH.C0=cf(0.5,-1+0.2*i,-0.1*i)*euler(0.1*i,0,0.2*i)
  688. LH.C0=cf(-0.5,-1+0.2*i,-0.1*i)*euler(0.1*i,0,-0.2*i)
  689. end
  690. n=2
  691. for i=0,1,0.05 do
  692. wait()
  693. cam.CoordinateFrame=RootPart.CFrame*euler(-0.1+0.2*i,3.14-0.24*i,0)*cf(0,0,13)
  694. Torso.Neck.C0=necko*euler(0.2,0,0)
  695. RootJoint.C0=RootCF*cf(0,0,-0.3)*euler(0.3+0.1*i*n,0,0)
  696. RootJoint.C1=RootCF*euler(0,0,0)
  697. RW.C0=cf(1.5,0.5,0)*euler(2.8+0.1*i*n,0,0.2-0.3*i*n)
  698. LW.C0=cf(-1.5,0.5,0)*euler(2.8+0.1*i*n,0,-0.2+0.3*i*n)
  699. RH.C0=cf(0.5,-1+0.2,-0.1)*euler(0.1+0.1*i*n,0,0.2)
  700. LH.C0=cf(-0.5,-1+0.2,-0.1)*euler(0.1+0.1*i*n,0,-0.2)
  701. n=n-0.1
  702. end
  703. for i=0,1,0.05 do
  704. wait()
  705. cam.CoordinateFrame=RootPart.CFrame*euler(0.1,2.9+0.3*i,0)*cf(0,0,13-2*i)
  706. Torso.Neck.C0=necko*euler(0.2-0.3*i,0,0)
  707. RootJoint.C0=RootCF*cf(0,0,-0.3+0.3*i)*euler(0.4-0.5*i,0,0)
  708. RootJoint.C1=RootCF*euler(0,0,0)
  709. RW.C0=cf(1.5,0.5,0)*euler(2.9-3*i,0,-0.1+0.2*i)
  710. LW.C0=cf(-1.5,0.5,0)*euler(2.9,0,0.1-0.3*i)
  711. RH.C0=cf(0.5,-0.8-0.2*i,-0.1+0.1*i)*euler(0.2-0.3*i,0,0.2)
  712. LH.C0=cf(-0.5,-0.8-0.2*i,-0.1+0.1*i)*euler(0.2-0.3*i,0,-0.2)
  713. end
  714. n=2
  715. for i=0,1,0.05 do
  716. wait()
  717. cam.CoordinateFrame=RootPart.CFrame*euler(0.1,3.2+0.1*i,0)*cf(0,0,13)
  718. Torso.Neck.C0=necko*euler(-0.1,0,0)
  719. RootJoint.C0=RootCF*cf(0,0,0)*euler(-0.1,0,0)
  720. RootJoint.C1=RootCF*euler(0,0,0)
  721. RW.C0=cf(1.5,0.5,0)*euler(-0.1,0,0.1)
  722. LW.C0=cf(-1.5,0.5-0.2*i*n,0)*euler(2.9+0.1*i*n,0,-0.2-0.1*i*n)
  723. RH.C0=cf(0.5,-1,0)*euler(-0.1,0,0.2)
  724. LH.C0=cf(-0.5,-1,0)*euler(-0.1,0,-0.2)
  725. n=n-0.1
  726. end
  727. for i=0,1,0.1 do
  728. wait()
  729. cam.CoordinateFrame=RootPart.CFrame*euler(0.1,3.3,0)*cf(0,0,13)
  730. Torso.Neck.C0=necko*euler(-0.1,0,-0.3*i)
  731. RootJoint.C0=RootCF*cf(0,0,0)*euler(-0.1,0,0.3*i)
  732. RootJoint.C1=RootCF*euler(0,0,0)
  733. RW.C0=cf(1.5,0.5,0)*euler(-0.1+3.2*i,0,0.1)
  734. LW.C0=cf(-1.5,0.3+0.2,0)*euler(3-3.2*i,0,-0.3+0.2*i)
  735. RH.C0=cf(0.5,-1,0)*euler(-0.1,0,0.2)
  736. LH.C0=cf(-0.5,-1,0)*euler(-0.1,0,-0.2)
  737. end
  738. -- u gon get fuck'd
  739. drill=Instance.new("Model")
  740. drill.Parent=Character
  741. drill.Name="Drill"
  742. local drillp=part(3,drill,0,0,BrickColor.new("Medium stone grey"),"Drill Part",vt(0.5,0.5,0.5))
  743. drillmsh=mesh("SpecialMesh",drillp,"FileMesh","http://www.roblox.com/asset/?id=1778999",vt(0,0,0),vt(.5,1,.5))
  744. local drillweld=weld(drillp,drillp,RightArm,cf(0,-1,0)*euler(3.14,0,0),cf(0,0,0))
  745. for i=0,1,0.05 do
  746. wait()
  747. cam.CoordinateFrame=RootPart.CFrame*euler(0.1+0.2*i,3.3-0.2*i,0)*cf(0,0,13-3*i)
  748. Torso.Neck.C0=necko*euler(-0.1-0.1*i,0,-0.3)
  749. RootJoint.C0=RootCF*cf(0,0,0)*euler(-0.1,0,0.3)
  750. RootJoint.C1=RootCF*euler(0,0,0)
  751. RW.C0=cf(1.5,0.5,0)*euler(3.1+0.1*i,0,0.1-0.1*i)
  752. LW.C0=cf(-1.5,0.3+0.2,0)*euler(-0.2,0,-0.1)
  753. RH.C0=cf(0.5,-1,0)*euler(-0.1,0,0.2)
  754. LH.C0=cf(-0.5,-1,0)*euler(-0.1,0,-0.2)
  755. end
  756. wait(0.5)
  757. for i=0,1,0.1 do
  758. wait()
  759. cam.CoordinateFrame=RootPart.CFrame*euler(0.3,3.1,0)*cf(0,0,10-1*i)
  760. drillmsh.Scale=vt(.5,1+8*i,.5)
  761. drillweld.C0=cf(0,-1-7*i,0)*euler(3.14,0,0)
  762. end
  763. wait(0.4)
  764. for i=0,1,0.2 do
  765. wait()
  766. cam.CoordinateFrame=RootPart.CFrame*euler(0.3-0.4*i,3.1,0)*cf(0,0,9+7*i)
  767. drillmsh.Scale=vt(.5+6.5*i,9,.5+6.5*i)
  768. drillweld.C0=cf(0,-8,0)*euler(3.14,0,0)
  769. end
  770. local drillpcir=part(3,drill,0,0,BrickColor.new("Medium stone grey"),"Drill Circle",vt(0.5,0.5,0.5))
  771. drillmshc=mesh("CylinderMesh",drillpcir,"","",vt(0,0,0),vt(18,1,18))
  772. local drillweldc=weld(drillpcir,drillpcir,drillp,cf(0,-7,0)*euler(0,0,0),cf(0,0,0))
  773. coroutine.resume(coroutine.create(function(Part)
  774. numb1=-7
  775. numb2=0
  776. numb3=4.7
  777. for i=1,24 do
  778. local drillp2=part(3,drill,0,0,BrickColor.new("Black"),"Drill Part2",vt(0.5,0.5,0.5))
  779. drillmsh2=mesh("BlockMesh",drillp2,"","",vt(0,0,0),vt(1,1,1))
  780. local drillweld2=weld(drillp2,drillp2,Part,euler(0,numb2,0)*cf(numb3,numb1,0),cf(0,0,0))
  781. local drillp3=part(3,drill,0,0,BrickColor.new("Black"),"Drill Part3",vt(0.5,0.5,0.5))
  782. drillmsh3=mesh("BlockMesh",drillp3,"","",vt(0,0,0),vt(1,1,1))
  783. local drillweld3=weld(drillp3,drillp3,Part,euler(0,1.57,0)*euler(0,numb2,0)*cf(numb3,numb1,0),cf(0,0,0))
  784. local drillp4=part(3,drill,0,0,BrickColor.new("Black"),"Drill Part4",vt(0.5,0.5,0.5))
  785. drillmsh4=mesh("BlockMesh",drillp4,"","",vt(0,0,0),vt(1,1,1))
  786. local drillweld4=weld(drillp4,drillp4,Part,euler(0,3.14,0)*euler(0,numb2,0)*cf(numb3,numb1,0),cf(0,0,0))
  787. local drillp5=part(3,drill,0,0,BrickColor.new("Black"),"Drill Part5",vt(0.5,0.5,0.5))
  788. drillmsh5=mesh("BlockMesh",drillp5,"","",vt(0,0,0),vt(1,1,1))
  789. local drillweld5=weld(drillp5,drillp5,Part,euler(0,4.71,0)*euler(0,numb2,0)*cf(numb3,numb1,0),cf(0,0,0))
  790. numb1=numb1+0.6
  791. numb2=numb2+(0.785)/4
  792. numb3=numb3-0.2
  793. wait()
  794. end
  795. end),drillp)
  796. wait(1)
  797. for i=0,1,0.1 do
  798. wait()
  799. cam.CoordinateFrame=RootPart.CFrame*euler(-0.1-0.4*i,3.1,0)*cf(0,0,16-7*i)
  800. Torso.Neck.C0=necko*euler(-0.2+0.2*i,0,-0.3+0.2*i)
  801. RootJoint.C0=RootCF*cf(0,0,0)*euler(-0.1+0.1*i,0,0.3-0.2*i)
  802. RootJoint.C1=RootCF*euler(0,0,0)
  803. RW.C0=cf(1.5-0.5*i,0.5,-0.5*i)*euler(3.2-1.5*i,0,0.2-1.2*i)
  804. LW.C0=cf(-1.5,0.5,0)*euler(-0.2-0.2*i,0,-0.1)
  805. RH.C0=cf(0.5,-1,0)*euler(-0.1+0.1*i,0,0.2)
  806. LH.C0=cf(-0.5,-1,0)*euler(-0.1+0.1*i,0,-0.2)
  807. end
  808. for i=0,1,0.02 do
  809. wait()
  810. cam.CoordinateFrame=RootPart.CFrame*euler(-0.5+0.6*i,3.1-3.7*i,0)*cf(-3*i,0,9+1*i)
  811. Torso.Neck.C0=necko*euler(0,0,-0.1+1.67*i)
  812. RootJoint.C0=RootCF*cf(0,0,0)*euler(0,0,0.1-1.67*i)
  813. RootJoint.C1=RootCF*euler(0,0,0)
  814. RW.C0=cf(1-1.5*i,0.5,-0.5-0.5*i)*euler(1.7-0.2*i,0,-1-0.57*i)
  815. LW.C0=cf(-1.5,0.5,0)*euler(-0.4,3.14*i,-0.1)
  816. RH.C0=cf(0.5,-1,0)*euler(0,0,0.2)
  817. LH.C0=cf(-0.5,-1,0)*euler(0,0,-0.2)
  818. end
  819. Torso.Neck.C0=necko*euler(0,0,1.57)
  820. RootJoint.C0=RootCF*cf(0,0,0)*euler(0,0,0.-1.57)
  821. RootJoint.C1=RootCF*euler(0,0,0)
  822. RW.C0=cf(1-1.5,0.5,-1)*euler(1.5,0,-1.57)
  823. LW.C0=cf(-1.5,0.5,0)*euler(-0.4,3.14,0.1)
  824. RH.C0=cf(0.5,-1,0)*euler(0,0,0.2)
  825. LH.C0=cf(-0.5,-1,0)*euler(0,0,-0.2)
  826. doing=true
  827. coroutine.resume(coroutine.create(function(Model,Weld)
  828. i=0
  829. num=0
  830. while Model.Parent~=nil and doing==true do
  831. wait()
  832. Weld.C0=cf(0,-8,0)*euler(3.14,i,0)
  833. i=i+0.5
  834. if i%1==0 then
  835. local prt=part(3,workspace,0,0,BrickColor.new("Cyan"),"Effect",vt(0.5,0.5,0.5))
  836. prt.Anchored=true
  837. prt.CFrame=RootPart.CFrame
  838. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(num,num,num))
  839. game:GetService("Debris"):AddItem(prt,5)
  840. coroutine.resume(coroutine.create(function(Part,Mesh)
  841. for i=0,1,0.05 do
  842. wait()
  843. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  844. Part.Transparency=i
  845. Mesh.Scale=Mesh.Scale+vt(num,num,num)
  846. end
  847. Part.Parent=nil
  848. end),prt,msh)
  849. end
  850. if num<=0.8 then
  851. num=num+0.05
  852. end
  853. end
  854. end),drill,drillweld)
  855. wait(2.5)
  856. bodypos.Parent=nil
  857. for i=1,5,0.05 do
  858. wait()
  859. cam.CoordinateFrame=RootPart.CFrame*euler(0.1,-0.6,0)*cf(-3,0,10)
  860. partpos.CFrame=tors.CFrame
  861. RootPart.CFrame=RootPart.CFrame*cf(0,0,-i)
  862. if i>=4.85 and i<=4.90 then
  863. print("ded")
  864. coroutine.resume(coroutine.create(function()
  865. for i=1,10 do
  866. local prt=part(3,workspace,0,0,BrickColor.new("Black"),"Effect",vt(0.5,0.5,0.5))
  867. prt.Anchored=true
  868. prt.CFrame=tors.CFrame
  869. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(2,2,2))
  870. game:GetService("Debris"):AddItem(prt,5)
  871. coroutine.resume(coroutine.create(function(Part,Mesh)
  872. for i=0,1,0.05 do
  873. wait()
  874. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  875. Part.Transparency=i
  876. Mesh.Scale=Mesh.Scale+vt(1,1,1)
  877. end
  878. Part.Parent=nil
  879. end),prt,msh)
  880. wait()
  881. end
  882. end))
  883. end
  884. end
  885. doing=false
  886. print("end")
  887. bodypos.P=4000
  888. bodypos.maxForce=Vector3.new(5000000,50000000,5000000)*5000
  889. bodypos.position=Torso.Position+Vector3.new(0,0,0)
  890. bodypos.Parent=Torso
  891. cam.CoordinateFrame=RootPart.CFrame*euler(-0.1,3.4,0)*cf(0,0,15)
  892. wait(2)
  893. for i=0,1,0.05 do
  894. wait()
  895. Torso.Neck.C0=necko*euler(0,0,1.57-1.77*i)
  896. RootJoint.C0=RootCF*cf(0,0,0)*euler(0,0,0.-1.57+1.77*i)
  897. RW.C0=cf(1-1.5+1*i,0.5,-1+0.5*i)*euler(1.5+0.4*i,0,-1.57+0.57*i)
  898. LW.C0=cf(-1.5,0.5,0)*euler(-0.4,3.14-3.14*i,0.1)
  899. RH.C0=cf(0.5,-1,0)*euler(0,0,0.2)
  900. LH.C0=cf(-0.5,-1,0)*euler(0,0,-0.2)
  901. end
  902. for _,v in pairs(drill:children()) do
  903. if v.Name~="Drill Part" then
  904. v.Parent=nil
  905. end
  906. end
  907. for i=0,1,0.2 do
  908. wait()
  909. drillmsh.Scale=vt(7-6.5*i,9,7-6.5*i)
  910. Torso.Neck.C0=necko*euler(0,0,-0.2+0.6*i)
  911. RootJoint.C0=RootCF*cf(0,0,0)*euler(0,0,0.2-0.6*i)
  912. RW.C0=cf(1-0.5+1*i,0.5,-0.5+0.5*i)*euler(1.9-1.4*i,0,-1+2*i)
  913. LW.C0=cf(-1.5,0.5,0)*euler(-0.4,0,0.1-0.2*i)
  914. RH.C0=cf(0.5,-1,0)*euler(0,0,0.2)
  915. LH.C0=cf(-0.5,-1,0)*euler(0,0,-0.2)
  916. end
  917. n=2
  918. for i=0,1,0.2 do
  919. wait()
  920. Torso.Neck.C0=necko*euler(0,0,0.4+0.1*i*n)
  921. RootJoint.C0=RootCF*cf(0,0,0)*euler(0,0,-0.4-0.1*i*n)
  922. RW.C0=cf(1.5,0.5,0)*euler(0.5-0.1*i*n,0,1+0.1*i*n)
  923. LW.C0=cf(-1.5,0.5,0)*euler(-0.4,0,-0.1)
  924. RH.C0=cf(0.5,-1,0)*euler(0,0,0.2)
  925. LH.C0=cf(-0.5,-1,0)*euler(0,0,-0.2)
  926. n=n-0.2
  927. end
  928. wait(0.2)
  929. for i=0,1,0.2 do
  930. wait()
  931. Torso.Neck.C0=necko*euler(0.1*i,0,0.5+0.1*i)
  932. RootJoint.C0=RootCF*cf(0,0,0)*euler(0,0,-0.5-0.2*i)
  933. RW.C0=cf(1.5-0.5*i,0.5,0.5*i)*euler(0.4,0,1-0.2*i)
  934. LW.C0=cf(-1.5,0.5,0)*euler(-0.4,0,-0.1-0.2*i)
  935. RH.C0=cf(0.5,-1,0)*euler(0,0,0.2)
  936. LH.C0=cf(-0.5,-1,0)*euler(0,0,-0.2)
  937. drillmsh.Scale=vt(.5,9-8*i,.5)
  938. drillweld.C0=cf(0,-8+7*i,0)*euler(3.14,0,0)
  939. end
  940. n=2
  941. for i=0,1,0.2 do
  942. wait()
  943. Torso.Neck.C0=necko*euler(0.1+0.1*i*n,0,0.6+0.1*i*n)
  944. RootJoint.C0=RootCF*cf(0,0,0)*euler(0,0,-0.7-0.1*i*n)
  945. RW.C0=cf(1.5-0.5,0.5,0.5)*euler(0.4-0.1*i*n,0,0.8+0.1*i*n)
  946. LW.C0=cf(-1.5,0.5,0)*euler(-0.4,0,-0.3-0.1*i*n)
  947. RH.C0=cf(0.5,-1,0)*euler(0,0,0.2)
  948. LH.C0=cf(-0.5,-1,0)*euler(0,0,-0.2)
  949. n=n-0.2
  950. end
  951. drill.Parent=nil
  952. for i=0,1,0.1 do
  953. wait()
  954. Torso.Neck.C0=necko*euler(0.2,0.2*i,0.7)
  955. RootJoint.C0=RootCF*cf(0,0,0)*euler(0,0,-0.9)
  956. RW.C0=cf(1.5-0.5+0.5*i,0.5,0.5-0.5*i)*euler(0.3,0,0.9-0.2*i)
  957. LW.C0=cf(-1.5,0.5,0)*euler(-0.4,0,-0.4+0.1*i)
  958. RH.C0=cf(0.5,-1,0)*euler(0,0,0.2)
  959. LH.C0=cf(-0.5,-1,0)*euler(0,0,-0.2)
  960. end
  961. --[[sound:Stop()
  962. sound2:Stop()
  963. sound3:Stop()
  964. DONTLOSEYOURWAAAAAAAY=Instance.new("Sound")
  965. DONTLOSEYOURWAAAAAAAY.Parent=tors
  966. DONTLOSEYOURWAAAAAAAY.Volume=1
  967. DONTLOSEYOURWAAAAAAAY.SoundId="http://www.roblox.com/asset/?id=138109980"
  968. DONTLOSEYOURWAAAAAAAY:Play()
  969. DONTLOSEYOURWAAAAAAAY=Instance.new("Sound")
  970. DONTLOSEYOURWAAAAAAAY.Parent=Torso
  971. DONTLOSEYOURWAAAAAAAY.Volume=1
  972. DONTLOSEYOURWAAAAAAAY.SoundId="http://www.roblox.com/asset/?id=138109980"
  973. DONTLOSEYOURWAAAAAAAY:Play()]]
  974. wait(2.2)
  975. --very ded
  976. POS=tors.Position
  977. boomCF=tors.CFrame
  978. e=Instance.new("Explosion")
  979. e.BlastRadius=30
  980. e.Position=POS
  981. e.BlastPressure=e.BlastPressure*2.5
  982. e.Parent=workspace
  983. local prt=part(3,workspace,0,0,BrickColor.new("Bright red"),"Effect",vt(0.5,0.5,0.5))
  984. prt.Anchored=true
  985. prt.CFrame=boomCF*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  986. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(10,10,10))
  987. game:GetService("Debris"):AddItem(prt,5)
  988. coroutine.resume(coroutine.create(function(Part,Mesh)
  989. for i=0,1,0.01 do
  990. wait()
  991. Part.CFrame=Part.CFrame
  992. Part.Transparency=i
  993. Mesh.Scale=Mesh.Scale+vt(1.5,1.5,1.5)
  994. end
  995. Part.Parent=nil
  996. end),prt,msh)
  997. for i=1,10 do
  998. wait()
  999. local prt=part(3,workspace,0,0,BrickColor.new("Bright red"),"Effect",vt(0.5,0.5,0.5))
  1000. prt.Anchored=true
  1001. prt.CFrame=boomCF*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1002. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(10,10,10))
  1003. game:GetService("Debris"):AddItem(prt,5)
  1004. coroutine.resume(coroutine.create(function(Part,Mesh)
  1005. for i=0,1,0.02 do
  1006. wait()
  1007. Part.CFrame=Part.CFrame
  1008. Part.Transparency=i
  1009. Mesh.Scale=Mesh.Scale+vt(1.5,1.5,1.5)
  1010. end
  1011. Part.Parent=nil
  1012. end),prt,msh)
  1013. end
  1014. wait(1.5)
  1015. e=Instance.new("Explosion")
  1016. e.BlastRadius=30
  1017. e.Position=POS
  1018. e.BlastPressure=e.BlastPressure*2.5
  1019. e.Parent=workspace
  1020. local prt=part(3,workspace,0,0,BrickColor.new("Bright yellow"),"Effect",vt(0.5,0.5,0.5))
  1021. prt.Anchored=true
  1022. prt.CFrame=boomCF*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1023. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(10,10,10))
  1024. game:GetService("Debris"):AddItem(prt,5)
  1025. coroutine.resume(coroutine.create(function(Part,Mesh)
  1026. for i=0,1,0.01 do
  1027. wait()
  1028. Part.CFrame=Part.CFrame
  1029. Part.Transparency=i/2
  1030. Mesh.Scale=Mesh.Scale+vt(3,3,3)
  1031. end
  1032. Part.Parent=nil
  1033. end),prt,msh)
  1034. for i=1,10 do
  1035. wait(0.1)
  1036. local prt=part(3,workspace,0,0,BrickColor.new("Bright red"),"Effect",vt(0.5,0.5,0.5))
  1037. prt.Anchored=true
  1038. prt.CFrame=boomCF*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1039. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(10,10,10))
  1040. game:GetService("Debris"):AddItem(prt,5)
  1041. coroutine.resume(coroutine.create(function(Part,Mesh)
  1042. for i=0,1,0.01 do
  1043. wait()
  1044. Part.CFrame=Part.CFrame
  1045. Part.Transparency=i
  1046. Mesh.Scale=Mesh.Scale+vt(1,1,1)
  1047. end
  1048. Part.Parent=nil
  1049. end),prt,msh)
  1050. end
  1051. --wait(1.5)
  1052. wait(1.5)
  1053. local prt=part(3,workspace,0,0,BrickColor.new("White"),"Effect",vt(0.5,0.5,0.5))
  1054. prt.Anchored=true
  1055. prt.CFrame=ShadeCenter.CFrame
  1056. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(.5,1,.5))
  1057. game:GetService("Debris"):AddItem(prt,5)
  1058. coroutine.resume(coroutine.create(function(Part,Mesh)
  1059. for i=0,1,0.05 do
  1060. wait()
  1061. Part.CFrame=Part.CFrame
  1062. Part.Transparency=i
  1063. Mesh.Scale=Mesh.Scale+vt(0.1,0.7,0.1)
  1064. end
  1065. Part.Parent=nil
  1066. end),prt,msh)
  1067. local prt=part(3,workspace,0,0,BrickColor.new("White"),"Effect",vt(0.5,0.5,0.5))
  1068. prt.Anchored=true
  1069. prt.CFrame=ShadeCenter.CFrame*euler(1.57,0,0)
  1070. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(.5,1,.5))
  1071. game:GetService("Debris"):AddItem(prt,5)
  1072. coroutine.resume(coroutine.create(function(Part,Mesh)
  1073. for i=0,1,0.05 do
  1074. wait()
  1075. Part.CFrame=Part.CFrame
  1076. Part.Transparency=i
  1077. Mesh.Scale=Mesh.Scale+vt(0.1,0.7,0.1)
  1078. end
  1079. Part.Parent=nil
  1080. end),prt,msh)
  1081. local prt=part(3,workspace,0,0,BrickColor.new("White"),"Effect",vt(0.5,0.5,0.5))
  1082. prt.Anchored=true
  1083. prt.CFrame=ShadeCenter.CFrame*euler(0,0,1.57)
  1084. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(.5,1,.5))
  1085. game:GetService("Debris"):AddItem(prt,5)
  1086. coroutine.resume(coroutine.create(function(Part,Mesh)
  1087. for i=0,1,0.05 do
  1088. wait()
  1089. Part.CFrame=Part.CFrame
  1090. Part.Transparency=i
  1091. Mesh.Scale=Mesh.Scale+vt(0.1,0.7,0.1)
  1092. end
  1093. Part.Parent=nil
  1094. end),prt,msh)
  1095. Shade1.Transparency=0.05
  1096. Shade2.Transparency=0.05
  1097. wait(1)
  1098. sound:Stop()
  1099. wait()
  1100. sound2:Stop()
  1101. sound3:Stop()
  1102. wait(1)
  1103. ShadesClone1.Parent=nil
  1104. ShadesClone2.Parent=nil
  1105. end
  1106. wait()
  1107. print(target)
  1108. con1:disconnect()
  1109. bb.Parent=nil
  1110. gudbai.Parent=nil
  1111. wait(.5)
  1112. sound:Stop()
  1113. wait()
  1114. sound2:Stop()
  1115. sound3:Stop()
  1116. --bodypos2.Parent=nil
  1117. bodypos.Parent=nil
  1118. bodygy.Parent=nil
  1119. prop.Parent=nil
  1120. gg.Parent=nil
  1121. scale=1.5
  1122. Torso.Neck.C0=necko
  1123. RootJoint.C0=RootCF
  1124. RootJoint.C1=RootCF
  1125. shadeweld.Part0=Head
  1126. shadeweld.C0=cf(0,0.4,-0.65)
  1127. prop.Parent=nil
  1128. gg.Parent=nil
  1129. scale=1.5
  1130. RW.Parent=nil
  1131. LW.Parent=nil
  1132. RSH.Parent=Torso
  1133. LSH.Parent=Torso
  1134. RHP.Parent=Torso
  1135. LHP.Parent=Torso
  1136. end
  1137.  
  1138. function ob1d()
  1139. if attack==true then return end
  1140. attack=true
  1141. print("DRILLBREEEEEAK")
  1142. GIGADRILLBREAKER()
  1143. attack=false
  1144. cam.CameraType="Custom"
  1145. end
  1146.  
  1147. function s(mouse)
  1148. mouse.Button1Down:connect(function() ob1d() end)
  1149. end
  1150.  
  1151. Bin.Selected:connect(s)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement