Advertisement
Guest User

Untitled

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