icy_king

Untitled

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