Advertisement
Remour

Untitled

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