Advertisement
c00lkiddv2016

baby neflhelm (c00lkidd EDITION)

Sep 20th, 2016
397
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 197.79 KB | None | 0 0
  1. --[[Baby c00lkidd-Crystal Nefl created by c00lkiddv2016]]--
  2. --[[Based off Nefl from Strife, and a hacker named c00lkidd, sorta.]]--
  3.  
  4. Player=game:GetService("Players").LocalPlayer
  5. Character=Player.Character
  6. PlayerGui=Player.PlayerGui
  7. Backpack=Player.Backpack
  8. Torso=Character.Torso
  9. Head=Character.Head
  10. Humanoid=Character.Humanoid
  11. m=Instance.new('Model',Character)
  12. LeftArm=Character["Left Arm"]
  13. LeftLeg=Character["Left Leg"]
  14. RightArm=Character["Right Arm"]
  15. RightLeg=Character["Right Leg"]
  16. LS=Torso["Left Shoulder"]
  17. LH=Torso["Left Hip"]
  18. RS=Torso["Right Shoulder"]
  19. RH=Torso["Right Hip"]
  20. Face = Head.face
  21. Neck=Torso.Neck
  22. it=Instance.new
  23. attacktype=1
  24. vt=Vector3.new
  25. cf=CFrame.new
  26. euler=CFrame.fromEulerAnglesXYZ
  27. angles=CFrame.Angles
  28. cloaked=false
  29. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  30. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  31. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  32. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  33. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  34. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  35. RootPart=Character.HumanoidRootPart
  36. RootJoint=RootPart.RootJoint
  37. RootCF=euler(-1.57,0,3.14)
  38. attack = false
  39. attackdebounce = false
  40. deb=false
  41. equipped=true
  42. hand=false
  43. MMouse=nil
  44. combo=0
  45. mana=0
  46. trispeed=.2
  47. attackmode='none'
  48. local idle=0
  49. local Anim="Idle"
  50. local Effects={}
  51. local gun=false
  52. local shoot=false
  53. player=nil
  54. mana=0
  55. sphere=true
  56. aura=false
  57. blinking=true
  58. rest=false
  59.  
  60. game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function(jump)
  61. if jump == "Jump" then
  62. Humanoid.Jump = false
  63. end
  64. end)
  65.  
  66. Humanoid.MaxHealth = 50000
  67. wait(0.1)
  68. Humanoid.Health = 50000
  69.  
  70. print("Giant Snowman loaded.")
  71. print("This script was made by c00lkiddv2016")
  72.  
  73. RootPart.Transparency = 1
  74.  
  75. Humanoid.CameraOffset = Vector3.new(0, 12.5, 0)
  76.  
  77. Humanoid:findFirstChild("Animator"):Destroy()
  78.  
  79. Torso.Transparency = 1
  80. Head.Transparency = 1
  81. LeftLeg.Transparency = 1
  82. RightLeg.Transparency = 1
  83. LeftArm.Transparency = 1
  84. RightArm.Transparency = 1
  85.  
  86. mouse=Player:GetMouse()
  87. --save shoulders
  88. RSH, LSH=nil, nil
  89. --welds
  90. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  91. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  92. LH=Torso["Left Hip"]
  93. RH=Torso["Right Hip"]
  94. TorsoColor=Torso.BrickColor
  95. function NoOutline(Part)
  96. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  97. end
  98. player=Player
  99. ch=Character
  100. RSH=ch.Torso["Right Shoulder"]
  101. LSH=ch.Torso["Left Shoulder"]
  102. --
  103. RSH.Parent=nil
  104. LSH.Parent=nil
  105. --
  106. RW.Name="Right Shoulder"
  107. RW.Part0=ch.Torso
  108. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  109. RW.C1=cf(0, 0.5, 0)
  110. RW.Part1=ch["Right Arm"]
  111. RW.Parent=ch.Torso
  112. --
  113. LW.Name="Left Shoulder"
  114. LW.Part0=ch.Torso
  115. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  116. LW.C1=cf(0, 0.5, 0)
  117. LW.Part1=ch["Left Arm"]
  118. LW.Parent=ch.Torso
  119.  
  120. Player=game:GetService('Players').LocalPlayer
  121. Character=Player.Character
  122. Mouse=Player:GetMouse()
  123. m=Instance.new('Model',Character)
  124.  
  125. music = Instance.new("Sound", Character)
  126. music.SoundId = "http://www.roblox.com/asset/?id=340106355"
  127. music.Volume = 0
  128. music.Looped = true
  129. wait(0.1)
  130. music:Play()
  131.  
  132. music2 = Instance.new("Sound", Character)
  133. music2.SoundId = "http://www.roblox.com/asset/?id=340106807"
  134. music2.Volume = 0.5
  135. music2.Looped = true
  136.  
  137. rawr = Instance.new("Sound", Character)
  138. rawr.SoundId = "http://www.roblox.com/asset/?id=297472596"
  139. rawr.Volume = 0.5
  140. rawr.Looped = false
  141.  
  142. Beast = Instance.new("Model",Character)
  143. Beast.Name = "The Beast from The Depths"
  144.  
  145. torsop=Instance.new("Part",Character)
  146. torsop.FormFactor="Custom"
  147. torsop.Size=Vector3.new(.2,.2,.2)
  148. torsop.Transparency=0.5
  149. torsop.CanCollide=false
  150. torsop.BrickColor = BrickColor.new("Bright red")
  151. torsop.Material="Sand"
  152. torsop.TopSurface="Smooth"
  153. torsop.BottomSurface="Smooth"
  154. torsop.RightSurface="Smooth"
  155. torsop.LeftSurface="Smooth"
  156. torsopw=Instance.new("Weld",Character)
  157. torsopw.Part0=Character.Torso
  158. torsopw.Part1=torsop
  159. torsopw.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(-90),math.rad(0))
  160.  
  161. torso = Instance.new("SpecialMesh",torsop)
  162. torso.MeshType = "Sphere"
  163. torso.Scale = Vector3.new(45,45,45)
  164.  
  165. ghostp=Instance.new("Part",Character)
  166. ghostp.FormFactor="Custom"
  167. ghostp.Size=Vector3.new(0.2,0.2,0.2)
  168. ghostp.Transparency=1
  169. ghostp.CanCollide=false
  170. ghostp.BrickColor = BrickColor.new("Really black")
  171. ghostp.Material="Neon"
  172. ghostp.TopSurface="Smooth"
  173. ghostp.BottomSurface="Smooth"
  174. ghostp.RightSurface="Smooth"
  175. ghostp.LeftSurface="Smooth"
  176. ghostw=Instance.new("Weld",Character)
  177. ghostw.Part0=Character.Torso
  178. ghostw.Part1=ghostp
  179. ghostw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  180.  
  181. ghostmesh = Instance.new("FileMesh",ghostp)
  182. ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
  183. ghostmesh.Scale = Vector3.new(5,5,5)
  184.  
  185. ghostp2=Instance.new("Part",Character)
  186. ghostp2.FormFactor="Custom"
  187. ghostp2.Size=Vector3.new(0.2,0.2,0.2)
  188. ghostp2.Transparency=1
  189. ghostp2.CanCollide=false
  190. ghostp2.BrickColor = BrickColor.new("Really black")
  191. ghostp2.Material="Neon"
  192. ghostp2.TopSurface="Smooth"
  193. ghostp2.BottomSurface="Smooth"
  194. ghostp2.RightSurface="Smooth"
  195. ghostp2.LeftSurface="Smooth"
  196. ghostw2=Instance.new("Weld",Character)
  197. ghostw2.Part0=Character.Torso
  198. ghostw2.Part1=ghostp2
  199. ghostw2.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  200.  
  201. ghostmesh2 = Instance.new("FileMesh",ghostp2)
  202. ghostmesh2.MeshId = "http://www.roblox.com/asset/?id=168892432"
  203. ghostmesh2.Scale = Vector3.new(10,10,10)
  204.  
  205. ghostp3=Instance.new("Part",Character)
  206. ghostp3.FormFactor="Custom"
  207. ghostp3.Size=Vector3.new(0.2,0.2,0.2)
  208. ghostp3.Transparency=1
  209. ghostp3.CanCollide=false
  210. ghostp3.BrickColor = BrickColor.new("Really black")
  211. ghostp3.Material="Neon"
  212. ghostp3.TopSurface="Smooth"
  213. ghostp3.BottomSurface="Smooth"
  214. ghostp3.RightSurface="Smooth"
  215. ghostp2.LeftSurface="Smooth"
  216. ghostw3=Instance.new("Weld",Character)
  217. ghostw3.Part0=Character.Torso
  218. ghostw3.Part1=ghostp3
  219. ghostw3.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  220.  
  221. ghostmesh3 = Instance.new("FileMesh",ghostp3)
  222. ghostmesh3.MeshId = "http://www.roblox.com/asset/?id=168892432"
  223. ghostmesh3.Scale = Vector3.new(15,15,15)
  224.  
  225. ghostp4=Instance.new("Part",Character)
  226. ghostp4.FormFactor="Custom"
  227. ghostp4.Size=Vector3.new(0.2,0.2,0.2)
  228. ghostp4.Transparency=1
  229. ghostp4.CanCollide=false
  230. ghostp4.BrickColor = BrickColor.new("Really black")
  231. ghostp4.Material="Neon"
  232. ghostp4.TopSurface="Smooth"
  233. ghostp4.BottomSurface="Smooth"
  234. ghostp4.RightSurface="Smooth"
  235. ghostp4.LeftSurface="Smooth"
  236. ghostw4=Instance.new("Weld",Character)
  237. ghostw4.Part0=Character.Torso
  238. ghostw4.Part1=ghostp4
  239. ghostw4.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  240.  
  241. ghostmesh4 = Instance.new("FileMesh",ghostp4)
  242. ghostmesh4.MeshId = "http://www.roblox.com/asset/?id=168892432"
  243. ghostmesh4.Scale = Vector3.new(20,20,20)
  244.  
  245. ghostp5=Instance.new("Part",Character)
  246. ghostp5.FormFactor="Custom"
  247. ghostp5.Size=Vector3.new(0.2,0.2,0.2)
  248. ghostp5.Transparency=1
  249. ghostp5.CanCollide=false
  250. ghostp5.BrickColor = BrickColor.new("Really black")
  251. ghostp5.Material="Neon"
  252. ghostp5.TopSurface="Smooth"
  253. ghostp5.BottomSurface="Smooth"
  254. ghostp5.RightSurface="Smooth"
  255. ghostp5.LeftSurface="Smooth"
  256. ghost5w=Instance.new("Weld",Character)
  257. ghost5w.Part0=Character.Torso
  258. ghost5w.Part1=ghostp5
  259. ghost5w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  260.  
  261. ghostmesh = Instance.new("FileMesh",ghostp5)
  262. ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
  263. ghostmesh.Scale = Vector3.new(2.5,2.5,2.5)
  264.  
  265. ghostp6=Instance.new("Part",Character)
  266. ghostp6.FormFactor="Custom"
  267. ghostp6.Size=Vector3.new(0.2,0.2,0.2)
  268. ghostp6.Transparency=1
  269. ghostp6.CanCollide=false
  270. ghostp6.BrickColor = BrickColor.new("Really black")
  271. ghostp6.Material="Neon"
  272. ghostp6.TopSurface="Smooth"
  273. ghostp6.BottomSurface="Smooth"
  274. ghostp6.RightSurface="Smooth"
  275. ghostp6.LeftSurface="Smooth"
  276. ghost6w=Instance.new("Weld",Character)
  277. ghost6w.Part0=Character.Torso
  278. ghost6w.Part1=ghostp6
  279. ghost6w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  280.  
  281. ghostmesh = Instance.new("FileMesh",ghostp6)
  282. ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
  283. ghostmesh.Scale = Vector3.new(7.5,7.5,7.5)
  284.  
  285. ghostp7=Instance.new("Part",Character)
  286. ghostp7.FormFactor="Custom"
  287. ghostp7.Size=Vector3.new(0.2,0.2,0.2)
  288. ghostp7.Transparency=1
  289. ghostp7.CanCollide=false
  290. ghostp7.BrickColor = BrickColor.new("Really black")
  291. ghostp7.Material="Neon"
  292. ghostp7.TopSurface="Smooth"
  293. ghostp7.BottomSurface="Smooth"
  294. ghostp7.RightSurface="Smooth"
  295. ghostp7.LeftSurface="Smooth"
  296. ghost7w=Instance.new("Weld",Character)
  297. ghost7w.Part0=Character.Torso
  298. ghost7w.Part1=ghostp7
  299. ghost7w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  300.  
  301. ghostmesh = Instance.new("FileMesh",ghostp7)
  302. ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
  303. ghostmesh.Scale = Vector3.new(12.5,12.5,12.5)
  304.  
  305. ghostp8=Instance.new("Part",Character)
  306. ghostp8.FormFactor="Custom"
  307. ghostp8.Size=Vector3.new(0.2,0.2,0.2)
  308. ghostp8.Transparency=1
  309. ghostp8.CanCollide=false
  310. ghostp8.BrickColor = BrickColor.new("Really black")
  311. ghostp8.Material="Neon"
  312. ghostp8.TopSurface="Smooth"
  313. ghostp8.BottomSurface="Smooth"
  314. ghostp8.RightSurface="Smooth"
  315. ghostp8.LeftSurface="Smooth"
  316. ghost8w=Instance.new("Weld",Character)
  317. ghost8w.Part0=Character.Torso
  318. ghost8w.Part1=ghostp8
  319. ghost8w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  320.  
  321. ghostmesh = Instance.new("FileMesh",ghostp8)
  322. ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
  323. ghostmesh.Scale = Vector3.new(17.5,17.5,17.5)
  324.  
  325. eyeoutline=Instance.new("Part",Character)
  326. eyeoutline.FormFactor="Custom"
  327. eyeoutline.Size=Vector3.new(.2,.2,.2)
  328. eyeoutline.Transparency=0
  329. eyeoutline.CanCollide=false
  330. eyeoutline.BrickColor = BrickColor.new("Really black")
  331. eyeoutline.Material="SmoothPlastic"
  332. eyeoutline.TopSurface="Smooth"
  333. eyeoutline.BottomSurface="Smooth"
  334. eyeoutline.RightSurface="Smooth"
  335. eyeoutline.LeftSurface="Smooth"
  336. eyeoutlinew=Instance.new("Weld",Character)
  337. eyeoutlinew.Part0=Character.Torso
  338. eyeoutlinew.Part1=eyeoutline
  339. eyeoutlinew.C0=CFrame.new(-1.5,0,-4.1)*CFrame.Angles(0,math.rad(20),math.rad(0))
  340.  
  341. eyemesh = Instance.new("SpecialMesh",eyeoutline)
  342. eyemesh.MeshType = "Sphere"
  343. eyemesh.Scale = Vector3.new(8.5,8.5,2)
  344.  
  345. eyep=Instance.new("Part",Character)
  346. eyep.FormFactor="Custom"
  347. eyep.Size=Vector3.new(.2,.2,.2)
  348. eyep.Transparency=0
  349. eyep.CanCollide=false
  350. eyep.BrickColor = BrickColor.new("Really Red")
  351. eyep.Material="Neon"
  352. eyep.TopSurface="Smooth"
  353. eyep.BottomSurface="Smooth"
  354. eyep.RightSurface="Smooth"
  355. eyep.LeftSurface="Smooth"
  356. eyepw=Instance.new("Weld",Character)
  357. eyepw.Part0=eyeoutline
  358. eyepw.Part1=eyep
  359. eyepw.C0=CFrame.new(0,0,-0.1)*CFrame.Angles(0,math.rad(0),math.rad(0))
  360.  
  361. eyepmesh = Instance.new("SpecialMesh",eyep)
  362. eyepmesh.MeshType = "Sphere"
  363. eyepmesh.Scale = Vector3.new(7.5,7.5,2)
  364.  
  365. eyeoutline2=Instance.new("Part",Character)
  366. eyeoutline2.FormFactor="Custom"
  367. eyeoutline2.Size=Vector3.new(.2,.2,.2)
  368. eyeoutline2.Transparency=0
  369. eyeoutline2.CanCollide=false
  370. eyeoutline2.BrickColor = BrickColor.new("Really black")
  371. eyeoutline2.Material="SmoothPlastic"
  372. eyeoutline2.TopSurface="Smooth"
  373. eyeoutline2.BottomSurface="Smooth"
  374. eyeoutline2.RightSurface="Smooth"
  375. eyeoutline2.LeftSurface="Smooth"
  376. eyeoutline2w=Instance.new("Weld",Character)
  377. eyeoutline2w.Part0=Character.Torso
  378. eyeoutline2w.Part1=eyeoutline2
  379. eyeoutline2w.C0=CFrame.new(1.5,0,-4.1)*CFrame.Angles(0,math.rad(-20),math.rad(0))
  380.  
  381. eyemesh = Instance.new("SpecialMesh",eyeoutline2)
  382. eyemesh.MeshType = "Sphere"
  383. eyemesh.Scale = Vector3.new(8.5,8.5,2)
  384.  
  385. eyep2=Instance.new("Part",Character)
  386. eyep2.FormFactor="Custom"
  387. eyep2.Size=Vector3.new(.2,.2,.2)
  388. eyep2.Transparency=0
  389. eyep2.CanCollide=false
  390. eyep2.BrickColor = BrickColor.new("Really red")
  391. eyep2.Material="Neon"
  392. eyep2.TopSurface="Smooth"
  393. eyep2.BottomSurface="Smooth"
  394. eyep2.RightSurface="Smooth"
  395. eyep2.LeftSurface="Smooth"
  396. eyep2w=Instance.new("Weld",Character)
  397. eyep2w.Part0=eyeoutline2
  398. eyep2w.Part1=eyep2
  399. eyep2w.C0=CFrame.new(0,0,-0.1)*CFrame.Angles(0,math.rad(0),math.rad(0))
  400.  
  401. eyep2mesh = Instance.new("SpecialMesh",eyep2)
  402. eyep2mesh.MeshType = "Sphere"
  403. eyep2mesh.Scale = Vector3.new(7.5,7.5,2)
  404.  
  405. local spotlight = Instance.new("SpotLight", eyep)
  406. spotlight.Shadows = true
  407. spotlight.Color = Color3.new(1,0,0)
  408. spotlight.Range = 24
  409. spotlight.Angle = 60
  410. spotlight.Brightness = 100
  411.  
  412. local spotlight2 = Instance.new("SpotLight", eyep2)
  413. spotlight2.Shadows = true
  414. spotlight2.Color = Color3.new(1,0,0)
  415. spotlight2.Range = 24
  416. spotlight2.Angle = 60
  417. spotlight2.Brightness = 100
  418.  
  419. local particleemitter = Instance.new("ParticleEmitter", Torso)
  420. particleemitter.VelocitySpread = 180
  421. particleemitter.Lifetime = NumberRange.new(1)
  422. particleemitter.Speed = NumberRange.new(10)
  423. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  424. particleemitter.RotSpeed = NumberRange.new(-180, 180)
  425. particleemitter.Rotation = NumberRange.new(-360, 360)
  426. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  427. particleemitter.LightEmission = 1
  428. particleemitter.Texture = "http://www.roblox.com/asset/?id=320043786"
  429. particleemitter.Color = ColorSequence.new(Color3.new(1,0,0), Color3.new(1,0,0))
  430.  
  431. emitterp=Instance.new("Part",Character)
  432. emitterp.FormFactor="Custom"
  433. emitterp.Size=Vector3.new(5,.2,5)
  434. emitterp.Transparency=1
  435. emitterp.CanCollide=false
  436. emitterp.BrickColor = BrickColor.new("Really red")
  437. emitterp.Material="Neon"
  438. emitterp.TopSurface="Smooth"
  439. emitterp.BottomSurface="Smooth"
  440. emitterp.RightSurface="Smooth"
  441. emitterp.LeftSurface="Smooth"
  442. emitterpw=Instance.new("Weld",Character)
  443. emitterpw.Part0=Character.Torso
  444. emitterpw.Part1=emitterp
  445. emitterpw.C0=CFrame.new(0,-4,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  446.  
  447. local emitter = Instance.new("ParticleEmitter", emitterp)
  448. emitter.EmissionDirection = "Bottom"
  449. emitter.VelocitySpread = 30
  450. emitter.Lifetime = NumberRange.new(1)
  451. emitter.Speed = NumberRange.new(10)
  452. emitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 2, 0), NumberSequenceKeypoint.new(1, 2, 0)})
  453. emitter.RotSpeed = NumberRange.new(-180, 180)
  454. emitter.Rate = 1000
  455. emitter.Rotation = NumberRange.new(-360, 360)
  456. emitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  457. emitter.LightEmission = 1
  458. emitter.Texture = "http://www.roblox.com/asset/?id=31727915"
  459. emitter.Color = ColorSequence.new(Color3.new(1,0,0), Color3.new(1,0,0))
  460.  
  461. local eyeeffect = Instance.new("ParticleEmitter", eyep)
  462. eyeeffect.Lifetime = NumberRange.new(1)
  463. eyeeffect.Speed = NumberRange.new(0)
  464. eyeeffect.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 4), NumberSequenceKeypoint.new(1, 4)})
  465. eyeeffect.RotSpeed = NumberRange.new(1080)
  466. eyeeffect.Rate = 25
  467. eyeeffect.Rotation = NumberRange.new(-360, 360)
  468. eyeeffect.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.11, 0), NumberSequenceKeypoint.new(0.99, 1), NumberSequenceKeypoint.new(1, 1)})
  469. eyeeffect.LightEmission = 0.5
  470. eyeeffect.Texture = "http://www.roblox.com/asset/?id=242292288"
  471. eyeeffect.Color = ColorSequence.new(Color3.new(Color3.new(1,0,0), Color3.new(1,0,0))
  472. eyeeffect.LockedToPart = true
  473. eyeeffect.Enabled = false
  474.  
  475. local eyeeffect2 = Instance.new("ParticleEmitter", eyep2)
  476. eyeeffect2.Lifetime = NumberRange.new(1)
  477. eyeeffect2.Speed = NumberRange.new(0)
  478. eyeeffect2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 4), NumberSequenceKeypoint.new(1, 4)})
  479. eyeeffect2.RotSpeed = NumberRange.new(1080)
  480. eyeeffect2.Rate = 25
  481. eyeeffect2.Rotation = NumberRange.new(-360, 360)
  482. eyeeffect2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.11, 0), NumberSequenceKeypoint.new(0.99, 1), NumberSequenceKeypoint.new(1, 1)})
  483. eyeeffect2.LightEmission = 0.5
  484. eyeeffect2.Texture = "http://www.roblox.com/asset/?id=242292288"
  485. eyeeffect2.Color = ColorSequence.new(Color3.new(1,0,0), Color3.new(1,0,0))
  486. eyeeffect2.LockedToPart = true
  487. eyeeffect2.Enabled = false
  488.  
  489. coroutine.resume(coroutine.create(function(Part,Weld)
  490. while Part.Parent~=nil do
  491. wait(5)
  492. for i=0,1,0.2 do
  493. wait()
  494. spotlight.Angle = 60-60*i
  495. eyepmesh.Scale = Vector3.new(7.5,7.5-7.4*i,2)
  496. end
  497. for i=0,1,0.2 do
  498. wait()
  499. spotlight.Angle = 0+60*i
  500. eyepmesh.Scale = Vector3.new(7.5,0.1+7.4*i,2)
  501. end
  502. spotlight.Angle = 60
  503. end
  504. end),eyep,eyepw)
  505.  
  506. coroutine.resume(coroutine.create(function(Part,Weld)
  507. while Part.Parent~=nil do
  508. wait(5)
  509. for i=0,1,0.2 do
  510. wait()
  511. spotlight2.Angle = 60-60*i
  512. eyep2mesh.Scale = Vector3.new(7.5,7.5-7.4*i,2)
  513. end
  514. for i=0,1,0.2 do
  515. wait()
  516. spotlight2.Angle = 0+60*i
  517. eyep2mesh.Scale = Vector3.new(7.5,0.1+7.4*i,2)
  518. end
  519. spotlight2.Angle = 60
  520. end
  521. end),eyep2,eyep2w)
  522. --------------------------------------------------------------
  523. Arm = Instance.new("Model",Character)
  524. Arm.Name = "Arm 1"
  525.  
  526. arm1p=Instance.new("Part",Character)
  527. arm1p.FormFactor="Custom"
  528. arm1p.Size=Vector3.new(.2,.2,.2)
  529. arm1p.Transparency=0
  530. arm1p.CanCollide=false
  531. arm1p.BrickColor = BrickColor.new("Bright red")
  532. arm1p.Material="Sand"
  533. arm1p.TopSurface="Smooth"
  534. arm1p.BottomSurface="Smooth"
  535. arm1p.RightSurface="Smooth"
  536. arm1p.LeftSurface="Smooth"
  537. arm1pw=Instance.new("Weld",Character)
  538. arm1pw.Part0=Character["Right Arm"]
  539. arm1pw.Part1=arm1p
  540. arm1pw.C0=CFrame.new(0,-5,0)*CFrame.Angles(0,math.rad(0),math.rad(90))
  541.  
  542. arm1pmesh = Instance.new("SpecialMesh",arm1p)
  543. arm1pmesh.MeshType = "Sphere"
  544. arm1pmesh.Scale = Vector3.new(40,20,40)
  545.  
  546. local particleemitter2 = Instance.new("ParticleEmitter", arm1p)
  547. particleemitter2.VelocitySpread = 180
  548. particleemitter2.Lifetime = NumberRange.new(1)
  549. particleemitter2.Speed = NumberRange.new(10)
  550. particleemitter2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  551. particleemitter2.RotSpeed = NumberRange.new(-180, 180)
  552. particleemitter2.Rotation = NumberRange.new(-360, 360)
  553. particleemitter2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  554. particleemitter2.LightEmission = 1
  555. particleemitter2.Texture = "http://www.roblox.com/asset/?id=320043786"
  556. particleemitter2.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
  557. particleemitter2.Enabled = false
  558.  
  559. arm1p2=Instance.new("Part",Character)
  560. arm1p2.FormFactor="Custom"
  561. arm1p2.Size=Vector3.new(.2,.2,.2)
  562. arm1p2.Transparency=0
  563. arm1p2.CanCollide=false
  564. arm1p2.BrickColor = BrickColor.new("Bright red--[[Baby c00lkidd-Crystal Nefl created by Brannon1964802]]--
  565. --[[Based off Nefl from Strife, sorta.]]--
  566.  
  567. Player=game:GetService("Players").LocalPlayer
  568. Character=Player.Character
  569. PlayerGui=Player.PlayerGui
  570. Backpack=Player.Backpack
  571. Torso=Character.Torso
  572. Head=Character.Head
  573. Humanoid=Character.Humanoid
  574. m=Instance.new('Model',Character)
  575. LeftArm=Character["Left Arm"]
  576. LeftLeg=Character["Left Leg"]
  577. RightArm=Character["Right Arm"]
  578. RightLeg=Character["Right Leg"]
  579. LS=Torso["Left Shoulder"]
  580. LH=Torso["Left Hip"]
  581. RS=Torso["Right Shoulder"]
  582. RH=Torso["Right Hip"]
  583. Face = Head.face
  584. Neck=Torso.Neck
  585. it=Instance.new
  586. attacktype=1
  587. vt=Vector3.new
  588. cf=CFrame.new
  589. euler=CFrame.fromEulerAnglesXYZ
  590. angles=CFrame.Angles
  591. cloaked=false
  592. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  593. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  594. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  595. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  596. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  597. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  598. RootPart=Character.HumanoidRootPart
  599. RootJoint=RootPart.RootJoint
  600. RootCF=euler(-1.57,0,3.14)
  601. attack = false
  602. attackdebounce = false
  603. deb=false
  604. equipped=true
  605. hand=false
  606. MMouse=nil
  607. combo=0
  608. mana=0
  609. trispeed=.2
  610. attackmode='none'
  611. local idle=0
  612. local Anim="Idle"
  613. local Effects={}
  614. local gun=false
  615. local shoot=false
  616. player=nil
  617. mana=0
  618. sphere=true
  619. aura=false
  620. blinking=true
  621. rest=false
  622.  
  623. game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function(jump)
  624. if jump == "Jump" then
  625. Humanoid.Jump = false
  626. end
  627. end)
  628.  
  629. Humanoid.MaxHealth = 50000
  630. wait(0.1)
  631. Humanoid.Health = 50000
  632.  
  633. print("Giant Snowman loaded.")
  634. print("This script was made by c00lkiddv2016")
  635.  
  636. RootPart.Transparency = 1
  637.  
  638. Humanoid.CameraOffset = Vector3.new(0, 12.5, 0)
  639.  
  640. Humanoid:findFirstChild("Animator"):Destroy()
  641.  
  642. Torso.Transparency = 1
  643. Head.Transparency = 1
  644. LeftLeg.Transparency = 1
  645. RightLeg.Transparency = 1
  646. LeftArm.Transparency = 1
  647. RightArm.Transparency = 1
  648.  
  649. mouse=Player:GetMouse()
  650. --save shoulders
  651. RSH, LSH=nil, nil
  652. --welds
  653. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  654. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  655. LH=Torso["Left Hip"]
  656. RH=Torso["Right Hip"]
  657. TorsoColor=Torso.BrickColor
  658. function NoOutline(Part)
  659. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  660. end
  661. player=Player
  662. ch=Character
  663. RSH=ch.Torso["Right Shoulder"]
  664. LSH=ch.Torso["Left Shoulder"]
  665. --
  666. RSH.Parent=nil
  667. LSH.Parent=nil
  668. --
  669. RW.Name="Right Shoulder"
  670. RW.Part0=ch.Torso
  671. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  672. RW.C1=cf(0, 0.5, 0)
  673. RW.Part1=ch["Right Arm"]
  674. RW.Parent=ch.Torso
  675. --
  676. LW.Name="Left Shoulder"
  677. LW.Part0=ch.Torso
  678. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  679. LW.C1=cf(0, 0.5, 0)
  680. LW.Part1=ch["Left Arm"]
  681. LW.Parent=ch.Torso
  682.  
  683. Player=game:GetService('Players').LocalPlayer
  684. Character=Player.Character
  685. Mouse=Player:GetMouse()
  686. m=Instance.new('Model',Character)
  687.  
  688. music = Instance.new("Sound", Character)
  689. music.SoundId = "http://www.roblox.com/asset/?id=340106355"
  690. music.Volume = 0
  691. music.Looped = true
  692. wait(0.1)
  693. music:Play()
  694.  
  695. music2 = Instance.new("Sound", Character)
  696. music2.SoundId = "http://www.roblox.com/asset/?id=340106807"
  697. music2.Volume = 0.5
  698. music2.Looped = true
  699.  
  700. rawr = Instance.new("Sound", Character)
  701. rawr.SoundId = "http://www.roblox.com/asset/?id=297472596"
  702. rawr.Volume = 0.5
  703. rawr.Looped = false
  704.  
  705. Beast = Instance.new("Model",Character)
  706. Beast.Name = "The Beast from The Depths"
  707.  
  708. torsop=Instance.new("Part",Character)
  709. torsop.FormFactor="Custom"
  710. torsop.Size=Vector3.new(.2,.2,.2)
  711. torsop.Transparency=0
  712. torsop.CanCollide=false
  713. torsop.BrickColor = BrickColor.new("Really black")
  714. torsop.Material="Sand"
  715. torsop.TopSurface="Smooth"
  716. torsop.BottomSurface="Smooth"
  717. torsop.RightSurface="Smooth"
  718. torsop.LeftSurface="Smooth"
  719. torsopw=Instance.new("Weld",Character)
  720. torsopw.Part0=Character.Torso
  721. torsopw.Part1=torsop
  722. torsopw.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(-90),math.rad(0))
  723.  
  724. torso = Instance.new("SpecialMesh",torsop)
  725. torso.MeshType = "Sphere"
  726. torso.Scale = Vector3.new(45,45,45)
  727.  
  728. ghostp=Instance.new("Part",Character)
  729. ghostp.FormFactor="Custom"
  730. ghostp.Size=Vector3.new(0.2,0.2,0.2)
  731. ghostp.Transparency=1
  732. ghostp.CanCollide=false
  733. ghostp.BrickColor = BrickColor.new("Really black")
  734. ghostp.Material="Neon"
  735. ghostp.TopSurface="Smooth"
  736. ghostp.BottomSurface="Smooth"
  737. ghostp.RightSurface="Smooth"
  738. ghostp.LeftSurface="Smooth"
  739. ghostw=Instance.new("Weld",Character)
  740. ghostw.Part0=Character.Torso
  741. ghostw.Part1=ghostp
  742. ghostw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  743.  
  744. ghostmesh = Instance.new("FileMesh",ghostp)
  745. ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
  746. ghostmesh.Scale = Vector3.new(5,5,5)
  747.  
  748. ghostp2=Instance.new("Part",Character)
  749. ghostp2.FormFactor="Custom"
  750. ghostp2.Size=Vector3.new(0.2,0.2,0.2)
  751. ghostp2.Transparency=1
  752. ghostp2.CanCollide=false
  753. ghostp2.BrickColor = BrickColor.new("Really black")
  754. ghostp2.Material="Neon"
  755. ghostp2.TopSurface="Smooth"
  756. ghostp2.BottomSurface="Smooth"
  757. ghostp2.RightSurface="Smooth"
  758. ghostp2.LeftSurface="Smooth"
  759. ghostw2=Instance.new("Weld",Character)
  760. ghostw2.Part0=Character.Torso
  761. ghostw2.Part1=ghostp2
  762. ghostw2.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  763.  
  764. ghostmesh2 = Instance.new("FileMesh",ghostp2)
  765. ghostmesh2.MeshId = "http://www.roblox.com/asset/?id=168892432"
  766. ghostmesh2.Scale = Vector3.new(10,10,10)
  767.  
  768. ghostp3=Instance.new("Part",Character)
  769. ghostp3.FormFactor="Custom"
  770. ghostp3.Size=Vector3.new(0.2,0.2,0.2)
  771. ghostp3.Transparency=1
  772. ghostp3.CanCollide=false
  773. ghostp3.BrickColor = BrickColor.new("Really black")
  774. ghostp3.Material="Neon"
  775. ghostp3.TopSurface="Smooth"
  776. ghostp3.BottomSurface="Smooth"
  777. ghostp3.RightSurface="Smooth"
  778. ghostp2.LeftSurface="Smooth"
  779. ghostw3=Instance.new("Weld",Character)
  780. ghostw3.Part0=Character.Torso
  781. ghostw3.Part1=ghostp3
  782. ghostw3.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  783.  
  784. ghostmesh3 = Instance.new("FileMesh",ghostp3)
  785. ghostmesh3.MeshId = "http://www.roblox.com/asset/?id=168892432"
  786. ghostmesh3.Scale = Vector3.new(15,15,15)
  787.  
  788. ghostp4=Instance.new("Part",Character)
  789. ghostp4.FormFactor="Custom"
  790. ghostp4.Size=Vector3.new(0.2,0.2,0.2)
  791. ghostp4.Transparency=1
  792. ghostp4.CanCollide=false
  793. ghostp4.BrickColor = BrickColor.new("Really black")
  794. ghostp4.Material="Neon"
  795. ghostp4.TopSurface="Smooth"
  796. ghostp4.BottomSurface="Smooth"
  797. ghostp4.RightSurface="Smooth"
  798. ghostp4.LeftSurface="Smooth"
  799. ghostw4=Instance.new("Weld",Character)
  800. ghostw4.Part0=Character.Torso
  801. ghostw4.Part1=ghostp4
  802. ghostw4.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  803.  
  804. ghostmesh4 = Instance.new("FileMesh",ghostp4)
  805. ghostmesh4.MeshId = "http://www.roblox.com/asset/?id=168892432"
  806. ghostmesh4.Scale = Vector3.new(20,20,20)
  807.  
  808. ghostp5=Instance.new("Part",Character)
  809. ghostp5.FormFactor="Custom"
  810. ghostp5.Size=Vector3.new(0.2,0.2,0.2)
  811. ghostp5.Transparency=1
  812. ghostp5.CanCollide=false
  813. ghostp5.BrickColor = BrickColor.new("Really black")
  814. ghostp5.Material="Neon"
  815. ghostp5.TopSurface="Smooth"
  816. ghostp5.BottomSurface="Smooth"
  817. ghostp5.RightSurface="Smooth"
  818. ghostp5.LeftSurface="Smooth"
  819. ghost5w=Instance.new("Weld",Character)
  820. ghost5w.Part0=Character.Torso
  821. ghost5w.Part1=ghostp5
  822. ghost5w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  823.  
  824. ghostmesh = Instance.new("FileMesh",ghostp5)
  825. ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
  826. ghostmesh.Scale = Vector3.new(2.5,2.5,2.5)
  827.  
  828. ghostp6=Instance.new("Part",Character)
  829. ghostp6.FormFactor="Custom"
  830. ghostp6.Size=Vector3.new(0.2,0.2,0.2)
  831. ghostp6.Transparency=1
  832. ghostp6.CanCollide=false
  833. ghostp6.BrickColor = BrickColor.new("Really black")
  834. ghostp6.Material="Neon"
  835. ghostp6.TopSurface="Smooth"
  836. ghostp6.BottomSurface="Smooth"
  837. ghostp6.RightSurface="Smooth"
  838. ghostp6.LeftSurface="Smooth"
  839. ghost6w=Instance.new("Weld",Character)
  840. ghost6w.Part0=Character.Torso
  841. ghost6w.Part1=ghostp6
  842. ghost6w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  843.  
  844. ghostmesh = Instance.new("FileMesh",ghostp6)
  845. ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
  846. ghostmesh.Scale = Vector3.new(7.5,7.5,7.5)
  847.  
  848. ghostp7=Instance.new("Part",Character)
  849. ghostp7.FormFactor="Custom"
  850. ghostp7.Size=Vector3.new(0.2,0.2,0.2)
  851. ghostp7.Transparency=1
  852. ghostp7.CanCollide=false
  853. ghostp7.BrickColor = BrickColor.new("Really black")
  854. ghostp7.Material="Neon"
  855. ghostp7.TopSurface="Smooth"
  856. ghostp7.BottomSurface="Smooth"
  857. ghostp7.RightSurface="Smooth"
  858. ghostp7.LeftSurface="Smooth"
  859. ghost7w=Instance.new("Weld",Character)
  860. ghost7w.Part0=Character.Torso
  861. ghost7w.Part1=ghostp7
  862. ghost7w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  863.  
  864. ghostmesh = Instance.new("FileMesh",ghostp7)
  865. ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
  866. ghostmesh.Scale = Vector3.new(12.5,12.5,12.5)
  867.  
  868. ghostp8=Instance.new("Part",Character)
  869. ghostp8.FormFactor="Custom"
  870. ghostp8.Size=Vector3.new(0.2,0.2,0.2)
  871. ghostp8.Transparency=1
  872. ghostp8.CanCollide=false
  873. ghostp8.BrickColor = BrickColor.new("Really black")
  874. ghostp8.Material="Neon"
  875. ghostp8.TopSurface="Smooth"
  876. ghostp8.BottomSurface="Smooth"
  877. ghostp8.RightSurface="Smooth"
  878. ghostp8.LeftSurface="Smooth"
  879. ghost8w=Instance.new("Weld",Character)
  880. ghost8w.Part0=Character.Torso
  881. ghost8w.Part1=ghostp8
  882. ghost8w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  883.  
  884. ghostmesh = Instance.new("FileMesh",ghostp8)
  885. ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
  886. ghostmesh.Scale = Vector3.new(17.5,17.5,17.5)
  887.  
  888. eyeoutline=Instance.new("Part",Character)
  889. eyeoutline.FormFactor="Custom"
  890. eyeoutline.Size=Vector3.new(.2,.2,.2)
  891. eyeoutline.Transparency=0
  892. eyeoutline.CanCollide=false
  893. eyeoutline.BrickColor = BrickColor.new("Really black")
  894. eyeoutline.Material="SmoothPlastic"
  895. eyeoutline.TopSurface="Smooth"
  896. eyeoutline.BottomSurface="Smooth"
  897. eyeoutline.RightSurface="Smooth"
  898. eyeoutline.LeftSurface="Smooth"
  899. eyeoutlinew=Instance.new("Weld",Character)
  900. eyeoutlinew.Part0=Character.Torso
  901. eyeoutlinew.Part1=eyeoutline
  902. eyeoutlinew.C0=CFrame.new(-1.5,0,-4.1)*CFrame.Angles(0,math.rad(20),math.rad(0))
  903.  
  904. eyemesh = Instance.new("SpecialMesh",eyeoutline)
  905. eyemesh.MeshType = "Sphere"
  906. eyemesh.Scale = Vector3.new(8.5,8.5,2)
  907.  
  908. eyep=Instance.new("Part",Character)
  909. eyep.FormFactor="Custom"
  910. eyep.Size=Vector3.new(.2,.2,.2)
  911. eyep.Transparency=0
  912. eyep.CanCollide=false
  913. eyep.BrickColor = BrickColor.new("Really red")
  914. eyep.Material="Neon"
  915. eyep.TopSurface="Smooth"
  916. eyep.BottomSurface="Smooth"
  917. eyep.RightSurface="Smooth"
  918. eyep.LeftSurface="Smooth"
  919. eyepw=Instance.new("Weld",Character)
  920. eyepw.Part0=eyeoutline
  921. eyepw.Part1=eyep
  922. eyepw.C0=CFrame.new(0,0,-0.1)*CFrame.Angles(0,math.rad(0),math.rad(0))
  923.  
  924. eyepmesh = Instance.new("SpecialMesh",eyep)
  925. eyepmesh.MeshType = "Sphere"
  926. eyepmesh.Scale = Vector3.new(7.5,7.5,2)
  927.  
  928. eyeoutline2=Instance.new("Part",Character)
  929. eyeoutline2.FormFactor="Custom"
  930. eyeoutline2.Size=Vector3.new(.2,.2,.2)
  931. eyeoutline2.Transparency=0
  932. eyeoutline2.CanCollide=false
  933. eyeoutline2.BrickColor = BrickColor.new("Really black")
  934. eyeoutline2.Material="SmoothPlastic"
  935. eyeoutline2.TopSurface="Smooth"
  936. eyeoutline2.BottomSurface="Smooth"
  937. eyeoutline2.RightSurface="Smooth"
  938. eyeoutline2.LeftSurface="Smooth"
  939. eyeoutline2w=Instance.new("Weld",Character)
  940. eyeoutline2w.Part0=Character.Torso
  941. eyeoutline2w.Part1=eyeoutline2
  942. eyeoutline2w.C0=CFrame.new(1.5,0,-4.1)*CFrame.Angles(0,math.rad(-20),math.rad(0))
  943.  
  944. eyemesh = Instance.new("SpecialMesh",eyeoutline2)
  945. eyemesh.MeshType = "Sphere"
  946. eyemesh.Scale = Vector3.new(8.5,8.5,2)
  947.  
  948. eyep2=Instance.new("Part",Character)
  949. eyep2.FormFactor="Custom"
  950. eyep2.Size=Vector3.new(.2,.2,.2)
  951. eyep2.Transparency=0
  952. eyep2.CanCollide=false
  953. eyep2.BrickColor = BrickColor.new("Really red")
  954. eyep2.Material="Neon"
  955. eyep2.TopSurface="Smooth"
  956. eyep2.BottomSurface="Smooth"
  957. eyep2.RightSurface="Smooth"
  958. eyep2.LeftSurface="Smooth"
  959. eyep2w=Instance.new("Weld",Character)
  960. eyep2w.Part0=eyeoutline2
  961. eyep2w.Part1=eyep2
  962. eyep2w.C0=CFrame.new(0,0,-0.1)*CFrame.Angles(0,math.rad(0),math.rad(0))
  963.  
  964. eyep2mesh = Instance.new("SpecialMesh",eyep2)
  965. eyep2mesh.MeshType = "Sphere"
  966. eyep2mesh.Scale = Vector3.new(7.5,7.5,2)
  967.  
  968. local spotlight = Instance.new("SpotLight", eyep)
  969. spotlight.Shadows = true
  970. spotlight.Color = Color3.new(1,0,0)
  971. spotlight.Range = 24
  972. spotlight.Angle = 60
  973. spotlight.Brightness = 100
  974.  
  975. local spotlight2 = Instance.new("SpotLight", eyep2)
  976. spotlight2.Shadows = true
  977. spotlight2.Color = Color3.new(1,0,0)
  978. spotlight2.Range = 24
  979. spotlight2.Angle = 60
  980. spotlight2.Brightness = 100
  981.  
  982. local particleemitter = Instance.new("ParticleEmitter", Torso)
  983. particleemitter.VelocitySpread = 180
  984. particleemitter.Lifetime = NumberRange.new(1)
  985. particleemitter.Speed = NumberRange.new(10)
  986. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  987. particleemitter.RotSpeed = NumberRange.new(-180, 180)
  988. particleemitter.Rotation = NumberRange.new(-360, 360)
  989. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  990. particleemitter.LightEmission = 1
  991. particleemitter.Texture = "http://www.roblox.com/asset/?id=320043786"
  992. particleemitter.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
  993.  
  994. emitterp=Instance.new("Part",Character)
  995. emitterp.FormFactor="Custom"
  996. emitterp.Size=Vector3.new(5,.2,5)
  997. emitterp.Transparency=1
  998. emitterp.CanCollide=false
  999. emitterp.BrickColor = BrickColor.new("Really red")
  1000. emitterp.Material="Neon"
  1001. emitterp.TopSurface="Smooth"
  1002. emitterp.BottomSurface="Smooth"
  1003. emitterp.RightSurface="Smooth"
  1004. emitterp.LeftSurface="Smooth"
  1005. emitterpw=Instance.new("Weld",Character)
  1006. emitterpw.Part0=Character.Torso
  1007. emitterpw.Part1=emitterp
  1008. emitterpw.C0=CFrame.new(0,-4,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  1009.  
  1010. local emitter = Instance.new("ParticleEmitter", emitterp)
  1011. emitter.EmissionDirection = "Bottom"
  1012. emitter.VelocitySpread = 30
  1013. emitter.Lifetime = NumberRange.new(1)
  1014. emitter.Speed = NumberRange.new(10)
  1015. emitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 2, 0), NumberSequenceKeypoint.new(1, 2, 0)})
  1016. emitter.RotSpeed = NumberRange.new(-180, 180)
  1017. emitter.Rate = 1000
  1018. emitter.Rotation = NumberRange.new(-360, 360)
  1019. emitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1020. emitter.LightEmission = 1
  1021. emitter.Texture = "http://www.roblox.com/asset/?id=31727915"
  1022. emitter.Color = ColorSequence.new(Color3.new(0.596078, 0.847059, 1), Color3.new(0.596078, 0.847059, 1))
  1023.  
  1024. local eyeeffect = Instance.new("ParticleEmitter", eyep)
  1025. eyeeffect.Lifetime = NumberRange.new(1)
  1026. eyeeffect.Speed = NumberRange.new(0)
  1027. eyeeffect.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 4), NumberSequenceKeypoint.new(1, 4)})
  1028. eyeeffect.RotSpeed = NumberRange.new(1080)
  1029. eyeeffect.Rate = 25
  1030. eyeeffect.Rotation = NumberRange.new(-360, 360)
  1031. eyeeffect.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.11, 0), NumberSequenceKeypoint.new(0.99, 1), NumberSequenceKeypoint.new(1, 1)})
  1032. eyeeffect.LightEmission = 0.5
  1033. eyeeffect.Texture = "http://www.roblox.com/asset/?id=242292288"
  1034. eyeeffect.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
  1035. eyeeffect.LockedToPart = true
  1036. eyeeffect.Enabled = false
  1037.  
  1038. local eyeeffect2 = Instance.new("ParticleEmitter", eyep2)
  1039. eyeeffect2.Lifetime = NumberRange.new(1)
  1040. eyeeffect2.Speed = NumberRange.new(0)
  1041. eyeeffect2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 4), NumberSequenceKeypoint.new(1, 4)})
  1042. eyeeffect2.RotSpeed = NumberRange.new(1080)
  1043. eyeeffect2.Rate = 25
  1044. eyeeffect2.Rotation = NumberRange.new(-360, 360)
  1045. eyeeffect2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.11, 0), NumberSequenceKeypoint.new(0.99, 1), NumberSequenceKeypoint.new(1, 1)})
  1046. eyeeffect2.LightEmission = 0.5
  1047. eyeeffect2.Texture = "http://www.roblox.com/asset/?id=242292288"
  1048. eyeeffect2.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
  1049. eyeeffect2.LockedToPart = true
  1050. eyeeffect2.Enabled = false
  1051.  
  1052. coroutine.resume(coroutine.create(function(Part,Weld)
  1053. while Part.Parent~=nil do
  1054. wait(5)
  1055. for i=0,1,0.2 do
  1056. wait()
  1057. spotlight.Angle = 60-60*i
  1058. eyepmesh.Scale = Vector3.new(7.5,7.5-7.4*i,2)
  1059. end
  1060. for i=0,1,0.2 do
  1061. wait()
  1062. spotlight.Angle = 0+60*i
  1063. eyepmesh.Scale = Vector3.new(7.5,0.1+7.4*i,2)
  1064. end
  1065. spotlight.Angle = 60
  1066. end
  1067. end),eyep,eyepw)
  1068.  
  1069. coroutine.resume(coroutine.create(function(Part,Weld)
  1070. while Part.Parent~=nil do
  1071. wait(5)
  1072. for i=0,1,0.2 do
  1073. wait()
  1074. spotlight2.Angle = 60-60*i
  1075. eyep2mesh.Scale = Vector3.new(7.5,7.5-7.4*i,2)
  1076. end
  1077. for i=0,1,0.2 do
  1078. wait()
  1079. spotlight2.Angle = 0+60*i
  1080. eyep2mesh.Scale = Vector3.new(7.5,0.1+7.4*i,2)
  1081. end
  1082. spotlight2.Angle = 60
  1083. end
  1084. end),eyep2,eyep2w)
  1085. --------------------------------------------------------------
  1086. Arm = Instance.new("Model",Character)
  1087. Arm.Name = "Arm 1"
  1088.  
  1089. arm1p=Instance.new("Part",Character)
  1090. arm1p.FormFactor="Custom"
  1091. arm1p.Size=Vector3.new(.2,.2,.2)
  1092. arm1p.Transparency=0
  1093. arm1p.CanCollide=false
  1094. arm1p.BrickColor = BrickColor.new("Bright red")
  1095. arm1p.Material="Sand"
  1096. arm1p.TopSurface="Smooth"
  1097. arm1p.BottomSurface="Smooth"
  1098. arm1p.RightSurface="Smooth"
  1099. arm1p.LeftSurface="Smooth"
  1100. arm1pw=Instance.new("Weld",Character)
  1101. arm1pw.Part0=Character["Right Arm"]
  1102. arm1pw.Part1=arm1p
  1103. arm1pw.C0=CFrame.new(0,-5,0)*CFrame.Angles(0,math.rad(0),math.rad(90))
  1104.  
  1105. arm1pmesh = Instance.new("SpecialMesh",arm1p)
  1106. arm1pmesh.MeshType = "Sphere"
  1107. arm1pmesh.Scale = Vector3.new(40,20,40)
  1108.  
  1109. local particleemitter2 = Instance.new("ParticleEmitter", arm1p)
  1110. particleemitter2.VelocitySpread = 180
  1111. particleemitter2.Lifetime = NumberRange.new(1)
  1112. particleemitter2.Speed = NumberRange.new(10)
  1113. particleemitter2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1114. particleemitter2.RotSpeed = NumberRange.new(-180, 180)
  1115. particleemitter2.Rotation = NumberRange.new(-360, 360)
  1116. particleemitter2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1117. particleemitter2.LightEmission = 1
  1118. particleemitter2.Texture = "http://www.roblox.com/asset/?id=320043786"
  1119. particleemitter2.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
  1120. particleemitter2.Enabled = false
  1121.  
  1122. arm1p2=Instance.new("Part",Character)
  1123. arm1p2.FormFactor="Custom"
  1124. arm1p2.Size=Vector3.new(.2,.2,.2)
  1125. arm1p2.Transparency=0
  1126. arm1p2.CanCollide=false
  1127. arm1p2.BrickColor = BrickColor.new("Pastel light blue")
  1128. arm1p2.Material="Sand"
  1129. arm1p2.TopSurface="Smooth"
  1130. arm1p2.BottomSurface="Smooth"
  1131. arm1p2.RightSurface="Smooth"
  1132. arm1p2.LeftSurface="Smooth"
  1133. arm1p2w=Instance.new("Weld",Character)
  1134. arm1p2w.Part0=arm1p
  1135. arm1p2w.Part1=arm1p2
  1136. arm1p2w.C0=CFrame.new(0,3,0)*CFrame.Angles(0,math.rad(90),math.rad(-90))
  1137.  
  1138. arm1p2mesh = Instance.new("SpecialMesh",arm1p2)
  1139. arm1p2mesh.MeshType = "Cylinder"
  1140. arm1p2mesh.Scale = Vector3.new(30,20,30)
  1141.  
  1142. local particleemitter3 = Instance.new("ParticleEmitter", arm1p2)
  1143. particleemitter3.VelocitySpread = 180
  1144. particleemitter3.Lifetime = NumberRange.new(1)
  1145. particleemitter3.Speed = NumberRange.new(10)
  1146. particleemitter3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1147. particleemitter3.RotSpeed = NumberRange.new(-180, 180)
  1148. particleemitter3.Rotation = NumberRange.new(-360, 360)
  1149. particleemitter3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1150. particleemitter3.LightEmission = 1
  1151. particleemitter3.Texture = "http://www.roblox.com/asset/?id=320043786"
  1152. particleemitter3.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
  1153. particleemitter3.Enabled = false
  1154.  
  1155. arm1p3=Instance.new("Part",Character)
  1156. arm1p3.FormFactor="Custom"
  1157. arm1p3.Size=Vector3.new(.2,.2,.2)
  1158. arm1p3.Transparency=0
  1159. arm1p3.CanCollide=false
  1160. arm1p3.BrickColor = BrickColor.new("Bright red")
  1161. arm1p3.Material="Sand"
  1162. arm1p3.TopSurface="Smooth"
  1163. arm1p3.BottomSurface="Smooth"
  1164. arm1p3.RightSurface="Smooth"
  1165. arm1p3.LeftSurface="Smooth"
  1166. arm1p3w=Instance.new("Weld",Character)
  1167. arm1p3w.Part0=arm1p2
  1168. arm1p3w.Part1=arm1p3
  1169. arm1p3w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  1170.  
  1171. arm1p3mesh = Instance.new("SpecialMesh",arm1p3)
  1172. arm1p3mesh.MeshType = "Sphere"
  1173. arm1p3mesh.Scale = Vector3.new(22.5,22.5,22.5)
  1174.  
  1175. local particleemitter4 = Instance.new("ParticleEmitter", arm1p3)
  1176. particleemitter4.VelocitySpread = 180
  1177. particleemitter4.Lifetime = NumberRange.new(1)
  1178. particleemitter4.Speed = NumberRange.new(10)
  1179. particleemitter4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1180. particleemitter4.RotSpeed = NumberRange.new(-180, 180)
  1181. particleemitter4.Rotation = NumberRange.new(-360, 360)
  1182. particleemitter4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1183. particleemitter4.LightEmission = 1
  1184. particleemitter4.Texture = "http://www.roblox.com/asset/?id=320043786"
  1185. particleemitter4.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
  1186. particleemitter4.Enabled = false
  1187.  
  1188. arm1p4=Instance.new("Part",Character)
  1189. arm1p4.FormFactor="Custom"
  1190. arm1p4.Size=Vector3.new(.2,.2,.2)
  1191. arm1p4.Transparency=0
  1192. arm1p4.CanCollide=false
  1193. arm1p4.BrickColor = BrickColor.new("Bright red")
  1194. arm1p4.Material="Sand"
  1195. arm1p4.TopSurface="Smooth"
  1196. arm1p4.BottomSurface="Smooth"
  1197. arm1p4.RightSurface="Smooth"
  1198. arm1p4.LeftSurface="Smooth"
  1199. arm1p4w=Instance.new("Weld",Character)
  1200. arm1p4w.Part0=arm1p3
  1201. arm1p4w.Part1=arm1p4
  1202. arm1p4w.C0=CFrame.new(-3,3,0)*CFrame.Angles(0,math.rad(0),math.rad(-45))
  1203.  
  1204. arm1p4mesh = Instance.new("SpecialMesh",arm1p4)
  1205. arm1p4mesh.MeshType = "Cylinder"
  1206. arm1p4mesh.Scale = Vector3.new(30,20,30)
  1207.  
  1208. local particleemitter5 = Instance.new("ParticleEmitter", arm1p4)
  1209. particleemitter5.VelocitySpread = 180
  1210. particleemitter5.Lifetime = NumberRange.new(1)
  1211. particleemitter5.Speed = NumberRange.new(10)
  1212. particleemitter5.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1213. particleemitter5.RotSpeed = NumberRange.new(-180, 180)
  1214. particleemitter5.Rotation = NumberRange.new(-360, 360)
  1215. particleemitter5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1216. particleemitter5.LightEmission = 1
  1217. particleemitter5.Texture = "http://www.roblox.com/asset/?id=320043786"
  1218. particleemitter5.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
  1219. particleemitter5.Enabled = false
  1220.  
  1221. arm1p5=Instance.new("Part",Character)
  1222. arm1p5.FormFactor="Custom"
  1223. arm1p5.Size=Vector3.new(.2,.2,.2)
  1224. arm1p5.Transparency=0
  1225. arm1p5.CanCollide=false
  1226. arm1p5.BrickColor = BrickColor.new("Bright red")
  1227. arm1p5.Material="Sand"
  1228. arm1p5.TopSurface="Smooth"
  1229. arm1p5.BottomSurface="Smooth"
  1230. arm1p5.RightSurface="Smooth"
  1231. arm1p5.LeftSurface="Smooth"
  1232. arm1p5w=Instance.new("Weld",Character)
  1233. arm1p5w.Part0=arm1p4
  1234. arm1p5w.Part1=arm1p5
  1235. arm1p5w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  1236.  
  1237. arm1p5mesh = Instance.new("SpecialMesh",arm1p5)
  1238. arm1p5mesh.MeshType = "Sphere"
  1239. arm1p5mesh.Scale = Vector3.new(30,30,30)
  1240.  
  1241. local particleemitter6 = Instance.new("ParticleEmitter", arm1p5)
  1242. particleemitter6.VelocitySpread = 180
  1243. particleemitter6.Lifetime = NumberRange.new(1)
  1244. particleemitter6.Speed = NumberRange.new(10)
  1245. particleemitter6.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1246. particleemitter6.RotSpeed = NumberRange.new(-180, 180)
  1247. particleemitter6.Rotation = NumberRange.new(-360, 360)
  1248. particleemitter6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1249. particleemitter6.LightEmission = 1
  1250. particleemitter6.Texture = "http://www.roblox.com/asset/?id=320043786"
  1251. particleemitter6.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
  1252. particleemitter6.Enabled = false
  1253.  
  1254. arm1p6=Instance.new("Part",Character)
  1255. arm1p6.FormFactor="Custom"
  1256. arm1p6.Size=Vector3.new(.2,.2,.2)
  1257. arm1p6.Transparency=0
  1258. arm1p6.CanCollide=false
  1259. arm1p6.BrickColor = BrickColor.new("Bright red")
  1260. arm1p6.Material="Sand"
  1261. arm1p6.TopSurface="Smooth"
  1262. arm1p6.BottomSurface="Smooth"
  1263. arm1p6.RightSurface="Smooth"
  1264. arm1p6.LeftSurface="Smooth"
  1265. arm1p6w=Instance.new("Weld",Character)
  1266. arm1p6w.Part0=arm1p5
  1267. arm1p6w.Part1=arm1p6
  1268. arm1p6w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  1269.  
  1270. arm1p6mesh = Instance.new("FileMesh",arm1p6)
  1271. arm1p6mesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  1272. arm1p6mesh.Scale = Vector3.new(3.15,3.15,3.15)
  1273.  
  1274. arm1p7=Instance.new("Part",Character)
  1275. arm1p7.FormFactor="Custom"
  1276. arm1p7.Size=Vector3.new(.2,.2,.2)
  1277. arm1p7.Transparency=0
  1278. arm1p7.CanCollide=false
  1279. arm1p7.BrickColor = BrickColor.new("Bright red")
  1280. arm1p7.Material="Sand"
  1281. arm1p7.TopSurface="Smooth"
  1282. arm1p7.BottomSurface="Smooth"
  1283. arm1p7.RightSurface="Smooth"
  1284. arm1p7.LeftSurface="Smooth"
  1285. arm1p7w=Instance.new("Weld",Character)
  1286. arm1p7w.Part0=arm1p
  1287. arm1p7w.Part1=arm1p7
  1288. arm1p7w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  1289.  
  1290. arm1p7mesh = Instance.new("FileMesh",arm1p7)
  1291. arm1p7mesh.MeshId = "http://www.roblox.com/asset/?id=9756362"
  1292. arm1p7mesh.Scale = Vector3.new(5,10,5)
  1293.  
  1294. arm1hitbox=Instance.new("Part",Character)
  1295. arm1hitbox.FormFactor="Custom"
  1296. arm1hitbox.Size=Vector3.new(5,5,5)
  1297. arm1hitbox.Transparency=1
  1298. arm1hitbox.CanCollide=false
  1299. arm1hitbox.BrickColor = BrickColor.new("Bright red")
  1300. arm1hitbox.Material="Sand"
  1301. arm1hitbox.TopSurface="Smooth"
  1302. arm1hitbox.BottomSurface="Smooth"
  1303. arm1hitbox.RightSurface="Smooth"
  1304. arm1hitbox.LeftSurface="Smooth"
  1305. arm1hitboxw=Instance.new("Weld",Character)
  1306. arm1hitboxw.Part0=arm1p6
  1307. arm1hitboxw.Part1=arm1hitbox
  1308. arm1hitboxw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1309. --------------------------------------------------------------
  1310. Arm2 = Instance.new("Model",Character)
  1311. Arm2.Name = "Arm 2"
  1312.  
  1313. arm2p=Instance.new("Part",Character)
  1314. arm2p.FormFactor="Custom"
  1315. arm2p.Size=Vector3.new(.2,.2,.2)
  1316. arm2p.Transparency=0
  1317. arm2p.CanCollide=false
  1318. arm2p.BrickColor = BrickColor.new("Bright red")
  1319. arm2p.Material="Sand"
  1320. arm2p.TopSurface="Smooth"
  1321. arm2p.BottomSurface="Smooth"
  1322. arm2p.RightSurface="Smooth"
  1323. arm2p.LeftSurface="Smooth"
  1324. arm2pw=Instance.new("Weld",Character)
  1325. arm2pw.Part0=Character["Left Arm"]
  1326. arm2pw.Part1=arm2p
  1327. arm2pw.C0=CFrame.new(0,-5,0)*CFrame.Angles(0,math.rad(0),math.rad(-90))
  1328.  
  1329. arm2pmesh = Instance.new("SpecialMesh",arm2p)
  1330. arm2pmesh.MeshType = "Sphere"
  1331. arm2pmesh.Scale = Vector3.new(40,20,40)
  1332.  
  1333. local particleemitter7 = Instance.new("ParticleEmitter", arm2p)
  1334. particleemitter7.VelocitySpread = 180
  1335. particleemitter7.Lifetime = NumberRange.new(1)
  1336. particleemitter7.Speed = NumberRange.new(10)
  1337. particleemitter7.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1338. particleemitter7.RotSpeed = NumberRange.new(-180, 180)
  1339. particleemitter7.Rotation = NumberRange.new(-360, 360)
  1340. particleemitter7.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1341. particleemitter7.LightEmission = 1
  1342. particleemitter7.Texture = "http://www.roblox.com/asset/?id=320043786"
  1343. particleemitter7.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
  1344. particleemitter7.Enabled = false
  1345.  
  1346. arm2p2=Instance.new("Part",Character)
  1347. arm2p2.FormFactor="Custom"
  1348. arm2p2.Size=Vector3.new(.2,.2,.2)
  1349. arm2p2.Transparency=0
  1350. arm2p2.CanCollide=false
  1351. arm2p2.BrickColor = BrickColor.new("Bright red")
  1352. arm2p2.Material="Sand"
  1353. arm2p2.TopSurface="Smooth"
  1354. arm2p2.BottomSurface="Smooth"
  1355. arm2p2.RightSurface="Smooth"
  1356. arm2p2.LeftSurface="Smooth"
  1357. arm2p2w=Instance.new("Weld",Character)
  1358. arm2p2w.Part0=arm2p
  1359. arm2p2w.Part1=arm2p2
  1360. arm2p2w.C0=CFrame.new(0,3,0)*CFrame.Angles(0,math.rad(90),math.rad(-90))
  1361.  
  1362. arm2p2mesh = Instance.new("SpecialMesh",arm2p2)
  1363. arm2p2mesh.MeshType = "Cylinder"
  1364. arm2p2mesh.Scale = Vector3.new(30,20,30)
  1365.  
  1366. local particleemitter8 = Instance.new("ParticleEmitter", arm2p2)
  1367. particleemitter8.VelocitySpread = 180
  1368. particleemitter8.Lifetime = NumberRange.new(1)
  1369. particleemitter8.Speed = NumberRange.new(10)
  1370. particleemitter8.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1371. particleemitter8.RotSpeed = NumberRange.new(-180, 180)
  1372. particleemitter8.Rotation = NumberRange.new(-360, 360)
  1373. particleemitter8.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1374. particleemitter8.LightEmission = 1
  1375. particleemitter8.Texture = "http://www.roblox.com/asset/?id=320043786"
  1376. particleemitter8.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
  1377. particleemitter8.Enabled = false
  1378.  
  1379. arm2p3=Instance.new("Part",Character)
  1380. arm2p3.FormFactor="Custom"
  1381. arm2p3.Size=Vector3.new(.2,.2,.2)
  1382. arm2p3.Transparency=0
  1383. arm2p3.CanCollide=false
  1384. arm2p3.BrickColor = BrickColor.new("Bright red")
  1385. arm2p3.Material="Sand"
  1386. arm2p3.TopSurface="Smooth"
  1387. arm2p3.BottomSurface="Smooth"
  1388. arm2p3.RightSurface="Smooth"
  1389. arm2p3.LeftSurface="Smooth"
  1390. arm2p3w=Instance.new("Weld",Character)
  1391. arm2p3w.Part0=arm2p2
  1392. arm2p3w.Part1=arm2p3
  1393. arm2p3w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  1394.  
  1395. arm2p3mesh = Instance.new("SpecialMesh",arm2p3)
  1396. arm2p3mesh.MeshType = "Sphere"
  1397. arm2p3mesh.Scale = Vector3.new(22.5,22.5,22.5)
  1398.  
  1399. local particleemitter9 = Instance.new("ParticleEmitter", arm2p3)
  1400. particleemitter9.VelocitySpread = 180
  1401. particleemitter9.Lifetime = NumberRange.new(1)
  1402. particleemitter9.Speed = NumberRange.new(10)
  1403. particleemitter9.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1404. particleemitter9.RotSpeed = NumberRange.new(-180, 180)
  1405. particleemitter9.Rotation = NumberRange.new(-360, 360)
  1406. particleemitter9.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1407. particleemitter9.LightEmission = 1
  1408. particleemitter9.Texture = "http://www.roblox.com/asset/?id=320043786"
  1409. particleemitter9.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
  1410. particleemitter9.Enabled = false
  1411.  
  1412. arm2p4=Instance.new("Part",Character)
  1413. arm2p4.FormFactor="Custom"
  1414. arm2p4.Size=Vector3.new(.2,.2,.2)
  1415. arm2p4.Transparency=0
  1416. arm2p4.CanCollide=false
  1417. arm2p4.BrickColor = BrickColor.new("Birght red")
  1418. arm2p4.Material="Sand"
  1419. arm2p4.TopSurface="Smooth"
  1420. arm2p4.BottomSurface="Smooth"
  1421. arm2p4.RightSurface="Smooth"
  1422. arm2p4.LeftSurface="Smooth"
  1423. arm2p4w=Instance.new("Weld",Character)
  1424. arm2p4w.Part0=arm2p3
  1425. arm2p4w.Part1=arm2p4
  1426. arm2p4w.C0=CFrame.new(-3,3,0)*CFrame.Angles(0,math.rad(0),math.rad(-45))
  1427.  
  1428. arm2p4mesh = Instance.new("SpecialMesh",arm2p4)
  1429. arm2p4mesh.MeshType = "Cylinder"
  1430. arm2p4mesh.Scale = Vector3.new(30,20,30)
  1431.  
  1432. local particleemitter10 = Instance.new("ParticleEmitter", arm2p4)
  1433. particleemitter10.VelocitySpread = 180
  1434. particleemitter10.Lifetime = NumberRange.new(1)
  1435. particleemitter10.Speed = NumberRange.new(10)
  1436. particleemitter10.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1437. particleemitter10.RotSpeed = NumberRange.new(-180, 180)
  1438. particleemitter10.Rotation = NumberRange.new(-360, 360)
  1439. particleemitter10.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1440. particleemitter10.LightEmission = 1
  1441. particleemitter10.Texture = "http://www.roblox.com/asset/?id=320043786"
  1442. particleemitter10.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
  1443. particleemitter10.Enabled = false
  1444.  
  1445. arm2p5=Instance.new("Part",Character)
  1446. arm2p5.FormFactor="Custom"
  1447. arm2p5.Size=Vector3.new(.2,.2,.2)
  1448. arm2p5.Transparency=0
  1449. arm2p5.CanCollide=false
  1450. arm2p5.BrickColor = BrickColor.new("Bright red")
  1451. arm2p5.Material="Sand"
  1452. arm2p5.TopSurface="Smooth"
  1453. arm2p5.BottomSurface="Smooth"
  1454. arm2p5.RightSurface="Smooth"
  1455. arm2p5.LeftSurface="Smooth"
  1456. arm2p5w=Instance.new("Weld",Character)
  1457. arm2p5w.Part0=arm2p4
  1458. arm2p5w.Part1=arm2p5
  1459. arm2p5w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  1460.  
  1461. arm2p5mesh = Instance.new("SpecialMesh",arm2p5)
  1462. arm2p5mesh.MeshType = "Sphere"
  1463. arm2p5mesh.Scale = Vector3.new(30,30,30)
  1464.  
  1465. local particleemitter11 = Instance.new("ParticleEmitter", arm2p5)
  1466. particleemitter11.VelocitySpread = 180
  1467. particleemitter11.Lifetime = NumberRange.new(1)
  1468. particleemitter11.Speed = NumberRange.new(10)
  1469. particleemitter11.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1470. particleemitter11.RotSpeed = NumberRange.new(-180, 180)
  1471. particleemitter11.Rotation = NumberRange.new(-360, 360)
  1472. particleemitter11.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1473. particleemitter11.LightEmission = 1
  1474. particleemitter11.Texture = "http://www.roblox.com/asset/?id=320043786"
  1475. particleemitter11.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
  1476. particleemitter11.Enabled = false
  1477.  
  1478. arm2p6=Instance.new("Part",Character)
  1479. arm2p6.FormFactor="Custom"
  1480. arm2p6.Size=Vector3.new(.2,.2,.2)
  1481. arm2p6.Transparency=0
  1482. arm2p6.CanCollide=false
  1483. arm2p6.BrickColor = BrickColor.new("Bright red")
  1484. arm2p6.Material="Sand"
  1485. arm2p6.TopSurface="Smooth"
  1486. arm2p6.BottomSurface="Smooth"
  1487. arm2p6.RightSurface="Smooth"
  1488. arm2p6.LeftSurface="Smooth"
  1489. arm2p6w=Instance.new("Weld",Character)
  1490. arm2p6w.Part0=arm2p5
  1491. arm2p6w.Part1=arm2p6
  1492. arm2p6w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(90))
  1493.  
  1494. arm2p6mesh = Instance.new("FileMesh",arm2p6)
  1495. arm2p6mesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  1496. arm2p6mesh.Scale = Vector3.new(3.15,3.15,3.15)
  1497.  
  1498. arm2p7=Instance.new("Part",Character)
  1499. arm2p7.FormFactor="Custom"
  1500. arm2p7.Size=Vector3.new(.2,.2,.2)
  1501. arm2p7.Transparency=0
  1502. arm2p7.CanCollide=false
  1503. arm2p7.BrickColor = BrickColor.new("Really red")
  1504. arm2p7.Material="Sand"
  1505. arm2p7.TopSurface="Smooth"
  1506. arm2p7.BottomSurface="Smooth"
  1507. arm2p7.RightSurface="Smooth"
  1508. arm2p7.LeftSurface="Smooth"
  1509. arm2p7w=Instance.new("Weld",Character)
  1510. arm2p7w.Part0=arm2p
  1511. arm2p7w.Part1=arm2p7
  1512. arm2p7w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  1513.  
  1514. arm2p7mesh = Instance.new("FileMesh",arm2p7)
  1515. arm2p7mesh.MeshId = "http://www.roblox.com/asset/?id=9756362"
  1516. arm2p7mesh.Scale = Vector3.new(5,10,5)
  1517.  
  1518. arm2hitbox=Instance.new("Part",Character)
  1519. arm2hitbox.FormFactor="Custom"
  1520. arm2hitbox.Size=Vector3.new(5,5,5)
  1521. arm2hitbox.Transparency=1
  1522. arm2hitbox.CanCollide=false
  1523. arm2hitbox.BrickColor = BrickColor.new("Bright red")
  1524. arm2hitbox.Material="Sand"
  1525. arm2hitbox.TopSurface="Smooth"
  1526. arm2hitbox.BottomSurface="Smooth"
  1527. arm2hitbox.RightSurface="Smooth"
  1528. arm2hitbox.LeftSurface="Smooth"
  1529. arm2hitboxw=Instance.new("Weld",Character)
  1530. arm2hitboxw.Part0=arm2p6
  1531. arm2hitboxw.Part1=arm2hitbox
  1532. arm2hitboxw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1533. --------------------------------------------------------------
  1534.  
  1535. local function weldBetween(a, b)
  1536. local weldd = Instance.new("ManualWeld")
  1537. weldd.Part0 = a
  1538. weldd.Part1 = b
  1539. weldd.C0 = CFrame.new()
  1540. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1541. weldd.Parent = a
  1542. return weldd
  1543. end
  1544.  
  1545. function swait(num)
  1546. if num==0 or num==nil then
  1547. game:service'RunService'.Stepped:wait(0)
  1548. else
  1549. for i=0,num do
  1550. game:service'RunService'.Stepped:wait(0)
  1551. end
  1552. end
  1553. end
  1554.  
  1555. function nooutline(part)
  1556. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  1557. end
  1558.  
  1559. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  1560. local fp=it("Part")
  1561. fp.formFactor=formfactor
  1562. fp.Parent=parent
  1563. fp.Reflectance=reflectance
  1564. fp.Transparency=transparency
  1565. fp.CanCollide=false
  1566. fp.Locked=true
  1567. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  1568. fp.Name=name
  1569. fp.Size=size
  1570. fp.Position=Character.Torso.Position
  1571. nooutline(fp)
  1572. fp.Material=material
  1573. fp:BreakJoints()
  1574. return fp
  1575. end
  1576.  
  1577. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1578. local mesh=it(Mesh)
  1579. mesh.Parent=part
  1580. if Mesh=="SpecialMesh" then
  1581. mesh.MeshType=meshtype
  1582. mesh.MeshId=meshid
  1583. end
  1584. mesh.Offset=offset
  1585. mesh.Scale=scale
  1586. return mesh
  1587. end
  1588.  
  1589. function weld(parent,part0,part1,c0,c1)
  1590. local weld=it("Weld")
  1591. weld.Parent=parent
  1592. weld.Part0=part0
  1593. weld.Part1=part1
  1594. weld.C0=c0
  1595. weld.C1=c1
  1596. return weld
  1597. end
  1598.  
  1599.  
  1600. local function CFrameFromTopBack(at, top, back)
  1601. local right = top:Cross(back)
  1602. return CFrame.new(at.x, at.y, at.z,
  1603. right.x, top.x, back.x,
  1604. right.y, top.y, back.y,
  1605. right.z, top.z, back.z)
  1606. end
  1607.  
  1608. function Triangle(a, b, c)
  1609. local edg1 = (c-a):Dot((b-a).unit)
  1610. local edg2 = (a-b):Dot((c-b).unit)
  1611. local edg3 = (b-c):Dot((a-c).unit)
  1612. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1613. a, b, c = a, b, c
  1614. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1615. a, b, c = b, c, a
  1616. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1617. a, b, c = c, a, b
  1618. else
  1619. assert(false, "unreachable")
  1620. end
  1621.  
  1622. local len1 = (c-a):Dot((b-a).unit)
  1623. local len2 = (b-a).magnitude - len1
  1624. local width = (a + (b-a).unit*len1 - c).magnitude
  1625.  
  1626. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1627.  
  1628. local list = {}
  1629.  
  1630. local TrailColor = ("Dark grey")
  1631.  
  1632. if len1 > 0.01 then
  1633. local w1 = Instance.new('WedgePart', m)
  1634. game:GetService("Debris"):AddItem(w1,5)
  1635. w1.Material = "SmoothPlastic"
  1636. w1.FormFactor = 'Custom'
  1637. w1.BrickColor = BrickColor.new(TrailColor)
  1638. w1.Transparency = 0
  1639. w1.Reflectance = 0
  1640. w1.Material = "SmoothPlastic"
  1641. w1.CanCollide = false
  1642. NoOutline(w1)
  1643. local sz = Vector3.new(0.2, width, len1)
  1644. w1.Size = sz
  1645. local sp = Instance.new("SpecialMesh",w1)
  1646. sp.MeshType = "Wedge"
  1647. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1648. w1:BreakJoints()
  1649. w1.Anchored = true
  1650. w1.Parent = workspace
  1651. w1.Transparency = 0.7
  1652. table.insert(Effects,{w1,"Disappear",.01})
  1653. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1654. table.insert(list,w1)
  1655. end
  1656.  
  1657. if len2 > 0.01 then
  1658. local w2 = Instance.new('WedgePart', m)
  1659. game:GetService("Debris"):AddItem(w2,5)
  1660. w2.Material = "SmoothPlastic"
  1661. w2.FormFactor = 'Custom'
  1662. w2.BrickColor = BrickColor.new(TrailColor)
  1663. w2.Transparency = 0
  1664. w2.Reflectance = 0
  1665. w2.Material = "SmoothPlastic"
  1666. w2.CanCollide = false
  1667. NoOutline(w2)
  1668. local sz = Vector3.new(0.2, width, len2)
  1669. w2.Size = sz
  1670. local sp = Instance.new("SpecialMesh",w2)
  1671. sp.MeshType = "Wedge"
  1672. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1673. w2:BreakJoints()
  1674. w2.Anchored = true
  1675. w2.Parent = workspace
  1676. w2.Transparency = 0.7
  1677. table.insert(Effects,{w2,"Disappear",.01})
  1678. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1679. table.insert(list,w2)
  1680. end
  1681. return unpack(list)
  1682. end
  1683.  
  1684.  
  1685. so = function(id,par,vol,pit)
  1686. coroutine.resume(coroutine.create(function()
  1687. local sou = Instance.new("Sound",par or workspace)
  1688. sou.Volume=vol
  1689. sou.Pitch=pit or 1
  1690. sou.SoundId=id
  1691. swait()
  1692. sou:play()
  1693. game:GetService("Debris"):AddItem(sou,6)
  1694. end))
  1695. end
  1696.  
  1697. function clerp(a,b,t)
  1698. local qa = {QuaternionFromCFrame(a)}
  1699. local qb = {QuaternionFromCFrame(b)}
  1700. local ax, ay, az = a.x, a.y, a.z
  1701. local bx, by, bz = b.x, b.y, b.z
  1702. local _t = 1-t
  1703. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1704. end
  1705.  
  1706. function QuaternionFromCFrame(cf)
  1707. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1708. local trace = m00 + m11 + m22
  1709. if trace > 0 then
  1710. local s = math.sqrt(1 + trace)
  1711. local recip = 0.5/s
  1712. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1713. else
  1714. local i = 0
  1715. if m11 > m00 then
  1716. i = 1
  1717. end
  1718. if m22 > (i == 0 and m00 or m11) then
  1719. i = 2
  1720. end
  1721. if i == 0 then
  1722. local s = math.sqrt(m00-m11-m22+1)
  1723. local recip = 0.5/s
  1724. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1725. elseif i == 1 then
  1726. local s = math.sqrt(m11-m22-m00+1)
  1727. local recip = 0.5/s
  1728. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1729. elseif i == 2 then
  1730. local s = math.sqrt(m22-m00-m11+1)
  1731. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1732. end
  1733. end
  1734. end
  1735.  
  1736. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1737. local xs, ys, zs = x + x, y + y, z + z
  1738. local wx, wy, wz = w*xs, w*ys, w*zs
  1739. local xx = x*xs
  1740. local xy = x*ys
  1741. local xz = x*zs
  1742. local yy = y*ys
  1743. local yz = y*zs
  1744. local zz = z*zs
  1745. 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))
  1746. end
  1747.  
  1748. function QuaternionSlerp(a, b, t)
  1749. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1750. local startInterp, finishInterp;
  1751. if cosTheta >= 0.0001 then
  1752. if (1 - cosTheta) > 0.0001 then
  1753. local theta = math.acos(cosTheta)
  1754. local invSinTheta = 1/math.sin(theta)
  1755. startInterp = math.sin((1-t)*theta)*invSinTheta
  1756. finishInterp = math.sin(t*theta)*invSinTheta
  1757. else
  1758. startInterp = 1-t
  1759. finishInterp = t
  1760. end
  1761. else
  1762. if (1+cosTheta) > 0.0001 then
  1763. local theta = math.acos(-cosTheta)
  1764. local invSinTheta = 1/math.sin(theta)
  1765. startInterp = math.sin((t-1)*theta)*invSinTheta
  1766. finishInterp = math.sin(t*theta)*invSinTheta
  1767. else
  1768. startInterp = t-1
  1769. finishInterp = t
  1770. end
  1771. end
  1772. 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
  1773. end
  1774.  
  1775. --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)
  1776.  
  1777.  
  1778. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1779. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1780. end
  1781.  
  1782. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  1783. if hit.Parent==nil then
  1784. return
  1785. end
  1786. h=hit.Parent:FindFirstChild("Humanoid")
  1787. for _,v in pairs(hit.Parent:children()) do
  1788. if v:IsA("Humanoid") then
  1789. h=v
  1790. end
  1791. end
  1792. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  1793. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  1794. end
  1795. if hit.Parent.className=="Hat" then
  1796. hit=hit.Parent.Parent:findFirstChild("Head")
  1797. end
  1798. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1799. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  1800. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1801. return
  1802. end]]
  1803. -- hs(hit,1.2)
  1804. c=Instance.new("ObjectValue")
  1805. c.Name="creator"
  1806. c.Value=game:service("Players").LocalPlayer
  1807. c.Parent=h
  1808. game:GetService("Debris"):AddItem(c,.5)
  1809. Damage=math.random(minim,maxim)
  1810. -- h:TakeDamage(Damage)
  1811. blocked=false
  1812. block=hit.Parent:findFirstChild("Block")
  1813. if block~=nil then
  1814. print(block.className)
  1815. if block.className=="NumberValue" then
  1816. if block.Value>0 then
  1817. blocked=true
  1818. if decreaseblock==nil then
  1819. block.Value=block.Value-1
  1820. end
  1821. end
  1822. end
  1823. if block.className=="IntValue" then
  1824. if block.Value>0 then
  1825. blocked=true
  1826. if decreaseblock~=nil then
  1827. block.Value=block.Value-1
  1828. end
  1829. end
  1830. end
  1831. end
  1832. if blocked==false then
  1833. -- h:TakeDamage(Damage)
  1834. h.Health=h.Health-Damage
  1835. showDamage(hit.Parent,Damage,.5,BrickColor.new("Really black"))
  1836. else
  1837. h.Health=h.Health-(Damage/2)
  1838. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Really red"))
  1839. end
  1840. if Type=="Knockdown" then
  1841. hum=hit.Parent.Humanoid
  1842. hum.PlatformStand=true
  1843. coroutine.resume(coroutine.create(function(HHumanoid)
  1844. swait(1)
  1845. HHumanoid.PlatformStand=false
  1846. end),hum)
  1847. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  1848. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  1849. local bodvol=Instance.new("BodyVelocity")
  1850. bodvol.velocity=angle*knockback
  1851. bodvol.P=5000
  1852. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1853. bodvol.Parent=hit
  1854. rl=Instance.new("BodyAngularVelocity")
  1855. rl.P=3000
  1856. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1857. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1858. rl.Parent=hit
  1859. game:GetService("Debris"):AddItem(bodvol,.5)
  1860. game:GetService("Debris"):AddItem(rl,.5)
  1861. elseif Type=="Normal" then
  1862. so("http://www.roblox.com/asset/?id=220834019",hit,1,math.random(80,120)/100)
  1863. vp=Instance.new("BodyVelocity")
  1864. vp.P=500
  1865. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1866. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1867. if KnockbackType==1 then
  1868. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  1869. elseif KnockbackType==2 then
  1870. vp.velocity=Property.CFrame.lookVector*knockback
  1871. end
  1872. if knockback>0 then
  1873. vp.Parent=hit.Parent.Torso
  1874. end
  1875. game:GetService("Debris"):AddItem(vp,.5)
  1876. elseif Type=="Up" then
  1877. local bodyVelocity=Instance.new("BodyVelocity")
  1878. bodyVelocity.velocity=vt(0,60,0)
  1879. bodyVelocity.P=5000
  1880. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1881. bodyVelocity.Parent=hit
  1882. game:GetService("Debris"):AddItem(bodyVelocity,1)
  1883. rl=Instance.new("BodyAngularVelocity")
  1884. rl.P=3000
  1885. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1886. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  1887. rl.Parent=hit
  1888. game:GetService("Debris"):AddItem(rl,.5)
  1889. elseif Type=="Snare" then
  1890. bp=Instance.new("BodyPosition")
  1891. bp.P=2000
  1892. bp.D=100
  1893. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1894. bp.position=hit.Parent.Torso.Position
  1895. bp.Parent=hit.Parent.Torso
  1896. game:GetService("Debris"):AddItem(bp,1)
  1897. elseif Type=="Target" then
  1898. if Targetting==false then
  1899. ZTarget=hit.Parent.Torso
  1900. coroutine.resume(coroutine.create(function(Part)
  1901. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1902. swait(5)
  1903. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1904. end),ZTarget)
  1905. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  1906. targetgui=Instance.new("BillboardGui")
  1907. targetgui.Parent=ZTarget
  1908. targetgui.Size=UDim2.new(10,100,10,100)
  1909. targ=Instance.new("ImageLabel")
  1910. targ.Parent=targetgui
  1911. targ.BackgroundTransparency=1
  1912. targ.Image="rbxassetid://4834067"
  1913. targ.Size=UDim2.new(1,0,1,0)
  1914. cam.CameraType="Scriptable"
  1915. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1916. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1917. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1918. Targetting=true
  1919. RocketTarget=ZTarget
  1920. for i=1,Property do
  1921. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  1922. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  1923. swait()
  1924. end
  1925. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  1926. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1927. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1928. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  1929. end
  1930. Targetting=false
  1931. RocketTarget=nil
  1932. targetgui.Parent=nil
  1933. cam.CameraType="Custom"
  1934. end
  1935. end
  1936. debounce=Instance.new("BoolValue")
  1937. debounce.Name="DebounceHit"
  1938. debounce.Parent=hit.Parent
  1939. debounce.Value=true
  1940. game:GetService("Debris"):AddItem(debounce,Delay)
  1941. c=Instance.new("ObjectValue")
  1942. c.Name="creator"
  1943. c.Value=Player
  1944. c.Parent=h
  1945. game:GetService("Debris"):AddItem(c,.5)
  1946. CRIT=false
  1947. hitDeb=true
  1948. AttackPos=6
  1949. end
  1950. end
  1951.  
  1952. showDamage=function(Char,Dealt,du,Color)
  1953. m=Instance.new("Model")
  1954. m.Name=tostring(Dealt)
  1955. h=Instance.new("Humanoid")
  1956. h.Health=0
  1957. h.MaxHealth=0
  1958. h.Parent=m
  1959. c=Instance.new("Part")
  1960. c.Transparency=0
  1961. c.BrickColor=BrickColor.new("Bright red")
  1962. c.Name="Head"
  1963. c.TopSurface=0
  1964. c.BottomSurface=0
  1965. c.formFactor="Plate"
  1966. c.Size=Vector3.new(1,.4,1)
  1967. ms=Instance.new("CylinderMesh")
  1968. ms.Scale=Vector3.new(.8,.8,.8)
  1969. if CRIT==true then
  1970. ms.Scale=Vector3.new(1,1.25,1)
  1971. end
  1972. ms.Parent=c
  1973. c.Reflectance=0
  1974. Instance.new("BodyGyro").Parent=c
  1975. c.Parent=m
  1976. if Char:findFirstChild("Head")~=nil then
  1977. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1978. elseif Char.Parent:findFirstChild("Head")~=nil then
  1979. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1980. end
  1981. f=Instance.new("BodyPosition")
  1982. f.P=2000
  1983. f.D=100
  1984. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1985. f.position=c.Position+Vector3.new(0,3,0)
  1986. f.Parent=c
  1987. game:GetService("Debris"):AddItem(m,.5+du)
  1988. c.CanCollide=false
  1989. m.Parent=workspace
  1990. c.CanCollide=false
  1991. end
  1992.  
  1993. function Shockwave2(brickcolor, cframe, x1, y1, z1, x2, y2, z2, delay)
  1994. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1995. prt.Anchored = true
  1996. prt.CFrame = cframe
  1997. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  1998. coroutine.resume(coroutine.create(function()
  1999. for i = 0, 1, delay do
  2000. swait()
  2001. prt.Transparency = i
  2002. msh.Scale = msh.Scale + vt(x2, y2, z2)
  2003. end
  2004. prt.Parent = nil
  2005. end))
  2006. end
  2007.  
  2008. function attackone()
  2009. attack=true
  2010. for i=0,1,0.04 do
  2011. swait()
  2012. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(-30)),.1)
  2013. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2014. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2)
  2015. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2)
  2016. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2017. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2018. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  2019. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,4)*angles(math.rad(60),math.rad(90),math.rad(-90)),0.2)
  2020. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2021. arm1p4w.C0=clerp(arm1p4w.C0,cf(1.5,3,0)*angles(math.rad(0),math.rad(0),math.rad(-120)),0.2)
  2022. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2023. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2024. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.2)
  2025. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  2026. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2027. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  2028. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2029. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  2030. end
  2031. so("http://www.roblox.com/asset/?id=203691467",arm1hitbox,1,1)
  2032. con1=arm1hitbox.Touched:connect(function(hit) Damagefunc(hit,60,80,math.random(60,80),"Normal",RootPart,.2,1) end)
  2033. for i=0,1,0.2 do
  2034. swait()
  2035. Shockwave(BrickColor.new("Really black"),cf(arm1hitbox.Position),1,1,1,1,1,1,0.075)
  2036. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(30)),.2)
  2037. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2038. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.3)
  2039. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-130)), 0.2)
  2040. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2041. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2042. arm1pw.C0=clerp(arm1pw.C0,cf(-2.5,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2043. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,-4)*angles(math.rad(-60),math.rad(90),math.rad(-90)),0.3)
  2044. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2045. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2046. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2047. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2048. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.2)
  2049. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  2050. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2051. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  2052. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2053. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  2054. end
  2055. for i=0,1,0.04 do
  2056. swait()
  2057. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(30)),.2)
  2058. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2059. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.3)
  2060. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-130)), 0.2)
  2061. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2062. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2063. arm1pw.C0=clerp(arm1pw.C0,cf(-2.5,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2064. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,-4)*angles(math.rad(-60),math.rad(90),math.rad(-90)),0.3)
  2065. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2066. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2067. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2068. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2069. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.2)
  2070. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  2071. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2072. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  2073. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2074. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  2075. end
  2076. con1:disconnect()
  2077. attack=false
  2078. end
  2079.  
  2080. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2081. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2082. end
  2083.  
  2084. function attacktwo()
  2085. attack=true
  2086. for i=0,1,0.04 do
  2087. swait()
  2088. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12)*angles(math.rad(-20),math.rad(0),math.rad(20)),.1)
  2089. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2090. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2)
  2091. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2)
  2092. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2093. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2094. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  2095. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  2096. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2097. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  2098. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2099. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2100. arm2pw.C0=clerp(arm2pw.C0,cf(0,-2.5,0)*angles(math.rad(0),math.rad(120),math.rad(-90)),0.2)
  2101. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  2102. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2103. arm2p4w.C0=clerp(arm2p4w.C0,cf(-1,3,0)*angles(math.rad(0),math.rad(0),math.rad(-75)),0.2)
  2104. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2105. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  2106. end
  2107. so("http://www.roblox.com/asset/?id=203691467",arm1hitbox,1,0.8)
  2108. con1=arm2hitbox.Touched:connect(function(hit) Damagefunc(hit,60,80,math.random(60,80),"Normal",RootPart,.2,1) end)
  2109. for i=0,1,0.2 do
  2110. swait()
  2111. Shockwave(BrickColor.new("Really black"),cf(arm2hitbox.Position),1,1,1,1,1,1,0.075)
  2112. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(20),math.rad(0),math.rad(-45)),.2)
  2113. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2114. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2)
  2115. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2)
  2116. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2117. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2118. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  2119. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  2120. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2121. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  2122. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2123. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2124. arm2pw.C0=clerp(arm2pw.C0,cf(1.5,-3.5,-5)*angles(math.rad(-30),math.rad(0),math.rad(-90)),0.3)
  2125. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.3)
  2126. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2127. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2128. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2129. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2130. end
  2131. Humanoid.WalkSpeed = 0
  2132. local hit,pos=rayCast(arm2hitbox.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
  2133. if hit~=nil then
  2134. swait()
  2135. print("touched")
  2136. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
  2137. ref.Anchored=true
  2138. ref.CFrame=cf(pos)
  2139. game:GetService("Debris"):AddItem(ref,3)
  2140. so("http://www.roblox.com/asset/?id=199145477",arm2hitbox,1,math.random(60,140)/100)
  2141. Shockwave2(BrickColor.new("Bright red"),cf(pos),0.1,0.1,0.1,1,1,1,0.05)
  2142. end
  2143. for i=0,1,0.04 do
  2144. swait()
  2145. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(20),math.rad(0),math.rad(-45)),.2)
  2146. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2147. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2)
  2148. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2)
  2149. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2150. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2151. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  2152. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  2153. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2154. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  2155. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2156. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2157. arm2pw.C0=clerp(arm2pw.C0,cf(1.5,-3.5,-5)*angles(math.rad(-20),math.rad(0),math.rad(-90)),0.3)
  2158. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.3)
  2159. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2160. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2161. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2162. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2163. end
  2164. Humanoid.WalkSpeed = 64
  2165. con1:disconnect()
  2166. attack=false
  2167. end
  2168.  
  2169. lasereye=1
  2170.  
  2171. mouse.Button1Down:connect(function()
  2172. if attack==false and attacktype==1 and sphere==false then
  2173. attackone()
  2174. attacktype=2
  2175. elseif attack==false and attacktype==2 and sphere==false then
  2176. attacktwo()
  2177. attacktype=1
  2178. end
  2179. if attack==false and used==false and sphere==true and rest==false and lasereye==1 then
  2180. lasereye=2
  2181. LaserBlaster()
  2182. elseif attack==false and used==false and sphere==true and rest==false and lasereye==2 then
  2183. lasereye=1
  2184. LaserBlaster2()
  2185. end
  2186. end)
  2187.  
  2188. function Shockwave(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2189. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2190. prt.Anchored = true
  2191. prt.CFrame = cframe
  2192. prt.Material = "Neon"
  2193. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  2194. game:GetService("Debris"):AddItem(prt, 2)
  2195. coroutine.resume(coroutine.create(function(Part, Mesh)
  2196. for i = 0, 1, delay do
  2197. swait()
  2198. Part.CFrame = Part.CFrame
  2199. Part.Transparency = i
  2200. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2201. end
  2202. Part.Parent = nil
  2203. end), prt, msh)
  2204. end
  2205.  
  2206. function Laser(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2207. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2208. prt.Anchored = true
  2209. prt.CFrame = cframe
  2210. prt.Material = "Neon"
  2211. local msh = mesh("SpecialMesh", prt, "Head", "", vt(0, 0, 0), vt(x1, y1, z1))
  2212. game:GetService("Debris"):AddItem(prt, 2)
  2213. coroutine.resume(coroutine.create(function(Part, Mesh)
  2214. for i = 0, 1, delay do
  2215. swait()
  2216. Part.CFrame = Part.CFrame
  2217. Part.Transparency = i
  2218. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2219. end
  2220. Part.Parent = nil
  2221. end), prt, msh)
  2222. end
  2223.  
  2224. MMouse=mouse
  2225. LaserTarget=RootPart
  2226. used=false
  2227.  
  2228. function LaserBlaster()
  2229. used=true
  2230. so("http://www.roblox.com/asset/?id=167122623",eyep,1,math.random(60,80)/100)
  2231. local MouseLook=cf((eyep.Position+MMouse.Hit.p)/2,MMouse.Hit.p)
  2232. local hit,pos = rayCast(eyep.Position,MouseLook.lookVector,999,LaserTarget.Parent)
  2233. local mag=(eyep.Position-pos).magnitude
  2234. Laser(BrickColor.new("Really red"),CFrame.new((eyep.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*2,1,0.5,0,0.5,0.1)
  2235. if hit~=nil then
  2236. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
  2237. ref.Anchored=true
  2238. ref.CFrame=cf(pos)
  2239. game:GetService("Debris"):AddItem(ref,1)
  2240. so("http://www.roblox.com/asset/?id=340722848",ref,1,math.random(80,120)/100)
  2241. Shockwave(BrickColor.new("Really red"),cf(pos),1,1,1,1,1,1,0.075)
  2242. Damagefunc(hit,20,40,0,"Normal",RootPart,0)
  2243. end
  2244. for i=0,1,0.2 do
  2245. swait()
  2246. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,2,12)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  2247. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2248. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2249. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2250. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2251. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2252. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2253. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2254. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2255. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2256. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2257. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2258. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2259. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2260. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2261. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2262. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2263. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2264. end
  2265. wait(0.25)
  2266. used=false
  2267. end
  2268.  
  2269. function LaserBlaster2()
  2270. used=true
  2271. so("http://www.roblox.com/asset/?id=167122623",eyep2,1,math.random(60,80)/100)
  2272. local MouseLook=cf((eyep2.Position+MMouse.Hit.p)/2,MMouse.Hit.p)
  2273. local hit,pos = rayCast(eyep2.Position,MouseLook.lookVector,999,LaserTarget.Parent)
  2274. local mag=(eyep2.Position-pos).magnitude
  2275. Laser(BrickColor.new("Really red"),CFrame.new((eyep2.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*2,1,0.5,0,0.5,0.1)
  2276. if hit~=nil then
  2277. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
  2278. ref.Anchored=true
  2279. ref.CFrame=cf(pos)
  2280. game:GetService("Debris"):AddItem(ref,1)
  2281. so("http://www.roblox.com/asset/?id=340722848",ref,1,math.random(80,120)/100)
  2282. Shockwave(BrickColor.new("Really red"),cf(pos),1,1,1,1,1,1,0.075)
  2283. Damagefunc(hit,20,40,0,"Normal",RootPart,0)
  2284. end
  2285. for i=0,1,0.2 do
  2286. swait()
  2287. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,2,12)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  2288. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2289. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2290. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2291. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2292. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2293. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2294. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2295. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2296. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2297. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2298. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2299. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2300. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2301. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2302. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2303. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2304. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2305. end
  2306. wait(0.25)
  2307. used=false
  2308. end
  2309.  
  2310. used2=false
  2311.  
  2312. function GiantLaserBlaster()
  2313. used2=true
  2314. so("http://www.roblox.com/asset/?id=137463716",eyep,1,math.random(60,80)/100)
  2315. eyeeffect.Enabled = true
  2316. wait(1.6)
  2317. eyeeffect.Enabled = false
  2318. so("http://www.roblox.com/asset/?id=253453677",eyep,1,math.random(75,125)/100)
  2319. so("http://www.roblox.com/asset/?id=253453677",eyep,1,math.random(75,125)/100)
  2320. so("http://www.roblox.com/asset/?id=253453677",eyep,1,math.random(75,125)/100)
  2321. so("http://www.roblox.com/asset/?id=253453677",eyep,1,math.random(75,125)/100)
  2322. local MouseLook=cf((eyep.Position+MMouse.Hit.p)/2,MMouse.Hit.p)
  2323. local hit,pos = rayCast(eyep.Position,MouseLook.lookVector,999,LaserTarget.Parent)
  2324. local mag=(eyep.Position-pos).magnitude
  2325. 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)
  2326. if hit~=nil then
  2327. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
  2328. ref.Anchored=true
  2329. ref.CFrame=cf(pos)
  2330. game:GetService("Debris"):AddItem(ref,1)
  2331. so("http://www.roblox.com/asset/?id=340722848",ref,1,math.random(80,120)/100)
  2332. Shockwave(BrickColor.new("Really red"),cf(pos),2.5,2.5,2.5,2.5,2.5,2.5,0.025)
  2333. Damagefunc(hit,40,80,0,"Normal",RootPart,0)
  2334. end
  2335. for i=0,1,0.1 do
  2336. swait()
  2337. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,8,12)*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  2338. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2339. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2340. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2341. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2342. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2343. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2344. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2345. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2346. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2347. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2348. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2349. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2350. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2351. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2352. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2353. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2354. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2355. end
  2356. wait(3)
  2357. used2=false
  2358. end
  2359.  
  2360. function GiantLaserBlaster2()
  2361. used2=true
  2362. so("http://www.roblox.com/asset/?id=137463716",eyep2,1,math.random(60,80)/100)
  2363. eyeeffect2.Enabled = true
  2364. wait(1.6)
  2365. eyeeffect2.Enabled = false
  2366. so("http://www.roblox.com/asset/?id=253453677",eyep2,1,math.random(75,125)/100)
  2367. so("http://www.roblox.com/asset/?id=253453677",eyep2,1,math.random(75,125)/100)
  2368. so("http://www.roblox.com/asset/?id=253453677",eyep2,1,math.random(75,125)/100)
  2369. so("http://www.roblox.com/asset/?id=253453677",eyep2,1,math.random(75,125)/100)
  2370. local MouseLook=cf((eyep2.Position+MMouse.Hit.p)/2,MMouse.Hit.p)
  2371. local hit,pos = rayCast(eyep2.Position,MouseLook.lookVector,999,LaserTarget.Parent)
  2372. local mag=(eyep2.Position-pos).magnitude
  2373. Laser(BrickColor.new("Really red"),CFrame.new((eyep2.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*2,1,2.5,0,2.5,0.05)
  2374. if hit~=nil then
  2375. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
  2376. ref.Anchored=true
  2377. ref.CFrame=cf(pos)
  2378. game:GetService("Debris"):AddItem(ref,1)
  2379. so("http://www.roblox.com/asset/?id=340722848",ref,1,math.random(80,120)/100)
  2380. Shockwave(BrickColor.new("Really red"),cf(pos),2.5,2.5,2.5,2.5,2.5,2.5,0.025)
  2381. Damagefunc(hit,40,80,0,"Normal",RootPart,0)
  2382. end
  2383. for i=0,1,0.1 do
  2384. swait()
  2385. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,8,12)*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  2386. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2387. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2388. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2389. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2390. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2391. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2392. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2393. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2394. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2395. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2396. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2397. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2398. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2399. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2400. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2401. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2402. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2403. end
  2404. wait(3)
  2405. used2=false
  2406. end
  2407.  
  2408. function Hibernation()
  2409. if rest==false then
  2410. print("You are now resting.")
  2411. rest=true
  2412. attack=true
  2413. emitter.Enabled = false
  2414. particleemitter.Enabled = false
  2415. for i=0,1,0.15 do
  2416. wait()
  2417. Humanoid.CameraOffset = Vector3.new(0, 12.5-12.5*i, 0)
  2418. music.Volume = 0.5-0.5*i
  2419. --eyep2mesh.Scale = Vector3.new(8.5,8.5-8.4*i,2)
  2420. --eyepmesh.Scale = Vector3.new(8.5,8.5-8.4*i,2)
  2421. end
  2422. music.Volume = 0
  2423. Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  2424. attack=false
  2425. Humanoid.WalkSpeed = 0
  2426. elseif rest==true then
  2427. print("You are now awake.")
  2428. rest=false
  2429. attack=true
  2430. for i=0,1,0.15 do
  2431. wait()
  2432. Humanoid.CameraOffset = Vector3.new(0, 0+12.5*i, 0)
  2433. music.Volume = 0+0.5*i
  2434. --eyep2mesh.Scale = Vector3.new(8.5,0.1+8.4*i,2)
  2435. --eyepmesh.Scale = Vector3.new(8.5,0.1+8.4*i,2)
  2436. end
  2437. emitter.Enabled = true
  2438. particleemitter.Enabled = true
  2439. Humanoid.WalkSpeed = 16
  2440. music.Volume = 0.5
  2441. Humanoid.CameraOffset = Vector3.new(0, 12.5, 0)
  2442. attack=false
  2443. end
  2444. end
  2445.  
  2446. ragemodedelay=false
  2447.  
  2448. function RageMode()
  2449. if sphere==true then
  2450. music:Stop()
  2451. music2:Play()
  2452. rawr:Play()
  2453. particleemitter2.Enabled=true
  2454. particleemitter3.Enabled=true
  2455. particleemitter4.Enabled=true
  2456. particleemitter5.Enabled=true
  2457. particleemitter6.Enabled=true
  2458. particleemitter7.Enabled=true
  2459. particleemitter8.Enabled=true
  2460. particleemitter9.Enabled=true
  2461. particleemitter10.Enabled=true
  2462. particleemitter11.Enabled=true
  2463. Humanoid.WalkSpeed = 64
  2464. Shockwave(BrickColor.new("Really black"),cf(Torso.Position),4,4,4,6,6,6,0.025)
  2465. so("http://www.roblox.com/asset/?id=340722848",Character,0.5,1.2)
  2466. sphere=false
  2467. elseif sphere==false then
  2468. music2:Stop()
  2469. music:Play()
  2470. particleemitter2.Enabled=false
  2471. particleemitter3.Enabled=false
  2472. particleemitter4.Enabled=false
  2473. particleemitter5.Enabled=false
  2474. particleemitter6.Enabled=false
  2475. particleemitter7.Enabled=false
  2476. particleemitter8.Enabled=false
  2477. particleemitter9.Enabled=false
  2478. particleemitter10.Enabled=false
  2479. particleemitter11.Enabled=false
  2480. Humanoid.WalkSpeed = 16
  2481. Shockwave(BrickColor.new("Really black"),cf(Torso.Position),4,4,4,6,6,6,0.025)
  2482. so("http://www.roblox.com/asset/?id=340722848",Character,0.5,0.8)
  2483. sphere=true
  2484. end
  2485. end
  2486.  
  2487. --use3=false
  2488.  
  2489. function TheWind()
  2490. if aura==false then
  2491. Shockwave(BrickColor.new("Really black"),cf(Torso.Position),16,16,16,10,10,10,0.025)
  2492. so("http://www.roblox.com/asset/?id=340722848",Torso,1,1.1)
  2493. ghostp.Transparency = 0.8
  2494. ghostp2.Transparency = 0.85
  2495. ghostp3.Transparency = 0.9
  2496. ghostp4.Transparency = 0.95
  2497. ghostp5.Transparency = 0.75
  2498. ghostp6.Transparency = 0.825
  2499. ghostp7.Transparency = 0.875
  2500. ghostp8.Transparency = 0.925
  2501. aura=true
  2502. elseif aura==true then
  2503. Shockwave(BrickColor.new("Really black"),cf(Torso.Position),16,16,16,10,10,10,0.025)
  2504. so("http://www.roblox.com/asset/?id=340722848",Torso,1,0.9)
  2505. ghostp.Transparency = 1
  2506. ghostp2.Transparency = 1
  2507. ghostp3.Transparency = 1
  2508. ghostp4.Transparency = 1
  2509. ghostp5.Transparency = 1
  2510. ghostp6.Transparency = 1
  2511. ghostp7.Transparency = 1
  2512. ghostp8.Transparency = 1
  2513. aura=false
  2514. end
  2515. while aura==true do
  2516. for i=0,1,0.05 do
  2517. wait()
  2518. ghostw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(45+360*i),math.rad(0))
  2519. ghostw2.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(90+360*i),math.rad(0))
  2520. ghostw3.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(135+360*i),math.rad(0))
  2521. ghostw4.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(180+360*i),math.rad(0))
  2522. ghost5w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(225+360*i),math.rad(0))
  2523. ghost6w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(270+360*i),math.rad(0))
  2524. ghost7w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(315+360*i),math.rad(0))
  2525. ghost8w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(360+360*i),math.rad(0))
  2526. end
  2527. end
  2528. end
  2529.  
  2530. giantlasereye=1
  2531.  
  2532. function ShootingTheEyes()
  2533. if giantlasereye==1 then
  2534. GiantLaserBlaster()
  2535. giantlasereye=2
  2536. elseif giantlasereye==2 then
  2537. GiantLaserBlaster2()
  2538. giantlasereye=1
  2539. end
  2540. end
  2541.  
  2542. mouse.KeyDown:connect(function(k)
  2543. k=k:lower()
  2544. if k=='r' and attack==false and sphere==true and aura==false then
  2545. Hibernation()
  2546. end
  2547. if k=='f' and used2==false and sphere==true and rest==false then
  2548. ShootingTheEyes()
  2549. end
  2550. if k=='q' and rest==false and ragemodedelay==false then
  2551. RageMode()
  2552. ragemodedelay=true
  2553. wait(3)
  2554. ragemodedelay=false
  2555. end
  2556. if k=='e' and rest==false then
  2557. TheWind()
  2558. end
  2559. end)
  2560.  
  2561. local sine = 0
  2562. local change = 1
  2563. local val = 0
  2564.  
  2565. while true do
  2566. swait()
  2567. sine = sine + change
  2568. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2569. local velderp=RootPart.Velocity.y
  2570. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2571. if equipped==true or equipped==false then
  2572. if attack==false then
  2573. idle=idle+1
  2574. else
  2575. idle=0
  2576. end
  2577. if idle>=500 then
  2578. if attack==false then
  2579. --Sheath()
  2580. end
  2581. end
  2582. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2583. Anim="Jump"
  2584. if attack==false and sphere==false then
  2585. 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)
  2586. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2587. 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)
  2588. 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)
  2589. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2590. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2591. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2592. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2593. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2594. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2595. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2596. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2597. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  2598. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2599. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2600. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2601. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2602. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2603. else
  2604. if attack==false and sphere==true then
  2605. 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)
  2606. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2607. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2608. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2609. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2610. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2611. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2612. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2613. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2614. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2615. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2616. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2617. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2618. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2619. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2620. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2621. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2622. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2623. end
  2624. end
  2625. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2626. Anim="Fall"
  2627. if attack==false and sphere==false then
  2628. 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)
  2629. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2630. 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)
  2631. 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)
  2632. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2633. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2634. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2635. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2636. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2637. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2638. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2639. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2640. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  2641. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2642. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2643. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2644. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2645. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2646. else
  2647. if attack==false and sphere==true then
  2648. 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)
  2649. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2650. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2651. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2652. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2653. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2654. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2655. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2656. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2657. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2658. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2659. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2660. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2661. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2662. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2663. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2664. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2665. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2666. end
  2667. end
  2668. elseif torvel<1 and hitfloor~=nil then
  2669. Anim="Idle"
  2670. Humanoid.WalkSpeed = 64
  2671. if attack==false and sphere==false and rest==false then
  2672. 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)
  2673. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2674. 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)
  2675. 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)
  2676. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2677. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2678. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2679. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2680. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2681. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2682. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2683. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2684. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  2685. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2686. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2687. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2688. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2689. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2690. else
  2691. if attack==false and sphere==true and rest==false then
  2692. Humanoid.WalkSpeed = 16
  2693. 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)
  2694. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2695. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2696. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2697. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2698. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2699. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2700. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2701. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2702. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2703. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2704. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2705. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2706. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2707. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2708. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2709. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2710. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2711. else
  2712. if attack==false and sphere==true and rest==true then
  2713. Humanoid.WalkSpeed = 0
  2714. 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)
  2715. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2716. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2717. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2718. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2719. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2720. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2721. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2722. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2723. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2724. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2725. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2726. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2727. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2728. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2729. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2730. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2731. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2732. end
  2733. end
  2734. end
  2735. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  2736. Anim="Walk"
  2737. if attack==false and sphere==false then
  2738. 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)
  2739. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2740. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(120)), 0.3)
  2741. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-120)), 0.3)
  2742. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2743. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2744. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2745. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2746. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2747. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2748. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2749. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2750. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  2751. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2752. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2753. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2754. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2755. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2756. else
  2757. if attack==false and sphere==true then
  2758. 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)
  2759. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2760. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2761. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2762. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2763. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2764. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2765. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2766. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2767. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2768. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2769. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2770. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2771. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2772. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2773. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2774. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2775. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2776. end
  2777. end
  2778. elseif torvel>=22 and hitfloor~=nil then
  2779. Anim="Run"
  2780. if attack==false and sphere==false then
  2781. 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)
  2782. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2783. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(120)), 0.3)
  2784. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-120)), 0.3)
  2785. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2786. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2787. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2788. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2789. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2790. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2791. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2792. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2793. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  2794. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2795. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2796. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2797. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2798. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2799. end
  2800. end
  2801. end
  2802. if #Effects>0 then
  2803. --table.insert(Effects,{prt,"Block1",delay})
  2804. for e=1,#Effects do
  2805. if Effects[e]~=nil then
  2806. --for j=1,#Effects[e] do
  2807. local Thing=Effects[e]
  2808. if Thing~=nil then
  2809. local Part=Thing[1]
  2810. local Mode=Thing[2]
  2811. local Delay=Thing[3]
  2812. local IncX=Thing[4]
  2813. local IncY=Thing[5]
  2814. local IncZ=Thing[6]
  2815. if Thing[1].Transparency<=1 then
  2816. if Thing[2]=="Block1" then
  2817. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2818. Mesh=Thing[1].Mesh
  2819. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2820. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2821. elseif Thing[2]=="Cylinder" then
  2822. Mesh=Thing[1].Mesh
  2823. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2824. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2825. elseif Thing[2]=="Blood" then
  2826. Mesh=Thing[7]
  2827. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  2828. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2829. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2830. elseif Thing[2]=="Elec" then
  2831. Mesh=Thing[1].Mesh
  2832. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  2833. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2834. elseif Thing[2]=="Disappear" then
  2835. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2836. end
  2837. else
  2838. Part.Parent=nil
  2839. table.remove(Effects,e)
  2840. end
  2841. end
  2842. --end
  2843. end
  2844. end
  2845. end
  2846. end")
  2847. arm1p2.Material="Sand"
  2848. arm1p2.TopSurface="Smooth"
  2849. arm1p2.BottomSurface="Smooth"
  2850. arm1p2.RightSurface="Smooth"
  2851. arm1p2.LeftSurface="Smooth"
  2852. arm1p2w=Instance.new("Weld",Character)
  2853. arm1p2w.Part0=arm1p
  2854. arm1p2w.Part1=arm1p2
  2855. arm1p2w.C0=CFrame.new(0,3,0)*CFrame.Angles(0,math.rad(90),math.rad(-90))
  2856.  
  2857. arm1p2mesh = Instance.new("SpecialMesh",arm1p2)
  2858. arm1p2mesh.MeshType = "Cylinder"
  2859. arm1p2mesh.Scale = Vector3.new(30,20,30)
  2860.  
  2861. local particleemitter3 = Instance.new("ParticleEmitter", arm1p2)
  2862. particleemitter3.VelocitySpread = 180
  2863. particleemitter3.Lifetime = NumberRange.new(1)
  2864. particleemitter3.Speed = NumberRange.new(10)
  2865. particleemitter3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  2866. particleemitter3.RotSpeed = NumberRange.new(-180, 180)
  2867. particleemitter3.Rotation = NumberRange.new(-360, 360)
  2868. particleemitter3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  2869. particleemitter3.LightEmission = 1
  2870. particleemitter3.Texture = "http://www.roblox.com/asset/?id=320043786"
  2871. particleemitter3.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
  2872. particleemitter3.Enabled = false
  2873.  
  2874. arm1p3=Instance.new("Part",Character)
  2875. arm1p3.FormFactor="Custom"
  2876. arm1p3.Size=Vector3.new(.2,.2,.2)
  2877. arm1p3.Transparency=0
  2878. arm1p3.CanCollide=false
  2879. arm1p3.BrickColor = BrickColor.new("Pastel light blue")
  2880. arm1p3.Material="Sand"
  2881. arm1p3.TopSurface="Smooth"
  2882. arm1p3.BottomSurface="Smooth"
  2883. arm1p3.RightSurface="Smooth"
  2884. arm1p3.LeftSurface="Smooth"
  2885. arm1p3w=Instance.new("Weld",Character)
  2886. arm1p3w.Part0=arm1p2
  2887. arm1p3w.Part1=arm1p3
  2888. arm1p3w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  2889.  
  2890. arm1p3mesh = Instance.new("SpecialMesh",arm1p3)
  2891. arm1p3mesh.MeshType = "Sphere"
  2892. arm1p3mesh.Scale = Vector3.new(22.5,22.5,22.5)
  2893.  
  2894. local particleemitter4 = Instance.new("ParticleEmitter", arm1p3)
  2895. particleemitter4.VelocitySpread = 180
  2896. particleemitter4.Lifetime = NumberRange.new(1)
  2897. particleemitter4.Speed = NumberRange.new(10)
  2898. particleemitter4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  2899. particleemitter4.RotSpeed = NumberRange.new(-180, 180)
  2900. particleemitter4.Rotation = NumberRange.new(-360, 360)
  2901. particleemitter4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  2902. particleemitter4.LightEmission = 1
  2903. particleemitter4.Texture = "http://www.roblox.com/asset/?id=320043786"
  2904. particleemitter4.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
  2905. particleemitter4.Enabled = false
  2906.  
  2907. arm1p4=Instance.new("Part",Character)
  2908. arm1p4.FormFactor="Custom"
  2909. arm1p4.Size=Vector3.new(.2,.2,.2)
  2910. arm1p4.Transparency=0
  2911. arm1p4.CanCollide=false
  2912. arm1p4.BrickColor = BrickColor.new("Pastel light blue")
  2913. arm1p4.Material="Sand"
  2914. arm1p4.TopSurface="Smooth"
  2915. arm1p4.BottomSurface="Smooth"
  2916. arm1p4.RightSurface="Smooth"
  2917. arm1p4.LeftSurface="Smooth"
  2918. arm1p4w=Instance.new("Weld",Character)
  2919. arm1p4w.Part0=arm1p3
  2920. arm1p4w.Part1=arm1p4
  2921. arm1p4w.C0=CFrame.new(-3,3,0)*CFrame.Angles(0,math.rad(0),math.rad(-45))
  2922.  
  2923. arm1p4mesh = Instance.new("SpecialMesh",arm1p4)
  2924. arm1p4mesh.MeshType = "Cylinder"
  2925. arm1p4mesh.Scale = Vector3.new(30,20,30)
  2926.  
  2927. local particleemitter5 = Instance.new("ParticleEmitter", arm1p4)
  2928. particleemitter5.VelocitySpread = 180
  2929. particleemitter5.Lifetime = NumberRange.new(1)
  2930. particleemitter5.Speed = NumberRange.new(10)
  2931. particleemitter5.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  2932. particleemitter5.RotSpeed = NumberRange.new(-180, 180)
  2933. particleemitter5.Rotation = NumberRange.new(-360, 360)
  2934. particleemitter5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  2935. particleemitter5.LightEmission = 1
  2936. particleemitter5.Texture = "http://www.roblox.com/asset/?id=320043786"
  2937. particleemitter5.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
  2938. particleemitter5.Enabled = false
  2939.  
  2940. arm1p5=Instance.new("Part",Character)
  2941. arm1p5.FormFactor="Custom"
  2942. arm1p5.Size=Vector3.new(.2,.2,.2)
  2943. arm1p5.Transparency=0
  2944. arm1p5.CanCollide=false
  2945. arm1p5.BrickColor = BrickColor.new("Pastel light blue")
  2946. arm1p5.Material="Sand"
  2947. arm1p5.TopSurface="Smooth"
  2948. arm1p5.BottomSurface="Smooth"
  2949. arm1p5.RightSurface="Smooth"
  2950. arm1p5.LeftSurface="Smooth"
  2951. arm1p5w=Instance.new("Weld",Character)
  2952. arm1p5w.Part0=arm1p4
  2953. arm1p5w.Part1=arm1p5
  2954. arm1p5w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  2955.  
  2956. arm1p5mesh = Instance.new("SpecialMesh",arm1p5)
  2957. arm1p5mesh.MeshType = "Sphere"
  2958. arm1p5mesh.Scale = Vector3.new(30,30,30)
  2959.  
  2960. local particleemitter6 = Instance.new("ParticleEmitter", arm1p5)
  2961. particleemitter6.VelocitySpread = 180
  2962. particleemitter6.Lifetime = NumberRange.new(1)
  2963. particleemitter6.Speed = NumberRange.new(10)
  2964. particleemitter6.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  2965. particleemitter6.RotSpeed = NumberRange.new(-180, 180)
  2966. particleemitter6.Rotation = NumberRange.new(-360, 360)
  2967. particleemitter6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  2968. particleemitter6.LightEmission = 1
  2969. particleemitter6.Texture = "http://www.roblox.com/asset/?id=320043786"
  2970. particleemitter6.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
  2971. particleemitter6.Enabled = false
  2972.  
  2973. arm1p6=Instance.new("Part",Character)
  2974. arm1p6.FormFactor="Custom"
  2975. arm1p6.Size=Vector3.new(.2,.2,.2)
  2976. arm1p6.Transparency=0
  2977. arm1p6.CanCollide=false
  2978. arm1p6.BrickColor = BrickColor.new("Pastel light blue")
  2979. arm1p6.Material="Sand"
  2980. arm1p6.TopSurface="Smooth"
  2981. arm1p6.BottomSurface="Smooth"
  2982. arm1p6.RightSurface="Smooth"
  2983. arm1p6.LeftSurface="Smooth"
  2984. arm1p6w=Instance.new("Weld",Character)
  2985. arm1p6w.Part0=arm1p5
  2986. arm1p6w.Part1=arm1p6
  2987. arm1p6w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  2988.  
  2989. arm1p6mesh = Instance.new("FileMesh",arm1p6)
  2990. arm1p6mesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  2991. arm1p6mesh.Scale = Vector3.new(3.15,3.15,3.15)
  2992.  
  2993. arm1p7=Instance.new("Part",Character)
  2994. arm1p7.FormFactor="Custom"
  2995. arm1p7.Size=Vector3.new(.2,.2,.2)
  2996. arm1p7.Transparency=0
  2997. arm1p7.CanCollide=false
  2998. arm1p7.BrickColor = BrickColor.new("Pastel light blue")
  2999. arm1p7.Material="Sand"
  3000. arm1p7.TopSurface="Smooth"
  3001. arm1p7.BottomSurface="Smooth"
  3002. arm1p7.RightSurface="Smooth"
  3003. arm1p7.LeftSurface="Smooth"
  3004. arm1p7w=Instance.new("Weld",Character)
  3005. arm1p7w.Part0=arm1p
  3006. arm1p7w.Part1=arm1p7
  3007. arm1p7w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  3008.  
  3009. arm1p7mesh = Instance.new("FileMesh",arm1p7)
  3010. arm1p7mesh.MeshId = "http://www.roblox.com/asset/?id=9756362"
  3011. arm1p7mesh.Scale = Vector3.new(5,10,5)
  3012.  
  3013. arm1hitbox=Instance.new("Part",Character)
  3014. arm1hitbox.FormFactor="Custom"
  3015. arm1hitbox.Size=Vector3.new(5,5,5)
  3016. arm1hitbox.Transparency=1
  3017. arm1hitbox.CanCollide=false
  3018. arm1hitbox.BrickColor = BrickColor.new("Pastel light blue")
  3019. arm1hitbox.Material="Sand"
  3020. arm1hitbox.TopSurface="Smooth"
  3021. arm1hitbox.BottomSurface="Smooth"
  3022. arm1hitbox.RightSurface="Smooth"
  3023. arm1hitbox.LeftSurface="Smooth"
  3024. arm1hitboxw=Instance.new("Weld",Character)
  3025. arm1hitboxw.Part0=arm1p6
  3026. arm1hitboxw.Part1=arm1hitbox
  3027. arm1hitboxw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  3028. --------------------------------------------------------------
  3029. Arm2 = Instance.new("Model",Character)
  3030. Arm2.Name = "Arm 2"
  3031.  
  3032. arm2p=Instance.new("Part",Character)
  3033. arm2p.FormFactor="Custom"
  3034. arm2p.Size=Vector3.new(.2,.2,.2)
  3035. arm2p.Transparency=0
  3036. arm2p.CanCollide=false
  3037. arm2p.BrickColor = BrickColor.new("Pastel light blue")
  3038. arm2p.Material="Sand"
  3039. arm2p.TopSurface="Smooth"
  3040. arm2p.BottomSurface="Smooth"
  3041. arm2p.RightSurface="Smooth"
  3042. arm2p.LeftSurface="Smooth"
  3043. arm2pw=Instance.new("Weld",Character)
  3044. arm2pw.Part0=Character["Left Arm"]
  3045. arm2pw.Part1=arm2p
  3046. arm2pw.C0=CFrame.new(0,-5,0)*CFrame.Angles(0,math.rad(0),math.rad(-90))
  3047.  
  3048. arm2pmesh = Instance.new("SpecialMesh",arm2p)
  3049. arm2pmesh.MeshType = "Sphere"
  3050. arm2pmesh.Scale = Vector3.new(40,20,40)
  3051.  
  3052. local particleemitter7 = Instance.new("ParticleEmitter", arm2p)
  3053. particleemitter7.VelocitySpread = 180
  3054. particleemitter7.Lifetime = NumberRange.new(1)
  3055. particleemitter7.Speed = NumberRange.new(10)
  3056. particleemitter7.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  3057. particleemitter7.RotSpeed = NumberRange.new(-180, 180)
  3058. particleemitter7.Rotation = NumberRange.new(-360, 360)
  3059. particleemitter7.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  3060. particleemitter7.LightEmission = 1
  3061. particleemitter7.Texture = "http://www.roblox.com/asset/?id=320043786"
  3062. particleemitter7.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
  3063. particleemitter7.Enabled = false
  3064.  
  3065. arm2p2=Instance.new("Part",Character)
  3066. arm2p2.FormFactor="Custom"
  3067. arm2p2.Size=Vector3.new(.2,.2,.2)
  3068. arm2p2.Transparency=0
  3069. arm2p2.CanCollide=false
  3070. arm2p2.BrickColor = BrickColor.new("Pastel light blue")
  3071. arm2p2.Material="Sand"
  3072. arm2p2.TopSurface="Smooth"
  3073. arm2p2.BottomSurface="Smooth"
  3074. arm2p2.RightSurface="Smooth"
  3075. arm2p2.LeftSurface="Smooth"
  3076. arm2p2w=Instance.new("Weld",Character)
  3077. arm2p2w.Part0=arm2p
  3078. arm2p2w.Part1=arm2p2
  3079. arm2p2w.C0=CFrame.new(0,3,0)*CFrame.Angles(0,math.rad(90),math.rad(-90))
  3080.  
  3081. arm2p2mesh = Instance.new("SpecialMesh",arm2p2)
  3082. arm2p2mesh.MeshType = "Cylinder"
  3083. arm2p2mesh.Scale = Vector3.new(30,20,30)
  3084.  
  3085. local particleemitter8 = Instance.new("ParticleEmitter", arm2p2)
  3086. particleemitter8.VelocitySpread = 180
  3087. particleemitter8.Lifetime = NumberRange.new(1)
  3088. particleemitter8.Speed = NumberRange.new(10)
  3089. particleemitter8.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  3090. particleemitter8.RotSpeed = NumberRange.new(-180, 180)
  3091. particleemitter8.Rotation = NumberRange.new(-360, 360)
  3092. particleemitter8.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  3093. particleemitter8.LightEmission = 1
  3094. particleemitter8.Texture = "http://www.roblox.com/asset/?id=320043786"
  3095. particleemitter8.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
  3096. particleemitter8.Enabled = false
  3097.  
  3098. arm2p3=Instance.new("Part",Character)
  3099. arm2p3.FormFactor="Custom"
  3100. arm2p3.Size=Vector3.new(.2,.2,.2)
  3101. arm2p3.Transparency=0
  3102. arm2p3.CanCollide=false
  3103. arm2p3.BrickColor = BrickColor.new("Pastel light blue")
  3104. arm2p3.Material="Sand"
  3105. arm2p3.TopSurface="Smooth"
  3106. arm2p3.BottomSurface="Smooth"
  3107. arm2p3.RightSurface="Smooth"
  3108. arm2p3.LeftSurface="Smooth"
  3109. arm2p3w=Instance.new("Weld",Character)
  3110. arm2p3w.Part0=arm2p2
  3111. arm2p3w.Part1=arm2p3
  3112. arm2p3w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  3113.  
  3114. arm2p3mesh = Instance.new("SpecialMesh",arm2p3)
  3115. arm2p3mesh.MeshType = "Sphere"
  3116. arm2p3mesh.Scale = Vector3.new(22.5,22.5,22.5)
  3117.  
  3118. local particleemitter9 = Instance.new("ParticleEmitter", arm2p3)
  3119. particleemitter9.VelocitySpread = 180
  3120. particleemitter9.Lifetime = NumberRange.new(1)
  3121. particleemitter9.Speed = NumberRange.new(10)
  3122. particleemitter9.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  3123. particleemitter9.RotSpeed = NumberRange.new(-180, 180)
  3124. particleemitter9.Rotation = NumberRange.new(-360, 360)
  3125. particleemitter9.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  3126. particleemitter9.LightEmission = 1
  3127. particleemitter9.Texture = "http://www.roblox.com/asset/?id=320043786"
  3128. particleemitter9.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
  3129. particleemitter9.Enabled = false
  3130.  
  3131. arm2p4=Instance.new("Part",Character)
  3132. arm2p4.FormFactor="Custom"
  3133. arm2p4.Size=Vector3.new(.2,.2,.2)
  3134. arm2p4.Transparency=0
  3135. arm2p4.CanCollide=false
  3136. arm2p4.BrickColor = BrickColor.new("Pastel light blue")
  3137. arm2p4.Material="Sand"
  3138. arm2p4.TopSurface="Smooth"
  3139. arm2p4.BottomSurface="Smooth"
  3140. arm2p4.RightSurface="Smooth"
  3141. arm2p4.LeftSurface="Smooth"
  3142. arm2p4w=Instance.new("Weld",Character)
  3143. arm2p4w.Part0=arm2p3
  3144. arm2p4w.Part1=arm2p4
  3145. arm2p4w.C0=CFrame.new(-3,3,0)*CFrame.Angles(0,math.rad(0),math.rad(-45))
  3146.  
  3147. arm2p4mesh = Instance.new("SpecialMesh",arm2p4)
  3148. arm2p4mesh.MeshType = "Cylinder"
  3149. arm2p4mesh.Scale = Vector3.new(30,20,30)
  3150.  
  3151. local particleemitter10 = Instance.new("ParticleEmitter", arm2p4)
  3152. particleemitter10.VelocitySpread = 180
  3153. particleemitter10.Lifetime = NumberRange.new(1)
  3154. particleemitter10.Speed = NumberRange.new(10)
  3155. particleemitter10.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  3156. particleemitter10.RotSpeed = NumberRange.new(-180, 180)
  3157. particleemitter10.Rotation = NumberRange.new(-360, 360)
  3158. particleemitter10.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  3159. particleemitter10.LightEmission = 1
  3160. particleemitter10.Texture = "http://www.roblox.com/asset/?id=320043786"
  3161. particleemitter10.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
  3162. particleemitter10.Enabled = false
  3163.  
  3164. arm2p5=Instance.new("Part",Character)
  3165. arm2p5.FormFactor="Custom"
  3166. arm2p5.Size=Vector3.new(.2,.2,.2)
  3167. arm2p5.Transparency=0
  3168. arm2p5.CanCollide=false
  3169. arm2p5.BrickColor = BrickColor.new("Pastel light blue")
  3170. arm2p5.Material="Sand"
  3171. arm2p5.TopSurface="Smooth"
  3172. arm2p5.BottomSurface="Smooth"
  3173. arm2p5.RightSurface="Smooth"
  3174. arm2p5.LeftSurface="Smooth"
  3175. arm2p5w=Instance.new("Weld",Character)
  3176. arm2p5w.Part0=arm2p4
  3177. arm2p5w.Part1=arm2p5
  3178. arm2p5w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  3179.  
  3180. arm2p5mesh = Instance.new("SpecialMesh",arm2p5)
  3181. arm2p5mesh.MeshType = "Sphere"
  3182. arm2p5mesh.Scale = Vector3.new(30,30,30)
  3183.  
  3184. local particleemitter11 = Instance.new("ParticleEmitter", arm2p5)
  3185. particleemitter11.VelocitySpread = 180
  3186. particleemitter11.Lifetime = NumberRange.new(1)
  3187. particleemitter11.Speed = NumberRange.new(10)
  3188. particleemitter11.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  3189. particleemitter11.RotSpeed = NumberRange.new(-180, 180)
  3190. particleemitter11.Rotation = NumberRange.new(-360, 360)
  3191. particleemitter11.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  3192. particleemitter11.LightEmission = 1
  3193. particleemitter11.Texture = "http://www.roblox.com/asset/?id=320043786"
  3194. particleemitter11.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
  3195. particleemitter11.Enabled = false
  3196.  
  3197. arm2p6=Instance.new("Part",Character)
  3198. arm2p6.FormFactor="Custom"
  3199. arm2p6.Size=Vector3.new(.2,.2,.2)
  3200. arm2p6.Transparency=0
  3201. arm2p6.CanCollide=false
  3202. arm2p6.BrickColor = BrickColor.new("Pastel light blue")
  3203. arm2p6.Material="Sand"
  3204. arm2p6.TopSurface="Smooth"
  3205. arm2p6.BottomSurface="Smooth"
  3206. arm2p6.RightSurface="Smooth"
  3207. arm2p6.LeftSurface="Smooth"
  3208. arm2p6w=Instance.new("Weld",Character)
  3209. arm2p6w.Part0=arm2p5
  3210. arm2p6w.Part1=arm2p6
  3211. arm2p6w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(90))
  3212.  
  3213. arm2p6mesh = Instance.new("FileMesh",arm2p6)
  3214. arm2p6mesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  3215. arm2p6mesh.Scale = Vector3.new(3.15,3.15,3.15)
  3216.  
  3217. arm2p7=Instance.new("Part",Character)
  3218. arm2p7.FormFactor="Custom"
  3219. arm2p7.Size=Vector3.new(.2,.2,.2)
  3220. arm2p7.Transparency=0
  3221. arm2p7.CanCollide=false
  3222. arm2p7.BrickColor = BrickColor.new("Pastel light blue")
  3223. arm2p7.Material="Sand"
  3224. arm2p7.TopSurface="Smooth"
  3225. arm2p7.BottomSurface="Smooth"
  3226. arm2p7.RightSurface="Smooth"
  3227. arm2p7.LeftSurface="Smooth"
  3228. arm2p7w=Instance.new("Weld",Character)
  3229. arm2p7w.Part0=arm2p
  3230. arm2p7w.Part1=arm2p7
  3231. arm2p7w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  3232.  
  3233. arm2p7mesh = Instance.new("FileMesh",arm2p7)
  3234. arm2p7mesh.MeshId = "http://www.roblox.com/asset/?id=9756362"
  3235. arm2p7mesh.Scale = Vector3.new(5,10,5)
  3236.  
  3237. arm2hitbox=Instance.new("Part",Character)
  3238. arm2hitbox.FormFactor="Custom"
  3239. arm2hitbox.Size=Vector3.new(5,5,5)
  3240. arm2hitbox.Transparency=1
  3241. arm2hitbox.CanCollide=false
  3242. arm2hitbox.BrickColor = BrickColor.new("Pastel light blue")
  3243. arm2hitbox.Material="Sand"
  3244. arm2hitbox.TopSurface="Smooth"
  3245. arm2hitbox.BottomSurface="Smooth"
  3246. arm2hitbox.RightSurface="Smooth"
  3247. arm2hitbox.LeftSurface="Smooth"
  3248. arm2hitboxw=Instance.new("Weld",Character)
  3249. arm2hitboxw.Part0=arm2p6
  3250. arm2hitboxw.Part1=arm2hitbox
  3251. arm2hitboxw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  3252. --------------------------------------------------------------
  3253.  
  3254. local function weldBetween(a, b)
  3255. local weldd = Instance.new("ManualWeld")
  3256. weldd.Part0 = a
  3257. weldd.Part1 = b
  3258. weldd.C0 = CFrame.new()
  3259. weldd.C1 = b.CFrame:inverse() * a.CFrame
  3260. weldd.Parent = a
  3261. return weldd
  3262. end
  3263.  
  3264. function swait(num)
  3265. if num==0 or num==nil then
  3266. game:service'RunService'.Stepped:wait(0)
  3267. else
  3268. for i=0,num do
  3269. game:service'RunService'.Stepped:wait(0)
  3270. end
  3271. end
  3272. end
  3273.  
  3274. function nooutline(part)
  3275. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  3276. end
  3277.  
  3278. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  3279. local fp=it("Part")
  3280. fp.formFactor=formfactor
  3281. fp.Parent=parent
  3282. fp.Reflectance=reflectance
  3283. fp.Transparency=transparency
  3284. fp.CanCollide=false
  3285. fp.Locked=true
  3286. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  3287. fp.Name=name
  3288. fp.Size=size
  3289. fp.Position=Character.Torso.Position
  3290. nooutline(fp)
  3291. fp.Material=material
  3292. fp:BreakJoints()
  3293. return fp
  3294. end
  3295.  
  3296. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  3297. local mesh=it(Mesh)
  3298. mesh.Parent=part
  3299. if Mesh=="SpecialMesh" then
  3300. mesh.MeshType=meshtype
  3301. mesh.MeshId=meshid
  3302. end
  3303. mesh.Offset=offset
  3304. mesh.Scale=scale
  3305. return mesh
  3306. end
  3307.  
  3308. function weld(parent,part0,part1,c0,c1)
  3309. local weld=it("Weld")
  3310. weld.Parent=parent
  3311. weld.Part0=part0
  3312. weld.Part1=part1
  3313. weld.C0=c0
  3314. weld.C1=c1
  3315. return weld
  3316. end
  3317.  
  3318.  
  3319. local function CFrameFromTopBack(at, top, back)
  3320. local right = top:Cross(back)
  3321. return CFrame.new(at.x, at.y, at.z,
  3322. right.x, top.x, back.x,
  3323. right.y, top.y, back.y,
  3324. right.z, top.z, back.z)
  3325. end
  3326.  
  3327. function Triangle(a, b, c)
  3328. local edg1 = (c-a):Dot((b-a).unit)
  3329. local edg2 = (a-b):Dot((c-b).unit)
  3330. local edg3 = (b-c):Dot((a-c).unit)
  3331. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  3332. a, b, c = a, b, c
  3333. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  3334. a, b, c = b, c, a
  3335. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  3336. a, b, c = c, a, b
  3337. else
  3338. assert(false, "unreachable")
  3339. end
  3340.  
  3341. local len1 = (c-a):Dot((b-a).unit)
  3342. local len2 = (b-a).magnitude - len1
  3343. local width = (a + (b-a).unit*len1 - c).magnitude
  3344.  
  3345. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  3346.  
  3347. local list = {}
  3348.  
  3349. local TrailColor = ("Dark grey")
  3350.  
  3351. if len1 > 0.01 then
  3352. local w1 = Instance.new('WedgePart', m)
  3353. game:GetService("Debris"):AddItem(w1,5)
  3354. w1.Material = "SmoothPlastic"
  3355. w1.FormFactor = 'Custom'
  3356. w1.BrickColor = BrickColor.new(TrailColor)
  3357. w1.Transparency = 0
  3358. w1.Reflectance = 0
  3359. w1.Material = "SmoothPlastic"
  3360. w1.CanCollide = false
  3361. NoOutline(w1)
  3362. local sz = Vector3.new(0.2, width, len1)
  3363. w1.Size = sz
  3364. local sp = Instance.new("SpecialMesh",w1)
  3365. sp.MeshType = "Wedge"
  3366. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  3367. w1:BreakJoints()
  3368. w1.Anchored = true
  3369. w1.Parent = workspace
  3370. w1.Transparency = 0.7
  3371. table.insert(Effects,{w1,"Disappear",.01})
  3372. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  3373. table.insert(list,w1)
  3374. end
  3375.  
  3376. if len2 > 0.01 then
  3377. local w2 = Instance.new('WedgePart', m)
  3378. game:GetService("Debris"):AddItem(w2,5)
  3379. w2.Material = "SmoothPlastic"
  3380. w2.FormFactor = 'Custom'
  3381. w2.BrickColor = BrickColor.new(TrailColor)
  3382. w2.Transparency = 0
  3383. w2.Reflectance = 0
  3384. w2.Material = "SmoothPlastic"
  3385. w2.CanCollide = false
  3386. NoOutline(w2)
  3387. local sz = Vector3.new(0.2, width, len2)
  3388. w2.Size = sz
  3389. local sp = Instance.new("SpecialMesh",w2)
  3390. sp.MeshType = "Wedge"
  3391. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  3392. w2:BreakJoints()
  3393. w2.Anchored = true
  3394. w2.Parent = workspace
  3395. w2.Transparency = 0.7
  3396. table.insert(Effects,{w2,"Disappear",.01})
  3397. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  3398. table.insert(list,w2)
  3399. end
  3400. return unpack(list)
  3401. end
  3402.  
  3403.  
  3404. so = function(id,par,vol,pit)
  3405. coroutine.resume(coroutine.create(function()
  3406. local sou = Instance.new("Sound",par or workspace)
  3407. sou.Volume=vol
  3408. sou.Pitch=pit or 1
  3409. sou.SoundId=id
  3410. swait()
  3411. sou:play()
  3412. game:GetService("Debris"):AddItem(sou,6)
  3413. end))
  3414. end
  3415.  
  3416. function clerp(a,b,t)
  3417. local qa = {QuaternionFromCFrame(a)}
  3418. local qb = {QuaternionFromCFrame(b)}
  3419. local ax, ay, az = a.x, a.y, a.z
  3420. local bx, by, bz = b.x, b.y, b.z
  3421. local _t = 1-t
  3422. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  3423. end
  3424.  
  3425. function QuaternionFromCFrame(cf)
  3426. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  3427. local trace = m00 + m11 + m22
  3428. if trace > 0 then
  3429. local s = math.sqrt(1 + trace)
  3430. local recip = 0.5/s
  3431. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  3432. else
  3433. local i = 0
  3434. if m11 > m00 then
  3435. i = 1
  3436. end
  3437. if m22 > (i == 0 and m00 or m11) then
  3438. i = 2
  3439. end
  3440. if i == 0 then
  3441. local s = math.sqrt(m00-m11-m22+1)
  3442. local recip = 0.5/s
  3443. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  3444. elseif i == 1 then
  3445. local s = math.sqrt(m11-m22-m00+1)
  3446. local recip = 0.5/s
  3447. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  3448. elseif i == 2 then
  3449. local s = math.sqrt(m22-m00-m11+1)
  3450. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  3451. end
  3452. end
  3453. end
  3454.  
  3455. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  3456. local xs, ys, zs = x + x, y + y, z + z
  3457. local wx, wy, wz = w*xs, w*ys, w*zs
  3458. local xx = x*xs
  3459. local xy = x*ys
  3460. local xz = x*zs
  3461. local yy = y*ys
  3462. local yz = y*zs
  3463. local zz = z*zs
  3464. 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))
  3465. end
  3466.  
  3467. function QuaternionSlerp(a, b, t)
  3468. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  3469. local startInterp, finishInterp;
  3470. if cosTheta >= 0.0001 then
  3471. if (1 - cosTheta) > 0.0001 then
  3472. local theta = math.acos(cosTheta)
  3473. local invSinTheta = 1/math.sin(theta)
  3474. startInterp = math.sin((1-t)*theta)*invSinTheta
  3475. finishInterp = math.sin(t*theta)*invSinTheta
  3476. else
  3477. startInterp = 1-t
  3478. finishInterp = t
  3479. end
  3480. else
  3481. if (1+cosTheta) > 0.0001 then
  3482. local theta = math.acos(-cosTheta)
  3483. local invSinTheta = 1/math.sin(theta)
  3484. startInterp = math.sin((t-1)*theta)*invSinTheta
  3485. finishInterp = math.sin(t*theta)*invSinTheta
  3486. else
  3487. startInterp = t-1
  3488. finishInterp = t
  3489. end
  3490. end
  3491. 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
  3492. end
  3493.  
  3494. --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)
  3495.  
  3496.  
  3497. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  3498. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  3499. end
  3500.  
  3501. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  3502. if hit.Parent==nil then
  3503. return
  3504. end
  3505. h=hit.Parent:FindFirstChild("Humanoid")
  3506. for _,v in pairs(hit.Parent:children()) do
  3507. if v:IsA("Humanoid") then
  3508. h=v
  3509. end
  3510. end
  3511. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  3512. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  3513. end
  3514. if hit.Parent.className=="Hat" then
  3515. hit=hit.Parent.Parent:findFirstChild("Head")
  3516. end
  3517. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  3518. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  3519. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  3520. return
  3521. end]]
  3522. -- hs(hit,1.2)
  3523. c=Instance.new("ObjectValue")
  3524. c.Name="creator"
  3525. c.Value=game:service("Players").LocalPlayer
  3526. c.Parent=h
  3527. game:GetService("Debris"):AddItem(c,.5)
  3528. Damage=math.random(minim,maxim)
  3529. -- h:TakeDamage(Damage)
  3530. blocked=false
  3531. block=hit.Parent:findFirstChild("Block")
  3532. if block~=nil then
  3533. print(block.className)
  3534. if block.className=="NumberValue" then
  3535. if block.Value>0 then
  3536. blocked=true
  3537. if decreaseblock==nil then
  3538. block.Value=block.Value-1
  3539. end
  3540. end
  3541. end
  3542. if block.className=="IntValue" then
  3543. if block.Value>0 then
  3544. blocked=true
  3545. if decreaseblock~=nil then
  3546. block.Value=block.Value-1
  3547. end
  3548. end
  3549. end
  3550. end
  3551. if blocked==false then
  3552. -- h:TakeDamage(Damage)
  3553. h.Health=h.Health-Damage
  3554. showDamage(hit.Parent,Damage,.5,BrickColor.new("New Yeller"))
  3555. else
  3556. h.Health=h.Health-(Damage/2)
  3557. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  3558. end
  3559. if Type=="Knockdown" then
  3560. hum=hit.Parent.Humanoid
  3561. hum.PlatformStand=true
  3562. coroutine.resume(coroutine.create(function(HHumanoid)
  3563. swait(1)
  3564. HHumanoid.PlatformStand=false
  3565. end),hum)
  3566. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  3567. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  3568. local bodvol=Instance.new("BodyVelocity")
  3569. bodvol.velocity=angle*knockback
  3570. bodvol.P=5000
  3571. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  3572. bodvol.Parent=hit
  3573. rl=Instance.new("BodyAngularVelocity")
  3574. rl.P=3000
  3575. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  3576. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  3577. rl.Parent=hit
  3578. game:GetService("Debris"):AddItem(bodvol,.5)
  3579. game:GetService("Debris"):AddItem(rl,.5)
  3580. elseif Type=="Normal" then
  3581. so("http://www.roblox.com/asset/?id=220834019",hit,1,math.random(80,120)/100)
  3582. vp=Instance.new("BodyVelocity")
  3583. vp.P=500
  3584. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  3585. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  3586. if KnockbackType==1 then
  3587. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  3588. elseif KnockbackType==2 then
  3589. vp.velocity=Property.CFrame.lookVector*knockback
  3590. end
  3591. if knockback>0 then
  3592. vp.Parent=hit.Parent.Torso
  3593. end
  3594. game:GetService("Debris"):AddItem(vp,.5)
  3595. elseif Type=="Up" then
  3596. local bodyVelocity=Instance.new("BodyVelocity")
  3597. bodyVelocity.velocity=vt(0,60,0)
  3598. bodyVelocity.P=5000
  3599. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  3600. bodyVelocity.Parent=hit
  3601. game:GetService("Debris"):AddItem(bodyVelocity,1)
  3602. rl=Instance.new("BodyAngularVelocity")
  3603. rl.P=3000
  3604. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  3605. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  3606. rl.Parent=hit
  3607. game:GetService("Debris"):AddItem(rl,.5)
  3608. elseif Type=="Snare" then
  3609. bp=Instance.new("BodyPosition")
  3610. bp.P=2000
  3611. bp.D=100
  3612. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  3613. bp.position=hit.Parent.Torso.Position
  3614. bp.Parent=hit.Parent.Torso
  3615. game:GetService("Debris"):AddItem(bp,1)
  3616. elseif Type=="Target" then
  3617. if Targetting==false then
  3618. ZTarget=hit.Parent.Torso
  3619. coroutine.resume(coroutine.create(function(Part)
  3620. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  3621. swait(5)
  3622. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  3623. end),ZTarget)
  3624. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  3625. targetgui=Instance.new("BillboardGui")
  3626. targetgui.Parent=ZTarget
  3627. targetgui.Size=UDim2.new(10,100,10,100)
  3628. targ=Instance.new("ImageLabel")
  3629. targ.Parent=targetgui
  3630. targ.BackgroundTransparency=1
  3631. targ.Image="rbxassetid://4834067"
  3632. targ.Size=UDim2.new(1,0,1,0)
  3633. cam.CameraType="Scriptable"
  3634. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  3635. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  3636. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  3637. Targetting=true
  3638. RocketTarget=ZTarget
  3639. for i=1,Property do
  3640. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  3641. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  3642. swait()
  3643. end
  3644. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  3645. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  3646. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  3647. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  3648. end
  3649. Targetting=false
  3650. RocketTarget=nil
  3651. targetgui.Parent=nil
  3652. cam.CameraType="Custom"
  3653. end
  3654. end
  3655. debounce=Instance.new("BoolValue")
  3656. debounce.Name="DebounceHit"
  3657. debounce.Parent=hit.Parent
  3658. debounce.Value=true
  3659. game:GetService("Debris"):AddItem(debounce,Delay)
  3660. c=Instance.new("ObjectValue")
  3661. c.Name="creator"
  3662. c.Value=Player
  3663. c.Parent=h
  3664. game:GetService("Debris"):AddItem(c,.5)
  3665. CRIT=false
  3666. hitDeb=true
  3667. AttackPos=6
  3668. end
  3669. end
  3670.  
  3671. showDamage=function(Char,Dealt,du,Color)
  3672. m=Instance.new("Model")
  3673. m.Name=tostring(Dealt)
  3674. h=Instance.new("Humanoid")
  3675. h.Health=0
  3676. h.MaxHealth=0
  3677. h.Parent=m
  3678. c=Instance.new("Part")
  3679. c.Transparency=0
  3680. c.BrickColor=BrickColor.new("Bright red")
  3681. c.Name="Head"
  3682. c.TopSurface=0
  3683. c.BottomSurface=0
  3684. c.formFactor="Plate"
  3685. c.Size=Vector3.new(1,.4,1)
  3686. ms=Instance.new("CylinderMesh")
  3687. ms.Scale=Vector3.new(.8,.8,.8)
  3688. if CRIT==true then
  3689. ms.Scale=Vector3.new(1,1.25,1)
  3690. end
  3691. ms.Parent=c
  3692. c.Reflectance=0
  3693. Instance.new("BodyGyro").Parent=c
  3694. c.Parent=m
  3695. if Char:findFirstChild("Head")~=nil then
  3696. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  3697. elseif Char.Parent:findFirstChild("Head")~=nil then
  3698. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  3699. end
  3700. f=Instance.new("BodyPosition")
  3701. f.P=2000
  3702. f.D=100
  3703. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  3704. f.position=c.Position+Vector3.new(0,3,0)
  3705. f.Parent=c
  3706. game:GetService("Debris"):AddItem(m,.5+du)
  3707. c.CanCollide=false
  3708. m.Parent=workspace
  3709. c.CanCollide=false
  3710. end
  3711.  
  3712. function Shockwave2(brickcolor, cframe, x1, y1, z1, x2, y2, z2, delay)
  3713. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3714. prt.Anchored = true
  3715. prt.CFrame = cframe
  3716. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  3717. coroutine.resume(coroutine.create(function()
  3718. for i = 0, 1, delay do
  3719. swait()
  3720. prt.Transparency = i
  3721. msh.Scale = msh.Scale + vt(x2, y2, z2)
  3722. end
  3723. prt.Parent = nil
  3724. end))
  3725. end
  3726.  
  3727. function attackone()
  3728. attack=true
  3729. for i=0,1,0.04 do
  3730. swait()
  3731. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(-30)),.1)
  3732. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3733. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2)
  3734. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2)
  3735. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  3736. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  3737. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  3738. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,4)*angles(math.rad(60),math.rad(90),math.rad(-90)),0.2)
  3739. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  3740. arm1p4w.C0=clerp(arm1p4w.C0,cf(1.5,3,0)*angles(math.rad(0),math.rad(0),math.rad(-120)),0.2)
  3741. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  3742. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  3743. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.2)
  3744. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  3745. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  3746. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  3747. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  3748. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  3749. end
  3750. so("http://www.roblox.com/asset/?id=203691467",arm1hitbox,1,1)
  3751. con1=arm1hitbox.Touched:connect(function(hit) Damagefunc(hit,60,80,math.random(60,80),"Normal",RootPart,.2,1) end)
  3752. for i=0,1,0.2 do
  3753. swait()
  3754. Shockwave(BrickColor.new("Institutional white"),cf(arm1hitbox.Position),1,1,1,1,1,1,0.075)
  3755. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(30)),.2)
  3756. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3757. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.3)
  3758. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-130)), 0.2)
  3759. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  3760. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  3761. arm1pw.C0=clerp(arm1pw.C0,cf(-2.5,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  3762. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,-4)*angles(math.rad(-60),math.rad(90),math.rad(-90)),0.3)
  3763. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3764. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3765. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3766. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3767. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.2)
  3768. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  3769. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  3770. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  3771. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  3772. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  3773. end
  3774. for i=0,1,0.04 do
  3775. swait()
  3776. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(30)),.2)
  3777. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3778. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.3)
  3779. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-130)), 0.2)
  3780. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  3781. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  3782. arm1pw.C0=clerp(arm1pw.C0,cf(-2.5,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  3783. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,-4)*angles(math.rad(-60),math.rad(90),math.rad(-90)),0.3)
  3784. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3785. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3786. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3787. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3788. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.2)
  3789. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  3790. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  3791. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  3792. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  3793. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  3794. end
  3795. con1:disconnect()
  3796. attack=false
  3797. end
  3798.  
  3799. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  3800. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  3801. end
  3802.  
  3803. function attacktwo()
  3804. attack=true
  3805. for i=0,1,0.04 do
  3806. swait()
  3807. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12)*angles(math.rad(-20),math.rad(0),math.rad(20)),.1)
  3808. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3809. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2)
  3810. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2)
  3811. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  3812. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  3813. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  3814. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  3815. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  3816. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  3817. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  3818. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  3819. arm2pw.C0=clerp(arm2pw.C0,cf(0,-2.5,0)*angles(math.rad(0),math.rad(120),math.rad(-90)),0.2)
  3820. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  3821. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  3822. arm2p4w.C0=clerp(arm2p4w.C0,cf(-1,3,0)*angles(math.rad(0),math.rad(0),math.rad(-75)),0.2)
  3823. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  3824. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  3825. end
  3826. so("http://www.roblox.com/asset/?id=203691467",arm1hitbox,1,0.8)
  3827. con1=arm2hitbox.Touched:connect(function(hit) Damagefunc(hit,60,80,math.random(60,80),"Normal",RootPart,.2,1) end)
  3828. for i=0,1,0.2 do
  3829. swait()
  3830. Shockwave(BrickColor.new("Institutional white"),cf(arm2hitbox.Position),1,1,1,1,1,1,0.075)
  3831. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(20),math.rad(0),math.rad(-45)),.2)
  3832. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3833. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2)
  3834. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2)
  3835. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  3836. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  3837. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  3838. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  3839. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  3840. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  3841. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  3842. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  3843. arm2pw.C0=clerp(arm2pw.C0,cf(1.5,-3.5,-5)*angles(math.rad(-30),math.rad(0),math.rad(-90)),0.3)
  3844. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.3)
  3845. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3846. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  3847. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3848. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  3849. end
  3850. Humanoid.WalkSpeed = 0
  3851. local hit,pos=rayCast(arm2hitbox.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
  3852. if hit~=nil then
  3853. swait()
  3854. print("touched")
  3855. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
  3856. ref.Anchored=true
  3857. ref.CFrame=cf(pos)
  3858. game:GetService("Debris"):AddItem(ref,3)
  3859. so("http://www.roblox.com/asset/?id=199145477",arm2hitbox,1,math.random(60,140)/100)
  3860. Shockwave2(BrickColor.new("Pastel light blue"),cf(pos),0.1,0.1,0.1,1,1,1,0.05)
  3861. end
  3862. for i=0,1,0.04 do
  3863. swait()
  3864. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(20),math.rad(0),math.rad(-45)),.2)
  3865. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3866. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2)
  3867. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2)
  3868. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  3869. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  3870. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  3871. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  3872. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  3873. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  3874. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  3875. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  3876. arm2pw.C0=clerp(arm2pw.C0,cf(1.5,-3.5,-5)*angles(math.rad(-20),math.rad(0),math.rad(-90)),0.3)
  3877. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.3)
  3878. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3879. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  3880. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3881. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  3882. end
  3883. Humanoid.WalkSpeed = 64
  3884. con1:disconnect()
  3885. attack=false
  3886. end
  3887.  
  3888. lasereye=1
  3889.  
  3890. mouse.Button1Down:connect(function()
  3891. if attack==false and attacktype==1 and sphere==false then
  3892. attackone()
  3893. attacktype=2
  3894. elseif attack==false and attacktype==2 and sphere==false then
  3895. attacktwo()
  3896. attacktype=1
  3897. end
  3898. if attack==false and used==false and sphere==true and rest==false and lasereye==1 then
  3899. lasereye=2
  3900. LaserBlaster()
  3901. elseif attack==false and used==false and sphere==true and rest==false and lasereye==2 then
  3902. lasereye=1
  3903. LaserBlaster2()
  3904. end
  3905. end)
  3906.  
  3907. function Shockwave(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3908. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3909. prt.Anchored = true
  3910. prt.CFrame = cframe
  3911. prt.Material = "Neon"
  3912. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  3913. game:GetService("Debris"):AddItem(prt, 2)
  3914. coroutine.resume(coroutine.create(function(Part, Mesh)
  3915. for i = 0, 1, delay do
  3916. swait()
  3917. Part.CFrame = Part.CFrame
  3918. Part.Transparency = i
  3919. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3920. end
  3921. Part.Parent = nil
  3922. end), prt, msh)
  3923. end
  3924.  
  3925. function Laser(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3926. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3927. prt.Anchored = true
  3928. prt.CFrame = cframe
  3929. prt.Material = "Neon"
  3930. local msh = mesh("SpecialMesh", prt, "Head", "", vt(0, 0, 0), vt(x1, y1, z1))
  3931. game:GetService("Debris"):AddItem(prt, 2)
  3932. coroutine.resume(coroutine.create(function(Part, Mesh)
  3933. for i = 0, 1, delay do
  3934. swait()
  3935. Part.CFrame = Part.CFrame
  3936. Part.Transparency = i
  3937. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3938. end
  3939. Part.Parent = nil
  3940. end), prt, msh)
  3941. end
  3942.  
  3943. MMouse=mouse
  3944. LaserTarget=RootPart
  3945. used=false
  3946.  
  3947. function LaserBlaster()
  3948. used=true
  3949. so("http://www.roblox.com/asset/?id=167122623",eyep,1,math.random(60,80)/100)
  3950. local MouseLook=cf((eyep.Position+MMouse.Hit.p)/2,MMouse.Hit.p)
  3951. local hit,pos = rayCast(eyep.Position,MouseLook.lookVector,999,LaserTarget.Parent)
  3952. local mag=(eyep.Position-pos).magnitude
  3953. 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)
  3954. if hit~=nil then
  3955. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
  3956. ref.Anchored=true
  3957. ref.CFrame=cf(pos)
  3958. game:GetService("Debris"):AddItem(ref,1)
  3959. so("http://www.roblox.com/asset/?id=340722848",ref,1,math.random(80,120)/100)
  3960. Shockwave(BrickColor.new("Cyan"),cf(pos),1,1,1,1,1,1,0.075)
  3961. Damagefunc(hit,20,40,0,"Normal",RootPart,0)
  3962. end
  3963. for i=0,1,0.2 do
  3964. swait()
  3965. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,2,12)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  3966. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3967. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3968. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3969. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  3970. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  3971. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3972. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3973. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3974. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3975. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3976. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3977. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3978. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3979. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3980. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3981. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3982. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3983. end
  3984. wait(0.25)
  3985. used=false
  3986. end
  3987.  
  3988. function LaserBlaster2()
  3989. used=true
  3990. so("http://www.roblox.com/asset/?id=167122623",eyep2,1,math.random(60,80)/100)
  3991. local MouseLook=cf((eyep2.Position+MMouse.Hit.p)/2,MMouse.Hit.p)
  3992. local hit,pos = rayCast(eyep2.Position,MouseLook.lookVector,999,LaserTarget.Parent)
  3993. local mag=(eyep2.Position-pos).magnitude
  3994. 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)
  3995. if hit~=nil then
  3996. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
  3997. ref.Anchored=true
  3998. ref.CFrame=cf(pos)
  3999. game:GetService("Debris"):AddItem(ref,1)
  4000. so("http://www.roblox.com/asset/?id=340722848",ref,1,math.random(80,120)/100)
  4001. Shockwave(BrickColor.new("Cyan"),cf(pos),1,1,1,1,1,1,0.075)
  4002. Damagefunc(hit,20,40,0,"Normal",RootPart,0)
  4003. end
  4004. for i=0,1,0.2 do
  4005. swait()
  4006. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,2,12)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  4007. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4008. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4009. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4010. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  4011. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  4012. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4013. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4014. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4015. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4016. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4017. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4018. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4019. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4020. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4021. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4022. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4023. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4024. end
  4025. wait(0.25)
  4026. used=false
  4027. end
  4028.  
  4029. used2=false
  4030.  
  4031. function GiantLaserBlaster()
  4032. used2=true
  4033. so("http://www.roblox.com/asset/?id=137463716",eyep,1,math.random(60,80)/100)
  4034. eyeeffect.Enabled = true
  4035. wait(1.6)
  4036. eyeeffect.Enabled = false
  4037. so("http://www.roblox.com/asset/?id=253453677",eyep,1,math.random(75,125)/100)
  4038. so("http://www.roblox.com/asset/?id=253453677",eyep,1,math.random(75,125)/100)
  4039. so("http://www.roblox.com/asset/?id=253453677",eyep,1,math.random(75,125)/100)
  4040. so("http://www.roblox.com/asset/?id=253453677",eyep,1,math.random(75,125)/100)
  4041. local MouseLook=cf((eyep.Position+MMouse.Hit.p)/2,MMouse.Hit.p)
  4042. local hit,pos = rayCast(eyep.Position,MouseLook.lookVector,999,LaserTarget.Parent)
  4043. local mag=(eyep.Position-pos).magnitude
  4044. 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)
  4045. if hit~=nil then
  4046. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
  4047. ref.Anchored=true
  4048. ref.CFrame=cf(pos)
  4049. game:GetService("Debris"):AddItem(ref,1)
  4050. so("http://www.roblox.com/asset/?id=340722848",ref,1,math.random(80,120)/100)
  4051. Shockwave(BrickColor.new("Cyan"),cf(pos),2.5,2.5,2.5,2.5,2.5,2.5,0.025)
  4052. Damagefunc(hit,40,80,0,"Normal",RootPart,0)
  4053. end
  4054. for i=0,1,0.1 do
  4055. swait()
  4056. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,8,12)*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  4057. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4058. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4059. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4060. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  4061. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  4062. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4063. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4064. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4065. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4066. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4067. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4068. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4069. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4070. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4071. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4072. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4073. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4074. end
  4075. wait(3)
  4076. used2=false
  4077. end
  4078.  
  4079. function GiantLaserBlaster2()
  4080. used2=true
  4081. so("http://www.roblox.com/asset/?id=137463716",eyep2,1,math.random(60,80)/100)
  4082. eyeeffect2.Enabled = true
  4083. wait(1.6)
  4084. eyeeffect2.Enabled = false
  4085. so("http://www.roblox.com/asset/?id=253453677",eyep2,1,math.random(75,125)/100)
  4086. so("http://www.roblox.com/asset/?id=253453677",eyep2,1,math.random(75,125)/100)
  4087. so("http://www.roblox.com/asset/?id=253453677",eyep2,1,math.random(75,125)/100)
  4088. so("http://www.roblox.com/asset/?id=253453677",eyep2,1,math.random(75,125)/100)
  4089. local MouseLook=cf((eyep2.Position+MMouse.Hit.p)/2,MMouse.Hit.p)
  4090. local hit,pos = rayCast(eyep2.Position,MouseLook.lookVector,999,LaserTarget.Parent)
  4091. local mag=(eyep2.Position-pos).magnitude
  4092. 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)
  4093. if hit~=nil then
  4094. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
  4095. ref.Anchored=true
  4096. ref.CFrame=cf(pos)
  4097. game:GetService("Debris"):AddItem(ref,1)
  4098. so("http://www.roblox.com/asset/?id=340722848",ref,1,math.random(80,120)/100)
  4099. Shockwave(BrickColor.new("Cyan"),cf(pos),2.5,2.5,2.5,2.5,2.5,2.5,0.025)
  4100. Damagefunc(hit,40,80,0,"Normal",RootPart,0)
  4101. end
  4102. for i=0,1,0.1 do
  4103. swait()
  4104. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,8,12)*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  4105. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4106. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4107. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4108. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  4109. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  4110. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4111. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4112. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4113. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4114. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4115. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4116. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4117. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4118. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4119. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4120. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4121. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4122. end
  4123. wait(3)
  4124. used2=false
  4125. end
  4126.  
  4127. function Hibernation()
  4128. if rest==false then
  4129. print("You are now resting.")
  4130. rest=true
  4131. attack=true
  4132. emitter.Enabled = false
  4133. particleemitter.Enabled = false
  4134. for i=0,1,0.15 do
  4135. wait()
  4136. Humanoid.CameraOffset = Vector3.new(0, 12.5-12.5*i, 0)
  4137. music.Volume = 0.5-0.5*i
  4138. --eyep2mesh.Scale = Vector3.new(8.5,8.5-8.4*i,2)
  4139. --eyepmesh.Scale = Vector3.new(8.5,8.5-8.4*i,2)
  4140. end
  4141. music.Volume = 0
  4142. Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  4143. attack=false
  4144. Humanoid.WalkSpeed = 0
  4145. elseif rest==true then
  4146. print("You are now awake.")
  4147. rest=false
  4148. attack=true
  4149. for i=0,1,0.15 do
  4150. wait()
  4151. Humanoid.CameraOffset = Vector3.new(0, 0+12.5*i, 0)
  4152. music.Volume = 0+0.5*i
  4153. --eyep2mesh.Scale = Vector3.new(8.5,0.1+8.4*i,2)
  4154. --eyepmesh.Scale = Vector3.new(8.5,0.1+8.4*i,2)
  4155. end
  4156. emitter.Enabled = true
  4157. particleemitter.Enabled = true
  4158. Humanoid.WalkSpeed = 16
  4159. music.Volume = 0.5
  4160. Humanoid.CameraOffset = Vector3.new(0, 12.5, 0)
  4161. attack=false
  4162. end
  4163. end
  4164.  
  4165. ragemodedelay=false
  4166.  
  4167. function RageMode()
  4168. if sphere==true then
  4169. music:Stop()
  4170. music2:Play()
  4171. rawr:Play()
  4172. particleemitter2.Enabled=true
  4173. particleemitter3.Enabled=true
  4174. particleemitter4.Enabled=true
  4175. particleemitter5.Enabled=true
  4176. particleemitter6.Enabled=true
  4177. particleemitter7.Enabled=true
  4178. particleemitter8.Enabled=true
  4179. particleemitter9.Enabled=true
  4180. particleemitter10.Enabled=true
  4181. particleemitter11.Enabled=true
  4182. Humanoid.WalkSpeed = 64
  4183. Shockwave(BrickColor.new("Institutional white"),cf(Torso.Position),4,4,4,6,6,6,0.025)
  4184. so("http://www.roblox.com/asset/?id=340722848",Character,0.5,1.2)
  4185. sphere=false
  4186. elseif sphere==false then
  4187. music2:Stop()
  4188. music:Play()
  4189. particleemitter2.Enabled=false
  4190. particleemitter3.Enabled=false
  4191. particleemitter4.Enabled=false
  4192. particleemitter5.Enabled=false
  4193. particleemitter6.Enabled=false
  4194. particleemitter7.Enabled=false
  4195. particleemitter8.Enabled=false
  4196. particleemitter9.Enabled=false
  4197. particleemitter10.Enabled=false
  4198. particleemitter11.Enabled=false
  4199. Humanoid.WalkSpeed = 16
  4200. Shockwave(BrickColor.new("Institutional white"),cf(Torso.Position),4,4,4,6,6,6,0.025)
  4201. so("http://www.roblox.com/asset/?id=340722848",Character,0.5,0.8)
  4202. sphere=true
  4203. end
  4204. end
  4205.  
  4206. --use3=false
  4207.  
  4208. function TheWind()
  4209. if aura==false then
  4210. Shockwave(BrickColor.new("Institutional white"),cf(Torso.Position),16,16,16,10,10,10,0.025)
  4211. so("http://www.roblox.com/asset/?id=340722848",Torso,1,1.1)
  4212. ghostp.Transparency = 0.8
  4213. ghostp2.Transparency = 0.85
  4214. ghostp3.Transparency = 0.9
  4215. ghostp4.Transparency = 0.95
  4216. ghostp5.Transparency = 0.75
  4217. ghostp6.Transparency = 0.825
  4218. ghostp7.Transparency = 0.875
  4219. ghostp8.Transparency = 0.925
  4220. aura=true
  4221. elseif aura==true then
  4222. Shockwave(BrickColor.new("Institutional white"),cf(Torso.Position),16,16,16,10,10,10,0.025)
  4223. so("http://www.roblox.com/asset/?id=340722848",Torso,1,0.9)
  4224. ghostp.Transparency = 1
  4225. ghostp2.Transparency = 1
  4226. ghostp3.Transparency = 1
  4227. ghostp4.Transparency = 1
  4228. ghostp5.Transparency = 1
  4229. ghostp6.Transparency = 1
  4230. ghostp7.Transparency = 1
  4231. ghostp8.Transparency = 1
  4232. aura=false
  4233. end
  4234. while aura==true do
  4235. for i=0,1,0.05 do
  4236. wait()
  4237. ghostw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(45+360*i),math.rad(0))
  4238. ghostw2.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(90+360*i),math.rad(0))
  4239. ghostw3.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(135+360*i),math.rad(0))
  4240. ghostw4.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(180+360*i),math.rad(0))
  4241. ghost5w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(225+360*i),math.rad(0))
  4242. ghost6w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(270+360*i),math.rad(0))
  4243. ghost7w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(315+360*i),math.rad(0))
  4244. ghost8w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(360+360*i),math.rad(0))
  4245. end
  4246. end
  4247. end
  4248.  
  4249. giantlasereye=1
  4250.  
  4251. function ShootingTheEyes()
  4252. if giantlasereye==1 then
  4253. GiantLaserBlaster()
  4254. giantlasereye=2
  4255. elseif giantlasereye==2 then
  4256. GiantLaserBlaster2()
  4257. giantlasereye=1
  4258. end
  4259. end
  4260.  
  4261. mouse.KeyDown:connect(function(k)
  4262. k=k:lower()
  4263. if k=='r' and attack==false and sphere==true and aura==false then
  4264. Hibernation()
  4265. end
  4266. if k=='f' and used2==false and sphere==true and rest==false then
  4267. ShootingTheEyes()
  4268. end
  4269. if k=='q' and rest==false and ragemodedelay==false then
  4270. RageMode()
  4271. ragemodedelay=true
  4272. wait(3)
  4273. ragemodedelay=false
  4274. end
  4275. if k=='e' and rest==false then
  4276. TheWind()
  4277. end
  4278. end)
  4279.  
  4280. local sine = 0
  4281. local change = 1
  4282. local val = 0
  4283.  
  4284. while true do
  4285. swait()
  4286. sine = sine + change
  4287. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  4288. local velderp=RootPart.Velocity.y
  4289. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  4290. if equipped==true or equipped==false then
  4291. if attack==false then
  4292. idle=idle+1
  4293. else
  4294. idle=0
  4295. end
  4296. if idle>=500 then
  4297. if attack==false then
  4298. --Sheath()
  4299. end
  4300. end
  4301. if RootPart.Velocity.y > 1 and hitfloor==nil then
  4302. Anim="Jump"
  4303. if attack==false and sphere==false then
  4304. 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)
  4305. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4306. 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)
  4307. 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)
  4308. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  4309. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  4310. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4311. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  4312. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4313. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  4314. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4315. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4316. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  4317. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  4318. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4319. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  4320. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4321. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4322. else
  4323. if attack==false and sphere==true then
  4324. 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)
  4325. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4326. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4327. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4328. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  4329. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  4330. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4331. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4332. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4333. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4334. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4335. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4336. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4337. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4338. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4339. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4340. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4341. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4342. end
  4343. end
  4344. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  4345. Anim="Fall"
  4346. if attack==false and sphere==false then
  4347. 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)
  4348. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4349. 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)
  4350. 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)
  4351. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  4352. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  4353. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4354. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  4355. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4356. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  4357. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4358. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4359. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  4360. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  4361. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4362. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  4363. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4364. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4365. else
  4366. if attack==false and sphere==true then
  4367. 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)
  4368. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4369. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4370. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4371. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  4372. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  4373. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4374. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4375. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4376. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4377. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4378. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4379. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4380. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4381. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4382. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4383. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4384. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4385. end
  4386. end
  4387. elseif torvel<1 and hitfloor~=nil then
  4388. Anim="Idle"
  4389. Humanoid.WalkSpeed = 64
  4390. if attack==false and sphere==false and rest==false then
  4391. 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)
  4392. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4393. 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)
  4394. 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)
  4395. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  4396. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  4397. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4398. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  4399. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4400. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  4401. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4402. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4403. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  4404. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  4405. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4406. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  4407. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4408. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4409. else
  4410. if attack==false and sphere==true and rest==false then
  4411. Humanoid.WalkSpeed = 16
  4412. 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)
  4413. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4414. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4415. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4416. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  4417. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  4418. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4419. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4420. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4421. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4422. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4423. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4424. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4425. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4426. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4427. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4428. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4429. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4430. else
  4431. if attack==false and sphere==true and rest==true then
  4432. Humanoid.WalkSpeed = 0
  4433. 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)
  4434. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4435. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4436. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4437. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  4438. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  4439. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4440. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4441. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4442. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4443. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4444. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4445. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4446. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4447. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4448. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4449. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4450. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4451. end
  4452. end
  4453. end
  4454. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  4455. Anim="Walk"
  4456. if attack==false and sphere==false then
  4457. 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)
  4458. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4459. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(120)), 0.3)
  4460. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-120)), 0.3)
  4461. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  4462. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  4463. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4464. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  4465. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4466. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  4467. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4468. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4469. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  4470. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  4471. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4472. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  4473. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4474. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4475. else
  4476. if attack==false and sphere==true then
  4477. 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)
  4478. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4479. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4480. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4481. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  4482. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  4483. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4484. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4485. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4486. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4487. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4488. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4489. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4490. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4491. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4492. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4493. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4494. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4495. end
  4496. end
  4497. elseif torvel>=22 and hitfloor~=nil then
  4498. Anim="Run"
  4499. if attack==false and sphere==false then
  4500. 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)
  4501. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4502. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(120)), 0.3)
  4503. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-120)), 0.3)
  4504. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  4505. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  4506. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4507. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  4508. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4509. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  4510. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4511. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4512. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  4513. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  4514. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4515. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  4516. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  4517. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4518. end
  4519. end
  4520. end
  4521. if #Effects>0 then
  4522. --table.insert(Effects,{prt,"Block1",delay})
  4523. for e=1,#Effects do
  4524. if Effects[e]~=nil then
  4525. --for j=1,#Effects[e] do
  4526. local Thing=Effects[e]
  4527. if Thing~=nil then
  4528. local Part=Thing[1]
  4529. local Mode=Thing[2]
  4530. local Delay=Thing[3]
  4531. local IncX=Thing[4]
  4532. local IncY=Thing[5]
  4533. local IncZ=Thing[6]
  4534. if Thing[1].Transparency<=1 then
  4535. if Thing[2]=="Block1" then
  4536. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4537. Mesh=Thing[1].Mesh
  4538. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  4539. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  4540. elseif Thing[2]=="Cylinder" then
  4541. Mesh=Thing[1].Mesh
  4542. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  4543. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  4544. elseif Thing[2]=="Blood" then
  4545. Mesh=Thing[7]
  4546. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  4547. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  4548. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  4549. elseif Thing[2]=="Elec" then
  4550. Mesh=Thing[1].Mesh
  4551. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  4552. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  4553. elseif Thing[2]=="Disappear" then
  4554. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  4555. end
  4556. else
  4557. Part.Parent=nil
  4558. table.remove(Effects,e)
  4559. end
  4560. end
  4561. --end
  4562. end
  4563. end
  4564. end
  4565. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement