ArtiusFox

[Roblox Script] Neflhelm (Brannon1964802)

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