Advertisement
memberhero

giga rainbow breaker script edit by me

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