LeonardTSoGT

Ice Spirit Script

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