Advertisement
Kaemi

Stardust driller

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