Advertisement
nicholasXPG

Untitled

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