Advertisement
Finnegan5

nelf

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