xOmqJacky

Nefl Pad

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