TrustDr

Boss battle

Mar 29th, 2020
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 106.16 KB | None | 0 0
  1. --[[Baby Nefl created by Brannon1964802]]--
  2. --[[Based off Nefl from Strife, sorta.]]--
  3.  
  4. Player=game:GetService("Players").LocalPlayer
  5. Character=Player.Character
  6. PlayerGui=Player.PlayerGui
  7. Backpack=Player.Backpack
  8. Torso=Character.Torso
  9. TorsoColor=BrickColor.Torso
  10. Head=Character.Head
  11. Humanoid=Character.Humanoid
  12. Humanoid.MaxHealth=math.huge
  13. m=Instance.new('Model',Character)
  14. LeftArm=Character["Left Arm"]
  15. LeftLeg=Character["Left Leg"]
  16. RightArm=Character["Right Arm"]
  17. RightLeg=Character["Right Leg"]
  18. LS=Torso["Left Shoulder"]
  19. LH=Torso["Left Hip"]
  20. RS=Torso["Right Shoulder"]
  21. RH=Torso["Right Hip"]
  22. Face = Head.face
  23. Neck=Torso.Neck
  24. it=Instance.new
  25. attacktype=1
  26. vt=Vector3.new
  27. cf=CFrame.new
  28. euler=CFrame.fromEulerAnglesXYZ
  29. angles=CFrame.Angles
  30. cloaked=false
  31. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  32. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  33. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  34. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  35. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  36. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  37. RootPart=Character.HumanoidRootPart
  38. RootJoint=RootPart.RootJoint
  39. RootCF=euler(-1.57,0,3.14)
  40. attack = false
  41. attackdebounce = false
  42. deb=false
  43. equipped=true
  44. hand=false
  45. MMouse=nil
  46. combo=0
  47. mana=0
  48. trispeed=.2
  49. attackmode='none'
  50. local idle=0
  51. local Anim="Idle"
  52. local Effects={}
  53. local gun=false
  54. local shoot=false
  55. player=nil
  56. mana=0
  57. sphere=true
  58. aura=false
  59. blinking=true
  60. rest=false
  61.  
  62. game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function(jump)
  63. if jump == "Jump" then
  64. Humanoid.Jump = false
  65. end
  66. end)
  67.  
  68. function nooutline(part)
  69. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  70. end
  71.  
  72. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  73. local fp=it("Part")
  74. fp.formFactor=formfactor
  75. fp.Parent=parent
  76. fp.Reflectance=reflectance
  77. fp.Transparency=transparency
  78. fp.CanCollide=false
  79. fp.Locked=true
  80. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  81. fp.Name=name
  82. fp.Size=size
  83. fp.Position=Character.Torso.Position
  84. nooutline(fp)
  85. fp.Material=material
  86. fp:BreakJoints()
  87. return fp
  88. end
  89.  
  90. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  91. local mesh=it(Mesh)
  92. mesh.Parent=part
  93. if Mesh=="SpecialMesh" then
  94. mesh.MeshType=meshtype
  95. mesh.MeshId=meshid
  96. end
  97. mesh.Offset=offset
  98. mesh.Scale=scale
  99. return mesh
  100. end
  101.  
  102. function weld(parent,part0,part1,c0,c1)
  103. local weld=it("Weld")
  104. weld.Parent=parent
  105. weld.Part0=part0
  106. weld.Part1=part1
  107. weld.C0=c0
  108. weld.C1=c1
  109. return weld
  110. end
  111.  
  112. local modelzorz3=Instance.new("Model")
  113. modelzorz3.Parent=Character
  114. modelzorz3.Name="Eye"
  115.  
  116. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  117. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.22326851, -3.5562191, -0.038143158, 0, 0, 1, 0, 1, 0, -1, 0, 0))
  118. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1))
  119. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  120. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  121. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 0.950000048, 1.16999996))
  122. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  123. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  124. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 3, 0.863999963))
  125. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(3.79999995, 4, 1.39999998))
  126. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0))
  127. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.77400017, 4.96199989, 4.73800039))
  128. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(3.79999995, 4, 1.39999998))
  129. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0))
  130. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.4920001, 4.70400047, 4.73800039))
  131. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  132. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.48671532, -1.09328079, 1, -2.52891718e-012, -6.81310423e-013, 2.53075664e-012, 0.866021812, 0.500005603, -6.74442273e-013, -0.500005603, 0.866021752))
  133. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  134. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100009918, -3.09970522, 1.40989685, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  135. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  136. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100009918, -3.09970522, 1.39007568, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702))
  137. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  138. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.61302567, 0.360752106, 1, -3.69486299e-012, 1.70532143e-012, 3.81851625e-012, 0.707111537, -0.707102001, 1.40679254e-012, 0.70710206, 0.707111537))
  139.  
  140. Humanoid.MaxHealth = math.huge
  141. wait(0.1)
  142. Humanoid.Health = math.huge
  143.  
  144. print("Into the mixture of acid and lava ")
  145. print("Ultra nefl loaded!")
  146.  
  147. RootPart.Transparency = 1
  148.  
  149. Humanoid.CameraOffset = Vector3.new(0, 12.5, 0)
  150.  
  151. Humanoid:findFirstChild("Animator"):Destroy()
  152.  
  153. Torso.Transparency = 0
  154. Head.Transparency = 0
  155. LeftLeg.Transparency = 0
  156. RightLeg.Transparency = 0
  157. LeftArm.Transparency = 0
  158. RightArm.Transparency = 0
  159. Torso.BrickColor=BrickColor.new('Really black')
  160. Head.BrickColor=BrickColor.new('Really black')
  161. LeftLeg.BrickColor=BrickColor.new('Really black')
  162. RightLeg.BrickColor=BrickColor.new('Really black')
  163. LeftArm.BrickColor=BrickColor.new('Really black')
  164. RightArm.BrickColor=BrickColor.new('Really black')
  165. Face.Texture="rbxassetid://0" -- change this to have a face
  166. for i,v in pairs(Character:GetChildren()) do
  167. if v:IsA("Hat") then
  168. v:Remove()
  169. end
  170. end
  171. for i,v in pairs(Character:GetChildren()) do
  172. if v:IsA("Shirt") then
  173. v:Remove()
  174. end
  175. end
  176. for i,v in pairs(Character:GetChildren()) do
  177. if v:IsA("Pants") then
  178. v:Remove()
  179. end
  180. end
  181. p=Instance.new('Part',Character)
  182. p.Size=Vector3.new(0.1,0.1,0.1)
  183. p.Name="Hat"
  184. p.Transparency=0
  185. p.BrickColor=BrickColor.new('Really black')
  186. m=Instance.new('SpecialMesh',Character.Hat)
  187. m.MeshId="http://www.roblox.com/asset/?id=44520670"
  188. m.Name="Hat"
  189. m.Scale=Vector3.new(1.2,1.2,1.2)
  190. w = Instance.new("Weld",Character.Hat)
  191. w.Part0 = Character.Hat
  192. w.Part1 = Head
  193. p=Instance.new('Part',Character)
  194. p.Size=Vector3.new(0.1,0.1,0.1)
  195. p.Name="Hat2"
  196. p.BrickColor=BrickColor.new('Really red')
  197. p.Transparency=0
  198. m=Instance.new('SpecialMesh',Character.Hat2)
  199. m.MeshId="http://www.roblox.com/asset/?id=44520670"
  200. m.Name="Hat2"
  201. m.Scale=Vector3.new(1.1,1.2,1.2)
  202. w = Instance.new("Weld",Character.Hat2)
  203. w.Part0 = Character.Hat2
  204. w.Part1 = Head
  205. p=Instance.new('Part',Character)
  206. p.Name="LeftArm2"
  207. p.Transparency=0.5
  208. p.BrickColor=BrickColor.new('White')
  209. p.Size=Vector3.new(1.5,2,1.5)
  210. w=Instance.new('Weld',Character.LeftArm2)
  211. w.Part0=Character.LeftArm2
  212. w.Part1=LeftArm
  213. p=Instance.new('Part',Character)
  214. p.Name="RightArm2"
  215. p.Transparency=0.5
  216. p.BrickColor=BrickColor.new('White')
  217. p.Size=Vector3.new(1.5,2,1.5)
  218. w=Instance.new('Weld',Character.RightArm2)
  219. w.Part0=Character.RightArm2
  220. w.Part1=RightArm
  221. p=Instance.new('Part',Character)
  222. p.Name="LeftLeg2"
  223. p.Transparency=0.5
  224. p.BrickColor=BrickColor.new('White')
  225. p.Size=Vector3.new(1.2,2,1.2)
  226. w=Instance.new('Weld',Character.LeftLeg2)
  227. w.Part0=Character.LeftLeg2
  228. w.Part1=LeftLeg
  229. p=Instance.new('Part',Character)
  230. p.Name="RightLeg2"
  231. p.Transparency=0.5
  232. p.BrickColor=BrickColor.new('White')
  233. p.Size=Vector3.new(1.2,2,1.2)
  234. w=Instance.new('Weld',Character.RightLeg2)
  235. w.Part0=Character.RightLeg2
  236. w.Part1=RightLeg
  237. mouse=Player:GetMouse()
  238. --save shoulders
  239. RSH, LSH=nil, nil
  240. --welds
  241. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  242. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  243. LH=Torso["Left Hip"]
  244. RH=Torso["Right Hip"]
  245. TorsoColor=Torso.BrickColor
  246. function NoOutline(Part)
  247. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  248. end
  249. player=Player
  250. ch=Character
  251. RSH=ch.Torso["Right Shoulder"]
  252. LSH=ch.Torso["Left Shoulder"]
  253. --
  254. RSH.Parent=nil
  255. LSH.Parent=nil
  256. --
  257. RW.Name="Right Shoulder"
  258. RW.Part0=ch.Torso
  259. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  260. RW.C1=cf(0, 0.5, 0)
  261. RW.Part1=ch["Right Arm"]
  262. RW.Parent=ch.Torso
  263. --
  264. LW.Name="Left Shoulder"
  265. LW.Part0=ch.Torso
  266. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  267. LW.C1=cf(0, 0.5, 0)
  268. LW.Part1=ch["Left Arm"]
  269. LW.Parent=ch.Torso
  270.  
  271. Player=game:GetService('Players').LocalPlayer
  272. Character=Player.Character
  273. Mouse=Player:GetMouse()
  274. m=Instance.new('Model',Character)
  275.  
  276. music = Instance.new("Sound", Character)
  277. music.SoundId = "http://www.roblox.com/asset/?id=316014309"
  278. music.Volume = 0
  279. music.Looped = true
  280. wait(0.1)
  281. music:Play()
  282.  
  283. music2 = Instance.new("Sound", Character)
  284. music2.SoundId = "http://www.roblox.com/asset/?id=142653441"
  285. music2.Volume = 0.5
  286. music2.Looped = true
  287.  
  288. rawr = Instance.new("Sound", Character)
  289. rawr.SoundId = "http://www.roblox.com/asset/?id=150829983"
  290. rawr.Volume = 1
  291. rawr.Looped = false
  292. rawr.Pitch = 1
  293.  
  294. Beast = Instance.new("Model",Character)
  295. Beast.Name = "The Beast from The Depths"
  296.  
  297. torsop=Instance.new("Part",Character)
  298. torsop.FormFactor="Custom"
  299. torsop.Size=Vector3.new(.2,.2,.2)
  300. torsop.Transparency=0.7
  301. torsop.CanCollide=false
  302. torsop.BrickColor = BrickColor.new("Black")
  303. torsop.Material="Sand"
  304. torsop.TopSurface="Smooth"
  305. torsop.BottomSurface="Smooth"
  306. torsop.RightSurface="Smooth"
  307. torsop.LeftSurface="Smooth"
  308. torsop.Transparency=0.9
  309. torsopw=Instance.new("Weld",Character)
  310. torsopw.Part0=Character.Torso
  311. torsopw.Part1=torsop
  312. torsopw.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(-90),math.rad(0))
  313.  
  314. torso = Instance.new("SpecialMesh",torsop)
  315. torso.MeshType = "Sphere"
  316. torso.Scale = Vector3.new(45,45,45)
  317.  
  318. ghostp=Instance.new("Part",Character)
  319. ghostp.FormFactor="Custom"
  320. ghostp.Size=Vector3.new(0.2,0.2,0.2)
  321. ghostp.Transparency=1
  322. ghostp.CanCollide=false
  323. ghostp.BrickColor = BrickColor.new("Lime green")
  324. ghostp.Material="Neon"
  325. ghostp.TopSurface="Smooth"
  326. ghostp.BottomSurface="Smooth"
  327. ghostp.RightSurface="Smooth"
  328. ghostp.LeftSurface="Smooth"
  329. ghostw=Instance.new("Weld",Character)
  330. ghostw.Part0=Character.Torso
  331. ghostw.Part1=ghostp
  332. ghostw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  333.  
  334. ghostmesh = Instance.new("FileMesh",ghostp)
  335. ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
  336. ghostmesh.Scale = Vector3.new(5,5,5)
  337.  
  338. ghostp2=Instance.new("Part",Character)
  339. ghostp2.FormFactor="Custom"
  340. ghostp2.Size=Vector3.new(0.2,0.2,0.2)
  341. ghostp2.Transparency=1
  342. ghostp2.CanCollide=false
  343. ghostp2.BrickColor = BrickColor.new("Lime green")
  344. ghostp2.Material="Neon"
  345. ghostp2.TopSurface="Smooth"
  346. ghostp2.BottomSurface="Smooth"
  347. ghostp2.RightSurface="Smooth"
  348. ghostp2.LeftSurface="Smooth"
  349. ghostw2=Instance.new("Weld",Character)
  350. ghostw2.Part0=Character.Torso
  351. ghostw2.Part1=ghostp2
  352. ghostw2.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  353.  
  354. ghostmesh2 = Instance.new("FileMesh",ghostp2)
  355. ghostmesh2.MeshId = "http://www.roblox.com/asset/?id=168892432"
  356. ghostmesh2.Scale = Vector3.new(10,10,10)
  357.  
  358. ghostp3=Instance.new("Part",Character)
  359. ghostp3.FormFactor="Custom"
  360. ghostp3.Size=Vector3.new(0.2,0.2,0.2)
  361. ghostp3.Transparency=1
  362. ghostp3.CanCollide=false
  363. ghostp3.BrickColor = BrickColor.new("Lime green")
  364. ghostp3.Material="Neon"
  365. ghostp3.TopSurface="Smooth"
  366. ghostp3.BottomSurface="Smooth"
  367. ghostp3.RightSurface="Smooth"
  368. ghostp2.LeftSurface="Smooth"
  369. ghostw3=Instance.new("Weld",Character)
  370. ghostw3.Part0=Character.Torso
  371. ghostw3.Part1=ghostp3
  372. ghostw3.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  373.  
  374. ghostmesh3 = Instance.new("FileMesh",ghostp3)
  375. ghostmesh3.MeshId = "http://www.roblox.com/asset/?id=168892432"
  376. ghostmesh3.Scale = Vector3.new(15,15,15)
  377.  
  378. ghostp4=Instance.new("Part",Character)
  379. ghostp4.FormFactor="Custom"
  380. ghostp4.Size=Vector3.new(0.2,0.2,0.2)
  381. ghostp4.Transparency=1
  382. ghostp4.CanCollide=false
  383. ghostp4.BrickColor = BrickColor.new("Lime green")
  384. ghostp4.Material="Neon"
  385. ghostp4.TopSurface="Smooth"
  386. ghostp4.BottomSurface="Smooth"
  387. ghostp4.RightSurface="Smooth"
  388. ghostp4.LeftSurface="Smooth"
  389. ghostw4=Instance.new("Weld",Character)
  390. ghostw4.Part0=Character.Torso
  391. ghostw4.Part1=ghostp4
  392. ghostw4.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  393.  
  394. ghostmesh4 = Instance.new("FileMesh",ghostp4)
  395. ghostmesh4.MeshId = "http://www.roblox.com/asset/?id=168892432"
  396. ghostmesh4.Scale = Vector3.new(20,20,20)
  397.  
  398. ghostp5=Instance.new("Part",Character)
  399. ghostp5.FormFactor="Custom"
  400. ghostp5.Size=Vector3.new(0.2,0.2,0.2)
  401. ghostp5.Transparency=1
  402. ghostp5.CanCollide=false
  403. ghostp5.BrickColor = BrickColor.new("Really red")
  404. ghostp5.Material="Neon"
  405. ghostp5.TopSurface="Smooth"
  406. ghostp5.BottomSurface="Smooth"
  407. ghostp5.RightSurface="Smooth"
  408. ghostp5.LeftSurface="Smooth"
  409. ghost5w=Instance.new("Weld",Character)
  410. ghost5w.Part0=Character.Torso
  411. ghost5w.Part1=ghostp5
  412. ghost5w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  413.  
  414. ghostmesh = Instance.new("FileMesh",ghostp5)
  415. ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
  416. ghostmesh.Scale = Vector3.new(2.5,2.5,2.5)
  417.  
  418. ghostp6=Instance.new("Part",Character)
  419. ghostp6.FormFactor="Custom"
  420. ghostp6.Size=Vector3.new(0.2,0.2,0.2)
  421. ghostp6.Transparency=1
  422. ghostp6.CanCollide=false
  423. ghostp6.BrickColor = BrickColor.new("Lime green")
  424. ghostp6.Material="Neon"
  425. ghostp6.TopSurface="Smooth"
  426. ghostp6.BottomSurface="Smooth"
  427. ghostp6.RightSurface="Smooth"
  428. ghostp6.LeftSurface="Smooth"
  429. ghost6w=Instance.new("Weld",Character)
  430. ghost6w.Part0=Character.Torso
  431. ghost6w.Part1=ghostp6
  432. ghost6w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  433.  
  434. ghostmesh = Instance.new("FileMesh",ghostp6)
  435. ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
  436. ghostmesh.Scale = Vector3.new(7.5,7.5,7.5)
  437.  
  438. ghostp7=Instance.new("Part",Character)
  439. ghostp7.FormFactor="Custom"
  440. ghostp7.Size=Vector3.new(0.2,0.2,0.2)
  441. ghostp7.Transparency=1
  442. ghostp7.CanCollide=false
  443. ghostp7.BrickColor = BrickColor.new("Really red")
  444. ghostp7.Material="Neon"
  445. ghostp7.TopSurface="Smooth"
  446. ghostp7.BottomSurface="Smooth"
  447. ghostp7.RightSurface="Smooth"
  448. ghostp7.LeftSurface="Smooth"
  449. ghost7w=Instance.new("Weld",Character)
  450. ghost7w.Part0=Character.Torso
  451. ghost7w.Part1=ghostp7
  452. ghost7w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  453.  
  454. ghostmesh = Instance.new("FileMesh",ghostp7)
  455. ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
  456. ghostmesh.Scale = Vector3.new(12.5,12.5,12.5)
  457.  
  458. ghostp8=Instance.new("Part",Character)
  459. ghostp8.FormFactor="Custom"
  460. ghostp8.Size=Vector3.new(0.2,0.2,0.2)
  461. ghostp8.Transparency=1
  462. ghostp8.CanCollide=false
  463. ghostp8.BrickColor = BrickColor.new("Lime green")
  464. ghostp8.Material="Neon"
  465. ghostp8.TopSurface="Smooth"
  466. ghostp8.BottomSurface="Smooth"
  467. ghostp8.RightSurface="Smooth"
  468. ghostp8.LeftSurface="Smooth"
  469. ghost8w=Instance.new("Weld",Character)
  470. ghost8w.Part0=Character.Torso
  471. ghost8w.Part1=ghostp8
  472. ghost8w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  473.  
  474. ghostmesh = Instance.new("FileMesh",ghostp8)
  475. ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
  476. ghostmesh.Scale = Vector3.new(17.5,17.5,17.5)
  477.  
  478. eyeoutline=Instance.new("Part",Character)
  479. eyeoutline.FormFactor="Custom"
  480. eyeoutline.Size=Vector3.new(.2,.2,.2)
  481. eyeoutline.Transparency=0.8
  482. eyeoutline.CanCollide=false
  483. eyeoutline.BrickColor = BrickColor.new("White")
  484. eyeoutline.Material="SmoothPlastic"
  485. eyeoutline.TopSurface="Smooth"
  486. eyeoutline.BottomSurface="Smooth"
  487. eyeoutline.RightSurface="Smooth"
  488. eyeoutline.LeftSurface="Smooth"
  489. eyeoutlinew=Instance.new("Weld",Character)
  490. eyeoutlinew.Part0=Character.Torso
  491. eyeoutlinew.Part1=eyeoutline
  492. eyeoutlinew.C0=CFrame.new(-1.5,0,-4.1)*CFrame.Angles(0,math.rad(20),math.rad(0))
  493.  
  494. eyemesh = Instance.new("SpecialMesh",eyeoutline)
  495. eyemesh.MeshId="http://www.roblox.com/asset/?id=9756362"
  496. eyemesh.Scale = Vector3.new(1.5, 1.5, 0.3)
  497.  
  498. eyep=Instance.new("Part",Character)
  499. eyep.FormFactor="Custom"
  500. eyep.Size=Vector3.new(.2,.2,.2)
  501. eyep.Transparency=0.8
  502. eyep.CanCollide=false
  503. eyep.BrickColor = BrickColor.new("Really red")
  504. eyep.Material="Neon"
  505. eyep.TopSurface="Smooth"
  506. eyep.BottomSurface="Smooth"
  507. eyep.RightSurface="Smooth"
  508. eyep.LeftSurface="Smooth"
  509. eyepw=Instance.new("Weld",Character)
  510. eyepw.Part0=eyeoutline
  511. eyepw.Part1=eyep
  512. eyepw.C0=CFrame.new(0,0,-0.1)*CFrame.Angles(0,math.rad(0),math.rad(0))
  513.  
  514. eyepmesh = Instance.new("SpecialMesh",eyep)
  515. eyepmesh.MeshType = "Sphere"
  516. eyepmesh.Scale = Vector3.new(7.5,7.5,2)
  517.  
  518. eyeoutline2=Instance.new("Part",Character)
  519. eyeoutline2.FormFactor="Custom"
  520. eyeoutline2.Size=Vector3.new(.2,.2,.2)
  521. eyeoutline2.Transparency=0.8
  522. eyeoutline2.CanCollide=false
  523. eyeoutline2.BrickColor = BrickColor.new("Really black")
  524. eyeoutline2.Material="SmoothPlastic"
  525. eyeoutline2.TopSurface="Smooth"
  526. eyeoutline2.BottomSurface="Smooth"
  527. eyeoutline2.RightSurface="Smooth"
  528. eyeoutline2.LeftSurface="Smooth"
  529. eyeoutline2w=Instance.new("Weld",Character)
  530. eyeoutline2w.Part0=Character.Torso
  531. eyeoutline2w.Part1=eyeoutline2
  532. eyeoutline2w.C0=CFrame.new(1.5,0,-4.1)*CFrame.Angles(0,math.rad(-20),math.rad(0))
  533.  
  534. eyemesh = Instance.new("SpecialMesh",eyeoutline2)
  535. eyemesh.MeshType = "Sphere"
  536. eyemesh.Scale = Vector3.new(8.5,8.5,2)
  537.  
  538. eyep2=Instance.new("Part",Character)
  539. eyep2.FormFactor="Custom"
  540. eyep2.Size=Vector3.new(.2,.2,.2)
  541. eyep2.Transparency=0.8
  542. eyep2.CanCollide=false
  543. eyep2.BrickColor = BrickColor.new("Lime green")
  544. eyep2.Material="Neon"
  545. eyep2.TopSurface="Smooth"
  546. eyep2.BottomSurface="Smooth"
  547. eyep2.RightSurface="Smooth"
  548. eyep2.LeftSurface="Smooth"
  549. eyep2w=Instance.new("Weld",Character)
  550. eyep2w.Part0=eyeoutline2
  551. eyep2w.Part1=eyep2
  552. eyep2w.C0=CFrame.new(0,0,-0.1)*CFrame.Angles(0,math.rad(0),math.rad(0))
  553.  
  554. eyep2mesh = Instance.new("SpecialMesh",eyep2)
  555. eyep2mesh.MeshType = "Sphere"
  556. eyep2mesh.Scale = Vector3.new(7.5,7.5,2)
  557.  
  558. local spotlight = Instance.new("SpotLight", eyep)
  559. spotlight.Shadows = true
  560. spotlight.Color = Color3.new(0, 255, 0)
  561. spotlight.Range = 24
  562. spotlight.Angle = 60
  563. spotlight.Brightness = 100
  564.  
  565. local spotlight2 = Instance.new("SpotLight", eyep2)
  566. spotlight2.Shadows = true
  567. spotlight2.Color = Color3.new(0, 255, 0)
  568. spotlight2.Range = 24
  569. spotlight2.Angle = 60
  570. spotlight2.Brightness = 100
  571.  
  572. local particleemitter = Instance.new("ParticleEmitter", Torso)
  573. particleemitter.VelocitySpread = 180
  574. particleemitter.Lifetime = NumberRange.new(1)
  575. particleemitter.Speed = NumberRange.new(10)
  576. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  577. particleemitter.RotSpeed = NumberRange.new(-180, 180)
  578. particleemitter.Rotation = NumberRange.new(-360, 360)
  579. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  580. particleemitter.LightEmission = 1
  581. particleemitter.Texture = "http://www.roblox.com/asset/?id=320043786"
  582. particleemitter.Color = ColorSequence.new(Color3.new(0,0,0), Color3.new(0,255,0))
  583.  
  584. emitterp=Instance.new("Part",Character)
  585. emitterp.FormFactor="Custom"
  586. emitterp.Size=Vector3.new(5,.2,5)
  587. emitterp.Transparency=1
  588. emitterp.CanCollide=false
  589. emitterp.BrickColor = BrickColor.new("Lime green")
  590. emitterp.Material="Neon"
  591. emitterp.TopSurface="Smooth"
  592. emitterp.BottomSurface="Smooth"
  593. emitterp.RightSurface="Smooth"
  594. emitterp.LeftSurface="Smooth"
  595. emitterpw=Instance.new("Weld",Character)
  596. emitterpw.Part0=Character.Torso
  597. emitterpw.Part1=emitterp
  598. emitterpw.C0=CFrame.new(0,-4,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  599.  
  600. local emitter = Instance.new("ParticleEmitter", emitterp)
  601. emitter.EmissionDirection = "Bottom"
  602. emitter.VelocitySpread = 30
  603. emitter.Lifetime = NumberRange.new(1)
  604. emitter.Speed = NumberRange.new(10)
  605. emitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 2, 0), NumberSequenceKeypoint.new(1, 2, 0)})
  606. emitter.RotSpeed = NumberRange.new(-180, 180)
  607. emitter.Rate = 1000
  608. emitter.Rotation = NumberRange.new(-360, 360)
  609. emitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  610. emitter.LightEmission = 1
  611. emitter.Texture = "http://www.roblox.com/asset/?id=31727915"
  612. emitter.Color = ColorSequence.new(Color3.new(0.596078, 0.847059, 1), Color3.new(0.596078, 0.847059, 1))
  613.  
  614. local eyeeffect = Instance.new("ParticleEmitter", eyep)
  615. eyeeffect.Lifetime = NumberRange.new(1)
  616. eyeeffect.Speed = NumberRange.new(0)
  617. eyeeffect.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 4), NumberSequenceKeypoint.new(1, 4)})
  618. eyeeffect.RotSpeed = NumberRange.new(1080)
  619. eyeeffect.Rate = 25
  620. eyeeffect.Rotation = NumberRange.new(-360, 360)
  621. eyeeffect.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.11, 0), NumberSequenceKeypoint.new(0.99, 1), NumberSequenceKeypoint.new(1, 1)})
  622. eyeeffect.LightEmission = 0.5
  623. eyeeffect.Texture = "http://www.roblox.com/asset/?id=242292288"
  624. eyeeffect.Color = ColorSequence.new(Color3.new(0,0,0), Color3.new(255,0,0))
  625. eyeeffect.LockedToPart = true
  626. eyeeffect.Enabled = false
  627.  
  628. local eyeeffect2 = Instance.new("ParticleEmitter", eyep2)
  629. eyeeffect2.Lifetime = NumberRange.new(1)
  630. eyeeffect2.Speed = NumberRange.new(0)
  631. eyeeffect2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 4), NumberSequenceKeypoint.new(1, 4)})
  632. eyeeffect2.RotSpeed = NumberRange.new(1080)
  633. eyeeffect2.Rate = 25
  634. eyeeffect2.Rotation = NumberRange.new(-360, 360)
  635. eyeeffect2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.11, 0), NumberSequenceKeypoint.new(0.99, 1), NumberSequenceKeypoint.new(1, 1)})
  636. eyeeffect2.LightEmission = 0.5
  637. eyeeffect2.Texture = "http://www.roblox.com/asset/?id=242292288"
  638. eyeeffect2.Color = ColorSequence.new(Color3.new(0,0,0), Color3.new(0,255,0))
  639. eyeeffect2.LockedToPart = true
  640. eyeeffect2.Enabled = false
  641.  
  642. coroutine.resume(coroutine.create(function(Part,Weld)
  643. while Part.Parent~=nil do
  644. wait(5)
  645. for i=0,1,0.2 do
  646. wait()
  647. spotlight.Angle = 60-60*i
  648. eyepmesh.Scale = Vector3.new(7.5,7.5-7.4*i,2)
  649. end
  650. for i=0,1,0.2 do
  651. wait()
  652. spotlight.Angle = 0+60*i
  653. eyepmesh.Scale = Vector3.new(7.5,0.1+7.4*i,2)
  654. end
  655. spotlight.Angle = 60
  656. end
  657. end),eyep,eyepw)
  658.  
  659. coroutine.resume(coroutine.create(function(Part,Weld)
  660. while Part.Parent~=nil do
  661. wait(5)
  662. for i=0,1,0.2 do
  663. wait()
  664. spotlight2.Angle = 60-60*i
  665. eyep2mesh.Scale = Vector3.new(7.5,7.5-7.4*i,2)
  666. end
  667. for i=0,1,0.2 do
  668. wait()
  669. spotlight2.Angle = 0+60*i
  670. eyep2mesh.Scale = Vector3.new(7.5,0.1+7.4*i,2)
  671. end
  672. spotlight2.Angle = 60
  673. end
  674. end),eyep2,eyep2w)
  675. --------------------------------------------------------------
  676. Arm = Instance.new("Model",Character)
  677. Arm.Name = "Arm 1"
  678.  
  679. arm1p=Instance.new("Part",Character)
  680. arm1p.FormFactor="Custom"
  681. arm1p.Size=Vector3.new(.2,.2,.2)
  682. arm1p.Transparency=0
  683. arm1p.CanCollide=false
  684. arm1p.BrickColor = BrickColor.new("Black")
  685. arm1p.Material="Sand"
  686. arm1p.TopSurface="Smooth"
  687. arm1p.BottomSurface="Smooth"
  688. arm1p.RightSurface="Smooth"
  689. arm1p.LeftSurface="Smooth"
  690. arm1pw=Instance.new("Weld",Character)
  691. arm1pw.Part0=Character["Right Arm"]
  692. arm1pw.Part1=arm1p
  693. arm1pw.C0=CFrame.new(0,-5,0)*CFrame.Angles(0,math.rad(0),math.rad(90))
  694.  
  695. arm1pmesh = Instance.new("SpecialMesh",arm1p)
  696. arm1pmesh.MeshType = "Sphere"
  697. arm1pmesh.Scale = Vector3.new(40,20,40)
  698.  
  699. local particleemitter2 = Instance.new("ParticleEmitter", arm1p)
  700. particleemitter2.VelocitySpread = 180
  701. particleemitter2.Lifetime = NumberRange.new(1)
  702. particleemitter2.Speed = NumberRange.new(10)
  703. particleemitter2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  704. particleemitter2.RotSpeed = NumberRange.new(-180, 180)
  705. particleemitter2.Rotation = NumberRange.new(-360, 360)
  706. particleemitter2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  707. particleemitter2.LightEmission = 1
  708. particleemitter2.Texture = "http://www.roblox.com/asset/?id=320043786"
  709. particleemitter2.Color = ColorSequence.new(Color3.new(0,0,0), Color3.new(0,255,0))
  710. particleemitter2.Enabled = false
  711.  
  712. arm1p2=Instance.new("Part",Character)
  713. arm1p2.FormFactor="Custom"
  714. arm1p2.Size=Vector3.new(.2,.2,.2)
  715. arm1p2.Transparency=0
  716. arm1p2.CanCollide=false
  717. arm1p2.BrickColor = BrickColor.new("Black")
  718. arm1p2.Material="Sand"
  719. arm1p2.TopSurface="Smooth"
  720. arm1p2.BottomSurface="Smooth"
  721. arm1p2.RightSurface="Smooth"
  722. arm1p2.LeftSurface="Smooth"
  723. arm1p2w=Instance.new("Weld",Character)
  724. arm1p2w.Part0=arm1p
  725. arm1p2w.Part1=arm1p2
  726. arm1p2w.C0=CFrame.new(0,3,0)*CFrame.Angles(0,math.rad(90),math.rad(-90))
  727.  
  728. arm1p2mesh = Instance.new("SpecialMesh",arm1p2)
  729. arm1p2mesh.MeshType = "Cylinder"
  730. arm1p2mesh.Scale = Vector3.new(30,20,30)
  731.  
  732. local particleemitter3 = Instance.new("ParticleEmitter", arm1p2)
  733. particleemitter3.VelocitySpread = 180
  734. particleemitter3.Lifetime = NumberRange.new(1)
  735. particleemitter3.Speed = NumberRange.new(10)
  736. particleemitter3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  737. particleemitter3.RotSpeed = NumberRange.new(-180, 180)
  738. particleemitter3.Rotation = NumberRange.new(-360, 360)
  739. particleemitter3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  740. particleemitter3.LightEmission = 1
  741. particleemitter3.Texture = "http://www.roblox.com/asset/?id=320043786"
  742. particleemitter3.Color = ColorSequence.new(Color3.new(0,0,0), Color3.new(0,255,0))
  743. particleemitter3.Enabled = false
  744.  
  745. arm1p3=Instance.new("Part",Character)
  746. arm1p3.FormFactor="Custom"
  747. arm1p3.Size=Vector3.new(.2,.2,.2)
  748. arm1p3.Transparency=0
  749. arm1p3.CanCollide=false
  750. arm1p3.BrickColor = BrickColor.new("Black")
  751. arm1p3.Material="Sand"
  752. arm1p3.TopSurface="Smooth"
  753. arm1p3.BottomSurface="Smooth"
  754. arm1p3.RightSurface="Smooth"
  755. arm1p3.LeftSurface="Smooth"
  756. arm1p3w=Instance.new("Weld",Character)
  757. arm1p3w.Part0=arm1p2
  758. arm1p3w.Part1=arm1p3
  759. arm1p3w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  760.  
  761. arm1p3mesh = Instance.new("SpecialMesh",arm1p3)
  762. arm1p3mesh.MeshType = "Sphere"
  763. arm1p3mesh.Scale = Vector3.new(22.5,22.5,22.5)
  764.  
  765. local particleemitter4 = Instance.new("ParticleEmitter", arm1p3)
  766. particleemitter4.VelocitySpread = 180
  767. particleemitter4.Lifetime = NumberRange.new(1)
  768. particleemitter4.Speed = NumberRange.new(10)
  769. particleemitter4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  770. particleemitter4.RotSpeed = NumberRange.new(-180, 180)
  771. particleemitter4.Rotation = NumberRange.new(-360, 360)
  772. particleemitter4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  773. particleemitter4.LightEmission = 1
  774. particleemitter4.Texture = "http://www.roblox.com/asset/?id=320043786"
  775. particleemitter4.Color = ColorSequence.new(Color3.new(0,0,0), Color3.new(0,255,0))
  776. particleemitter4.Enabled = false
  777.  
  778. arm1p4=Instance.new("Part",Character)
  779. arm1p4.FormFactor="Custom"
  780. arm1p4.Size=Vector3.new(.2,.2,.2)
  781. arm1p4.Transparency=0
  782. arm1p4.CanCollide=false
  783. arm1p4.BrickColor = BrickColor.new("Black")
  784. arm1p4.Material="Sand"
  785. arm1p4.TopSurface="Smooth"
  786. arm1p4.BottomSurface="Smooth"
  787. arm1p4.RightSurface="Smooth"
  788. arm1p4.LeftSurface="Smooth"
  789. arm1p4w=Instance.new("Weld",Character)
  790. arm1p4w.Part0=arm1p3
  791. arm1p4w.Part1=arm1p4
  792. arm1p4w.C0=CFrame.new(-3,3,0)*CFrame.Angles(0,math.rad(0),math.rad(-45))
  793.  
  794. arm1p4mesh = Instance.new("SpecialMesh",arm1p4)
  795. arm1p4mesh.MeshType = "Cylinder"
  796. arm1p4mesh.Scale = Vector3.new(30,20,30)
  797.  
  798. local particleemitter5 = Instance.new("ParticleEmitter", arm1p4)
  799. particleemitter5.VelocitySpread = 180
  800. particleemitter5.Lifetime = NumberRange.new(1)
  801. particleemitter5.Speed = NumberRange.new(10)
  802. particleemitter5.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  803. particleemitter5.RotSpeed = NumberRange.new(-180, 180)
  804. particleemitter5.Rotation = NumberRange.new(-360, 360)
  805. particleemitter5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  806. particleemitter5.LightEmission = 1
  807. particleemitter5.Texture = "http://www.roblox.com/asset/?id=320043786"
  808. particleemitter5.Color = ColorSequence.new(Color3.new(0,0,0), Color3.new(0,255,0))
  809. particleemitter5.Enabled = false
  810.  
  811. arm1p5=Instance.new("Part",Character)
  812. arm1p5.FormFactor="Custom"
  813. arm1p5.Size=Vector3.new(.2,.2,.2)
  814. arm1p5.Transparency=0
  815. arm1p5.CanCollide=false
  816. arm1p5.BrickColor = BrickColor.new("Black")
  817. arm1p5.Material="Sand"
  818. arm1p5.TopSurface="Smooth"
  819. arm1p5.BottomSurface="Smooth"
  820. arm1p5.RightSurface="Smooth"
  821. arm1p5.LeftSurface="Smooth"
  822. arm1p5w=Instance.new("Weld",Character)
  823. arm1p5w.Part0=arm1p4
  824. arm1p5w.Part1=arm1p5
  825. arm1p5w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  826.  
  827. arm1p5mesh = Instance.new("SpecialMesh",arm1p5)
  828. arm1p5mesh.MeshType = "Sphere"
  829. arm1p5mesh.Scale = Vector3.new(30,30,30)
  830.  
  831. local particleemitter6 = Instance.new("ParticleEmitter", arm1p5)
  832. particleemitter6.VelocitySpread = 180
  833. particleemitter6.Lifetime = NumberRange.new(1)
  834. particleemitter6.Speed = NumberRange.new(10)
  835. particleemitter6.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  836. particleemitter6.RotSpeed = NumberRange.new(-180, 180)
  837. particleemitter6.Rotation = NumberRange.new(-360, 360)
  838. particleemitter6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  839. particleemitter6.LightEmission = 1
  840. particleemitter6.Texture = "http://www.roblox.com/asset/?id=320043786"
  841. particleemitter6.Color = ColorSequence.new(Color3.new(0,0,0), Color3.new(0,255,0))
  842. particleemitter6.Enabled = false
  843.  
  844. arm1p6=Instance.new("Part",Character)
  845. arm1p6.FormFactor="Custom"
  846. arm1p6.Size=Vector3.new(.2,.2,.2)
  847. arm1p6.Transparency=0
  848. arm1p6.CanCollide=false
  849. arm1p6.BrickColor = BrickColor.new("Lime green")
  850. arm1p6.Material="Sand"
  851. arm1p6.TopSurface="Smooth"
  852. arm1p6.BottomSurface="Smooth"
  853. arm1p6.RightSurface="Smooth"
  854. arm1p6.LeftSurface="Smooth"
  855. arm1p6w=Instance.new("Weld",Character)
  856. arm1p6w.Part0=arm1p5
  857. arm1p6w.Part1=arm1p6
  858. arm1p6w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  859.  
  860. arm1p6mesh = Instance.new("FileMesh",arm1p6)
  861. arm1p6mesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  862. arm1p6mesh.Scale = Vector3.new(3.15,3.15,3.15)
  863.  
  864. arm1p7=Instance.new("Part",Character)
  865. arm1p7.FormFactor="Custom"
  866. arm1p7.Size=Vector3.new(.2,.2,.2)
  867. arm1p7.Transparency=0.9
  868. arm1p7.CanCollide=false
  869. arm1p7.BrickColor = BrickColor.new("Lime green")
  870. arm1p7.Material="Sand"
  871. arm1p7.TopSurface="Smooth"
  872. arm1p7.BottomSurface="Smooth"
  873. arm1p7.RightSurface="Smooth"
  874. arm1p7.LeftSurface="Smooth"
  875. arm1p7w=Instance.new("Weld",Character)
  876. arm1p7w.Part0=arm1p
  877. arm1p7w.Part1=arm1p7
  878. arm1p7w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  879.  
  880. arm1p7mesh = Instance.new("FileMesh",arm1p7)
  881. arm1p7mesh.MeshId = "http://www.roblox.com/asset/?id=9756362"
  882. arm1p7mesh.Scale = Vector3.new(5,18,5)
  883.  
  884. arm1hitbox=Instance.new("Part",Character)
  885. arm1hitbox.FormFactor="Custom"
  886. arm1hitbox.Size=Vector3.new(5,5,5)
  887. arm1hitbox.Transparency=1
  888. arm1hitbox.CanCollide=false
  889. arm1hitbox.BrickColor = BrickColor.new("Black")
  890. arm1hitbox.Material="Sand"
  891. arm1hitbox.TopSurface="Smooth"
  892. arm1hitbox.BottomSurface="Smooth"
  893. arm1hitbox.RightSurface="Smooth"
  894. arm1hitbox.LeftSurface="Smooth"
  895. arm1hitboxw=Instance.new("Weld",Character)
  896. arm1hitboxw.Part0=arm1p6
  897. arm1hitboxw.Part1=arm1hitbox
  898. arm1hitboxw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  899. --------------------------------------------------------------
  900. Arm2 = Instance.new("Model",Character)
  901. Arm2.Name = "Arm 2"
  902.  
  903. arm2p=Instance.new("Part",Character)
  904. arm2p.FormFactor="Custom"
  905. arm2p.Size=Vector3.new(.2,.2,.2)
  906. arm2p.Transparency=0
  907. arm2p.CanCollide=false
  908. arm2p.BrickColor = BrickColor.new("Black")
  909. arm2p.Material="Sand"
  910. arm2p.TopSurface="Smooth"
  911. arm2p.BottomSurface="Smooth"
  912. arm2p.RightSurface="Smooth"
  913. arm2p.LeftSurface="Smooth"
  914. arm2pw=Instance.new("Weld",Character)
  915. arm2pw.Part0=Character["Left Arm"]
  916. arm2pw.Part1=arm2p
  917. arm2pw.C0=CFrame.new(0,-5,0)*CFrame.Angles(0,math.rad(0),math.rad(-90))
  918.  
  919. arm2pmesh = Instance.new("SpecialMesh",arm2p)
  920. arm2pmesh.MeshType = "Sphere"
  921. arm2pmesh.Scale = Vector3.new(40,20,40)
  922.  
  923. local particleemitter7 = Instance.new("ParticleEmitter", arm2p)
  924. particleemitter7.VelocitySpread = 180
  925. particleemitter7.Lifetime = NumberRange.new(1)
  926. particleemitter7.Speed = NumberRange.new(10)
  927. particleemitter7.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  928. particleemitter7.RotSpeed = NumberRange.new(-180, 180)
  929. particleemitter7.Rotation = NumberRange.new(-360, 360)
  930. particleemitter7.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  931. particleemitter7.LightEmission = 1
  932. particleemitter7.Texture = "http://www.roblox.com/asset/?id=320043786"
  933. particleemitter7.Color = ColorSequence.new(Color3.new(0,0,0), Color3.new(0,255,0))
  934. particleemitter7.Enabled = false
  935.  
  936. arm2p2=Instance.new("Part",Character)
  937. arm2p2.FormFactor="Custom"
  938. arm2p2.Size=Vector3.new(.2,.2,.2)
  939. arm2p2.Transparency=0
  940. arm2p2.CanCollide=false
  941. arm2p2.BrickColor = BrickColor.new("Black")
  942. arm2p2.Material="Sand"
  943. arm2p2.TopSurface="Smooth"
  944. arm2p2.BottomSurface="Smooth"
  945. arm2p2.RightSurface="Smooth"
  946. arm2p2.LeftSurface="Smooth"
  947. arm2p2w=Instance.new("Weld",Character)
  948. arm2p2w.Part0=arm2p
  949. arm2p2w.Part1=arm2p2
  950. arm2p2w.C0=CFrame.new(0,3,0)*CFrame.Angles(0,math.rad(90),math.rad(-90))
  951.  
  952. arm2p2mesh = Instance.new("SpecialMesh",arm2p2)
  953. arm2p2mesh.MeshType = "Cylinder"
  954. arm2p2mesh.Scale = Vector3.new(30,20,30)
  955.  
  956. local particleemitter8 = Instance.new("ParticleEmitter", arm2p2)
  957. particleemitter8.VelocitySpread = 180
  958. particleemitter8.Lifetime = NumberRange.new(1)
  959. particleemitter8.Speed = NumberRange.new(10)
  960. particleemitter8.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  961. particleemitter8.RotSpeed = NumberRange.new(-180, 180)
  962. particleemitter8.Rotation = NumberRange.new(-360, 360)
  963. particleemitter8.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  964. particleemitter8.LightEmission = 1
  965. particleemitter8.Texture = "http://www.roblox.com/asset/?id=320043786"
  966. particleemitter8.Color = ColorSequence.new(Color3.new(0,0,0), Color3.new(0,255,0))
  967. particleemitter8.Enabled = false
  968.  
  969. arm2p3=Instance.new("Part",Character)
  970. arm2p3.FormFactor="Custom"
  971. arm2p3.Size=Vector3.new(.2,.2,.2)
  972. arm2p3.Transparency=0
  973. arm2p3.CanCollide=false
  974. arm2p3.BrickColor = BrickColor.new("Black")
  975. arm2p3.Material="Sand"
  976. arm2p3.TopSurface="Smooth"
  977. arm2p3.BottomSurface="Smooth"
  978. arm2p3.RightSurface="Smooth"
  979. arm2p3.LeftSurface="Smooth"
  980. arm2p3w=Instance.new("Weld",Character)
  981. arm2p3w.Part0=arm2p2
  982. arm2p3w.Part1=arm2p3
  983. arm2p3w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  984.  
  985. arm2p3mesh = Instance.new("SpecialMesh",arm2p3)
  986. arm2p3mesh.MeshType = "Sphere"
  987. arm2p3mesh.Scale = Vector3.new(22.5,22.5,22.5)
  988.  
  989. local particleemitter9 = Instance.new("ParticleEmitter", arm2p3)
  990. particleemitter9.VelocitySpread = 180
  991. particleemitter9.Lifetime = NumberRange.new(1)
  992. particleemitter9.Speed = NumberRange.new(10)
  993. particleemitter9.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  994. particleemitter9.RotSpeed = NumberRange.new(-180, 180)
  995. particleemitter9.Rotation = NumberRange.new(-360, 360)
  996. particleemitter9.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  997. particleemitter9.LightEmission = 1
  998. particleemitter9.Texture = "http://www.roblox.com/asset/?id=320043786"
  999. particleemitter9.Color = ColorSequence.new(Color3.new(0,0,0), Color3.new(0,255,0))
  1000. particleemitter9.Enabled = false
  1001.  
  1002. arm2p4=Instance.new("Part",Character)
  1003. arm2p4.FormFactor="Custom"
  1004. arm2p4.Size=Vector3.new(.2,.2,.2)
  1005. arm2p4.Transparency=0
  1006. arm2p4.CanCollide=false
  1007. arm2p4.BrickColor = BrickColor.new("Black")
  1008. arm2p4.Material="Sand"
  1009. arm2p4.TopSurface="Smooth"
  1010. arm2p4.BottomSurface="Smooth"
  1011. arm2p4.RightSurface="Smooth"
  1012. arm2p4.LeftSurface="Smooth"
  1013. arm2p4w=Instance.new("Weld",Character)
  1014. arm2p4w.Part0=arm2p3
  1015. arm2p4w.Part1=arm2p4
  1016. arm2p4w.C0=CFrame.new(-3,3,0)*CFrame.Angles(0,math.rad(0),math.rad(-45))
  1017.  
  1018. arm2p4mesh = Instance.new("SpecialMesh",arm2p4)
  1019. arm2p4mesh.MeshType = "Cylinder"
  1020. arm2p4mesh.Scale = Vector3.new(30,20,30)
  1021.  
  1022. local particleemitter10 = Instance.new("ParticleEmitter", arm2p4)
  1023. particleemitter10.VelocitySpread = 180
  1024. particleemitter10.Lifetime = NumberRange.new(1)
  1025. particleemitter10.Speed = NumberRange.new(10)
  1026. particleemitter10.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1027. particleemitter10.RotSpeed = NumberRange.new(-180, 180)
  1028. particleemitter10.Rotation = NumberRange.new(-360, 360)
  1029. particleemitter10.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1030. particleemitter10.LightEmission = 1
  1031. particleemitter10.Texture = "http://www.roblox.com/asset/?id=320043786"
  1032. particleemitter10.Color = ColorSequence.new(Color3.new(0,0,0), Color3.new(0,255,0))
  1033. particleemitter10.Enabled = false
  1034.  
  1035. arm2p5=Instance.new("Part",Character)
  1036. arm2p5.FormFactor="Custom"
  1037. arm2p5.Size=Vector3.new(.2,.2,.2)
  1038. arm2p5.Transparency=0
  1039. arm2p5.CanCollide=false
  1040. arm2p5.BrickColor = BrickColor.new("Black")
  1041. arm2p5.Material="Sand"
  1042. arm2p5.TopSurface="Smooth"
  1043. arm2p5.BottomSurface="Smooth"
  1044. arm2p5.RightSurface="Smooth"
  1045. arm2p5.LeftSurface="Smooth"
  1046. arm2p5w=Instance.new("Weld",Character)
  1047. arm2p5w.Part0=arm2p4
  1048. arm2p5w.Part1=arm2p5
  1049. arm2p5w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  1050.  
  1051. arm2p5mesh = Instance.new("SpecialMesh",arm2p5)
  1052. arm2p5mesh.MeshType = "Sphere"
  1053. arm2p5mesh.Scale = Vector3.new(30,30,30)
  1054.  
  1055. local particleemitter11 = Instance.new("ParticleEmitter", arm2p5)
  1056. particleemitter11.VelocitySpread = 180
  1057. particleemitter11.Lifetime = NumberRange.new(1)
  1058. particleemitter11.Speed = NumberRange.new(10)
  1059. particleemitter11.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1060. particleemitter11.RotSpeed = NumberRange.new(-180, 180)
  1061. particleemitter11.Rotation = NumberRange.new(-360, 360)
  1062. particleemitter11.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1063. particleemitter11.LightEmission = 1
  1064. particleemitter11.Texture = "http://www.roblox.com/asset/?id=320043786"
  1065. particleemitter11.Color = ColorSequence.new(Color3.new(0,0,0), Color3.new(0,255,0))
  1066. particleemitter11.Enabled = false
  1067.  
  1068. arm2p6=Instance.new("Part",Character)
  1069. arm2p6.FormFactor="Custom"
  1070. arm2p6.Size=Vector3.new(.2,.2,.2)
  1071. arm2p6.Transparency=0
  1072. arm2p6.CanCollide=false
  1073. arm2p6.BrickColor = BrickColor.new("Really red")
  1074. arm2p6.Material="Sand"
  1075. arm2p6.TopSurface="Smooth"
  1076. arm2p6.BottomSurface="Smooth"
  1077. arm2p6.RightSurface="Smooth"
  1078. arm2p6.LeftSurface="Smooth"
  1079. arm2p6w=Instance.new("Weld",Character)
  1080. arm2p6w.Part0=arm2p5
  1081. arm2p6w.Part1=arm2p6
  1082. arm2p6w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(90))
  1083.  
  1084. arm2p6mesh = Instance.new("FileMesh",arm2p6)
  1085. arm2p6mesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  1086. arm2p6mesh.Scale = Vector3.new(3.15,3.15,3.15)
  1087.  
  1088. arm2p7=Instance.new("Part",Character)
  1089. arm2p7.FormFactor="Custom"
  1090. arm2p7.Size=Vector3.new(.2,.2,.2)
  1091. arm2p7.Transparency=0.9
  1092. arm2p7.CanCollide=false
  1093. arm2p7.BrickColor = BrickColor.new("Really red")
  1094. arm2p7.Material="Sand"
  1095. arm2p7.TopSurface="Smooth"
  1096. arm2p7.BottomSurface="Smooth"
  1097. arm2p7.RightSurface="Smooth"
  1098. arm2p7.LeftSurface="Smooth"
  1099. arm2p7w=Instance.new("Weld",Character)
  1100. arm2p7w.Part0=arm2p
  1101. arm2p7w.Part1=arm2p7
  1102. arm2p7w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  1103.  
  1104. arm2p7mesh = Instance.new("FileMesh",arm2p7)
  1105. arm2p7mesh.MeshId = "http://www.roblox.com/asset/?id=9756362"
  1106. arm2p7mesh.Scale = Vector3.new(5,18,5)
  1107.  
  1108. arm2hitbox=Instance.new("Part",Character)
  1109. arm2hitbox.FormFactor="Custom"
  1110. arm2hitbox.Size=Vector3.new(5,5,5)
  1111. arm2hitbox.Transparency=1
  1112. arm2hitbox.CanCollide=false
  1113. arm2hitbox.BrickColor = BrickColor.new("Black")
  1114. arm2hitbox.Material="Sand"
  1115. arm2hitbox.TopSurface="Smooth"
  1116. arm2hitbox.BottomSurface="Smooth"
  1117. arm2hitbox.RightSurface="Smooth"
  1118. arm2hitbox.LeftSurface="Smooth"
  1119. arm2hitboxw=Instance.new("Weld",Character)
  1120. arm2hitboxw.Part0=arm2p6
  1121. arm2hitboxw.Part1=arm2hitbox
  1122. arm2hitboxw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1123. --------------------------------------------------------------
  1124.  
  1125. local function weldBetween(a, b)
  1126. local weldd = Instance.new("ManualWeld")
  1127. weldd.Part0 = a
  1128. weldd.Part1 = b
  1129. weldd.C0 = CFrame.new()
  1130. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1131. weldd.Parent = a
  1132. return weldd
  1133. end
  1134.  
  1135. function swait(num)
  1136. if num==0 or num==nil then
  1137. game:service'RunService'.Stepped:wait(0)
  1138. else
  1139. for i=0,num do
  1140. game:service'RunService'.Stepped:wait(0)
  1141. end
  1142. end
  1143. end
  1144.  
  1145. function nooutline(part)
  1146. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  1147. end
  1148.  
  1149. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  1150. local fp=it("Part")
  1151. fp.formFactor=formfactor
  1152. fp.Parent=parent
  1153. fp.Reflectance=reflectance
  1154. fp.Transparency=transparency
  1155. fp.CanCollide=false
  1156. fp.Locked=true
  1157. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  1158. fp.Name=name
  1159. fp.Size=size
  1160. fp.Position=Character.Torso.Position
  1161. nooutline(fp)
  1162. fp.Material=material
  1163. fp:BreakJoints()
  1164. return fp
  1165. end
  1166.  
  1167. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1168. local mesh=it(Mesh)
  1169. mesh.Parent=part
  1170. if Mesh=="SpecialMesh" then
  1171. mesh.MeshType=meshtype
  1172. mesh.MeshId=meshid
  1173. end
  1174. mesh.Offset=offset
  1175. mesh.Scale=scale
  1176. return mesh
  1177. end
  1178.  
  1179. function weld(parent,part0,part1,c0,c1)
  1180. local weld=it("Weld")
  1181. weld.Parent=parent
  1182. weld.Part0=part0
  1183. weld.Part1=part1
  1184. weld.C0=c0
  1185. weld.C1=c1
  1186. return weld
  1187. end
  1188.  
  1189.  
  1190. local function CFrameFromTopBack(at, top, back)
  1191. local right = top:Cross(back)
  1192. return CFrame.new(at.x, at.y, at.z,
  1193. right.x, top.x, back.x,
  1194. right.y, top.y, back.y,
  1195. right.z, top.z, back.z)
  1196. end
  1197.  
  1198. function Triangle(a, b, c)
  1199. local edg1 = (c-a):Dot((b-a).unit)
  1200. local edg2 = (a-b):Dot((c-b).unit)
  1201. local edg3 = (b-c):Dot((a-c).unit)
  1202. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1203. a, b, c = a, b, c
  1204. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1205. a, b, c = b, c, a
  1206. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1207. a, b, c = c, a, b
  1208. else
  1209. assert(false, "unreachable")
  1210. end
  1211.  
  1212. local len1 = (c-a):Dot((b-a).unit)
  1213. local len2 = (b-a).magnitude - len1
  1214. local width = (a + (b-a).unit*len1 - c).magnitude
  1215.  
  1216. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1217.  
  1218. local list = {}
  1219.  
  1220. local TrailColor = ("Dark grey")
  1221.  
  1222. if len1 > 0.01 then
  1223. local w1 = Instance.new('WedgePart', m)
  1224. game:GetService("Debris"):AddItem(w1,5)
  1225. w1.Material = "SmoothPlastic"
  1226. w1.FormFactor = 'Custom'
  1227. w1.BrickColor = BrickColor.new(TrailColor)
  1228. w1.Transparency = 0
  1229. w1.Reflectance = 0
  1230. w1.Material = "SmoothPlastic"
  1231. w1.CanCollide = false
  1232. NoOutline(w1)
  1233. local sz = Vector3.new(0.2, width, len1)
  1234. w1.Size = sz
  1235. local sp = Instance.new("SpecialMesh",w1)
  1236. sp.MeshType = "Wedge"
  1237. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1238. w1:BreakJoints()
  1239. w1.Anchored = true
  1240. w1.Parent = workspace
  1241. w1.Transparency = 0.7
  1242. table.insert(Effects,{w1,"Disappear",.01})
  1243. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1244. table.insert(list,w1)
  1245. end
  1246.  
  1247. if len2 > 0.01 then
  1248. local w2 = Instance.new('WedgePart', m)
  1249. game:GetService("Debris"):AddItem(w2,5)
  1250. w2.Material = "SmoothPlastic"
  1251. w2.FormFactor = 'Custom'
  1252. w2.BrickColor = BrickColor.new(TrailColor)
  1253. w2.Transparency = 0
  1254. w2.Reflectance = 0
  1255. w2.Material = "SmoothPlastic"
  1256. w2.CanCollide = false
  1257. NoOutline(w2)
  1258. local sz = Vector3.new(0.2, width, len2)
  1259. w2.Size = sz
  1260. local sp = Instance.new("SpecialMesh",w2)
  1261. sp.MeshType = "Wedge"
  1262. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1263. w2:BreakJoints()
  1264. w2.Anchored = true
  1265. w2.Parent = workspace
  1266. w2.Transparency = 0.7
  1267. table.insert(Effects,{w2,"Disappear",.01})
  1268. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1269. table.insert(list,w2)
  1270. end
  1271. return unpack(list)
  1272. end
  1273.  
  1274.  
  1275. so = function(id,par,vol,pit)
  1276. coroutine.resume(coroutine.create(function()
  1277. local sou = Instance.new("Sound",par or workspace)
  1278. sou.Volume=vol
  1279. sou.Pitch=pit or 1
  1280. sou.SoundId=id
  1281. swait()
  1282. sou:play()
  1283. game:GetService("Debris"):AddItem(sou,6)
  1284. end))
  1285. end
  1286.  
  1287. function clerp(a,b,t)
  1288. local qa = {QuaternionFromCFrame(a)}
  1289. local qb = {QuaternionFromCFrame(b)}
  1290. local ax, ay, az = a.x, a.y, a.z
  1291. local bx, by, bz = b.x, b.y, b.z
  1292. local _t = 1-t
  1293. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1294. end
  1295.  
  1296. function QuaternionFromCFrame(cf)
  1297. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1298. local trace = m00 + m11 + m22
  1299. if trace > 0 then
  1300. local s = math.sqrt(1 + trace)
  1301. local recip = 0.5/s
  1302. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1303. else
  1304. local i = 0
  1305. if m11 > m00 then
  1306. i = 1
  1307. end
  1308. if m22 > (i == 0 and m00 or m11) then
  1309. i = 2
  1310. end
  1311. if i == 0 then
  1312. local s = math.sqrt(m00-m11-m22+1)
  1313. local recip = 0.5/s
  1314. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1315. elseif i == 1 then
  1316. local s = math.sqrt(m11-m22-m00+1)
  1317. local recip = 0.5/s
  1318. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1319. elseif i == 2 then
  1320. local s = math.sqrt(m22-m00-m11+1)
  1321. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1322. end
  1323. end
  1324. end
  1325.  
  1326. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1327. local xs, ys, zs = x + x, y + y, z + z
  1328. local wx, wy, wz = w*xs, w*ys, w*zs
  1329. local xx = x*xs
  1330. local xy = x*ys
  1331. local xz = x*zs
  1332. local yy = y*ys
  1333. local yz = y*zs
  1334. local zz = z*zs
  1335. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  1336. end
  1337.  
  1338. function QuaternionSlerp(a, b, t)
  1339. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1340. local startInterp, finishInterp;
  1341. if cosTheta >= 0.0001 then
  1342. if (1 - cosTheta) > 0.0001 then
  1343. local theta = math.acos(cosTheta)
  1344. local invSinTheta = 1/math.sin(theta)
  1345. startInterp = math.sin((1-t)*theta)*invSinTheta
  1346. finishInterp = math.sin(t*theta)*invSinTheta
  1347. else
  1348. startInterp = 1-t
  1349. finishInterp = t
  1350. end
  1351. else
  1352. if (1+cosTheta) > 0.0001 then
  1353. local theta = math.acos(-cosTheta)
  1354. local invSinTheta = 1/math.sin(theta)
  1355. startInterp = math.sin((t-1)*theta)*invSinTheta
  1356. finishInterp = math.sin(t*theta)*invSinTheta
  1357. else
  1358. startInterp = t-1
  1359. finishInterp = t
  1360. end
  1361. end
  1362. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  1363. end
  1364.  
  1365. --Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1366.  
  1367.  
  1368. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1369. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1370. end
  1371.  
  1372. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  1373. if hit.Parent==nil then
  1374. return
  1375. end
  1376. h=hit.Parent:FindFirstChild("Humanoid")
  1377. for _,v in pairs(hit.Parent:children()) do
  1378. if v:IsA("Humanoid") then
  1379. h=v
  1380. end
  1381. end
  1382. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  1383. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  1384. end
  1385. if hit.Parent.className=="Hat" then
  1386. hit=hit.Parent.Parent:findFirstChild("Head")
  1387. end
  1388. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1389. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  1390. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1391. return
  1392. end]]
  1393. -- hs(hit,1.2)
  1394. c=Instance.new("ObjectValue")
  1395. c.Name="creator"
  1396. c.Value=game:service("Players").LocalPlayer
  1397. c.Parent=h
  1398. game:GetService("Debris"):AddItem(c,.5)
  1399. Damage=math.random(minim,maxim)
  1400. -- h:TakeDamage(Damage)
  1401. blocked=false
  1402. block=hit.Parent:findFirstChild("Block")
  1403. if block~=nil then
  1404. print(block.className)
  1405. if block.className=="NumberValue" then
  1406. if block.Value>0 then
  1407. blocked=true
  1408. if decreaseblock==nil then
  1409. block.Value=block.Value-1
  1410. end
  1411. end
  1412. end
  1413. if block.className=="IntValue" then
  1414. if block.Value>0 then
  1415. blocked=true
  1416. if decreaseblock~=nil then
  1417. block.Value=block.Value-1
  1418. end
  1419. end
  1420. end
  1421. end
  1422. if blocked==false then
  1423. -- h:TakeDamage(Damage)
  1424. h.Health=h.Health-Damage
  1425. showDamage(hit.Parent,Damage,.5,BrickColor.new("New Yeller"))
  1426. else
  1427. h.Health=h.Health-(Damage/2)
  1428. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  1429. end
  1430. if Type=="Knockdown" then
  1431. hum=hit.Parent.Humanoid
  1432. hum.PlatformStand=true
  1433. coroutine.resume(coroutine.create(function(HHumanoid)
  1434. swait(1)
  1435. HHumanoid.PlatformStand=false
  1436. end),hum)
  1437. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  1438. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  1439. local bodvol=Instance.new("BodyVelocity")
  1440. bodvol.velocity=angle*knockback
  1441. bodvol.P=5000
  1442. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1443. bodvol.Parent=hit
  1444. rl=Instance.new("BodyAngularVelocity")
  1445. rl.P=3000
  1446. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1447. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1448. rl.Parent=hit
  1449. game:GetService("Debris"):AddItem(bodvol,.5)
  1450. game:GetService("Debris"):AddItem(rl,.5)
  1451. elseif Type=="Normal" then
  1452. so("http://www.roblox.com/asset/?id=220834019",hit,1,math.random(80,120)/100)
  1453. vp=Instance.new("BodyVelocity")
  1454. vp.P=500
  1455. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1456. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1457. if KnockbackType==1 then
  1458. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  1459. elseif KnockbackType==2 then
  1460. vp.velocity=Property.CFrame.lookVector*knockback
  1461. end
  1462. if knockback>0 then
  1463. vp.Parent=hit.Parent.Torso
  1464. end
  1465. game:GetService("Debris"):AddItem(vp,.5)
  1466. elseif Type=="Up" then
  1467. local bodyVelocity=Instance.new("BodyVelocity")
  1468. bodyVelocity.velocity=vt(0,60,0)
  1469. bodyVelocity.P=5000
  1470. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1471. bodyVelocity.Parent=hit
  1472. game:GetService("Debris"):AddItem(bodyVelocity,1)
  1473. rl=Instance.new("BodyAngularVelocity")
  1474. rl.P=3000
  1475. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1476. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  1477. rl.Parent=hit
  1478. game:GetService("Debris"):AddItem(rl,.5)
  1479. elseif Type=="Snare" then
  1480. bp=Instance.new("BodyPosition")
  1481. bp.P=2000
  1482. bp.D=100
  1483. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1484. bp.position=hit.Parent.Torso.Position
  1485. bp.Parent=hit.Parent.Torso
  1486. game:GetService("Debris"):AddItem(bp,1)
  1487. elseif Type=="Target" then
  1488. if Targetting==false then
  1489. ZTarget=hit.Parent.Torso
  1490. coroutine.resume(coroutine.create(function(Part)
  1491. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1492. swait(5)
  1493. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1494. end),ZTarget)
  1495. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  1496. targetgui=Instance.new("BillboardGui")
  1497. targetgui.Parent=ZTarget
  1498. targetgui.Size=UDim2.new(10,100,10,100)
  1499. targ=Instance.new("ImageLabel")
  1500. targ.Parent=targetgui
  1501. targ.BackgroundTransparency=1
  1502. targ.Image="rbxassetid://4834067"
  1503. targ.Size=UDim2.new(1,0,1,0)
  1504. cam.CameraType="Scriptable"
  1505. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1506. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1507. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1508. Targetting=true
  1509. RocketTarget=ZTarget
  1510. for i=1,Property do
  1511. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  1512. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  1513. swait()
  1514. end
  1515. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  1516. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1517. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1518. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  1519. end
  1520. Targetting=false
  1521. RocketTarget=nil
  1522. targetgui.Parent=nil
  1523. cam.CameraType="Custom"
  1524. end
  1525. end
  1526. debounce=Instance.new("BoolValue")
  1527. debounce.Name="DebounceHit"
  1528. debounce.Parent=hit.Parent
  1529. debounce.Value=true
  1530. game:GetService("Debris"):AddItem(debounce,Delay)
  1531. c=Instance.new("ObjectValue")
  1532. c.Name="creator"
  1533. c.Value=Player
  1534. c.Parent=h
  1535. game:GetService("Debris"):AddItem(c,.5)
  1536. CRIT=false
  1537. hitDeb=true
  1538. AttackPos=6
  1539. end
  1540. end
  1541.  
  1542. showDamage=function(Char,Dealt,du,Color)
  1543. m=Instance.new("Model")
  1544. m.Name=tostring(Dealt)
  1545. h=Instance.new("Humanoid")
  1546. h.Health=0
  1547. h.MaxHealth=0
  1548. h.Parent=m
  1549. c=Instance.new("Part")
  1550. c.Transparency=0
  1551. c.BrickColor=BrickColor.new("Bright red")
  1552. c.Name="Head"
  1553. c.TopSurface=0
  1554. c.BottomSurface=0
  1555. c.formFactor="Plate"
  1556. c.Size=Vector3.new(1,.4,1)
  1557. ms=Instance.new("CylinderMesh")
  1558. ms.Scale=Vector3.new(.8,.8,.8)
  1559. if CRIT==true then
  1560. ms.Scale=Vector3.new(1,1.25,1)
  1561. end
  1562. ms.Parent=c
  1563. c.Reflectance=0
  1564. Instance.new("BodyGyro").Parent=c
  1565. c.Parent=m
  1566. if Char:findFirstChild("Head")~=nil then
  1567. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1568. elseif Char.Parent:findFirstChild("Head")~=nil then
  1569. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1570. end
  1571. f=Instance.new("BodyPosition")
  1572. f.P=2000
  1573. f.D=100
  1574. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1575. f.position=c.Position+Vector3.new(0,3,0)
  1576. f.Parent=c
  1577. game:GetService("Debris"):AddItem(m,.5+du)
  1578. c.CanCollide=false
  1579. m.Parent=workspace
  1580. c.CanCollide=false
  1581. end
  1582.  
  1583. function Shockwave2(brickcolor, cframe, x1, y1, z1, x2, y2, z2, delay)
  1584. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1585. prt.Anchored = true
  1586. prt.CFrame = cframe
  1587. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  1588. coroutine.resume(coroutine.create(function()
  1589. for i = 0, 1, delay do
  1590. swait()
  1591. prt.Transparency = i
  1592. msh.Scale = msh.Scale + vt(x2, y2, z2)
  1593. end
  1594. prt.Parent = nil
  1595. end))
  1596. end
  1597.  
  1598. function attackone()
  1599. attack=true
  1600. for i=0,1,0.04 do
  1601. swait()
  1602. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(-30)),.1)
  1603. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1604. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2)
  1605. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2)
  1606. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  1607. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  1608. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  1609. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,4)*angles(math.rad(60),math.rad(90),math.rad(-90)),0.2)
  1610. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1611. arm1p4w.C0=clerp(arm1p4w.C0,cf(1.5,3,0)*angles(math.rad(0),math.rad(0),math.rad(-120)),0.2)
  1612. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1613. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1614. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.2)
  1615. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  1616. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1617. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  1618. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1619. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  1620. end
  1621. so("http://www.roblox.com/asset/?id=203691467",arm1hitbox,1,1)
  1622. con1=arm1hitbox.Touched:connect(function(hit) Damagefunc(hit,60,80,math.random(60,80),"Normal",RootPart,.2,1) end)
  1623. for i=0,1,0.2 do
  1624. swait()
  1625. Shockwave(BrickColor.new("Lime green"),cf(arm1hitbox.Position),1,1,1,1,1,1,0.075)
  1626. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(30)),.2)
  1627. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1628. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.3)
  1629. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-130)), 0.2)
  1630. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  1631. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  1632. arm1pw.C0=clerp(arm1pw.C0,cf(-2.5,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  1633. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,-4)*angles(math.rad(-60),math.rad(90),math.rad(-90)),0.3)
  1634. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1635. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1636. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1637. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1638. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.2)
  1639. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  1640. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1641. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  1642. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1643. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  1644. end
  1645. for i=0,1,0.04 do
  1646. swait()
  1647. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(30)),.2)
  1648. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1649. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.3)
  1650. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-130)), 0.2)
  1651. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  1652. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  1653. arm1pw.C0=clerp(arm1pw.C0,cf(-2.5,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  1654. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,-4)*angles(math.rad(-60),math.rad(90),math.rad(-90)),0.3)
  1655. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1656. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1657. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1658. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1659. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.2)
  1660. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  1661. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1662. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  1663. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1664. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  1665. end
  1666. con1:disconnect()
  1667. attack=false
  1668. end
  1669.  
  1670. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1671. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1672. end
  1673.  
  1674. function attacktwo()
  1675. attack=true
  1676. for i=0,1,0.04 do
  1677. swait()
  1678. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12)*angles(math.rad(-20),math.rad(0),math.rad(20)),.1)
  1679. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1680. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2)
  1681. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2)
  1682. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  1683. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  1684. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  1685. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  1686. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1687. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  1688. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1689. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1690. arm2pw.C0=clerp(arm2pw.C0,cf(0,-2.5,0)*angles(math.rad(0),math.rad(120),math.rad(-90)),0.2)
  1691. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  1692. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1693. arm2p4w.C0=clerp(arm2p4w.C0,cf(-1,3,0)*angles(math.rad(0),math.rad(0),math.rad(-75)),0.2)
  1694. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1695. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  1696. end
  1697. so("http://www.roblox.com/asset/?id=203691467",arm1hitbox,1,0.8)
  1698. con1=arm2hitbox.Touched:connect(function(hit) Damagefunc(hit,60,80,math.random(60,80),"Normal",RootPart,.2,1) end)
  1699. for i=0,1,0.2 do
  1700. swait()
  1701. Shockwave(BrickColor.new("Lime green"),cf(arm2hitbox.Position),1,1,1,1,1,1,0.075)
  1702. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(20),math.rad(0),math.rad(-45)),.2)
  1703. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1704. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2)
  1705. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2)
  1706. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  1707. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  1708. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  1709. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  1710. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1711. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  1712. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1713. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1714. arm2pw.C0=clerp(arm2pw.C0,cf(1.5,-3.5,-5)*angles(math.rad(-30),math.rad(0),math.rad(-90)),0.3)
  1715. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.3)
  1716. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1717. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  1718. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1719. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  1720. end
  1721. Humanoid.WalkSpeed = 0
  1722. local hit,pos=rayCast(arm2hitbox.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
  1723. if hit~=nil then
  1724. swait()
  1725. print("touched")
  1726. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
  1727. ref.Anchored=true
  1728. ref.CFrame=cf(pos)
  1729. game:GetService("Debris"):AddItem(ref,3)
  1730. so("http://www.roblox.com/asset/?id=199145477",arm2hitbox,1,math.random(60,140)/100)
  1731. Shockwave2(BrickColor.new("Black"),cf(pos),0.1,0.1,0.1,1,1,1,0.05)
  1732. end
  1733. for i=0,1,0.04 do
  1734. swait()
  1735. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(20),math.rad(0),math.rad(-45)),.2)
  1736. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1737. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2)
  1738. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2)
  1739. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  1740. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  1741. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  1742. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  1743. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1744. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  1745. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1746. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1747. arm2pw.C0=clerp(arm2pw.C0,cf(1.5,-3.5,-5)*angles(math.rad(-20),math.rad(0),math.rad(-90)),0.3)
  1748. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.3)
  1749. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1750. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  1751. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1752. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  1753. end
  1754. Humanoid.WalkSpeed = 64
  1755. con1:disconnect()
  1756. attack=false
  1757. end
  1758.  
  1759. lasereye=1
  1760.  
  1761. mouse.Button1Down:connect(function()
  1762. if attack==false and attacktype==1 and sphere==false then
  1763. attackone()
  1764. attacktype=2
  1765. elseif attack==false and attacktype==2 and sphere==false then
  1766. attacktwo()
  1767. attacktype=1
  1768. end
  1769. if attack==false and used==false and sphere==true and rest==false and lasereye==1 then
  1770. lasereye=2
  1771. LaserBlaster()
  1772. elseif attack==false and used==false and sphere==true and rest==false and lasereye==2 then
  1773. lasereye=1
  1774. LaserBlaster2()
  1775. end
  1776. end)
  1777.  
  1778. function Shockwave(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1779. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1780. prt.Anchored = true
  1781. prt.CFrame = cframe
  1782. prt.Material = "Neon"
  1783. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1784. game:GetService("Debris"):AddItem(prt, 2)
  1785. coroutine.resume(coroutine.create(function(Part, Mesh)
  1786. for i = 0, 1, delay do
  1787. swait()
  1788. Part.CFrame = Part.CFrame
  1789. Part.Transparency = i
  1790. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1791. end
  1792. Part.Parent = nil
  1793. end), prt, msh)
  1794. end
  1795.  
  1796. function Laser(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1797. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1798. prt.Anchored = true
  1799. prt.CFrame = cframe
  1800. prt.Material = "Neon"
  1801. local msh = mesh("SpecialMesh", prt, "Head", "", vt(0, 0, 0), vt(x1, y1, z1))
  1802. game:GetService("Debris"):AddItem(prt, 2)
  1803. coroutine.resume(coroutine.create(function(Part, Mesh)
  1804. for i = 0, 1, delay do
  1805. swait()
  1806. Part.CFrame = Part.CFrame
  1807. Part.Transparency = i
  1808. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1809. end
  1810. Part.Parent = nil
  1811. end), prt, msh)
  1812. end
  1813.  
  1814. MMouse=mouse
  1815. LaserTarget=RootPart
  1816. used=false
  1817.  
  1818. function LaserBlaster()
  1819. used=true
  1820. so("http://www.roblox.com/asset/?id=167122623",eyep,1,math.random(60,80)/100)
  1821. local MouseLook=cf((eyep.Position+MMouse.Hit.p)/2,MMouse.Hit.p)
  1822. local hit,pos = rayCast(eyep.Position,MouseLook.lookVector,999,LaserTarget.Parent)
  1823. local mag=(eyep.Position-pos).magnitude
  1824. Laser(BrickColor.new("Really red"),CFrame.new((eyep.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*2,1,0.5,0,0.5,0.1)
  1825. if hit~=nil then
  1826. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
  1827. ref.Anchored=true
  1828. ref.CFrame=cf(pos)
  1829. game:GetService("Debris"):AddItem(ref,1)
  1830. so("http://www.roblox.com/asset/?id=340722848",ref,1,math.random(80,120)/100)
  1831. Shockwave(BrickColor.new("Really red"),cf(pos),1,1,1,1,1,1,0.075)
  1832. Damagefunc(hit,20,40,0,"Normal",RootPart,0)
  1833. end
  1834. for i=0,1,0.2 do
  1835. swait()
  1836. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,2,12)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1837. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1838. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1839. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1840. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  1841. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  1842. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1843. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1844. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1845. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1846. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1847. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1848. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1849. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1850. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1851. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1852. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1853. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1854. end
  1855. wait(0.25)
  1856. used=false
  1857. end
  1858.  
  1859. function LaserBlaster2()
  1860. used=true
  1861. so("http://www.roblox.com/asset/?id=167122623",eyep2,1,math.random(60,80)/100)
  1862. local MouseLook=cf((eyep2.Position+MMouse.Hit.p)/2,MMouse.Hit.p)
  1863. local hit,pos = rayCast(eyep2.Position,MouseLook.lookVector,999,LaserTarget.Parent)
  1864. local mag=(eyep2.Position-pos).magnitude
  1865. Laser(BrickColor.new("Lime green"),CFrame.new((eyep2.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*2,1,0.5,0,0.5,0.1)
  1866. if hit~=nil then
  1867. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
  1868. ref.Anchored=true
  1869. ref.CFrame=cf(pos)
  1870. game:GetService("Debris"):AddItem(ref,1)
  1871. so("http://www.roblox.com/asset/?id=340722848",ref,1,math.random(80,120)/100)
  1872. Shockwave(BrickColor.new("Lime green"),cf(pos),1,1,1,1,1,1,0.075)
  1873. Damagefunc(hit,20,40,0,"Normal",RootPart,0)
  1874. end
  1875. for i=0,1,0.2 do
  1876. swait()
  1877. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,2,12)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1878. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1879. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1880. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1881. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  1882. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  1883. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1884. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1885. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1886. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1887. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1888. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1889. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1890. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1891. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1892. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1893. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1894. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1895. end
  1896. wait(0.25)
  1897. used=false
  1898. end
  1899.  
  1900. used2=false
  1901.  
  1902. function GiantLaserBlaster()
  1903. used2=true
  1904. so("http://www.roblox.com/asset/?id=137463716",eyep,1,math.random(60,80)/100)
  1905. eyeeffect.Enabled = true
  1906. wait(1.6)
  1907. eyeeffect.Enabled = false
  1908. so("http://www.roblox.com/asset/?id=253453677",eyep,1,math.random(75,125)/100)
  1909. so("http://www.roblox.com/asset/?id=253453677",eyep,1,math.random(75,125)/100)
  1910. so("http://www.roblox.com/asset/?id=253453677",eyep,1,math.random(75,125)/100)
  1911. so("http://www.roblox.com/asset/?id=253453677",eyep,1,math.random(75,125)/100)
  1912. local MouseLook=cf((eyep.Position+MMouse.Hit.p)/2,MMouse.Hit.p)
  1913. local hit,pos = rayCast(eyep.Position,MouseLook.lookVector,999,LaserTarget.Parent)
  1914. local mag=(eyep.Position-pos).magnitude
  1915. Laser(BrickColor.new("Lime green"),CFrame.new((eyep.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*2,1,2.5,0,2.5,0.05)
  1916. if hit~=nil then
  1917. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
  1918. ref.Anchored=true
  1919. ref.CFrame=cf(pos)
  1920. game:GetService("Debris"):AddItem(ref,1)
  1921. so("http://www.roblox.com/asset/?id=340722848",ref,1,math.random(80,120)/100)
  1922. Shockwave(BrickColor.new("Really red"),cf(pos),2.5,2.5,2.5,2.5,2.5,2.5,0.025)
  1923. Damagefunc(hit,40,80,0,"Normal",RootPart,0)
  1924. end
  1925. for i=0,1,0.1 do
  1926. swait()
  1927. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,8,12)*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  1928. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1929. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1930. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1931. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  1932. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  1933. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1934. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1935. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1936. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1937. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1938. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1939. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1940. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1941. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1942. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1943. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1944. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1945. end
  1946. wait(3)
  1947. used2=false
  1948. end
  1949.  
  1950. function GiantLaserBlaster2()
  1951. used2=true
  1952. so("http://www.roblox.com/asset/?id=137463716",eyep2,1,math.random(60,80)/100)
  1953. eyeeffect2.Enabled = true
  1954. wait(1.6)
  1955. eyeeffect2.Enabled = false
  1956. so("http://www.roblox.com/asset/?id=253453677",eyep2,1,math.random(75,125)/100)
  1957. so("http://www.roblox.com/asset/?id=253453677",eyep2,1,math.random(75,125)/100)
  1958. so("http://www.roblox.com/asset/?id=253453677",eyep2,1,math.random(75,125)/100)
  1959. so("http://www.roblox.com/asset/?id=253453677",eyep2,1,math.random(75,125)/100)
  1960. local MouseLook=cf((eyep2.Position+MMouse.Hit.p)/2,MMouse.Hit.p)
  1961. local hit,pos = rayCast(eyep2.Position,MouseLook.lookVector,999,LaserTarget.Parent)
  1962. local mag=(eyep2.Position-pos).magnitude
  1963. Laser(BrickColor.new("Really red"),CFrame.new((eyep2.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*2,1,2.5,0,2.5,0.05)
  1964. if hit~=nil then
  1965. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
  1966. ref.Anchored=true
  1967. ref.CFrame=cf(pos)
  1968. game:GetService("Debris"):AddItem(ref,1)
  1969. so("http://www.roblox.com/asset/?id=340722848",ref,1,math.random(80,120)/100)
  1970. Shockwave(BrickColor.new("Lime green"),cf(pos),2.5,2.5,2.5,2.5,2.5,2.5,0.025)
  1971. Damagefunc(hit,40,80,0,"Normal",RootPart,0)
  1972. end
  1973. for i=0,1,0.1 do
  1974. swait()
  1975. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,8,12)*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  1976. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1977. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1978. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1979. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  1980. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  1981. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1982. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1983. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1984. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1985. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1986. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1987. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1988. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1989. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1990. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1991. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1992. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1993. end
  1994. wait(3)
  1995. used2=false
  1996. end
  1997.  
  1998. function Hibernation()
  1999. if rest==false then
  2000. print("You are now resting.")
  2001. rest=true
  2002. attack=true
  2003. emitter.Enabled = false
  2004. particleemitter.Enabled = false
  2005. for i=0,1,0.15 do
  2006. wait()
  2007. Humanoid.CameraOffset = Vector3.new(0, 12.5-12.5*i, 0)
  2008. music.Volume = 0.5-0.5*i
  2009. --eyep2mesh.Scale = Vector3.new(8.5,8.5-8.4*i,2)
  2010. --eyepmesh.Scale = Vector3.new(8.5,8.5-8.4*i,2)
  2011. end
  2012. music.Volume = 0
  2013. Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  2014. attack=false
  2015. Humanoid.WalkSpeed = 0
  2016. elseif rest==true then
  2017. print("You are now awake.")
  2018. rest=false
  2019. attack=true
  2020. for i=0,1,0.15 do
  2021. wait()
  2022. Humanoid.CameraOffset = Vector3.new(0, 0+12.5*i, 0)
  2023. music.Volume = 0+0.5*i
  2024. --eyep2mesh.Scale = Vector3.new(8.5,0.1+8.4*i,2)
  2025. --eyepmesh.Scale = Vector3.new(8.5,0.1+8.4*i,2)
  2026. end
  2027. emitter.Enabled = true
  2028. particleemitter.Enabled = true
  2029. Humanoid.WalkSpeed = 16
  2030. music.Volume = 0.5
  2031. Humanoid.CameraOffset = Vector3.new(0, 12.5, 0)
  2032. attack=false
  2033. end
  2034. end
  2035.  
  2036. ragemodedelay=false
  2037.  
  2038. function RageMode()
  2039. if sphere==true then
  2040. music:Stop()
  2041. music2:Play()
  2042. rawr:Play()
  2043. rawr.Pitch=1
  2044. particleemitter2.Enabled=true
  2045. particleemitter3.Enabled=true
  2046. particleemitter4.Enabled=true
  2047. particleemitter5.Enabled=true
  2048. particleemitter6.Enabled=true
  2049. particleemitter7.Enabled=true
  2050. particleemitter8.Enabled=true
  2051. particleemitter9.Enabled=true
  2052. particleemitter10.Enabled=true
  2053. particleemitter11.Enabled=true
  2054. Humanoid.WalkSpeed = 64
  2055. Shockwave(BrickColor.new("Really red"),cf(Torso.Position),4,4,4,6,6,6,0.025)
  2056. so("http://www.roblox.com/asset/?id=340722848",Character,0.5,1.2)
  2057. sphere=false
  2058. elseif sphere==false then
  2059. music2:Stop()
  2060. music:Play()
  2061. particleemitter2.Enabled=false
  2062. particleemitter3.Enabled=false
  2063. particleemitter4.Enabled=false
  2064. particleemitter5.Enabled=false
  2065. particleemitter6.Enabled=false
  2066. particleemitter7.Enabled=false
  2067. particleemitter8.Enabled=false
  2068. particleemitter9.Enabled=false
  2069. particleemitter10.Enabled=false
  2070. particleemitter11.Enabled=false
  2071. Humanoid.WalkSpeed = 16
  2072. Shockwave(BrickColor.new("Lime green"),cf(Torso.Position),4,4,4,6,6,6,0.025)
  2073. so("http://www.roblox.com/asset/?id=340722848",Character,0.5,0.8)
  2074. sphere=true
  2075. end
  2076. end
  2077.  
  2078. --use3=false
  2079.  
  2080. function TheWind()
  2081. if aura==false then
  2082. Shockwave(BrickColor.new("Really red"),cf(Torso.Position),16,16,16,10,10,10,0.025)
  2083. so("http://www.roblox.com/asset/?id=340722848",Torso,1,1.1)
  2084. ghostp.Transparency = 0.8
  2085. ghostp2.Transparency = 0.85
  2086. ghostp3.Transparency = 0.9
  2087. ghostp4.Transparency = 0.95
  2088. ghostp5.Transparency = 0.75
  2089. ghostp6.Transparency = 0.825
  2090. ghostp7.Transparency = 0.875
  2091. ghostp8.Transparency = 0.925
  2092. aura=true
  2093. elseif aura==true then
  2094. Shockwave(BrickColor.new("Lime green"),cf(Torso.Position),16,16,16,10,10,10,0.025)
  2095. so("http://www.roblox.com/asset/?id=340722848",Torso,1,0.9)
  2096. ghostp.Transparency = 1
  2097. ghostp2.Transparency = 1
  2098. ghostp3.Transparency = 1
  2099. ghostp4.Transparency = 1
  2100. ghostp5.Transparency = 1
  2101. ghostp6.Transparency = 1
  2102. ghostp7.Transparency = 1
  2103. ghostp8.Transparency = 1
  2104. aura=false
  2105. end
  2106. while aura==true do
  2107. for i=0,1,0.05 do
  2108. wait()
  2109. ghostw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(45+360*i),math.rad(0))
  2110. ghostw2.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(90+360*i),math.rad(0))
  2111. ghostw3.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(135+360*i),math.rad(0))
  2112. ghostw4.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(180+360*i),math.rad(0))
  2113. ghost5w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(225+360*i),math.rad(0))
  2114. ghost6w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(270+360*i),math.rad(0))
  2115. ghost7w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(315+360*i),math.rad(0))
  2116. ghost8w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(360+360*i),math.rad(0))
  2117. end
  2118. end
  2119. end
  2120.  
  2121. giantlasereye=1
  2122.  
  2123. function ShootingTheEyes()
  2124. if giantlasereye==1 then
  2125. GiantLaserBlaster()
  2126. giantlasereye=2
  2127. elseif giantlasereye==2 then
  2128. GiantLaserBlaster2()
  2129. giantlasereye=1
  2130. end
  2131. end
  2132.  
  2133. mouse.KeyDown:connect(function(k)
  2134. k=k:lower()
  2135. if k=='r' and attack==false and sphere==true and aura==false then
  2136. Hibernation()
  2137. end
  2138. if k=='f' and used2==false and sphere==true and rest==false then
  2139. ShootingTheEyes()
  2140. end
  2141. if k=='q' and rest==false and ragemodedelay==false then
  2142. game:service("Chat"):Chat(Head, "This ends...", Enum.ChatColor.Red)
  2143. wait(1)
  2144. game:service("Chat"):Chat(Head, "NOW!", Enum.ChatColor.Red)
  2145. RageMode()
  2146. ragemodedelay=true
  2147. end
  2148. if k=='t' and rest==false and sphere==false and ragemodedelay==true then
  2149. game:service("Chat"):Chat(Head, "I'll be watching...", Enum.ChatColor.Red)
  2150. RageMode()
  2151. ragemodedelay=false
  2152. end
  2153. if k=='e' and rest==false then
  2154. TheWind()
  2155. end
  2156. end)
  2157.  
  2158. local sine = 0
  2159. local change = 1
  2160. local val = 0
  2161.  
  2162. while true do
  2163. swait()
  2164. sine = sine + change
  2165. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2166. local velderp=RootPart.Velocity.y
  2167. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2168. if equipped==true or equipped==false then
  2169. if attack==false then
  2170. idle=idle+1
  2171. else
  2172. idle=0
  2173. end
  2174. if idle>=500 then
  2175. if attack==false then
  2176. --Sheath()
  2177. end
  2178. end
  2179. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2180. Anim="Jump"
  2181. if attack==false and sphere==false then
  2182. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-0.5*math.cos(sine/60))*angles(math.rad(-30),math.rad(0),math.rad(0)),.1)
  2183. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2184. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(80-10*math.cos(sine/60))), 0.3)
  2185. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-80+10*math.cos(sine/60))), 0.3)
  2186. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2187. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2188. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2189. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2190. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2191. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2192. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2193. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2194. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  2195. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2196. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2197. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2198. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2199. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2200. else
  2201. if attack==false and sphere==true then
  2202. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-0.5*math.cos(sine/40))*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
  2203. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2204. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2205. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2206. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2207. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2208. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2209. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2210. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2211. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2212. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2213. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2214. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2215. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2216. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2217. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2218. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2219. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2220. end
  2221. end
  2222. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2223. Anim="Fall"
  2224. if attack==false and sphere==false then
  2225. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-0.5*math.cos(sine/60))*angles(math.rad(30),math.rad(0),math.rad(0)),.1)
  2226. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2227. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(120-10*math.cos(sine/60))), 0.3)
  2228. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-120+10*math.cos(sine/60))), 0.3)
  2229. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2230. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2231. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2232. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2233. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2234. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2235. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2236. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2237. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  2238. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2239. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2240. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2241. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2242. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2243. else
  2244. if attack==false and sphere==true then
  2245. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-0.5*math.cos(sine/40))*angles(math.rad(20),math.rad(0),math.rad(0)),.1)
  2246. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2247. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2248. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2249. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2250. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2251. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2252. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2253. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2254. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2255. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2256. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2257. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2258. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2259. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2260. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2261. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2262. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2263. end
  2264. end
  2265. elseif torvel<1 and hitfloor~=nil then
  2266. Anim="Idle"
  2267. Humanoid.WalkSpeed = 64
  2268. if attack==false and sphere==false and rest==false then
  2269. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-0.5*math.cos(sine/30))*angles(math.rad(5+5*math.cos(sine/30)),math.rad(0),math.rad(0)),.1)
  2270. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2271. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15-10*math.cos(sine/30)), math.rad(0), math.rad(100-5*math.cos(sine/30))), 0.3)
  2272. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15-10*math.cos(sine/30)), math.rad(0), math.rad(-100+5*math.cos(sine/30))), 0.3)
  2273. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2274. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2275. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2276. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2277. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2278. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2279. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2280. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2281. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  2282. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2283. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2284. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2285. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2286. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2287. else
  2288. if attack==false and sphere==true and rest==false then
  2289. Humanoid.WalkSpeed = 16
  2290. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0+1*math.cos(sine/20),0,12-0.5*math.cos(sine/40))*angles(math.rad(5+5*math.cos(sine/30)),math.rad(0),math.rad(0)),.1)
  2291. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2292. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2293. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2294. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2295. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2296. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2297. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2298. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2299. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2300. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2301. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2302. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2303. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2304. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2305. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2306. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2307. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2308. else
  2309. if attack==false and sphere==true and rest==true then
  2310. Humanoid.WalkSpeed = 0
  2311. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(2.5+2.5*math.cos(sine/20)),math.rad(30),math.rad(0)),.1)
  2312. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2313. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2314. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2315. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2316. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2317. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2318. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2319. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2320. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2321. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2322. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2323. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2324. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2325. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2326. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2327. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2328. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2329. end
  2330. end
  2331. end
  2332. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  2333. Anim="Walk"
  2334. if attack==false and sphere==false then
  2335. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-1*math.cos(sine/30))*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
  2336. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2337. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(120)), 0.3)
  2338. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-120)), 0.3)
  2339. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2340. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2341. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2342. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2343. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2344. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2345. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2346. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2347. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  2348. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2349. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2350. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2351. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2352. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2353. else
  2354. if attack==false and sphere==true then
  2355. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-0.5*math.cos(sine/40))*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
  2356. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2357. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2358. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2359. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2360. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2361. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2362. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2363. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2364. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2365. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2366. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2367. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2368. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2369. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2370. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2371. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2372. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2373. end
  2374. end
  2375. elseif torvel>=22 and hitfloor~=nil then
  2376. Anim="Run"
  2377. if attack==false and sphere==false then
  2378. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-1*math.cos(sine/30))*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
  2379. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2380. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(120)), 0.3)
  2381. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-120)), 0.3)
  2382. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2383. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2384. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2385. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2386. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2387. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2388. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2389. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2390. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  2391. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2392. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2393. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2394. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2395. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2396. end
  2397. end
  2398. end
  2399. if #Effects>0 then
  2400. --table.insert(Effects,{prt,"Block1",delay})
  2401. for e=1,#Effects do
  2402. if Effects[e]~=nil then
  2403. --for j=1,#Effects[e] do
  2404. local Thing=Effects[e]
  2405. if Thing~=nil then
  2406. local Part=Thing[1]
  2407. local Mode=Thing[2]
  2408. local Delay=Thing[3]
  2409. local IncX=Thing[4]
  2410. local IncY=Thing[5]
  2411. local IncZ=Thing[6]
  2412. if Thing[1].Transparency<=1 then
  2413. if Thing[2]=="Block1" then
  2414. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2415. Mesh=Thing[1].Mesh
  2416. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2417. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2418. elseif Thing[2]=="Cylinder" then
  2419. Mesh=Thing[1].Mesh
  2420. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2421. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2422. elseif Thing[2]=="Blood" then
  2423. Mesh=Thing[7]
  2424. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  2425. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2426. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2427. elseif Thing[2]=="Elec" then
  2428. Mesh=Thing[1].Mesh
  2429. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  2430. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2431. elseif Thing[2]=="Disappear" then
  2432. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2433. end
  2434. else
  2435. Part.Parent=nil
  2436. table.remove(Effects,e)
  2437. end
  2438. end
  2439. --end
  2440. end
  2441. end
  2442. end
  2443. end
Add Comment
Please, Sign In to add comment