Advertisement
gecksad

Untitled

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