ajcooper2003

Untitled

Jan 5th, 2017
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 141.78 KB | None | 0 0
  1. --[[Baby Nefl created by Brannon1964802]]--
  2. --[[Based off Nefl from Strife, sorta.]]--
  3.  
  4. Player=game:GetService("Players").LocalPlayer
  5. Character=Player.Character
  6. PlayerGui=Player.PlayerGui
  7. Backpack=Player.Backpack
  8. Torso=Character.Torso
  9. Head=Character.Head
  10. Humanoid=Character.Humanoid
  11. m=Instance.new('Model',Character)
  12. LeftArm=Character["Left Arm"]
  13. LeftLeg=Character["Left Leg"]
  14. RightArm=Character["Right Arm"]
  15. RightLeg=Character["Right Leg"]
  16. LS=Torso["Left Shoulder"]
  17. LH=Torso["Left Hip"]
  18. RS=Torso["Right Shoulder"]
  19. RH=Torso["Right Hip"]
  20. Face = Head.face
  21. Neck=Torso.Neck
  22. it=Instance.new
  23. attacktype=1
  24. vt=Vector3.new
  25. cf=CFrame.new
  26. euler=CFrame.fromEulerAnglesXYZ
  27. angles=CFrame.Angles
  28. cloaked=false
  29. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  30. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  31. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  32. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  33. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  34. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  35. RootPart=Character.HumanoidRootPart
  36. RootJoint=RootPart.RootJoint
  37. RootCF=euler(-1.57,0,3.14)
  38. attack = false
  39. attackdebounce = false
  40. deb=false
  41. equipped=true
  42. hand=false
  43. MMouse=nil
  44. combo=0
  45. mana=0
  46. trispeed=.2
  47. attackmode='none'
  48. local idle=0
  49. local Anim="Idle"
  50. local Effects={}
  51. local gun=false
  52. local shoot=false
  53. player=nil
  54. mana=0
  55. sphere=true
  56. aura=false
  57. blinking=true
  58. rest=false
  59.  
  60. game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function(jump)
  61. if jump == "Jump" then
  62. Humanoid.Jump = false
  63. end
  64. end)
  65.  
  66. Humanoid.MaxHealth = 50000
  67. wait(0.1)
  68. Humanoid.Health = 50000
  69.  
  70. print("Giant Snowman loaded.")
  71. print("This script was made by Brannon1964802")
  72.  
  73. RootPart.Transparency = 1
  74.  
  75. Humanoid.CameraOffset = Vector3.new(0, 12.5, 0)
  76.  
  77. Humanoid:findFirstChild("Animator"):Destroy()
  78.  
  79. Torso.Material = "Sand"
  80. Head.Material = "Sand"
  81. LeftLeg.Material = "Sand"
  82. RightLeg.Material = "Sand"
  83. LeftArm.Material = "Sand"
  84. RightArm.Material = "Sand"
  85.  
  86. Torso.BrickColor = BrickColor.new("Institutional white")
  87. Head.BrickColor = BrickColor.new("Institutional white")
  88. LeftLeg.BrickColor = BrickColor.new("Institutional white")
  89. RightLeg.BrickColor = BrickColor.new("Institutional white")
  90. LeftArm.BrickColor = BrickColor.new("Institutional white")
  91. RightArm.BrickColor = BrickColor.new("Institutional white")
  92.  
  93. --[[Character.Shirt:Destroy()
  94. Character.Pants:Destroy()]]
  95.  
  96. mouse=Player:GetMouse()
  97. --save shoulders
  98. RSH, LSH=nil, nil
  99. --welds
  100. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  101. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  102. LH=Torso["Left Hip"]
  103. RH=Torso["Right Hip"]
  104. TorsoColor=Torso.BrickColor
  105. function NoOutline(Part)
  106. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  107. end
  108. player=Player
  109. ch=Character
  110. RSH=ch.Torso["Right Shoulder"]
  111. LSH=ch.Torso["Left Shoulder"]
  112. --
  113. RSH.Parent=nil
  114. LSH.Parent=nil
  115. --
  116. RW.Name="Right Shoulder"
  117. RW.Part0=ch.Torso
  118. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  119. RW.C1=cf(0, 0.5, 0)
  120. RW.Part1=ch["Right Arm"]
  121. RW.Parent=ch.Torso
  122. --
  123. LW.Name="Left Shoulder"
  124. LW.Part0=ch.Torso
  125. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  126. LW.C1=cf(0, 0.5, 0)
  127. LW.Part1=ch["Left Arm"]
  128. LW.Parent=ch.Torso
  129.  
  130. Player=game:GetService('Players').LocalPlayer
  131. Character=Player.Character
  132. Mouse=Player:GetMouse()
  133. m=Instance.new('Model',Character)
  134.  
  135. music = Instance.new("Sound", Character)
  136. --music.SoundId = "http://www.roblox.com/asset/?id=340106355"
  137. music.Volume = 0
  138. music.Looped = true
  139. wait(0.1)
  140. music:Play()
  141.  
  142. music2 = Instance.new("Sound", Character)
  143. --music2.SoundId = "http://www.roblox.com/asset/?id=340106807"
  144. music2.Volume = 0.5
  145. music2.Looped = true
  146.  
  147. rawr = Instance.new("Sound", Character)
  148. --rawr.SoundId = "http://www.roblox.com/asset/?id=297472596"
  149. rawr.Volume = 0.5
  150. rawr.Looped = false
  151.  
  152. Beast = Instance.new("Model",Character)
  153. Beast.Name = "The Beast from The Depths"
  154.  
  155. torsop=Instance.new("Part",Character)
  156. torsop.FormFactor="Custom"
  157. torsop.Size=Vector3.new(.2,.2,.2)
  158. torsop.Transparency=0
  159. torsop.CanCollide=false
  160. torsop.BrickColor = BrickColor.new("Institutional white")
  161. torsop.Material="Sand"
  162. torsop.TopSurface="Smooth"
  163. torsop.BottomSurface="Smooth"
  164. torsop.RightSurface="Smooth"
  165. torsop.LeftSurface="Smooth"
  166. torsop.Transparency = 0
  167.  
  168. torsopw=Instance.new("Weld",Character)
  169. torsopw.Part0=Character.Torso
  170. torsopw.Part1=torsop
  171. torsopw.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(-90),math.rad(0))
  172.  
  173. torso = Instance.new("SpecialMesh",torsop)
  174. torso.MeshType = "Sphere"
  175. torso.Scale = Vector3.new(45,45,45)
  176.  
  177. torsop2=Instance.new("Part",Character)
  178. torsop2.FormFactor="Custom"
  179. torsop2.Size=Vector3.new(.2,.2,.2)
  180. torsop2.Transparency=0
  181. torsop2.CanCollide=false
  182. torsop2.BrickColor = BrickColor.new("Institutional white")
  183. torsop2.Material="Sand"
  184. torsop2.TopSurface="Smooth"
  185. torsop2.BottomSurface="Smooth"
  186. torsop2.RightSurface="Smooth"
  187. torsop2.LeftSurface="Smooth"
  188. torsop2.Transparency = 0
  189.  
  190. torsop2w=Instance.new("Weld",Character)
  191. torsop2w.Part0=Character.Torso
  192. torsop2w.Part1=torsop2
  193. torsop2w.C0=CFrame.new(0,-8,0)*CFrame.Angles(0,math.rad(-90),math.rad(0))
  194.  
  195. torso2 = Instance.new("SpecialMesh",torsop2)
  196. torso2.MeshType = "Sphere"
  197. torso2.Scale = Vector3.new(38,38,38)
  198.  
  199.  
  200. Crsytal=Instance.new("Part",Character)
  201. Crsytal.FormFactor="Custom"
  202. Crsytal.Size=Vector3.new(.2,.2,.2)
  203. Crsytal.Transparency=0
  204. Crsytal.CanCollide=false
  205. Crsytal.BrickColor = BrickColor.new("Pastel light blue")
  206. Crsytal.Material="Sand"
  207. Crsytal.TopSurface="Smooth"
  208. Crsytal.BottomSurface="Smooth"
  209. Crsytal.RightSurface="Smooth"
  210. Crsytal.LeftSurface="Smooth"
  211. Crsytal.Transparency = 0
  212.  
  213. Crsytalw=Instance.new("Weld",Character)
  214. Crsytalw.Part0=Character.Torso
  215. Crsytalw.Part1=Crsytal
  216. Crsytalw.C0=CFrame.new(0,-4,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  217.  
  218. CrsytalM = Instance.new("SpecialMesh",Crsytal)
  219. CrsytalM.MeshId = "http://www.roblox.com/asset/?id=9756362"
  220. CrsytalM.Scale = Vector3.new(5,10,5)
  221.  
  222. Horns=Instance.new("Part",Character)
  223. Horns.FormFactor="Custom"
  224. Horns.Size=Vector3.new(.2,.2,.2)
  225. Horns.Transparency=0
  226. Horns.CanCollide=false
  227. Horns.BrickColor = BrickColor.new("Pastel light blue")
  228. Horns.Material="Sand"
  229. Horns.TopSurface="Smooth"
  230. Horns.BottomSurface="Smooth"
  231. Horns.RightSurface="Smooth"
  232. Horns.LeftSurface="Smooth"
  233. Horns.Transparency = 0
  234.  
  235. Hornsw=Instance.new("Weld",Character)
  236. Hornsw.Part0=Character.Torso
  237. Hornsw.Part1=Horns
  238. Hornsw.C0=CFrame.new(0,3.5,-1)*CFrame.Angles(math.rad(-1),math.rad(0),math.rad(0))
  239.  
  240. HornsM = Instance.new("SpecialMesh",Horns)
  241. HornsM.MeshId = "http://www.roblox.com/asset/?id=15934744"
  242. HornsM.Scale = Vector3.new(5,10,5)
  243.  
  244. --[[torsop3=Instance.new("Part",Character)
  245. torsop3.FormFactor="Custom"
  246. torsop3.Size=Vector3.new(.2,.2,.2)
  247. torsop3.Transparency=0
  248. torsop3.CanCollide=false
  249. torsop3.BrickColor = BrickColor.new("Institutional white")
  250. torsop3.Material="Sand"
  251. torsop3.TopSurface="Smooth"
  252. torsop3.BottomSurface="Smooth"
  253. torsop3.RightSurface="Smooth"
  254. torsop3.LeftSurface="Smooth"
  255. torsop3.Transparency = 0
  256.  
  257. torsop3w=Instance.new("Weld",Character)
  258. torsop3w.Part0=Character.Torso
  259. torsop3w.Part1=torsop3
  260. torsop3w.C0=CFrame.new(0,-8,0)*CFrame.Angles(0,math.rad(-90),math.rad(0))
  261.  
  262. torso3 = Instance.new("SpecialMesh",torsop3)
  263. torso3.MeshType = "Sphere"
  264. torso3.Scale = Vector3.new(38,38,38)]]
  265.  
  266.  
  267. ghostp=Instance.new("Part",Character)
  268. ghostp.FormFactor="Custom"
  269. ghostp.Size=Vector3.new(0.2,0.2,0.2)
  270. ghostp.Transparency=1
  271. ghostp.CanCollide=false
  272. ghostp.BrickColor = BrickColor.new("Institutional white")
  273. ghostp.Material="Sand"
  274. ghostp.TopSurface="Smooth"
  275. ghostp.BottomSurface="Smooth"
  276. ghostp.RightSurface="Smooth"
  277. ghostp.LeftSurface="Smooth"
  278. ghostw=Instance.new("Weld",Character)
  279. ghostw.Part0=Character.Torso
  280. ghostw.Part1=ghostp
  281. ghostw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  282.  
  283. ghostmesh = Instance.new("FileMesh",ghostp)
  284. ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
  285. ghostmesh.Scale = Vector3.new(5,5,5)
  286.  
  287. ghostp2=Instance.new("Part",Character)
  288. ghostp2.FormFactor="Custom"
  289. ghostp2.Size=Vector3.new(0.2,0.2,0.2)
  290. ghostp2.Transparency=1
  291. ghostp2.CanCollide=false
  292. ghostp2.BrickColor = BrickColor.new("Institutional white")
  293. ghostp2.Material="Sand"
  294. ghostp2.TopSurface="Smooth"
  295. ghostp2.BottomSurface="Smooth"
  296. ghostp2.RightSurface="Smooth"
  297. ghostp2.LeftSurface="Smooth"
  298. ghostw2=Instance.new("Weld",Character)
  299. ghostw2.Part0=Character.Torso
  300. ghostw2.Part1=ghostp2
  301. ghostw2.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  302.  
  303. ghostmesh2 = Instance.new("FileMesh",ghostp2)
  304. ghostmesh2.MeshId = "http://www.roblox.com/asset/?id=168892432"
  305. ghostmesh2.Scale = Vector3.new(10,10,10)
  306.  
  307. ghostp3=Instance.new("Part",Character)
  308. ghostp3.FormFactor="Custom"
  309. ghostp3.Size=Vector3.new(0.2,0.2,0.2)
  310. ghostp3.Transparency=1
  311. ghostp3.CanCollide=false
  312. ghostp3.BrickColor = BrickColor.new("Institutional white")
  313. ghostp3.Material="Sand"
  314. ghostp3.TopSurface="Smooth"
  315. ghostp3.BottomSurface="Smooth"
  316. ghostp3.RightSurface="Smooth"
  317. ghostp2.LeftSurface="Smooth"
  318. ghostw3=Instance.new("Weld",Character)
  319. ghostw3.Part0=Character.Torso
  320. ghostw3.Part1=ghostp3
  321. ghostw3.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  322.  
  323. ghostmesh3 = Instance.new("FileMesh",ghostp3)
  324. ghostmesh3.MeshId = "http://www.roblox.com/asset/?id=168892432"
  325. ghostmesh3.Scale = Vector3.new(15,15,15)
  326.  
  327. ghostp4=Instance.new("Part",Character)
  328. ghostp4.FormFactor="Custom"
  329. ghostp4.Size=Vector3.new(0.2,0.2,0.2)
  330. ghostp4.Transparency=1
  331. ghostp4.CanCollide=false
  332. ghostp4.BrickColor = BrickColor.new("Institutional white")
  333. ghostp4.Material="Sand"
  334. ghostp4.TopSurface="Smooth"
  335. ghostp4.BottomSurface="Smooth"
  336. ghostp4.RightSurface="Smooth"
  337. ghostp4.LeftSurface="Smooth"
  338. ghostw4=Instance.new("Weld",Character)
  339. ghostw4.Part0=Character.Torso
  340. ghostw4.Part1=ghostp4
  341. ghostw4.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  342.  
  343. ghostmesh4 = Instance.new("FileMesh",ghostp4)
  344. ghostmesh4.MeshId = "http://www.roblox.com/asset/?id=168892432"
  345. ghostmesh4.Scale = Vector3.new(20,20,20)
  346.  
  347. ghostp5=Instance.new("Part",Character)
  348. ghostp5.FormFactor="Custom"
  349. ghostp5.Size=Vector3.new(0.2,0.2,0.2)
  350. ghostp5.Transparency=1
  351. ghostp5.CanCollide=false
  352. ghostp5.BrickColor = BrickColor.new("Institutional white")
  353. ghostp5.Material="Sand"
  354. ghostp5.TopSurface="Smooth"
  355. ghostp5.BottomSurface="Smooth"
  356. ghostp5.RightSurface="Smooth"
  357. ghostp5.LeftSurface="Smooth"
  358. ghost5w=Instance.new("Weld",Character)
  359. ghost5w.Part0=Character.Torso
  360. ghost5w.Part1=ghostp5
  361. ghost5w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  362.  
  363. ghostmesh = Instance.new("FileMesh",ghostp5)
  364. ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
  365. ghostmesh.Scale = Vector3.new(2.5,2.5,2.5)
  366.  
  367. ghostp6=Instance.new("Part",Character)
  368. ghostp6.FormFactor="Custom"
  369. ghostp6.Size=Vector3.new(0.2,0.2,0.2)
  370. ghostp6.Transparency=1
  371. ghostp6.CanCollide=false
  372. ghostp6.BrickColor = BrickColor.new("Institutional white")
  373. ghostp6.Material="Sand"
  374. ghostp6.TopSurface="Smooth"
  375. ghostp6.BottomSurface="Smooth"
  376. ghostp6.RightSurface="Smooth"
  377. ghostp6.LeftSurface="Smooth"
  378. ghost6w=Instance.new("Weld",Character)
  379. ghost6w.Part0=Character.Torso
  380. ghost6w.Part1=ghostp6
  381. ghost6w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  382.  
  383. ghostmesh = Instance.new("FileMesh",ghostp6)
  384. ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
  385. ghostmesh.Scale = Vector3.new(7.5,7.5,7.5)
  386.  
  387. ghostp7=Instance.new("Part",Character)
  388. ghostp7.FormFactor="Custom"
  389. ghostp7.Size=Vector3.new(0.2,0.2,0.2)
  390. ghostp7.Transparency=1
  391. ghostp7.CanCollide=false
  392. ghostp7.BrickColor = BrickColor.new("Institutional white")
  393. ghostp7.Material="Sand"
  394. ghostp7.TopSurface="Smooth"
  395. ghostp7.BottomSurface="Smooth"
  396. ghostp7.RightSurface="Smooth"
  397. ghostp7.LeftSurface="Smooth"
  398. ghost7w=Instance.new("Weld",Character)
  399. ghost7w.Part0=Character.Torso
  400. ghost7w.Part1=ghostp7
  401. ghost7w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  402.  
  403. ghostmesh = Instance.new("FileMesh",ghostp7)
  404. ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
  405. ghostmesh.Scale = Vector3.new(12.5,12.5,12.5)
  406.  
  407. ghostp8=Instance.new("Part",Character)
  408. ghostp8.FormFactor="Custom"
  409. ghostp8.Size=Vector3.new(0.2,0.2,0.2)
  410. ghostp8.Transparency=1
  411. ghostp8.CanCollide=false
  412. ghostp8.BrickColor = BrickColor.new("Institutional white")
  413. ghostp8.Material="Sand"
  414. ghostp8.TopSurface="Smooth"
  415. ghostp8.BottomSurface="Smooth"
  416. ghostp8.RightSurface="Smooth"
  417. ghostp8.LeftSurface="Smooth"
  418. ghost8w=Instance.new("Weld",Character)
  419. ghost8w.Part0=Character.Torso
  420. ghost8w.Part1=ghostp8
  421. ghost8w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  422.  
  423. ghostmesh = Instance.new("FileMesh",ghostp8)
  424. ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
  425. ghostmesh.Scale = Vector3.new(17.5,17.5,17.5)
  426.  
  427. eyeoutline=Instance.new("Part",Character)
  428. eyeoutline.FormFactor="Custom"
  429. eyeoutline.Size=Vector3.new(.2,.2,.2)
  430. eyeoutline.Transparency=0
  431. eyeoutline.CanCollide=false
  432. eyeoutline.BrickColor = BrickColor.new("Really black")
  433. eyeoutline.Material="SmoothPlastic"
  434. eyeoutline.TopSurface="Smooth"
  435. eyeoutline.BottomSurface="Smooth"
  436. eyeoutline.RightSurface="Smooth"
  437. eyeoutline.LeftSurface="Smooth"
  438. eyeoutlinew=Instance.new("Weld",Character)
  439. eyeoutlinew.Part0=Character.Torso
  440. eyeoutlinew.Part1=eyeoutline
  441. eyeoutlinew.C0=CFrame.new(-1.5,0,-4.1)*CFrame.Angles(0,math.rad(20),math.rad(0))
  442.  
  443. eyemesh = Instance.new("SpecialMesh",eyeoutline)
  444. eyemesh.MeshType = "Sphere"
  445. eyemesh.Scale = Vector3.new(8.5,8.5,2)
  446.  
  447. eyep=Instance.new("Part",Character)
  448. eyep.FormFactor="Custom"
  449. eyep.Size=Vector3.new(.2,.2,.2)
  450. eyep.Transparency=0
  451. eyep.CanCollide=false
  452. eyep.BrickColor = BrickColor.new("Pastel light blue")
  453. eyep.Material="Neon"
  454. eyep.TopSurface="Smooth"
  455. eyep.BottomSurface="Smooth"
  456. eyep.RightSurface="Smooth"
  457. eyep.LeftSurface="Smooth"
  458. eyepw=Instance.new("Weld",Character)
  459. eyepw.Part0=eyeoutline
  460. eyepw.Part1=eyep
  461. eyepw.C0=CFrame.new(0,0,-0.1)*CFrame.Angles(0,math.rad(0),math.rad(0))
  462.  
  463. eyepmesh = Instance.new("SpecialMesh",eyep)
  464. eyepmesh.MeshType = "Sphere"
  465. eyepmesh.Scale = Vector3.new(7.5,7.5,2)
  466.  
  467. eyeoutline2=Instance.new("Part",Character)
  468. eyeoutline2.FormFactor="Custom"
  469. eyeoutline2.Size=Vector3.new(.2,.2,.2)
  470. eyeoutline2.Transparency=0
  471. eyeoutline2.CanCollide=false
  472. eyeoutline2.BrickColor = BrickColor.new("Really black")
  473. eyeoutline2.Material="SmoothPlastic"
  474. eyeoutline2.TopSurface="Smooth"
  475. eyeoutline2.BottomSurface="Smooth"
  476. eyeoutline2.RightSurface="Smooth"
  477. eyeoutline2.LeftSurface="Smooth"
  478. eyeoutline2w=Instance.new("Weld",Character)
  479. eyeoutline2w.Part0=Character.Torso
  480. eyeoutline2w.Part1=eyeoutline2
  481. eyeoutline2w.C0=CFrame.new(1.5,0,-4.1)*CFrame.Angles(0,math.rad(-20),math.rad(0))
  482.  
  483. eyemesh = Instance.new("SpecialMesh",eyeoutline2)
  484. eyemesh.MeshType = "Sphere"
  485. eyemesh.Scale = Vector3.new(8.5,8.5,2)
  486.  
  487. eyep2=Instance.new("Part",Character)
  488. eyep2.FormFactor="Custom"
  489. eyep2.Size=Vector3.new(.2,.2,.2)
  490. eyep2.Transparency=0
  491. eyep2.CanCollide=false
  492. eyep2.BrickColor = BrickColor.new("Pastel light blue")
  493. eyep2.Material="Neon"
  494. eyep2.TopSurface="Smooth"
  495. eyep2.BottomSurface="Smooth"
  496. eyep2.RightSurface="Smooth"
  497. eyep2.LeftSurface="Smooth"
  498. eyep2w=Instance.new("Weld",Character)
  499. eyep2w.Part0=eyeoutline2
  500. eyep2w.Part1=eyep2
  501. eyep2w.C0=CFrame.new(0,0,-0.1)*CFrame.Angles(0,math.rad(0),math.rad(0))
  502.  
  503. eyep2mesh = Instance.new("SpecialMesh",eyep2)
  504. eyep2mesh.MeshType = "Sphere"
  505. eyep2mesh.Scale = Vector3.new(7.5,7.5,2)
  506.  
  507. local spotlight = Instance.new("SpotLight", eyep)
  508. spotlight.Shadows = true
  509. spotlight.Color = Color3.new(0, 0.666667, 1)
  510. spotlight.Range = 24
  511. spotlight.Angle = 60
  512. spotlight.Brightness = 100
  513.  
  514. local spotlight2 = Instance.new("SpotLight", eyep2)
  515. spotlight2.Shadows = true
  516. spotlight2.Color = Color3.new(0, 0.666667, 1)
  517. spotlight2.Range = 24
  518. spotlight2.Angle = 60
  519. spotlight2.Brightness = 100
  520.  
  521. local particleemitter = Instance.new("ParticleEmitter", Torso)
  522. particleemitter.VelocitySpread = 180
  523. particleemitter.Lifetime = NumberRange.new(1)
  524. particleemitter.Speed = NumberRange.new(10)
  525. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  526. particleemitter.RotSpeed = NumberRange.new(-180, 180)
  527. particleemitter.Rotation = NumberRange.new(-360, 360)
  528. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  529. particleemitter.LightEmission = 1
  530. particleemitter.Texture = "http://www.roblox.com/asset/?id=320043786"
  531. particleemitter.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  532.  
  533. emitterp=Instance.new("Part",Character)
  534. emitterp.FormFactor="Custom"
  535. emitterp.Size=Vector3.new(5,.2,5)
  536. emitterp.Transparency=1
  537. emitterp.CanCollide=false
  538. emitterp.BrickColor = BrickColor.new("Institutional white")
  539. emitterp.Material="Neon"
  540. emitterp.TopSurface="Smooth"
  541. emitterp.BottomSurface="Smooth"
  542. emitterp.RightSurface="Smooth"
  543. emitterp.LeftSurface="Smooth"
  544. emitterpw=Instance.new("Weld",Character)
  545. emitterpw.Part0=Character.Torso
  546. emitterpw.Part1=emitterp
  547. emitterpw.C0=CFrame.new(0,-4,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  548.  
  549. local emitter = Instance.new("ParticleEmitter", emitterp)
  550. emitter.EmissionDirection = "Bottom"
  551. emitter.VelocitySpread = 30
  552. emitter.Lifetime = NumberRange.new(1)
  553. emitter.Speed = NumberRange.new(10)
  554. emitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 2, 0), NumberSequenceKeypoint.new(1, 2, 0)})
  555. emitter.RotSpeed = NumberRange.new(-180, 180)
  556. emitter.Rate = 1000
  557. emitter.Rotation = NumberRange.new(-360, 360)
  558. emitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  559. emitter.LightEmission = 1
  560. emitter.Texture = "http://www.roblox.com/asset/?id=31727915"
  561. emitter.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  562.  
  563. local eyeeffect = Instance.new("ParticleEmitter", eyep)
  564. eyeeffect.Lifetime = NumberRange.new(1)
  565. eyeeffect.Speed = NumberRange.new(0)
  566. eyeeffect.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 4), NumberSequenceKeypoint.new(1, 4)})
  567. eyeeffect.RotSpeed = NumberRange.new(1080)
  568. eyeeffect.Rate = 25
  569. eyeeffect.Rotation = NumberRange.new(-360, 360)
  570. eyeeffect.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.11, 0), NumberSequenceKeypoint.new(0.99, 1), NumberSequenceKeypoint.new(1, 1)})
  571. eyeeffect.LightEmission = 0.5
  572. eyeeffect.Texture = "http://www.roblox.com/asset/?id=242292288"
  573. eyeeffect.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  574. eyeeffect.LockedToPart = true
  575. eyeeffect.Enabled = false
  576.  
  577. local eyeeffect2 = Instance.new("ParticleEmitter", eyep2)
  578. eyeeffect2.Lifetime = NumberRange.new(1)
  579. eyeeffect2.Speed = NumberRange.new(0)
  580. eyeeffect2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 4), NumberSequenceKeypoint.new(1, 4)})
  581. eyeeffect2.RotSpeed = NumberRange.new(1080)
  582. eyeeffect2.Rate = 25
  583. eyeeffect2.Rotation = NumberRange.new(-360, 360)
  584. eyeeffect2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.11, 0), NumberSequenceKeypoint.new(0.99, 1), NumberSequenceKeypoint.new(1, 1)})
  585. eyeeffect2.LightEmission = 0.5
  586. eyeeffect2.Texture = "http://www.roblox.com/asset/?id=242292288"
  587. eyeeffect2.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  588. eyeeffect2.LockedToPart = true
  589. eyeeffect2.Enabled = false
  590.  
  591. for _,v in pairs(Beast:GetChildren()) do
  592. if v:IsA("Part") then
  593. v.Transparency = 0
  594. end
  595. end
  596. coroutine.resume(coroutine.create(function(Part,Weld)
  597. while Part.Parent~=nil do
  598. wait(5)
  599. for i=0,1,0.2 do
  600. wait()
  601. spotlight.Angle = 60-60*i
  602. eyepmesh.Scale = Vector3.new(7.5,7.5-7.4*i,2)
  603. end
  604. for i=0,1,0.2 do
  605. wait()
  606. spotlight.Angle = 0+60*i
  607. eyepmesh.Scale = Vector3.new(7.5,0.1+7.4*i,2)
  608. end
  609. spotlight.Angle = 60
  610. end
  611. end),eyep,eyepw)
  612.  
  613. coroutine.resume(coroutine.create(function(Part,Weld)
  614. while Part.Parent~=nil do
  615. wait(5)
  616. for i=0,1,0.2 do
  617. wait()
  618. spotlight2.Angle = 60-60*i
  619. eyep2mesh.Scale = Vector3.new(7.5,7.5-7.4*i,2)
  620. end
  621. for i=0,1,0.2 do
  622. wait()
  623. spotlight2.Angle = 0+60*i
  624. eyep2mesh.Scale = Vector3.new(7.5,0.1+7.4*i,2)
  625. end
  626. spotlight2.Angle = 60
  627. end
  628. end),eyep2,eyep2w)
  629.  
  630. for _,v in pairs(Beast:GetChildren()) do
  631. if v:IsA("Part") then
  632. v.Transparency = 0
  633. end
  634. end
  635. --------------------------------------------------------------
  636. Arm = Instance.new("Model",Character)
  637. Arm.Name = "Arm 1"
  638.  
  639. arm1p=Instance.new("Part",Character)
  640. arm1p.FormFactor="Custom"
  641. arm1p.Size=Vector3.new(.2,.2,.2)
  642. arm1p.Transparency = 0
  643. arm1p.CanCollide=false
  644. arm1p.BrickColor = BrickColor.new("Institutional white")
  645. arm1p.Material="Sand"
  646. arm1p.TopSurface="Smooth"
  647. arm1p.BottomSurface="Smooth"
  648. arm1p.RightSurface="Smooth"
  649. arm1p.LeftSurface="Smooth"
  650. arm1pw=Instance.new("Weld",Character)
  651. arm1pw.Part0=Character["Right Arm"]
  652. arm1pw.Part1=arm1p
  653. arm1pw.C0=CFrame.new(0,-5,0)*CFrame.Angles(0,math.rad(0),math.rad(90))
  654.  
  655. arm1pmesh = Instance.new("SpecialMesh",arm1p)
  656. arm1pmesh.MeshType = "Sphere"
  657. arm1pmesh.Scale = Vector3.new(40,20,40)
  658.  
  659. local particleemitter2 = Instance.new("ParticleEmitter", arm1p)
  660. particleemitter2.VelocitySpread = 180
  661. particleemitter2.Lifetime = NumberRange.new(1)
  662. particleemitter2.Speed = NumberRange.new(10)
  663. particleemitter2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  664. particleemitter2.RotSpeed = NumberRange.new(-180, 180)
  665. particleemitter2.Rotation = NumberRange.new(-360, 360)
  666. particleemitter2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  667. particleemitter2.LightEmission = 1
  668. particleemitter2.Texture = "http://www.roblox.com/asset/?id=320043786"
  669. particleemitter2.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  670. particleemitter2.Enabled = false
  671.  
  672. arm1p2=Instance.new("Part",Character)
  673. arm1p2.FormFactor="Custom"
  674. arm1p2.Size=Vector3.new(.2,.2,.2)
  675. arm1p2.Transparency = 0
  676. arm1p2.CanCollide=false
  677. arm1p2.BrickColor = BrickColor.new("Institutional white")
  678. arm1p2.Material="Sand"
  679. arm1p2.TopSurface="Smooth"
  680. arm1p2.BottomSurface="Smooth"
  681. arm1p2.RightSurface="Smooth"
  682. arm1p2.LeftSurface="Smooth"
  683. arm1p2w=Instance.new("Weld",Character)
  684. arm1p2w.Part0=arm1p
  685. arm1p2w.Part1=arm1p2
  686. arm1p2w.C0=CFrame.new(0,3,0)*CFrame.Angles(0,math.rad(90),math.rad(-90))
  687.  
  688. arm1p2mesh = Instance.new("SpecialMesh",arm1p2)
  689. arm1p2mesh.MeshType = "Cylinder"
  690. arm1p2mesh.Scale = Vector3.new(30,20,30)
  691.  
  692. local particleemitter3 = Instance.new("ParticleEmitter", arm1p2)
  693. particleemitter3.VelocitySpread = 180
  694. particleemitter3.Lifetime = NumberRange.new(1)
  695. particleemitter3.Speed = NumberRange.new(10)
  696. particleemitter3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  697. particleemitter3.RotSpeed = NumberRange.new(-180, 180)
  698. particleemitter3.Rotation = NumberRange.new(-360, 360)
  699. particleemitter3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  700. particleemitter3.LightEmission = 1
  701. particleemitter3.Texture = "http://www.roblox.com/asset/?id=320043786"
  702. particleemitter3.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  703. particleemitter3.Enabled = false
  704.  
  705. arm1p3=Instance.new("Part",Character)
  706. arm1p3.FormFactor="Custom"
  707. arm1p3.Size=Vector3.new(.2,.2,.2)
  708. arm1p3.Transparency = 0
  709. arm1p3.CanCollide=false
  710. arm1p3.BrickColor = BrickColor.new("Institutional white")
  711. arm1p3.Material="Sand"
  712. arm1p3.TopSurface="Smooth"
  713. arm1p3.BottomSurface="Smooth"
  714. arm1p3.RightSurface="Smooth"
  715. arm1p3.LeftSurface="Smooth"
  716. arm1p3w=Instance.new("Weld",Character)
  717. arm1p3w.Part0=arm1p2
  718. arm1p3w.Part1=arm1p3
  719. arm1p3w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  720.  
  721. arm1p3mesh = Instance.new("SpecialMesh",arm1p3)
  722. arm1p3mesh.MeshType = "Sphere"
  723. arm1p3mesh.Scale = Vector3.new(22.5,22.5,22.5)
  724.  
  725. local particleemitter4 = Instance.new("ParticleEmitter", arm1p3)
  726. particleemitter4.VelocitySpread = 180
  727. particleemitter4.Lifetime = NumberRange.new(1)
  728. particleemitter4.Speed = NumberRange.new(10)
  729. particleemitter4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  730. particleemitter4.RotSpeed = NumberRange.new(-180, 180)
  731. particleemitter4.Rotation = NumberRange.new(-360, 360)
  732. particleemitter4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  733. particleemitter4.LightEmission = 1
  734. particleemitter4.Texture = "http://www.roblox.com/asset/?id=320043786"
  735. particleemitter4.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  736. particleemitter4.Enabled = false
  737.  
  738. arm1p4=Instance.new("Part",Character)
  739. arm1p4.FormFactor="Custom"
  740. arm1p4.Size=Vector3.new(.2,.2,.2)
  741. arm1p4.Transparency = 0
  742. arm1p4.CanCollide=false
  743. arm1p4.BrickColor = BrickColor.new("Institutional white")
  744. arm1p4.Material="Sand"
  745. arm1p4.TopSurface="Smooth"
  746. arm1p4.BottomSurface="Smooth"
  747. arm1p4.RightSurface="Smooth"
  748. arm1p4.LeftSurface="Smooth"
  749. arm1p4w=Instance.new("Weld",Character)
  750. arm1p4w.Part0=arm1p3
  751. arm1p4w.Part1=arm1p4
  752. arm1p4w.C0=CFrame.new(-3,3,0)*CFrame.Angles(0,math.rad(0),math.rad(-45))
  753.  
  754. arm1p4mesh = Instance.new("SpecialMesh",arm1p4)
  755. arm1p4mesh.MeshType = "Cylinder"
  756. arm1p4mesh.Scale = Vector3.new(30,20,30)
  757.  
  758. local particleemitter5 = Instance.new("ParticleEmitter", arm1p4)
  759. particleemitter5.VelocitySpread = 180
  760. particleemitter5.Lifetime = NumberRange.new(1)
  761. particleemitter5.Speed = NumberRange.new(10)
  762. particleemitter5.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  763. particleemitter5.RotSpeed = NumberRange.new(-180, 180)
  764. particleemitter5.Rotation = NumberRange.new(-360, 360)
  765. particleemitter5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  766. particleemitter5.LightEmission = 1
  767. particleemitter5.Texture = "http://www.roblox.com/asset/?id=320043786"
  768. particleemitter5.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  769. particleemitter5.Enabled = false
  770.  
  771. arm1p5=Instance.new("Part",Character)
  772. arm1p5.FormFactor="Custom"
  773. arm1p5.Size=Vector3.new(.2,.2,.2)
  774. arm1p5.Transparency = 0
  775. arm1p5.CanCollide=false
  776. arm1p5.BrickColor = BrickColor.new("Institutional white")
  777. arm1p5.Material="Sand"
  778. arm1p5.TopSurface="Smooth"
  779. arm1p5.BottomSurface="Smooth"
  780. arm1p5.RightSurface="Smooth"
  781. arm1p5.LeftSurface="Smooth"
  782. arm1p5w=Instance.new("Weld",Character)
  783. arm1p5w.Part0=arm1p4
  784. arm1p5w.Part1=arm1p5
  785. arm1p5w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  786.  
  787. arm1p5mesh = Instance.new("SpecialMesh",arm1p5)
  788. arm1p5mesh.MeshType = "Sphere"
  789. arm1p5mesh.Scale = Vector3.new(30,30,30)
  790.  
  791. local particleemitter6 = Instance.new("ParticleEmitter", arm1p5)
  792. particleemitter6.VelocitySpread = 180
  793. particleemitter6.Lifetime = NumberRange.new(1)
  794. particleemitter6.Speed = NumberRange.new(10)
  795. particleemitter6.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  796. particleemitter6.RotSpeed = NumberRange.new(-180, 180)
  797. particleemitter6.Rotation = NumberRange.new(-360, 360)
  798. particleemitter6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  799. particleemitter6.LightEmission = 1
  800. particleemitter6.Texture = "http://www.roblox.com/asset/?id=320043786"
  801. particleemitter6.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))--ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  802. particleemitter6.Enabled = false
  803.  
  804. arm1p6=Instance.new("Part",Character)
  805. arm1p6.FormFactor="Custom"
  806. arm1p6.Size=Vector3.new(.2,.2,.2)
  807. arm1p6.Transparency = 0
  808. arm1p6.CanCollide=false
  809. arm1p6.BrickColor = BrickColor.new("Institutional white")
  810. arm1p6.Material="Sand"
  811. arm1p6.TopSurface="Smooth"
  812. arm1p6.BottomSurface="Smooth"
  813. arm1p6.RightSurface="Smooth"
  814. arm1p6.LeftSurface="Smooth"
  815. arm1p6w=Instance.new("Weld",Character)
  816. arm1p6w.Part0=arm1p5
  817. arm1p6w.Part1=arm1p6
  818. arm1p6w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  819.  
  820. arm1p6mesh = Instance.new("FileMesh",arm1p6)
  821. arm1p6mesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  822. arm1p6mesh.Scale = Vector3.new(3.15,3.15,3.15)
  823.  
  824. arm1p7=Instance.new("Part",Character)
  825. arm1p7.FormFactor="Custom"
  826. arm1p7.Size=Vector3.new(.2,.2,.2)
  827. arm1p7.Transparency = 0
  828. arm1p7.CanCollide=false
  829. arm1p7.BrickColor = BrickColor.new("Pastel light blue")
  830. arm1p7.Material="Sand"
  831. arm1p7.TopSurface="Smooth"
  832. arm1p7.BottomSurface="Smooth"
  833. arm1p7.RightSurface="Smooth"
  834. arm1p7.LeftSurface="Smooth"
  835. arm1p7w=Instance.new("Weld",Character)
  836. arm1p7w.Part0=arm1p
  837. arm1p7w.Part1=arm1p7
  838. arm1p7w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  839.  
  840. arm1p7mesh = Instance.new("FileMesh",arm1p7)
  841. arm1p7mesh.MeshId = "http://www.roblox.com/asset/?id=9756362"
  842. arm1p7mesh.Scale = Vector3.new(5,10,5)
  843.  
  844. arm1hitbox=Instance.new("Part",Character)
  845. arm1hitbox.FormFactor="Custom"
  846. arm1hitbox.Size=Vector3.new(5,5,5)
  847. arm1hitbox.Transparency = 1
  848. arm1hitbox.CanCollide=false
  849. arm1hitbox.BrickColor = BrickColor.new("Institutional white")
  850. arm1hitbox.Material="Sand"
  851. arm1hitbox.TopSurface="Smooth"
  852. arm1hitbox.BottomSurface="Smooth"
  853. arm1hitbox.RightSurface="Smooth"
  854. arm1hitbox.LeftSurface="Smooth"
  855. arm1hitboxw=Instance.new("Weld",Character)
  856. arm1hitboxw.Part0=arm1p6
  857. arm1hitboxw.Part1=arm1hitbox
  858. arm1hitboxw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  859. --------------------------------------------------------------
  860. Arm2 = Instance.new("Model",Character)
  861. Arm2.Name = "Arm 2"
  862.  
  863. arm2p=Instance.new("Part",Character)
  864. arm2p.FormFactor="Custom"
  865. arm2p.Size=Vector3.new(.2,.2,.2)
  866. arm2p.Transparency = 0
  867. arm2p.CanCollide=false
  868. arm2p.BrickColor = BrickColor.new("Institutional white")
  869. arm2p.Material="Sand"
  870. arm2p.TopSurface="Smooth"
  871. arm2p.BottomSurface="Smooth"
  872. arm2p.RightSurface="Smooth"
  873. arm2p.LeftSurface="Smooth"
  874. arm2pw=Instance.new("Weld",Character)
  875. arm2pw.Part0=Character["Left Arm"]
  876. arm2pw.Part1=arm2p
  877. arm2pw.C0=CFrame.new(0,-5,0)*CFrame.Angles(0,math.rad(0),math.rad(-90))
  878.  
  879. arm2pmesh = Instance.new("SpecialMesh",arm2p)
  880. arm2pmesh.MeshType = "Sphere"
  881. arm2pmesh.Scale = Vector3.new(40,20,40)
  882.  
  883. local particleemitter7 = Instance.new("ParticleEmitter", arm2p)
  884. particleemitter7.VelocitySpread = 180
  885. particleemitter7.Lifetime = NumberRange.new(1)
  886. particleemitter7.Speed = NumberRange.new(10)
  887. particleemitter7.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  888. particleemitter7.RotSpeed = NumberRange.new(-180, 180)
  889. particleemitter7.Rotation = NumberRange.new(-360, 360)
  890. particleemitter7.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  891. particleemitter7.LightEmission = 1
  892. particleemitter7.Texture = "http://www.roblox.com/asset/?id=320043786"
  893. particleemitter7.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  894. particleemitter7.Enabled = false
  895.  
  896. arm2p2=Instance.new("Part",Character)
  897. arm2p2.FormFactor="Custom"
  898. arm2p2.Size=Vector3.new(.2,.2,.2)
  899. arm2p2.Transparency = 0
  900. arm2p2.CanCollide=false
  901. arm2p2.BrickColor = BrickColor.new("Institutional white")
  902. arm2p2.Material="Sand"
  903. arm2p2.TopSurface="Smooth"
  904. arm2p2.BottomSurface="Smooth"
  905. arm2p2.RightSurface="Smooth"
  906. arm2p2.LeftSurface="Smooth"
  907. arm2p2w=Instance.new("Weld",Character)
  908. arm2p2w.Part0=arm2p
  909. arm2p2w.Part1=arm2p2
  910. arm2p2w.C0=CFrame.new(0,3,0)*CFrame.Angles(0,math.rad(90),math.rad(-90))
  911.  
  912. arm2p2mesh = Instance.new("SpecialMesh",arm2p2)
  913. arm2p2mesh.MeshType = "Cylinder"
  914. arm2p2mesh.Scale = Vector3.new(30,20,30)
  915.  
  916. local particleemitter8 = Instance.new("ParticleEmitter", arm2p2)
  917. particleemitter8.VelocitySpread = 180
  918. particleemitter8.Lifetime = NumberRange.new(1)
  919. particleemitter8.Speed = NumberRange.new(10)
  920. particleemitter8.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  921. particleemitter8.RotSpeed = NumberRange.new(-180, 180)
  922. particleemitter8.Rotation = NumberRange.new(-360, 360)
  923. particleemitter8.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  924. particleemitter8.LightEmission = 1
  925. particleemitter8.Texture = "http://www.roblox.com/asset/?id=320043786"
  926. particleemitter8.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  927. particleemitter8.Enabled = false
  928.  
  929. arm2p3=Instance.new("Part",Character)
  930. arm2p3.FormFactor="Custom"
  931. arm2p3.Size=Vector3.new(.2,.2,.2)
  932. arm2p3.Transparency = 0
  933. arm2p3.CanCollide=false
  934. arm2p3.BrickColor = BrickColor.new("Institutional white")
  935. arm2p3.Material="Sand"
  936. arm2p3.TopSurface="Smooth"
  937. arm2p3.BottomSurface="Smooth"
  938. arm2p3.RightSurface="Smooth"
  939. arm2p3.LeftSurface="Smooth"
  940. arm2p3w=Instance.new("Weld",Character)
  941. arm2p3w.Part0=arm2p2
  942. arm2p3w.Part1=arm2p3
  943. arm2p3w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  944.  
  945. arm2p3mesh = Instance.new("SpecialMesh",arm2p3)
  946. arm2p3mesh.MeshType = "Sphere"
  947. arm2p3mesh.Scale = Vector3.new(22.5,22.5,22.5)
  948.  
  949. local particleemitter9 = Instance.new("ParticleEmitter", arm2p3)
  950. particleemitter9.VelocitySpread = 180
  951. particleemitter9.Lifetime = NumberRange.new(1)
  952. particleemitter9.Speed = NumberRange.new(10)
  953. particleemitter9.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  954. particleemitter9.RotSpeed = NumberRange.new(-180, 180)
  955. particleemitter9.Rotation = NumberRange.new(-360, 360)
  956. particleemitter9.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  957. particleemitter9.LightEmission = 1
  958. particleemitter9.Texture = "http://www.roblox.com/asset/?id=320043786"
  959. particleemitter9.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  960. particleemitter9.Enabled = false
  961.  
  962. arm2p4=Instance.new("Part",Character)
  963. arm2p4.FormFactor="Custom"
  964. arm2p4.Size=Vector3.new(.2,.2,.2)
  965. arm2p4.Transparency = 0
  966. arm2p4.CanCollide=false
  967. arm2p4.BrickColor = BrickColor.new("Institutional white")
  968. arm2p4.Material="Sand"
  969. arm2p4.TopSurface="Smooth"
  970. arm2p4.BottomSurface="Smooth"
  971. arm2p4.RightSurface="Smooth"
  972. arm2p4.LeftSurface="Smooth"
  973. arm2p4w=Instance.new("Weld",Character)
  974. arm2p4w.Part0=arm2p3
  975. arm2p4w.Part1=arm2p4
  976. arm2p4w.C0=CFrame.new(-3,3,0)*CFrame.Angles(0,math.rad(0),math.rad(-45))
  977.  
  978. arm2p4mesh = Instance.new("SpecialMesh",arm2p4)
  979. arm2p4mesh.MeshType = "Cylinder"
  980. arm2p4mesh.Scale = Vector3.new(30,20,30)
  981.  
  982. local particleemitter10 = Instance.new("ParticleEmitter", arm2p4)
  983. particleemitter10.VelocitySpread = 180
  984. particleemitter10.Lifetime = NumberRange.new(1)
  985. particleemitter10.Speed = NumberRange.new(10)
  986. particleemitter10.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  987. particleemitter10.RotSpeed = NumberRange.new(-180, 180)
  988. particleemitter10.Rotation = NumberRange.new(-360, 360)
  989. particleemitter10.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  990. particleemitter10.LightEmission = 1
  991. particleemitter10.Texture = "http://www.roblox.com/asset/?id=320043786"
  992. particleemitter10.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  993. particleemitter10.Enabled = false
  994.  
  995. arm2p5=Instance.new("Part",Character)
  996. arm2p5.FormFactor="Custom"
  997. arm2p5.Size=Vector3.new(.2,.2,.2)
  998. arm2p5.Transparency = 0
  999. arm2p5.CanCollide=false
  1000. arm2p5.BrickColor = BrickColor.new("Institutional white")
  1001. arm2p5.Material="Sand"
  1002. arm2p5.TopSurface="Smooth"
  1003. arm2p5.BottomSurface="Smooth"
  1004. arm2p5.RightSurface="Smooth"
  1005. arm2p5.LeftSurface="Smooth"
  1006. arm2p5w=Instance.new("Weld",Character)
  1007. arm2p5w.Part0=arm2p4
  1008. arm2p5w.Part1=arm2p5
  1009. arm2p5w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  1010.  
  1011. arm2p5mesh = Instance.new("SpecialMesh",arm2p5)
  1012. arm2p5mesh.MeshType = "Sphere"
  1013. arm2p5mesh.Scale = Vector3.new(30,30,30)
  1014.  
  1015. local particleemitter11 = Instance.new("ParticleEmitter", arm2p5)
  1016. particleemitter11.VelocitySpread = 180
  1017. particleemitter11.Lifetime = NumberRange.new(1)
  1018. particleemitter11.Speed = NumberRange.new(10)
  1019. particleemitter11.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1020. particleemitter11.RotSpeed = NumberRange.new(-180, 180)
  1021. particleemitter11.Rotation = NumberRange.new(-360, 360)
  1022. particleemitter11.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1023. particleemitter11.LightEmission = 1
  1024. particleemitter11.Texture = "http://www.roblox.com/asset/?id=320043786"
  1025. particleemitter11.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  1026. particleemitter11.Enabled = false
  1027.  
  1028. arm2p6=Instance.new("Part",Character)
  1029. arm2p6.FormFactor="Custom"
  1030. arm2p6.Size=Vector3.new(.2,.2,.2)
  1031. arm2p6.Transparency = 0
  1032. arm2p6.CanCollide=false
  1033. arm2p6.BrickColor = BrickColor.new("Institutional white")
  1034. arm2p6.Material="Sand"
  1035. arm2p6.TopSurface="Smooth"
  1036. arm2p6.BottomSurface="Smooth"
  1037. arm2p6.RightSurface="Smooth"
  1038. arm2p6.LeftSurface="Smooth"
  1039. arm2p6w=Instance.new("Weld",Character)
  1040. arm2p6w.Part0=arm2p5
  1041. arm2p6w.Part1=arm2p6
  1042. arm2p6w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(90))
  1043.  
  1044. arm2p6mesh = Instance.new("FileMesh",arm2p6)
  1045. arm2p6mesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  1046. arm2p6mesh.Scale = Vector3.new(3.15,3.15,3.15)
  1047.  
  1048. arm2p7=Instance.new("Part",Character)
  1049. arm2p7.FormFactor="Custom"
  1050. arm2p7.Size=Vector3.new(.2,.2,.2)
  1051. arm2p7.Transparency = 0
  1052. arm2p7.CanCollide=false
  1053. arm2p7.BrickColor = BrickColor.new("Pastel light blue")
  1054. arm2p7.Material="Sand"
  1055. arm2p7.TopSurface="Smooth"
  1056. arm2p7.BottomSurface="Smooth"
  1057. arm2p7.RightSurface="Smooth"
  1058. arm2p7.LeftSurface="Smooth"
  1059. arm2p7w=Instance.new("Weld",Character)
  1060. arm2p7w.Part0=arm2p
  1061. arm2p7w.Part1=arm2p7
  1062. arm2p7w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  1063.  
  1064. arm2p7mesh = Instance.new("FileMesh",arm2p7)
  1065. arm2p7mesh.MeshId = "http://www.roblox.com/asset/?id=9756362"
  1066. arm2p7mesh.Scale = Vector3.new(5,10,5)
  1067.  
  1068. arm2hitbox=Instance.new("Part",Character)
  1069. arm2hitbox.FormFactor="Custom"
  1070. arm2hitbox.Size=Vector3.new(5,5,5)
  1071. arm2hitbox.Transparency = 1
  1072. arm2hitbox.CanCollide=false
  1073. arm2hitbox.BrickColor = BrickColor.new("Institutional white")
  1074. arm2hitbox.Material="Sand"
  1075. arm2hitbox.TopSurface="Smooth"
  1076. arm2hitbox.BottomSurface="Smooth"
  1077. arm2hitbox.RightSurface="Smooth"
  1078. arm2hitbox.LeftSurface="Smooth"
  1079. arm2hitboxw=Instance.new("Weld",Character)
  1080. arm2hitboxw.Part0=arm2p6
  1081. arm2hitboxw.Part1=arm2hitbox
  1082. arm2hitboxw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1083. --------------------------------------------------------------
  1084. arm3 = Instance.new("Model",Character)
  1085. arm3.Name = "Arm 3"
  1086.  
  1087. arm3p=Instance.new("Part",Character)
  1088. arm3p.FormFactor="Custom"
  1089. arm3p.Size=Vector3.new(.2,.2,.2)
  1090. arm3p.Transparency=1
  1091. arm3p.CanCollide=false
  1092. arm3p.BrickColor = BrickColor.new("Institutional white")
  1093. arm3p.Material="Sand"
  1094. arm3p.TopSurface="Smooth"
  1095. arm3p.BottomSurface="Smooth"
  1096. arm3p.RightSurface="Smooth"
  1097. arm3p.LeftSurface="Smooth"
  1098. arm3pw=Instance.new("Weld",Character)
  1099. arm3pw.Part0=Character["Left Arm"]
  1100. arm3pw.Part1=arm3p
  1101. arm3pw.C0=CFrame.new(0,-5,0)*CFrame.Angles(0,math.rad(0),math.rad(-90))
  1102.  
  1103. arm3pmesh = Instance.new("SpecialMesh",arm3p)
  1104. arm3pmesh.MeshType = "Sphere"
  1105. arm3pmesh.Scale = Vector3.new(40,20,40)
  1106.  
  1107. local particleemitter7 = Instance.new("ParticleEmitter", arm3p)
  1108. particleemitter7.VelocitySpread = 180
  1109. particleemitter7.Lifetime = NumberRange.new(1)
  1110. particleemitter7.Speed = NumberRange.new(10)
  1111. particleemitter7.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1112. particleemitter7.RotSpeed = NumberRange.new(-180, 180)
  1113. particleemitter7.Rotation = NumberRange.new(-360, 360)
  1114. particleemitter7.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1115. particleemitter7.LightEmission = 1
  1116. particleemitter7.Texture = "http://www.roblox.com/asset/?id=320043786"
  1117. particleemitter7.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  1118. particleemitter7.Enabled = false
  1119.  
  1120. arm3p2=Instance.new("Part",Character)
  1121. arm3p2.FormFactor="Custom"
  1122. arm3p2.Size=Vector3.new(.2,.2,.2)
  1123. arm3p2.Transparency=0
  1124. arm3p2.CanCollide=false
  1125. arm3p2.BrickColor = BrickColor.new("Institutional white")
  1126. arm3p2.Material="Sand"
  1127. arm3p2.TopSurface="Smooth"
  1128. arm3p2.BottomSurface="Smooth"
  1129. arm3p2.RightSurface="Smooth"
  1130. arm3p2.LeftSurface="Smooth"
  1131. arm3p2w=Instance.new("Weld",Character)
  1132. arm3p2w.Part0=arm3p
  1133. arm3p2w.Part1=arm3p2
  1134. arm3p2w.C0=CFrame.new(0,3,0)*CFrame.Angles(0,math.rad(90),math.rad(-90))
  1135.  
  1136. arm3p2mesh = Instance.new("SpecialMesh",arm3p2)
  1137. arm3p2mesh.MeshType = "Cylinder"
  1138. arm3p2mesh.Scale = Vector3.new(30,20,30)
  1139.  
  1140. local particleemitter8 = Instance.new("ParticleEmitter", arm3p2)
  1141. particleemitter8.VelocitySpread = 180
  1142. particleemitter8.Lifetime = NumberRange.new(1)
  1143. particleemitter8.Speed = NumberRange.new(10)
  1144. particleemitter8.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1145. particleemitter8.RotSpeed = NumberRange.new(-180, 180)
  1146. particleemitter8.Rotation = NumberRange.new(-360, 360)
  1147. particleemitter8.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1148. particleemitter8.LightEmission = 1
  1149. particleemitter8.Texture = "http://www.roblox.com/asset/?id=320043786"
  1150. particleemitter8.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  1151. particleemitter8.Enabled = false
  1152.  
  1153. arm3p3=Instance.new("Part",Character)
  1154. arm3p3.FormFactor="Custom"
  1155. arm3p3.Size=Vector3.new(.2,.2,.2)
  1156. arm3p3.Transparency=0
  1157. arm3p3.CanCollide=false
  1158. arm3p3.BrickColor = BrickColor.new("Institutional white")
  1159. arm3p3.Material="Sand"
  1160. arm3p3.TopSurface="Smooth"
  1161. arm3p3.BottomSurface="Smooth"
  1162. arm3p3.RightSurface="Smooth"
  1163. arm3p3.LeftSurface="Smooth"
  1164. arm3p3w=Instance.new("Weld",Character)
  1165. arm3p3w.Part0=arm3p2
  1166. arm3p3w.Part1=arm3p3
  1167. arm3p3w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  1168.  
  1169. arm3p3mesh = Instance.new("SpecialMesh",arm3p3)
  1170. arm3p3mesh.MeshType = "Sphere"
  1171. arm3p3mesh.Scale = Vector3.new(22.5,22.5,22.5)
  1172.  
  1173. local particleemitter9 = Instance.new("ParticleEmitter", arm3p3)
  1174. particleemitter9.VelocitySpread = 180
  1175. particleemitter9.Lifetime = NumberRange.new(1)
  1176. particleemitter9.Speed = NumberRange.new(10)
  1177. particleemitter9.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1178. particleemitter9.RotSpeed = NumberRange.new(-180, 180)
  1179. particleemitter9.Rotation = NumberRange.new(-360, 360)
  1180. particleemitter9.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1181. particleemitter9.LightEmission = 1
  1182. particleemitter9.Texture = "http://www.roblox.com/asset/?id=320043786"
  1183. particleemitter9.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  1184. particleemitter9.Enabled = false
  1185.  
  1186. arm3p4=Instance.new("Part",Character)
  1187. arm3p4.FormFactor="Custom"
  1188. arm3p4.Size=Vector3.new(.2,.2,.2)
  1189. arm3p4.Transparency=0
  1190. arm3p4.CanCollide=false
  1191. arm3p4.BrickColor = BrickColor.new("Institutional white")
  1192. arm3p4.Material="Sand"
  1193. arm3p4.TopSurface="Smooth"
  1194. arm3p4.BottomSurface="Smooth"
  1195. arm3p4.RightSurface="Smooth"
  1196. arm3p4.LeftSurface="Smooth"
  1197. arm3p4w=Instance.new("Weld",Character)
  1198. arm3p4w.Part0=arm3p3
  1199. arm3p4w.Part1=arm3p4
  1200. arm3p4w.C0=CFrame.new(-3,3,0)*CFrame.Angles(0,math.rad(0),math.rad(-45))
  1201.  
  1202. arm3p4mesh = Instance.new("SpecialMesh",arm3p4)
  1203. arm3p4mesh.MeshType = "Cylinder"
  1204. arm3p4mesh.Scale = Vector3.new(30,20,30)
  1205.  
  1206. local particleemitter10 = Instance.new("ParticleEmitter", arm3p4)
  1207. particleemitter10.VelocitySpread = 180
  1208. particleemitter10.Lifetime = NumberRange.new(1)
  1209. particleemitter10.Speed = NumberRange.new(10)
  1210. particleemitter10.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1211. particleemitter10.RotSpeed = NumberRange.new(-180, 180)
  1212. particleemitter10.Rotation = NumberRange.new(-360, 360)
  1213. particleemitter10.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1214. particleemitter10.LightEmission = 1
  1215. particleemitter10.Texture = "http://www.roblox.com/asset/?id=320043786"
  1216. particleemitter10.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  1217. particleemitter10.Enabled = false
  1218.  
  1219. arm3p5=Instance.new("Part",Character)
  1220. arm3p5.FormFactor="Custom"
  1221. arm3p5.Size=Vector3.new(.2,.2,.2)
  1222. arm3p5.Transparency=0
  1223. arm3p5.CanCollide=false
  1224. arm3p5.BrickColor = BrickColor.new("Institutional white")
  1225. arm3p5.Material="Sand"
  1226. arm3p5.TopSurface="Smooth"
  1227. arm3p5.BottomSurface="Smooth"
  1228. arm3p5.RightSurface="Smooth"
  1229. arm3p5.LeftSurface="Smooth"
  1230. arm3p5w=Instance.new("Weld",Character)
  1231. arm3p5w.Part0=arm3p4
  1232. arm3p5w.Part1=arm3p5
  1233. arm3p5w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  1234.  
  1235. arm3p5mesh = Instance.new("SpecialMesh",arm3p5)
  1236. arm3p5mesh.MeshType = "Sphere"
  1237. arm3p5mesh.Scale = Vector3.new(30,30,30)
  1238.  
  1239. local particleemitter11 = Instance.new("ParticleEmitter", arm3p5)
  1240. particleemitter11.VelocitySpread = 180
  1241. particleemitter11.Lifetime = NumberRange.new(1)
  1242. particleemitter11.Speed = NumberRange.new(10)
  1243. particleemitter11.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1244. particleemitter11.RotSpeed = NumberRange.new(-180, 180)
  1245. particleemitter11.Rotation = NumberRange.new(-360, 360)
  1246. particleemitter11.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1247. particleemitter11.LightEmission = 1
  1248. particleemitter11.Texture = "http://www.roblox.com/asset/?id=320043786"
  1249. particleemitter11.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  1250. particleemitter11.Enabled = false
  1251.  
  1252. arm3p6=Instance.new("Part",Character)
  1253. arm3p6.FormFactor="Custom"
  1254. arm3p6.Size=Vector3.new(.2,.2,.2)
  1255. arm3p6.Transparency=0
  1256. arm3p6.CanCollide=false
  1257. arm3p6.BrickColor = BrickColor.new("Institutional white")
  1258. arm3p6.Material="Sand"
  1259. arm3p6.TopSurface="Smooth"
  1260. arm3p6.BottomSurface="Smooth"
  1261. arm3p6.RightSurface="Smooth"
  1262. arm3p6.LeftSurface="Smooth"
  1263. arm3p6w=Instance.new("Weld",Character)
  1264. arm3p6w.Part0=arm3p5
  1265. arm3p6w.Part1=arm3p6
  1266. arm3p6w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(90))
  1267.  
  1268. arm3p6mesh = Instance.new("FileMesh",arm3p6)
  1269. arm3p6mesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  1270. arm3p6mesh.Scale = Vector3.new(3.15,3.15,3.15)
  1271.  
  1272. arm3p7=Instance.new("Part",Character)
  1273. arm3p7.FormFactor="Custom"
  1274. arm3p7.Size=Vector3.new(.2,.2,.2)
  1275. arm3p7.Transparency=0
  1276. arm3p7.CanCollide=false
  1277. arm3p7.BrickColor = BrickColor.new("Pastel light blue")
  1278. arm3p7.Material="Sand"
  1279. arm3p7.TopSurface="Smooth"
  1280. arm3p7.BottomSurface="Smooth"
  1281. arm3p7.RightSurface="Smooth"
  1282. arm3p7.LeftSurface="Smooth"
  1283. arm3p7w=Instance.new("Weld",Character)
  1284. arm3p7w.Part0=arm3p
  1285. arm3p7w.Part1=arm3p7
  1286. arm3p7w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  1287.  
  1288. arm3p7mesh = Instance.new("FileMesh",arm3p7)
  1289. arm3p7mesh.MeshId = "http://www.roblox.com/asset/?id=9756362"
  1290. arm3p7mesh.Scale = Vector3.new(5,10,5)
  1291.  
  1292. arm3hitbox=Instance.new("Part",Character)
  1293. arm3hitbox.FormFactor="Custom"
  1294. arm3hitbox.Size=Vector3.new(5,5,5)
  1295. arm3hitbox.Transparency=1
  1296. arm3hitbox.CanCollide=false
  1297. arm3hitbox.BrickColor = BrickColor.new("Institutional white")
  1298. arm3hitbox.Material="Sand"
  1299. arm3hitbox.TopSurface="Smooth"
  1300. arm3hitbox.BottomSurface="Smooth"
  1301. arm3hitbox.RightSurface="Smooth"
  1302. arm3hitbox.LeftSurface="Smooth"
  1303. arm3hitboxw=Instance.new("Weld",Character)
  1304. arm3hitboxw.Part0=arm3p6
  1305. arm3hitboxw.Part1=arm3hitbox
  1306. arm3hitboxw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1307. --------------------------------------------------------------
  1308. Arm = Instance.new("Model",Character)
  1309. Arm.Name = "Arm 1"
  1310.  
  1311. arm4p=Instance.new("Part",Character)
  1312. arm4p.FormFactor="Custom"
  1313. arm4p.Size=Vector3.new(.2,.2,.2)
  1314. arm4p.Transparency=1
  1315. arm4p.CanCollide=false
  1316. arm4p.BrickColor = BrickColor.new("Institutional white")
  1317. arm4p.Material="Sand"
  1318. arm4p.TopSurface="Smooth"
  1319. arm4p.BottomSurface="Smooth"
  1320. arm4p.RightSurface="Smooth"
  1321. arm4p.LeftSurface="Smooth"
  1322. arm4pw=Instance.new("Weld",Character)
  1323. arm4pw.Part0=Character["Right Arm"]
  1324. arm4pw.Part1=arm4p
  1325. arm4pw.C0=CFrame.new(0,-5,0)*CFrame.Angles(0,math.rad(0),math.rad(90))
  1326.  
  1327. arm4pmesh = Instance.new("SpecialMesh",arm4p)
  1328. arm4pmesh.MeshType = "Sphere"
  1329. arm4pmesh.Scale = Vector3.new(40,20,40)
  1330.  
  1331. local particleemitter2 = Instance.new("ParticleEmitter", arm4p)
  1332. particleemitter2.VelocitySpread = 180
  1333. particleemitter2.Lifetime = NumberRange.new(1)
  1334. particleemitter2.Speed = NumberRange.new(10)
  1335. particleemitter2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1336. particleemitter2.RotSpeed = NumberRange.new(-180, 180)
  1337. particleemitter2.Rotation = NumberRange.new(-360, 360)
  1338. particleemitter2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1339. particleemitter2.LightEmission = 1
  1340. particleemitter2.Texture = "http://www.roblox.com/asset/?id=320043786"
  1341. particleemitter2.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  1342. particleemitter2.Enabled = false
  1343.  
  1344. arm4p2=Instance.new("Part",Character)
  1345. arm4p2.FormFactor="Custom"
  1346. arm4p2.Size=Vector3.new(.2,.2,.2)
  1347. arm4p2.Transparency=0
  1348. arm4p2.CanCollide=false
  1349. arm4p2.BrickColor = BrickColor.new("Institutional white")
  1350. arm4p2.Material="Sand"
  1351. arm4p2.TopSurface="Smooth"
  1352. arm4p2.BottomSurface="Smooth"
  1353. arm4p2.RightSurface="Smooth"
  1354. arm4p2.LeftSurface="Smooth"
  1355. arm4p2w=Instance.new("Weld",Character)
  1356. arm4p2w.Part0=arm4p
  1357. arm4p2w.Part1=arm4p2
  1358. arm4p2w.C0=CFrame.new(0,3,0)*CFrame.Angles(0,math.rad(90),math.rad(-90))
  1359.  
  1360. arm4p2mesh = Instance.new("SpecialMesh",arm4p2)
  1361. arm4p2mesh.MeshType = "Cylinder"
  1362. arm4p2mesh.Scale = Vector3.new(30,20,30)
  1363.  
  1364. local particleemitter3 = Instance.new("ParticleEmitter", arm4p2)
  1365. particleemitter3.VelocitySpread = 180
  1366. particleemitter3.Lifetime = NumberRange.new(1)
  1367. particleemitter3.Speed = NumberRange.new(10)
  1368. particleemitter3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1369. particleemitter3.RotSpeed = NumberRange.new(-180, 180)
  1370. particleemitter3.Rotation = NumberRange.new(-360, 360)
  1371. particleemitter3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1372. particleemitter3.LightEmission = 1
  1373. particleemitter3.Texture = "http://www.roblox.com/asset/?id=320043786"
  1374. particleemitter3.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  1375. particleemitter3.Enabled = false
  1376.  
  1377. arm4p3=Instance.new("Part",Character)
  1378. arm4p3.FormFactor="Custom"
  1379. arm4p3.Size=Vector3.new(.2,.2,.2)
  1380. arm4p3.Transparency=0
  1381. arm4p3.CanCollide=false
  1382. arm4p3.BrickColor = BrickColor.new("Institutional white")
  1383. arm4p3.Material="Sand"
  1384. arm4p3.TopSurface="Smooth"
  1385. arm4p3.BottomSurface="Smooth"
  1386. arm4p3.RightSurface="Smooth"
  1387. arm4p3.LeftSurface="Smooth"
  1388. arm4p3w=Instance.new("Weld",Character)
  1389. arm4p3w.Part0=arm4p2
  1390. arm4p3w.Part1=arm4p3
  1391. arm4p3w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  1392.  
  1393. arm4p3mesh = Instance.new("SpecialMesh",arm4p3)
  1394. arm4p3mesh.MeshType = "Sphere"
  1395. arm4p3mesh.Scale = Vector3.new(22.5,22.5,22.5)
  1396.  
  1397. local particleemitter4 = Instance.new("ParticleEmitter", arm4p3)
  1398. particleemitter4.VelocitySpread = 180
  1399. particleemitter4.Lifetime = NumberRange.new(1)
  1400. particleemitter4.Speed = NumberRange.new(10)
  1401. particleemitter4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1402. particleemitter4.RotSpeed = NumberRange.new(-180, 180)
  1403. particleemitter4.Rotation = NumberRange.new(-360, 360)
  1404. particleemitter4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1405. particleemitter4.LightEmission = 1
  1406. particleemitter4.Texture = "http://www.roblox.com/asset/?id=320043786"
  1407. particleemitter4.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  1408. particleemitter4.Enabled = false
  1409.  
  1410. arm4p4=Instance.new("Part",Character)
  1411. arm4p4.FormFactor="Custom"
  1412. arm4p4.Size=Vector3.new(.2,.2,.2)
  1413. arm4p4.Transparency=0
  1414. arm4p4.CanCollide=false
  1415. arm4p4.BrickColor = BrickColor.new("Institutional white")
  1416. arm4p4.Material="Sand"
  1417. arm4p4.TopSurface="Smooth"
  1418. arm4p4.BottomSurface="Smooth"
  1419. arm4p4.RightSurface="Smooth"
  1420. arm4p4.LeftSurface="Smooth"
  1421. arm4p4w=Instance.new("Weld",Character)
  1422. arm4p4w.Part0=arm4p3
  1423. arm4p4w.Part1=arm4p4
  1424. arm4p4w.C0=CFrame.new(-3,3,0)*CFrame.Angles(0,math.rad(0),math.rad(-45))
  1425.  
  1426. arm4p4mesh = Instance.new("SpecialMesh",arm4p4)
  1427. arm4p4mesh.MeshType = "Cylinder"
  1428. arm4p4mesh.Scale = Vector3.new(30,20,30)
  1429.  
  1430. local particleemitter5 = Instance.new("ParticleEmitter", arm4p4)
  1431. particleemitter5.VelocitySpread = 180
  1432. particleemitter5.Lifetime = NumberRange.new(1)
  1433. particleemitter5.Speed = NumberRange.new(10)
  1434. particleemitter5.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1435. particleemitter5.RotSpeed = NumberRange.new(-180, 180)
  1436. particleemitter5.Rotation = NumberRange.new(-360, 360)
  1437. particleemitter5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1438. particleemitter5.LightEmission = 1
  1439. particleemitter5.Texture = "http://www.roblox.com/asset/?id=320043786"
  1440. particleemitter5.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  1441. particleemitter5.Enabled = false
  1442.  
  1443. arm4p5=Instance.new("Part",Character)
  1444. arm4p5.FormFactor="Custom"
  1445. arm4p5.Size=Vector3.new(.2,.2,.2)
  1446. arm4p5.Transparency=0
  1447. arm4p5.CanCollide=false
  1448. arm4p5.BrickColor = BrickColor.new("Institutional white")
  1449. arm4p5.Material="Sand"
  1450. arm4p5.TopSurface="Smooth"
  1451. arm4p5.BottomSurface="Smooth"
  1452. arm4p5.RightSurface="Smooth"
  1453. arm4p5.LeftSurface="Smooth"
  1454. arm4p5w=Instance.new("Weld",Character)
  1455. arm4p5w.Part0=arm4p4
  1456. arm4p5w.Part1=arm4p5
  1457. arm4p5w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  1458.  
  1459. arm4p5mesh = Instance.new("SpecialMesh",arm4p5)
  1460. arm4p5mesh.MeshType = "Sphere"
  1461. arm4p5mesh.Scale = Vector3.new(30,30,30)
  1462.  
  1463. local particleemitter6 = Instance.new("ParticleEmitter", arm4p5)
  1464. particleemitter6.VelocitySpread = 180
  1465. particleemitter6.Lifetime = NumberRange.new(1)
  1466. particleemitter6.Speed = NumberRange.new(10)
  1467. particleemitter6.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1468. particleemitter6.RotSpeed = NumberRange.new(-180, 180)
  1469. particleemitter6.Rotation = NumberRange.new(-360, 360)
  1470. particleemitter6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1471. particleemitter6.LightEmission = 1
  1472. particleemitter6.Texture = "http://www.roblox.com/asset/?id=320043786"
  1473. particleemitter6.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  1474. particleemitter6.Enabled = false
  1475.  
  1476. arm4p6=Instance.new("Part",Character)
  1477. arm4p6.FormFactor="Custom"
  1478. arm4p6.Size=Vector3.new(.2,.2,.2)
  1479. arm4p6.Transparency=0
  1480. arm4p6.CanCollide=false
  1481. arm4p6.BrickColor = BrickColor.new("Institutional white")
  1482. arm4p6.Material="Sand"
  1483. arm4p6.TopSurface="Smooth"
  1484. arm4p6.BottomSurface="Smooth"
  1485. arm4p6.RightSurface="Smooth"
  1486. arm4p6.LeftSurface="Smooth"
  1487. arm4p6w=Instance.new("Weld",Character)
  1488. arm4p6w.Part0=arm4p5
  1489. arm4p6w.Part1=arm4p6
  1490. arm4p6w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  1491.  
  1492. arm4p6mesh = Instance.new("FileMesh",arm4p6)
  1493. arm4p6mesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  1494. arm4p6mesh.Scale = Vector3.new(3.15,3.15,3.15)
  1495.  
  1496. arm4p7=Instance.new("Part",Character)
  1497. arm4p7.FormFactor="Custom"
  1498. arm4p7.Size=Vector3.new(.2,.2,.2)
  1499. arm4p7.Transparency=0
  1500. arm4p7.CanCollide=false
  1501. arm4p7.BrickColor = BrickColor.new("Pastel light blue")
  1502. arm4p7.Material="Sand"
  1503. arm4p7.TopSurface="Smooth"
  1504. arm4p7.BottomSurface="Smooth"
  1505. arm4p7.RightSurface="Smooth"
  1506. arm4p7.LeftSurface="Smooth"
  1507. arm4p7w=Instance.new("Weld",Character)
  1508. arm4p7w.Part0=arm4p
  1509. arm4p7w.Part1=arm4p7
  1510. arm4p7w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  1511.  
  1512. arm4p7mesh = Instance.new("FileMesh",arm4p7)
  1513. arm4p7mesh.MeshId = "http://www.roblox.com/asset/?id=9756362"
  1514. arm4p7mesh.Scale = Vector3.new(5,10,5)
  1515.  
  1516. arm4hitbox=Instance.new("Part",Character)
  1517. arm4hitbox.FormFactor="Custom"
  1518. arm4hitbox.Size=Vector3.new(5,5,5)
  1519. arm4hitbox.Transparency=1
  1520. arm4hitbox.CanCollide=false
  1521. arm4hitbox.BrickColor = BrickColor.new("Institutional white")
  1522. arm4hitbox.Material="Sand"
  1523. arm4hitbox.TopSurface="Smooth"
  1524. arm4hitbox.BottomSurface="Smooth"
  1525. arm4hitbox.RightSurface="Smooth"
  1526. arm4hitbox.LeftSurface="Smooth"
  1527. arm4hitboxw=Instance.new("Weld",Character)
  1528. arm4hitboxw.Part0=arm4p6
  1529. arm4hitboxw.Part1=arm4hitbox
  1530. arm4hitboxw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1531. --------------------------------------------------------------
  1532. local function weldBetween(a, b)
  1533. local weldd = Instance.new("ManualWeld")
  1534. weldd.Part0 = a
  1535. weldd.Part1 = b
  1536. weldd.C0 = CFrame.new()
  1537. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1538. weldd.Parent = a
  1539. return weldd
  1540. end
  1541.  
  1542. function swait(num)
  1543. if num==0 or num==nil then
  1544. game:service'RunService'.Stepped:wait(0)
  1545. else
  1546. for i=0,num do
  1547. game:service'RunService'.Stepped:wait(0)
  1548. end
  1549. end
  1550. end
  1551.  
  1552. function nooutline(part)
  1553. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  1554. end
  1555.  
  1556. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  1557. local fp=it("Part")
  1558. fp.formFactor=formfactor
  1559. fp.Parent=parent
  1560. fp.Reflectance=reflectance
  1561. fp.Transparency=transparency
  1562. fp.CanCollide=false
  1563. fp.Locked=true
  1564. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  1565. fp.Name=name
  1566. fp.Size=size
  1567. fp.Position=Character.Torso.Position
  1568. nooutline(fp)
  1569. fp.Material=material
  1570. fp:BreakJoints()
  1571. return fp
  1572. end
  1573.  
  1574. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1575. local mesh=it(Mesh)
  1576. mesh.Parent=part
  1577. if Mesh=="SpecialMesh" then
  1578. mesh.MeshType=meshtype
  1579. mesh.MeshId=meshid
  1580. end
  1581. mesh.Offset=offset
  1582. mesh.Scale=scale
  1583. return mesh
  1584. end
  1585.  
  1586. function weld(parent,part0,part1,c0,c1)
  1587. local weld=it("Weld")
  1588. weld.Parent=parent
  1589. weld.Part0=part0
  1590. weld.Part1=part1
  1591. weld.C0=c0
  1592. weld.C1=c1
  1593. return weld
  1594. end
  1595.  
  1596.  
  1597. local function CFrameFromTopBack(at, top, back)
  1598. local right = top:Cross(back)
  1599. return CFrame.new(at.x, at.y, at.z,
  1600. right.x, top.x, back.x,
  1601. right.y, top.y, back.y,
  1602. right.z, top.z, back.z)
  1603. end
  1604.  
  1605. function Triangle(a, b, c)
  1606. local edg1 = (c-a):Dot((b-a).unit)
  1607. local edg2 = (a-b):Dot((c-b).unit)
  1608. local edg3 = (b-c):Dot((a-c).unit)
  1609. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1610. a, b, c = a, b, c
  1611. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1612. a, b, c = b, c, a
  1613. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1614. a, b, c = c, a, b
  1615. else
  1616. assert(false, "unreachable")
  1617. end
  1618.  
  1619. local len1 = (c-a):Dot((b-a).unit)
  1620. local len2 = (b-a).magnitude - len1
  1621. local width = (a + (b-a).unit*len1 - c).magnitude
  1622.  
  1623. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1624.  
  1625. local list = {}
  1626.  
  1627. local TrailColor = ("Institutional white")
  1628.  
  1629. if len1 > 0.01 then
  1630. local w1 = Instance.new('WedgePart', m)
  1631. game:GetService("Debris"):AddItem(w1,5)
  1632. w1.Material = "SmoothPlastic"
  1633. w1.FormFactor = 'Custom'
  1634. w1.BrickColor = BrickColor.new(TrailColor)
  1635. w1.Transparency = 0
  1636. w1.Reflectance = 0
  1637. w1.Material = "SmoothPlastic"
  1638. w1.CanCollide = false
  1639. NoOutline(w1)
  1640. local sz = Vector3.new(0.2, width, len1)
  1641. w1.Size = sz
  1642. local sp = Instance.new("SpecialMesh",w1)
  1643. sp.MeshType = "Wedge"
  1644. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1645. w1:BreakJoints()
  1646. w1.Anchored = true
  1647. w1.Parent = workspace
  1648. w1.Transparency = 0.7
  1649. table.insert(Effects,{w1,"Disappear",.01})
  1650. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1651. table.insert(list,w1)
  1652. end
  1653.  
  1654. if len2 > 0.01 then
  1655. local w2 = Instance.new('WedgePart', m)
  1656. game:GetService("Debris"):AddItem(w2,5)
  1657. w2.Material = "SmoothPlastic"
  1658. w2.FormFactor = 'Custom'
  1659. w2.BrickColor = BrickColor.new("Institutional white")
  1660. w2.Transparency = 0
  1661. w2.Reflectance = 0
  1662. w2.Material = "SmoothPlastic"
  1663. w2.CanCollide = false
  1664. NoOutline(w2)
  1665. local sz = Vector3.new(0.2, width, len2)
  1666. w2.Size = sz
  1667. local sp = Instance.new("SpecialMesh",w2)
  1668. sp.MeshType = "Wedge"
  1669. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1670. w2:BreakJoints()
  1671. w2.Anchored = true
  1672. w2.Parent = workspace
  1673. w2.Transparency = 0.7
  1674. table.insert(Effects,{w2,"Disappear",.01})
  1675. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1676. table.insert(list,w2)
  1677. end
  1678. return unpack(list)
  1679. end
  1680.  
  1681.  
  1682. so = function(id,par,vol,pit)
  1683. coroutine.resume(coroutine.create(function()
  1684. local sou = Instance.new("Sound",par or workspace)
  1685. sou.Volume=vol
  1686. sou.Pitch=pit or 1
  1687. sou.SoundId=id
  1688. swait()
  1689. sou:play()
  1690. game:GetService("Debris"):AddItem(sou,6)
  1691. end))
  1692. end
  1693.  
  1694. function clerp(a,b,t)
  1695. local qa = {QuaternionFromCFrame(a)}
  1696. local qb = {QuaternionFromCFrame(b)}
  1697. local ax, ay, az = a.x, a.y, a.z
  1698. local bx, by, bz = b.x, b.y, b.z
  1699. local _t = 1-t
  1700. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1701. end
  1702.  
  1703. function QuaternionFromCFrame(cf)
  1704. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1705. local trace = m00 + m11 + m22
  1706. if trace > 0 then
  1707. local s = math.sqrt(1 + trace)
  1708. local recip = 0.5/s
  1709. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1710. else
  1711. local i = 0
  1712. if m11 > m00 then
  1713. i = 1
  1714. end
  1715. if m22 > (i == 0 and m00 or m11) then
  1716. i = 2
  1717. end
  1718. if i == 0 then
  1719. local s = math.sqrt(m00-m11-m22+1)
  1720. local recip = 0.5/s
  1721. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1722. elseif i == 1 then
  1723. local s = math.sqrt(m11-m22-m00+1)
  1724. local recip = 0.5/s
  1725. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1726. elseif i == 2 then
  1727. local s = math.sqrt(m22-m00-m11+1)
  1728. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1729. end
  1730. end
  1731. end
  1732.  
  1733. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1734. local xs, ys, zs = x + x, y + y, z + z
  1735. local wx, wy, wz = w*xs, w*ys, w*zs
  1736. local xx = x*xs
  1737. local xy = x*ys
  1738. local xz = x*zs
  1739. local yy = y*ys
  1740. local yz = y*zs
  1741. local zz = z*zs
  1742. 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))
  1743. end
  1744.  
  1745. function QuaternionSlerp(a, b, t)
  1746. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1747. local startInterp, finishInterp;
  1748. if cosTheta >= 0.0001 then
  1749. if (1 - cosTheta) > 0.0001 then
  1750. local theta = math.acos(cosTheta)
  1751. local invSinTheta = 1/math.sin(theta)
  1752. startInterp = math.sin((1-t)*theta)*invSinTheta
  1753. finishInterp = math.sin(t*theta)*invSinTheta
  1754. else
  1755. startInterp = 1-t
  1756. finishInterp = t
  1757. end
  1758. else
  1759. if (1+cosTheta) > 0.0001 then
  1760. local theta = math.acos(-cosTheta)
  1761. local invSinTheta = 1/math.sin(theta)
  1762. startInterp = math.sin((t-1)*theta)*invSinTheta
  1763. finishInterp = math.sin(t*theta)*invSinTheta
  1764. else
  1765. startInterp = t-1
  1766. finishInterp = t
  1767. end
  1768. end
  1769. 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
  1770. end
  1771.  
  1772. --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)
  1773.  
  1774.  
  1775. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1776. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1777. end
  1778.  
  1779. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  1780. if hit.Parent==nil then
  1781. return
  1782. end
  1783. h=hit.Parent:FindFirstChild("Humanoid")
  1784. for _,v in pairs(hit.Parent:children()) do
  1785. if v:IsA("Humanoid") then
  1786. h=v
  1787. end
  1788. end
  1789. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  1790. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  1791. end
  1792. if hit.Parent.className=="Hat" then
  1793. hit=hit.Parent.Parent:findFirstChild("Head")
  1794. end
  1795. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1796. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  1797. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1798. return
  1799. end]]
  1800. -- hs(hit,1.2)
  1801. c=Instance.new("ObjectValue")
  1802. c.Name="creator"
  1803. c.Value=game:service("Players").LocalPlayer
  1804. c.Parent=h
  1805. game:GetService("Debris"):AddItem(c,.5)
  1806. Damage=math.random(minim,maxim)
  1807. -- h:TakeDamage(Damage)
  1808. blocked=false
  1809. block=hit.Parent:findFirstChild("Block")
  1810. if block~=nil then
  1811. print(block.className)
  1812. if block.className=="NumberValue" then
  1813. if block.Value>0 then
  1814. blocked=true
  1815. if decreaseblock==nil then
  1816. block.Value=block.Value-1
  1817. end
  1818. end
  1819. end
  1820. if block.className=="IntValue" then
  1821. if block.Value>0 then
  1822. blocked=true
  1823. if decreaseblock~=nil then
  1824. block.Value=block.Value-1
  1825. end
  1826. end
  1827. end
  1828. end
  1829. if blocked==false then
  1830. -- h:TakeDamage(Damage)
  1831. h.Health=h.Health-Damage
  1832. showDamage(hit.Parent,Damage,.5,BrickColor.new("New Yeller"))
  1833. else
  1834. h.Health=h.Health-(Damage/2)
  1835. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright red"))
  1836. end
  1837. if Type=="Knockdown" then
  1838. hum=hit.Parent.Humanoid
  1839. hum.PlatformStand=true
  1840. coroutine.resume(coroutine.create(function(HHumanoid)
  1841. swait(1)
  1842. HHumanoid.PlatformStand=false
  1843. end),hum)
  1844. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  1845. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  1846. local bodvol=Instance.new("BodyVelocity")
  1847. bodvol.velocity=angle*knockback
  1848. bodvol.P=5000
  1849. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1850. bodvol.Parent=hit
  1851. rl=Instance.new("BodyAngularVelocity")
  1852. rl.P=3000
  1853. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1854. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1855. rl.Parent=hit
  1856. game:GetService("Debris"):AddItem(bodvol,.5)
  1857. game:GetService("Debris"):AddItem(rl,.5)
  1858. elseif Type=="Normal" then
  1859. so("http://www.roblox.com/asset/?id=220834019",hit,1,math.random(80,120)/100)
  1860. vp=Instance.new("BodyVelocity")
  1861. vp.P=500
  1862. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1863. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1864. if KnockbackType==1 then
  1865. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  1866. elseif KnockbackType==2 then
  1867. vp.velocity=Property.CFrame.lookVector*knockback
  1868. end
  1869. if knockback>0 then
  1870. vp.Parent=hit.Parent.Torso
  1871. end
  1872. game:GetService("Debris"):AddItem(vp,.5)
  1873. elseif Type=="Up" then
  1874. local bodyVelocity=Instance.new("BodyVelocity")
  1875. bodyVelocity.velocity=vt(0,60,0)
  1876. bodyVelocity.P=5000
  1877. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1878. bodyVelocity.Parent=hit
  1879. game:GetService("Debris"):AddItem(bodyVelocity,1)
  1880. rl=Instance.new("BodyAngularVelocity")
  1881. rl.P=3000
  1882. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1883. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  1884. rl.Parent=hit
  1885. game:GetService("Debris"):AddItem(rl,.5)
  1886. elseif Type=="Snare" then
  1887. bp=Instance.new("BodyPosition")
  1888. bp.P=2000
  1889. bp.D=100
  1890. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1891. bp.position=hit.Parent.Torso.Position
  1892. bp.Parent=hit.Parent.Torso
  1893. game:GetService("Debris"):AddItem(bp,1)
  1894. elseif Type=="Target" then
  1895. if Targetting==false then
  1896. ZTarget=hit.Parent.Torso
  1897. coroutine.resume(coroutine.create(function(Part)
  1898. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1899. swait(5)
  1900. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1901. end),ZTarget)
  1902. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  1903. targetgui=Instance.new("BillboardGui")
  1904. targetgui.Parent=ZTarget
  1905. targetgui.Size=UDim2.new(10,100,10,100)
  1906. targ=Instance.new("ImageLabel")
  1907. targ.Parent=targetgui
  1908. targ.BackgroundTransparency=1
  1909. targ.Image="rbxassetid://4834067"
  1910. targ.Size=UDim2.new(1,0,1,0)
  1911. cam.CameraType="Scriptable"
  1912. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1913. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1914. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1915. Targetting=true
  1916. RocketTarget=ZTarget
  1917. for i=1,Property do
  1918. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  1919. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  1920. swait()
  1921. end
  1922. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  1923. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1924. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1925. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  1926. end
  1927. Targetting=false
  1928. RocketTarget=nil
  1929. targetgui.Parent=nil
  1930. cam.CameraType="Custom"
  1931. end
  1932. end
  1933. debounce=Instance.new("BoolValue")
  1934. debounce.Name="DebounceHit"
  1935. debounce.Parent=hit.Parent
  1936. debounce.Value=true
  1937. game:GetService("Debris"):AddItem(debounce,Delay)
  1938. c=Instance.new("ObjectValue")
  1939. c.Name="creator"
  1940. c.Value=Player
  1941. c.Parent=h
  1942. game:GetService("Debris"):AddItem(c,.5)
  1943. CRIT=false
  1944. hitDeb=true
  1945. AttackPos=6
  1946. end
  1947. end
  1948.  
  1949. showDamage=function(Char,Dealt,du,Color)
  1950. m=Instance.new("Model")
  1951. m.Name=tostring(Dealt)
  1952. h=Instance.new("Humanoid")
  1953. h.Health=0
  1954. h.MaxHealth=0
  1955. h.Parent=m
  1956. c=Instance.new("Part")
  1957. c.Transparency=1
  1958. c.BrickColor=BrickColor.new("Bright red")
  1959. c.Name="Head"
  1960. c.TopSurface=0
  1961. c.BottomSurface=0
  1962. c.formFactor="Plate"
  1963. c.Size=Vector3.new(1,.4,1)
  1964. ms=Instance.new("CylinderMesh")
  1965. ms.Scale=Vector3.new(.8,.8,.8)
  1966. if CRIT==true then
  1967. ms.Scale=Vector3.new(1,1.25,1)
  1968. end
  1969. ms.Parent=c
  1970. c.Reflectance=0
  1971. Instance.new("BodyGyro").Parent=c
  1972. c.Parent=m
  1973. if Char:findFirstChild("Head")~=nil then
  1974. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1975. elseif Char.Parent:findFirstChild("Head")~=nil then
  1976. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1977. end
  1978. f=Instance.new("BodyPosition")
  1979. f.P=2000
  1980. f.D=100
  1981. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1982. f.position=c.Position+Vector3.new(0,3,0)
  1983. f.Parent=c
  1984. game:GetService("Debris"):AddItem(m,.5+du)
  1985. c.CanCollide=false
  1986. m.Parent=workspace
  1987. c.CanCollide=false
  1988. end
  1989.  
  1990. function Shockwave2(brickcolor, cframe, x1, y1, z1, x2, y2, z2, delay)
  1991. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1992. prt.Anchored = true
  1993. prt.CFrame = cframe
  1994. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  1995. coroutine.resume(coroutine.create(function()
  1996. for i = 0, 1, delay do
  1997. swait()
  1998. prt.Transparency = i
  1999. msh.Scale = msh.Scale + vt(x2, y2, z2)
  2000. end
  2001. prt.Parent = nil
  2002. end))
  2003. end
  2004.  
  2005. function attackone()
  2006. attack=true
  2007. for i=0,1,0.04 do
  2008. swait()
  2009. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(-30)),.1)
  2010. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2011. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2)
  2012. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2)
  2013. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2014. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2015. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  2016. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,4)*angles(math.rad(60),math.rad(90),math.rad(-90)),0.2)
  2017. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2018. arm1p4w.C0=clerp(arm1p4w.C0,cf(1.5,3,0)*angles(math.rad(0),math.rad(0),math.rad(-120)),0.2)
  2019. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2020. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2021. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.2)
  2022. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  2023. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2024. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  2025. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2026. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  2027. end
  2028. so("http://www.roblox.com/asset/?id=203691467",arm1hitbox,1,1)
  2029. con1=arm1hitbox.Touched:connect(function(hit) Damagefunc(hit,60,80,math.random(60,80),"Normal",RootPart,.2,1) end)
  2030.  
  2031. for i=0,1,0.2 do
  2032. swait()
  2033. Shockwave(BrickColor.new("Institutional white"),cf(arm1hitbox.Position),1,1,1,1,1,1,0.075)
  2034.  
  2035. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(30)),.2)
  2036. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2037. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.3)
  2038. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-130)), 0.2)
  2039. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2040. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2041. arm1pw.C0=clerp(arm1pw.C0,cf(-2.5,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2042. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,-4)*angles(math.rad(-60),math.rad(90),math.rad(-90)),0.3)
  2043. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2044. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2045. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2046. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2047. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.2)
  2048. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  2049. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2050. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  2051. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2052. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  2053. end
  2054. for i=0,1,0.04 do
  2055. swait()
  2056. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(30)),.2)
  2057. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2058. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.3)
  2059. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-130)), 0.2)
  2060. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2061. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2062. arm1pw.C0=clerp(arm1pw.C0,cf(-2.5,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2063. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,-4)*angles(math.rad(-60),math.rad(90),math.rad(-90)),0.3)
  2064. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2065. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2066. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2067. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2068. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.2)
  2069. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  2070. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2071. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  2072. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2073. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  2074. end
  2075. con1:disconnect()
  2076. attack=false
  2077. end
  2078.  
  2079. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2080. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2081. end
  2082.  
  2083. function attacktwo()
  2084. attack=true
  2085. for i=0,1,0.04 do
  2086. swait()
  2087. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12)*angles(math.rad(-20),math.rad(0),math.rad(20)),.1)
  2088. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2089. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2)
  2090. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2)
  2091. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2092. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2093. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  2094. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  2095. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2096. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  2097. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2098. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2099. arm2pw.C0=clerp(arm2pw.C0,cf(0,-2.5,0)*angles(math.rad(0),math.rad(120),math.rad(-90)),0.2)
  2100. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  2101. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2102. arm2p4w.C0=clerp(arm2p4w.C0,cf(-1,3,0)*angles(math.rad(0),math.rad(0),math.rad(-75)),0.2)
  2103. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2104. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  2105. end
  2106. so("http://www.roblox.com/asset/?id=203691467",arm1hitbox,1,0.8)
  2107. con1=arm2hitbox.Touched:connect(function(hit) Damagefunc(hit,60,80,math.random(60,80),"Normal",RootPart,.2,1) end)
  2108. for i=0,1,0.2 do
  2109. swait()
  2110. Shockwave(BrickColor.new("Institutional white"),cf(arm2hitbox.Position),1,1,1,1,1,1,0.075)
  2111. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(20),math.rad(0),math.rad(-45)),.2)
  2112. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2113. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2)
  2114. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2)
  2115. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2116. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2117. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  2118. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  2119. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2120. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  2121. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2122. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2123. arm2pw.C0=clerp(arm2pw.C0,cf(1.5,-3.5,-5)*angles(math.rad(-30),math.rad(0),math.rad(-90)),0.3)
  2124. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.3)
  2125. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2126. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2127. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2128. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2129. end
  2130. Humanoid.WalkSpeed = 0
  2131. local hit,pos=rayCast(arm2hitbox.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
  2132. if hit~=nil then
  2133. swait()
  2134. print("touched")
  2135. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Institutional white"),"Effect",vt())
  2136. ref.Anchored=true
  2137. ref.CFrame=cf(pos)
  2138. game:GetService("Debris"):AddItem(ref,3)
  2139. so("http://www.roblox.com/asset/?id=199145477",arm2hitbox,1,math.random(60,140)/100)
  2140. Shockwave2(BrickColor.new("Institutional white"),cf(pos),0.1,0.1,0.1,1,1,1,0.05)
  2141. end
  2142. for i=0,1,0.04 do
  2143. swait()
  2144. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(20),math.rad(0),math.rad(-45)),.2)
  2145. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2146. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2)
  2147. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2)
  2148. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2149. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2150. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  2151. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  2152. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2153. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  2154. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2155. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2156. arm2pw.C0=clerp(arm2pw.C0,cf(1.5,-3.5,-5)*angles(math.rad(-20),math.rad(0),math.rad(-90)),0.3)
  2157. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.3)
  2158. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2159. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2160. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2161. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2162. end
  2163. Humanoid.WalkSpeed = 64
  2164. con1:disconnect()
  2165. attack=false
  2166. end
  2167.  
  2168. function attackthree()
  2169. attack=true
  2170. for i=0,1,0.04 do
  2171. swait()
  2172. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(-30)),.1)
  2173. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2174. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2)
  2175. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2)
  2176. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2177. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2178.  
  2179. arm3pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(180),math.rad(0),math.rad(-90)),0.2) + Vector3.new(-5,-10,0)
  2180. arm3p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(180),math.rad(0),math.rad(-90)),0.2)
  2181. arm3p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(180),math.rad(0),math.rad(0)),0.2)
  2182. arm3p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(180),math.rad(0),math.rad(-45)),0.2)
  2183. arm3p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(180),math.rad(0),math.rad(0)),0.2)
  2184. arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(180),math.rad(0),math.rad(90)),0.2)
  2185. end
  2186. so("http://www.roblox.com/asset/?id=203691467",arm3hitbox,1,1)
  2187. con1=arm3hitbox.Touched:connect(function(hit) Damagefunc(hit,60,80,math.random(60,80),"Normal",RootPart,.2,1) end)
  2188.  
  2189. for i=0,1,0.2 do
  2190. swait()
  2191. Shockwave(BrickColor.new("Institutional white"),cf(arm3hitbox.Position),1,1,1,1,1,1,0.075)
  2192. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(30)),.2)
  2193. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2194. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.3)
  2195. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-130)), 0.2)
  2196. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2197. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2198.  
  2199. arm3pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(180),math.rad(0),math.rad(-90)),0.2) + Vector3.new(-5,-10,0)
  2200. arm3p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(180),math.rad(0),math.rad(-90)),0.2)
  2201. arm3p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(180),math.rad(080),math.rad(0)),0.2)
  2202. arm3p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(180),math.rad(0),math.rad(-45)),0.2)
  2203. arm3p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(180),math.rad(0),math.rad(0)),0.2)
  2204. arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(180),math.rad(0),math.rad(90)),0.2)
  2205. end
  2206. for i=0,1,0.04 do
  2207. swait()
  2208. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(30)),.2)
  2209. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2210. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.3)
  2211. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-130)), 0.2)
  2212. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2213. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2214.  
  2215. arm3pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(180),math.rad(0),math.rad(-90)),0.2) + Vector3.new(-5,-10,0)
  2216. arm3p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(180),math.rad(0),math.rad(-90)),0.2)
  2217. arm3p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(180),math.rad(0),math.rad(0)),0.2)
  2218. arm3p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(180),math.rad(0),math.rad(-45)),0.2)
  2219. arm3p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(180),math.rad(0),math.rad(0)),0.2)
  2220. arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(180),math.rad(0),math.rad(90)),0.2)
  2221. end
  2222. con1:disconnect()
  2223. attack=false
  2224. end
  2225.  
  2226. function attackfour()
  2227. attack=true
  2228. for i=0,1,0.04 do
  2229. swait()
  2230. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(-30)),.1)
  2231. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2232. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2)
  2233. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2)
  2234. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2235. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2236.  
  2237. arm4pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(-90),math.rad(0),math.rad(90)),0.2) + Vector3.new(5,-10,0)
  2238. arm4p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(-90),math.rad(0),math.rad(-90)),0.2)
  2239. arm4p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(360),math.rad(0),math.rad(0)),0.2)
  2240. arm4p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(-90),math.rad(0),math.rad(-45)),0.2)
  2241. arm4p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(-90),math.rad(0),math.rad(0)),0.2)
  2242. arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(-90),math.rad(0),math.rad(0)),0.2)
  2243.  
  2244. end
  2245. so("http://www.roblox.com/asset/?id=203691467",arm4hitbox,1,1)
  2246. con1=arm4hitbox.Touched:connect(function(hit) Damagefunc(hit,60,80,math.random(60,80),"Normal",RootPart,.2,1) end)
  2247.  
  2248. for i=0,1,0.2 do
  2249. swait()
  2250. Shockwave(BrickColor.new("Institutional white"),cf(arm4hitbox.Position),1,1,1,1,1,1,0.075)
  2251. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(30)),.2)
  2252. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2253. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.3)
  2254. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-130)), 0.2)
  2255. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2256. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2257.  
  2258. arm4pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(-90),math.rad(0),math.rad(90)),0.2) + Vector3.new(5,-10,0)
  2259. arm4p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(-90),math.rad(0),math.rad(-90)),0.2)
  2260. arm4p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(-90),math.rad(0),math.rad(0)),0.2)
  2261. arm4p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(-90),math.rad(0),math.rad(-45)),0.2)
  2262. arm4p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(-90),math.rad(0),math.rad(0)),0.2)
  2263. arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(-90),math.rad(0),math.rad(0)),0.2)
  2264.  
  2265. end
  2266. for i=0,1,0.04 do
  2267. swait()
  2268. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(30)),.2)
  2269. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2270. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.3)
  2271. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-130)), 0.2)
  2272. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2273. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2274.  
  2275. arm4pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(-90),math.rad(0),math.rad(90)),0.2) + Vector3.new(5,-10,0)
  2276. arm4p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(-90),math.rad(0),math.rad(-90)),0.2)
  2277. arm4p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(-90),math.rad(0),math.rad(0)),0.2)
  2278. arm4p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(-90),math.rad(0),math.rad(-45)),0.2)
  2279. arm4p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(-90),math.rad(0),math.rad(0)),0.2)
  2280. arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(-90),math.rad(0),math.rad(0)),0.2)
  2281.  
  2282. end
  2283. con1:disconnect()
  2284. attack=false
  2285. end
  2286.  
  2287.  
  2288. lasereye=1
  2289.  
  2290.  
  2291. mouse.Button1Down:connect(function()
  2292. if attack==false and attacktype==1 and sphere==false then
  2293. attackone()
  2294. attacktype=2
  2295. elseif attack==false and attacktype==2 and sphere==false then
  2296. attacktwo()
  2297. attacktype=3
  2298. elseif attack==false and attacktype==3 and sphere==false then
  2299. attackthree()
  2300. attacktype=4
  2301. elseif attack==false and attacktype==4 and sphere==false then
  2302. attackfour()
  2303. attacktype=1
  2304. end
  2305. if attack==false and used==false and sphere==true and rest==false and lasereye==1 then
  2306. lasereye=2
  2307. LaserBlaster()
  2308. elseif attack==false and used==false and sphere==true and rest==false and lasereye==2 then
  2309. lasereye=1
  2310. LaserBlaster2()
  2311. end
  2312. end)
  2313.  
  2314. function Shockwave(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2315. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2316. prt.Anchored = true
  2317. prt.CFrame = cframe
  2318. prt.Material = "Neon"
  2319. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  2320. game:GetService("Debris"):AddItem(prt, 2)
  2321. coroutine.resume(coroutine.create(function(Part, Mesh)
  2322. for i = 0, 1, delay do
  2323. swait()
  2324. Part.CFrame = Part.CFrame
  2325. Part.Transparency = i
  2326. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2327. end
  2328. Part.Parent = nil
  2329. end), prt, msh)
  2330. end
  2331.  
  2332. function Laser(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2333. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2334. prt.Anchored = true
  2335. prt.CFrame = cframe
  2336. prt.Material = "Neon"
  2337. local msh = mesh("SpecialMesh", prt, "Head", "", vt(0, 0, 0), vt(x1, y1, z1))
  2338. game:GetService("Debris"):AddItem(prt, 2)
  2339. coroutine.resume(coroutine.create(function(Part, Mesh)
  2340. for i = 0, 1, delay do
  2341. swait()
  2342. Part.CFrame = Part.CFrame
  2343. Part.Transparency = i
  2344. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2345. end
  2346. Part.Parent = nil
  2347. end), prt, msh)
  2348. end
  2349.  
  2350.  
  2351. MMouse=mouse
  2352. LaserTarget=RootPart
  2353. used=false
  2354.  
  2355. function LaserBlaster()
  2356. used=true
  2357. so("http://www.roblox.com/asset/?id=167122623",eyep,1,math.random(60,80)/100)
  2358. local MouseLook=cf((eyep.Position+MMouse.Hit.p)/2,MMouse.Hit.p)
  2359. local hit,pos = rayCast(eyep.Position,MouseLook.lookVector,999,LaserTarget.Parent)
  2360. local mag=(eyep.Position-pos).magnitude
  2361. Laser(BrickColor.new("Institutional white"),CFrame.new((eyep.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*2,1,0.5,0,0.5,0.1)
  2362. if hit~=nil then
  2363. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Institutional white"),"Effect",vt())
  2364. ref.Anchored=true
  2365. ref.CFrame=cf(pos)
  2366. game:GetService("Debris"):AddItem(ref,1)
  2367. so("http://www.roblox.com/asset/?id=340722848",ref,1,math.random(80,120)/100)
  2368. Shockwave(BrickColor.new("Institutional white"),cf(pos),1,1,1,1,1,1,0.075)
  2369. Damagefunc(hit,20,40,0,"Normal",RootPart,0)
  2370. end
  2371. for i=0,1,0.2 do
  2372. local sine = 0
  2373. local change = 1
  2374. local val = 0
  2375. sine = sine + change
  2376. swait()
  2377. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,22-0.5*math.cos(sine/30))*angles(math.rad(5+5*math.cos(sine/30)),math.rad(0),math.rad(0)),.1)
  2378. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2379. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2380. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2381. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2382. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2383. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2384. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2385. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2386. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2387. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2388. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2389. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2390. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2391. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2392. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2393. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2394. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2395. end
  2396. wait(0.25)
  2397. used=false
  2398. end
  2399.  
  2400. function LaserBlaster2()
  2401. used=true
  2402. so("http://www.roblox.com/asset/?id=167122623",eyep2,1,math.random(60,80)/100)
  2403. local MouseLook=cf((eyep2.Position+MMouse.Hit.p)/2,MMouse.Hit.p)
  2404. local hit,pos = rayCast(eyep2.Position,MouseLook.lookVector,999,LaserTarget.Parent)
  2405. local mag=(eyep2.Position-pos).magnitude
  2406. Laser(BrickColor.new("Institutional white"),CFrame.new((eyep2.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*2,1,0.5,0,0.5,0.1)
  2407. if hit~=nil then
  2408. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Institutional white"),"Effect",vt())
  2409. ref.Anchored=true
  2410. ref.CFrame=cf(pos)
  2411. game:GetService("Debris"):AddItem(ref,1)
  2412. so("http://www.roblox.com/asset/?id=340722848",ref,1,math.random(80,120)/100)
  2413. Shockwave(BrickColor.new("Institutional white"),cf(pos),1,1,1,1,1,1,0.075)
  2414. Damagefunc(hit,20,40,0,"Normal",RootPart,0)
  2415. end
  2416. for i=0,1,0.2 do
  2417. local sine = 0
  2418. local change = 1
  2419. local val = 0
  2420. sine = sine + change
  2421. swait()
  2422. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,22-0.5*math.cos(sine/30))*angles(math.rad(5+5*math.cos(sine/30)),math.rad(0),math.rad(0)),.1)
  2423. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2424. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2425. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2426. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2427. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2428. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2429. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2430. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2431. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2432. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2433. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2434. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2435. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2436. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2437. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2438. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2439. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2440. end
  2441. wait(0.25)
  2442. used=false
  2443. end
  2444.  
  2445. used2=false
  2446.  
  2447. function GiantLaserBlaster()
  2448. used2=true
  2449. so("http://www.roblox.com/asset/?id=137463716",eyep,1,math.random(60,80)/100)
  2450. eyeeffect.Enabled = true
  2451. wait(1.6)
  2452. eyeeffect.Enabled = false
  2453. so("http://www.roblox.com/asset/?id=253453677",eyep,1,math.random(75,125)/100)
  2454. so("http://www.roblox.com/asset/?id=253453677",eyep,1,math.random(75,125)/100)
  2455. so("http://www.roblox.com/asset/?id=253453677",eyep,1,math.random(75,125)/100)
  2456. so("http://www.roblox.com/asset/?id=253453677",eyep,1,math.random(75,125)/100)
  2457. local MouseLook=cf((eyep.Position+MMouse.Hit.p)/2,MMouse.Hit.p)
  2458. local hit,pos = rayCast(eyep.Position,MouseLook.lookVector,999,LaserTarget.Parent)
  2459. local mag=(eyep.Position-pos).magnitude
  2460. Laser(BrickColor.new("Institutional white"),CFrame.new((eyep.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*2,1,2.5,0,2.5,0.05)
  2461. if hit~=nil then
  2462. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Institutional white"),"Effect",vt())
  2463. ref.Anchored=true
  2464. ref.CFrame=cf(pos)
  2465. game:GetService("Debris"):AddItem(ref,1)
  2466. so("http://www.roblox.com/asset/?id=340722848",ref,1,math.random(80,120)/100)
  2467. Shockwave(BrickColor.new("Institutional white"),cf(pos),2.5,2.5,2.5,2.5,2.5,2.5,0.025)
  2468. Damagefunc(hit,40,80,0,"Normal",RootPart,0)
  2469. end
  2470. for i=0,1,0.1 do
  2471. local sine = 0
  2472. local change = 1
  2473. local val = 0
  2474. sine = sine + change
  2475. swait()
  2476. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,22-0.5*math.cos(sine/30))*angles(math.rad(5+5*math.cos(sine/30)),math.rad(0),math.rad(0)),.1)
  2477. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2478. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2479. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2480. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2481. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2482. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2483. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2484. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2485. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2486. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2487. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2488. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2489. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2490. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2491. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2492. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2493. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2494. end
  2495. wait(3)
  2496. used2=false
  2497. end
  2498.  
  2499. function GiantLaserBlaster2()
  2500. used2=true
  2501. so("http://www.roblox.com/asset/?id=137463716",eyep2,1,math.random(60,80)/100)
  2502. eyeeffect2.Enabled = true
  2503. wait(1.6)
  2504. eyeeffect2.Enabled = false
  2505. so("http://www.roblox.com/asset/?id=253453677",eyep2,1,math.random(75,125)/100)
  2506. so("http://www.roblox.com/asset/?id=253453677",eyep2,1,math.random(75,125)/100)
  2507. so("http://www.roblox.com/asset/?id=253453677",eyep2,1,math.random(75,125)/100)
  2508. so("http://www.roblox.com/asset/?id=253453677",eyep2,1,math.random(75,125)/100)
  2509. local MouseLook=cf((eyep2.Position+MMouse.Hit.p)/2,MMouse.Hit.p)
  2510. local hit,pos = rayCast(eyep2.Position,MouseLook.lookVector,999,LaserTarget.Parent)
  2511. local mag=(eyep2.Position-pos).magnitude
  2512. Laser(BrickColor.new("Institutional white"),CFrame.new((eyep2.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*2,1,2.5,0,2.5,0.05)
  2513. if hit~=nil then
  2514. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Institutional white"),"Effect",vt())
  2515. ref.Anchored=true
  2516. ref.CFrame=cf(pos)
  2517. game:GetService("Debris"):AddItem(ref,1)
  2518. so("http://www.roblox.com/asset/?id=340722848",ref,1,math.random(80,120)/100)
  2519. Shockwave(BrickColor.new("Institutional white"),cf(pos),2.5,2.5,2.5,2.5,2.5,2.5,0.025)
  2520. Damagefunc(hit,40,80,0,"Normal",RootPart,0)
  2521. end
  2522. for i=0,1,0.1 do
  2523. swait()
  2524. local sine = 0
  2525. local change = 1
  2526. local val = 0
  2527. sine = sine + change
  2528. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,22-0.5*math.cos(sine/40))*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
  2529. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2530. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2531. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2532. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2533. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2534. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2535. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2536. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2537. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2538. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2539. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2540. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2541. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2542. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2543. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2544. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2545. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2546. end
  2547. wait(3)
  2548. used2=false
  2549. end
  2550.  
  2551. function Hibernation()
  2552. if rest==false then
  2553. print("You are now resting.")
  2554. rest=true
  2555. attack=true
  2556. emitter.Enabled = false
  2557. particleemitter.Enabled = false
  2558. for i=0,1,0.15 do
  2559. wait()
  2560. Humanoid.CameraOffset = Vector3.new(0, 12.5-12.5*i, 0)
  2561. music.Volume = 0.5-0.5*i
  2562. --eyep2mesh.Scale = Vector3.new(8.5,8.5-8.4*i,2)
  2563. --eyepmesh.Scale = Vector3.new(8.5,8.5-8.4*i,2)
  2564. end
  2565. music.Volume = 0
  2566. Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  2567. attack=false
  2568. Humanoid.WalkSpeed = 0
  2569. elseif rest==true then
  2570. print("You are now awake.")
  2571. rest=false
  2572. attack=true
  2573. for i=0,1,0.15 do
  2574. wait()
  2575. Humanoid.CameraOffset = Vector3.new(0, 0+12.5*i, 0)
  2576. music.Volume = 0+0.5*i
  2577. --eyep2mesh.Scale = Vector3.new(8.5,0.1+8.4*i,2)
  2578. --eyepmesh.Scale = Vector3.new(8.5,0.1+8.4*i,2)
  2579. end
  2580. emitter.Enabled = true
  2581. particleemitter.Enabled = true
  2582. Humanoid.WalkSpeed = 16
  2583. music.Volume = 0.5
  2584. Humanoid.CameraOffset = Vector3.new(0, 12.5, 0)
  2585. attack=false
  2586. end
  2587. end
  2588.  
  2589. ragemodedelay=false
  2590.  
  2591. function RageMode()
  2592. if sphere==true then
  2593. music:Stop()
  2594. music2:Play()
  2595. rawr:Play()
  2596. particleemitter2.Enabled=true
  2597. particleemitter3.Enabled=true
  2598. particleemitter4.Enabled=true
  2599. particleemitter5.Enabled=true
  2600. particleemitter6.Enabled=true
  2601. particleemitter7.Enabled=true
  2602. particleemitter8.Enabled=true
  2603. particleemitter9.Enabled=true
  2604. particleemitter10.Enabled=true
  2605. particleemitter11.Enabled=true
  2606. Humanoid.WalkSpeed = 64
  2607. so("http://www.roblox.com/asset/?id=340722848",Character,0.5,1.2)
  2608. sphere=false
  2609. elseif sphere==false then
  2610. music2:Stop()
  2611. music:Play()
  2612. particleemitter2.Enabled=false
  2613. particleemitter3.Enabled=false
  2614. particleemitter4.Enabled=false
  2615. particleemitter5.Enabled=false
  2616. particleemitter6.Enabled=false
  2617. particleemitter7.Enabled=false
  2618. particleemitter8.Enabled=false
  2619. particleemitter9.Enabled=false
  2620. particleemitter10.Enabled=false
  2621. particleemitter11.Enabled=false
  2622. Humanoid.WalkSpeed = 16
  2623. so("http://www.roblox.com/asset/?id=340722848",Character,0.5,0.8)
  2624. sphere=true
  2625. end
  2626. end
  2627.  
  2628. --use3=false
  2629.  
  2630. function TheWind()
  2631. if aura==false then
  2632. Shockwave(BrickColor.new("Institutional white"),cf(Torso.Position),16,16,16,10,10,10,0.025)
  2633. so("http://www.roblox.com/asset/?id=340722848",Torso,1,1.1)
  2634. ghostp.Transparency = 0.8
  2635. ghostp2.Transparency = 0.85
  2636. ghostp3.Transparency = 0.9
  2637. ghostp4.Transparency = 0.95
  2638. ghostp5.Transparency = 0.75
  2639. ghostp6.Transparency = 0.825
  2640. ghostp7.Transparency = 0.875
  2641. ghostp8.Transparency = 0.925
  2642. aura=true
  2643. elseif aura==true then
  2644. Shockwave(BrickColor.new("Institutional white"),cf(Torso.Position),16,16,16,10,10,10,0.025)
  2645. so("http://www.roblox.com/asset/?id=340722848",Torso,1,0.9)
  2646. ghostp.Transparency = 1
  2647. ghostp2.Transparency = 1
  2648. ghostp3.Transparency = 1
  2649. ghostp4.Transparency = 1
  2650. ghostp5.Transparency = 1
  2651. ghostp6.Transparency = 1
  2652. ghostp7.Transparency = 1
  2653. ghostp8.Transparency = 1
  2654. aura=false
  2655. end
  2656. while aura==true do
  2657. for i=0,1,0.05 do
  2658. wait()
  2659. ghostw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(45+360*i),math.rad(0))
  2660. ghostw2.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(90+360*i),math.rad(0))
  2661. ghostw3.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(135+360*i),math.rad(0))
  2662. ghostw4.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(180+360*i),math.rad(0))
  2663. ghost5w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(225+360*i),math.rad(0))
  2664. ghost6w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(270+360*i),math.rad(0))
  2665. ghost7w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(315+360*i),math.rad(0))
  2666. ghost8w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(360+360*i),math.rad(0))
  2667. end
  2668. end
  2669. end
  2670.  
  2671. giantlasereye=1
  2672.  
  2673. function ShootingTheEyes()
  2674. if giantlasereye==1 then
  2675. GiantLaserBlaster()
  2676. giantlasereye=2
  2677. elseif giantlasereye==2 then
  2678. GiantLaserBlaster2()
  2679. giantlasereye=1
  2680. end
  2681. end
  2682.  
  2683. mouse.KeyDown:connect(function(k)
  2684. k=k:lower()
  2685. if k=='r' and attack==false and sphere==true and aura==false then
  2686. Hibernation()
  2687. end
  2688. if k=='f' and used2==false and sphere==true and rest==false then
  2689. ShootingTheEyes()
  2690. end
  2691. if k=='q' and rest==false and ragemodedelay==false then
  2692. RageMode()
  2693. end
  2694. if k=='e' and rest==false then
  2695. TheWind()
  2696. end
  2697. end)
  2698.  
  2699. local sine = 0
  2700. local change = 1
  2701. local val = 0
  2702.  
  2703. while true do
  2704. swait()
  2705. sine = sine + change
  2706. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2707. local velderp=RootPart.Velocity.y
  2708. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2709. if equipped==true or equipped==false then
  2710. if attack==false then
  2711. idle=idle+1
  2712. else
  2713. idle=0
  2714. end
  2715. if idle>=500 then
  2716. if attack==false then
  2717. --Sheath()
  2718. end
  2719. end
  2720. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2721. Anim="Jump"
  2722. if attack==false and sphere==false then
  2723. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,22-0.5*math.cos(sine/60))*angles(math.rad(-30),math.rad(0),math.rad(0)),.1)
  2724. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2725. 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)
  2726. 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)
  2727. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2728. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2729. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2730. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2731. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2732. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2733. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2734. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2735. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  2736. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2737. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2738. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2739. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2740. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2741.  
  2742. arm3pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2743. arm3p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2744. arm3p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2745. arm3p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2746. arm3p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2747. arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2748.  
  2749. arm4pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2750. arm4p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2751. arm4p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2752. arm4p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2753. arm4p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2754. arm4p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2755.  
  2756. torsop2w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  2757. Crsytalw.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  2758. else
  2759. if attack==false and sphere==true then
  2760. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,22-0.5*math.cos(sine/40))*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
  2761. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2762. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2763. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2764. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2765. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2766. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2767. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2768. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2769. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2770. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2771. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2772. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2773. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2774. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2775. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2776. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2777. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2778.  
  2779. arm3pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2780. arm3p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2781. arm3p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2782. arm3p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2783. arm3p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2784. arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2785.  
  2786. arm4pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2787. arm4p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2788. arm4p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2789. arm4p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2790. arm4p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2791. arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2792.  
  2793. torsop2w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  2794. Crsytalw.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  2795.  
  2796. end
  2797. end
  2798. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2799. Anim="Fall"
  2800. if attack==false and sphere==false then
  2801. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,22-0.5*math.cos(sine/60))*angles(math.rad(30),math.rad(0),math.rad(0)),.1)
  2802. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2803. 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)
  2804. 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)
  2805. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2806. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2807. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2808. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2809. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2810. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2811. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2812. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2813. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  2814. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2815. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2816. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2817. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2818. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2819.  
  2820. arm3pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(360),math.rad(-180),math.rad(-90)),0.2) + Vector3.new(-5,-10,0)
  2821. arm3p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(360),math.rad(-180),math.rad(-90)),0.2)
  2822. arm3p3w.C0=clerp(arm2p3w.C0,cf(-6,0,0)*angles(math.rad(360),math.rad(-180),math.rad(0)),0.2)
  2823. arm3p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(360),math.rad(-180),math.rad(-45)),0.2)
  2824. arm3p5w.C0=clerp(arm2p5w.C0,cf(-6,0,0)*angles(math.rad(360),math.rad(-180),math.rad(0)),0.2)
  2825. arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(360),math.rad(-180),math.rad(90)),0.2)
  2826.  
  2827. arm4pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(-90),math.rad(-180),math.rad(90)),0.2) + Vector3.new(5,-10,0)
  2828. arm4p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(-90),math.rad(-180),math.rad(-90)),0.2)
  2829. arm4p3w.C0=clerp(arm1p3w.C0,cf(-6,0,0)*angles(math.rad(-90),math.rad(-180),math.rad(0)),0.2)
  2830. arm4p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(-90),math.rad(-180),math.rad(-45)),0.2)
  2831. arm4p5w.C0=clerp(arm1p5w.C0,cf(-6,0,0)*angles(math.rad(-90),math.rad(-180),math.rad(0)),0.2)
  2832. arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(-90),math.rad(-180),math.rad(0)),0.2)
  2833.  
  2834. torsop2w.C0=CFrame.new(0,-8,0)*CFrame.Angles(0,math.rad(-90),math.rad(0))
  2835. Crsytalw.C0=CFrame.new(0,-4,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  2836. else
  2837. if attack==false and sphere==true then
  2838. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,22-0.5*math.cos(sine/40))*angles(math.rad(20),math.rad(0),math.rad(0)),.1)
  2839. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2840. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2841. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2842. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2843. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2844. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2845. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2846. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2847. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2848. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2849. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2850. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2851. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2852. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2853. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2854. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2855. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2856.  
  2857. arm3pw.C0=clerp(arm2pw.C0,cf(0,-2.5,0)*angles(math.rad(360),math.rad(-180),math.rad(-90)),0.2) + Vector3.new(-5,-10,0)
  2858. arm3p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(360),math.rad(-180),math.rad(-90)),0.2)
  2859. arm3p3w.C0=clerp(arm2p3w.C0,cf(-6,0,0)*angles(math.rad(360),math.rad(-180),math.rad(0)),0.2)
  2860. arm3p4w.C0=clerp(arm2p4w.C0,cf(-1,3,0)*angles(math.rad(360),math.rad(-180),math.rad(-75)),0.2)
  2861. arm3p5w.C0=clerp(arm2p5w.C0,cf(-6,0,0)*angles(math.rad(360),math.rad(-180),math.rad(0)),0.2)
  2862. arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(360),math.rad(-180),math.rad(90)),0.2)
  2863.  
  2864. arm4pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(-90),math.rad(-180),math.rad(90)),0.2) + Vector3.new(5,-10,0)
  2865. arm4p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(-90),math.rad(-180),math.rad(-90)),0.2)
  2866. arm4p3w.C0=clerp(arm1p3w.C0,cf(-6,0,0)*angles(math.rad(-90),math.rad(-180),math.rad(0)),0.2)
  2867. arm4p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(-90),math.rad(-180),math.rad(-45)),0.2)
  2868. arm4p5w.C0=clerp(arm1p5w.C0,cf(-6,0,0)*angles(math.rad(-90),math.rad(-180),math.rad(0)),0.2)
  2869. arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(-90),math.rad(-180),math.rad(0)),0.2)
  2870.  
  2871. torsop2w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  2872. Crsytalw.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  2873. end
  2874. end
  2875. elseif torvel<1 and hitfloor~=nil then
  2876. Anim="Idle"
  2877. Humanoid.WalkSpeed = 64
  2878. if attack==false and sphere==false and rest==false then
  2879. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,22-0.5*math.cos(sine/30))*angles(math.rad(5+5*math.cos(sine/30)),math.rad(0),math.rad(0)),.1)
  2880. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2881. 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)
  2882. 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)
  2883. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2884. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2885.  
  2886. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2887. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2888. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2889. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2890. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2891. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)-----1
  2892.  
  2893. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  2894. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2895. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2896. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2897. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2898. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)-----2
  2899.  
  2900. arm3pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(-0),math.rad(-90)),0.2) + Vector3.new(-5,-10,0)
  2901. arm3p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  2902. arm3p3w.C0=clerp(arm2p3w.C0,cf(-6,0,0)*angles(math.rad(0),math.rad(-0),math.rad(0)),0.2)
  2903. arm3p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(-0),math.rad(-45)),0.2)
  2904. arm3p5w.C0=clerp(arm2p5w.C0,cf(-6,0,0)*angles(math.rad(0),math.rad(-0),math.rad(0)),0.2)
  2905. arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-0),math.rad(90)),0.2)-----2
  2906.  
  2907. arm4pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2) + Vector3.new(5,-10,0)
  2908. arm4p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  2909. arm4p3w.C0=clerp(arm1p3w.C0,cf(-6,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2910. arm4p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  2911. arm4p5w.C0=clerp(arm1p5w.C0,cf(-6,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2912. arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)-----1
  2913.  
  2914. torsop2w.C0=CFrame.new(0,-8,0)*CFrame.Angles(0,math.rad(-90),math.rad(0))
  2915. Crsytalw.C0=CFrame.new(0,-4,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  2916. else
  2917. if attack==false and sphere==true and rest==false then
  2918. Humanoid.WalkSpeed = 16
  2919. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0+1*math.cos(sine/20),0,22-0.5*math.cos(sine/40))*angles(math.rad(5+5*math.cos(sine/30)),math.rad(0),math.rad(0)),.1)
  2920. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2921. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2922. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2923. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2924. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2925. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2926. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2927. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2928. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2929. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2930. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2931. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2932. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2933. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2934. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2935. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2936. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2937.  
  2938. arm3pw.C0=clerp(arm2pw.C0,cf(0,-0,0)*angles(math.rad(0),math.rad(0),math.rad(-0)),0.2)
  2939. arm3p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-0)),0.2)
  2940. arm3p3w.C0=clerp(arm2p3w.C0,cf(-0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2941. arm3p4w.C0=clerp(arm2p4w.C0,cf(-0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-0)),0.2)
  2942. arm3p5w.C0=clerp(arm2p5w.C0,cf(-0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2943. arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2944.  
  2945. arm4pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2946. arm4p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2947. arm4p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2948. arm4p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2949. arm4p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2950. arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2951.  
  2952.  
  2953. torsop2w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  2954. Crsytalw.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  2955. else
  2956. if attack==false and sphere==true and rest==true then
  2957. Humanoid.WalkSpeed = 0
  2958. 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)
  2959. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2960. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2961. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2962. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2963. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2964. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2965. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2966. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2967. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2968. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2969. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2970. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2971. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2972. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2973. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2974. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2975. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2976.  
  2977. arm3pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2978. arm3p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2979. arm3p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2980. arm3p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2981. arm3p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2982. arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2983.  
  2984. arm4pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2985. arm4p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2986. arm4p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2987. arm4p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2988. arm4p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2989. arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2990.  
  2991. torsop2w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  2992. Crsytalw.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  2993. end
  2994. end
  2995. end
  2996. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  2997. Anim="Walk"
  2998. if attack==false and sphere==false then
  2999. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,22-1*math.cos(sine/30))*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
  3000. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3001. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(120)), 0.3)
  3002. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-120)), 0.3)
  3003. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  3004. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  3005. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  3006. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  3007. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3008. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  3009. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3010. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3011. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  3012. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  3013. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3014. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  3015. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3016. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  3017.  
  3018. arm3pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(360),math.rad(-180),math.rad(-90)),0.2) + Vector3.new(-5,-10,0)
  3019. arm3p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(360),math.rad(-180),math.rad(-90)),0.2)
  3020. arm3p3w.C0=clerp(arm2p3w.C0,cf(-6,0,0)*angles(math.rad(360),math.rad(-180),math.rad(0)),0.2)
  3021. arm3p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(360),math.rad(-180),math.rad(-45)),0.2)
  3022. arm3p5w.C0=clerp(arm2p5w.C0,cf(-6,0,0)*angles(math.rad(360),math.rad(-180),math.rad(0)),0.2)
  3023. arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(360),math.rad(-180),math.rad(90)),0.2)
  3024.  
  3025. arm4pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(-90),math.rad(-180),math.rad(90)),0.2) + Vector3.new(5,-10,0)
  3026. arm4p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(-90),math.rad(-180),math.rad(-90)),0.2)
  3027. arm4p3w.C0=clerp(arm1p3w.C0,cf(-6,0,0)*angles(math.rad(-90),math.rad(-180),math.rad(0)),0.2)
  3028. arm4p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(-90),math.rad(-180),math.rad(-45)),0.2)
  3029. arm4p5w.C0=clerp(arm1p5w.C0,cf(-6,0,0)*angles(math.rad(-90),math.rad(-180),math.rad(0)),0.2)
  3030. arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(-90),math.rad(-180),math.rad(0)),0.2)
  3031.  
  3032. torsop2w.C0=CFrame.new(0,-8,0)*CFrame.Angles(0,math.rad(-90),math.rad(0))
  3033. Crsytalw.C0=CFrame.new(0,-4,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  3034. else
  3035. if attack==false and sphere==true then
  3036. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,22-0.5*math.cos(sine/40))*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
  3037. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3038. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3039. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3040. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  3041. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  3042. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3043. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3044. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3045. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3046. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3047. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3048. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3049. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3050. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3051. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3052. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3053. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3054.  
  3055. arm3pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3056. arm3p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3057. arm3p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3058. arm3p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3059. arm3p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3060. arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3061.  
  3062. arm4pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3063. arm4p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3064. arm4p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3065. arm4p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3066. arm4p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3067. arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3068.  
  3069. torsop2w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  3070. Crsytalw.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  3071. end
  3072. end
  3073. elseif torvel>=22 and hitfloor~=nil then
  3074. Anim="Run"
  3075. if attack==false and sphere==false then
  3076. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,22-1*math.cos(sine/30))*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
  3077. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3078. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(120)), 0.3)
  3079. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-120)), 0.3)
  3080. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  3081. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  3082. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  3083. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  3084. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3085. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  3086. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3087. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3088. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  3089. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  3090. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3091. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  3092. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3093. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  3094.  
  3095. arm3pw.C0=clerp(arm2pw.C0,cf(0,-2.5,0)*angles(math.rad(360),math.rad(120),math.rad(-90)),0.2) + Vector3.new(-5,-10,0)
  3096. arm3p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(360),math.rad(180),math.rad(-90)),0.2)
  3097. arm3p3w.C0=clerp(arm2p3w.C0,cf(-6,0,0)*angles(math.rad(360),math.rad(180),math.rad(0)),0.2)
  3098. arm3p4w.C0=clerp(arm2p4w.C0,cf(-1,3,0)*angles(math.rad(360),math.rad(180),math.rad(-75)),0.2)
  3099. arm3p5w.C0=clerp(arm2p5w.C0,cf(-6,0,0)*angles(math.rad(360),math.rad(180),math.rad(0)),0.2)
  3100. arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(360),math.rad(180),math.rad(90)),0.2)
  3101.  
  3102. arm4pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(-90),math.rad(-180),math.rad(90)),0.2) + Vector3.new(5,-10,0)
  3103. arm4p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(-90),math.rad(-180),math.rad(-90)),0.2)
  3104. arm4p3w.C0=clerp(arm1p3w.C0,cf(-6,0,0)*angles(math.rad(-90),math.rad(-180),math.rad(0)),0.2)
  3105. arm4p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(-90),math.rad(-180),math.rad(-45)),0.2)
  3106. arm4p5w.C0=clerp(arm1p5w.C0,cf(-6,0,0)*angles(math.rad(-90),math.rad(-180),math.rad(0)),0.2)
  3107. arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(-90),math.rad(-180),math.rad(0)),0.2)
  3108.  
  3109. torsop2w.C0=CFrame.new(0,-8,0)*CFrame.Angles(0,math.rad(-90),math.rad(0))
  3110. Crsytalw.C0=CFrame.new(0,-4,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  3111. end
  3112. end
  3113. end
  3114. if #Effects>0 then
  3115. --table.insert(Effects,{prt,"Block1",delay})
  3116. for e=1,#Effects do
  3117. if Effects[e]~=nil then
  3118. --for j=1,#Effects[e] do
  3119. local Thing=Effects[e]
  3120. if Thing~=nil then
  3121. local Part=Thing[1]
  3122. local Mode=Thing[2]
  3123. local Delay=Thing[3]
  3124. local IncX=Thing[4]
  3125. local IncY=Thing[5]
  3126. local IncZ=Thing[6]
  3127. if Thing[1].Transparency<=1 then
  3128. if Thing[2]=="Block1" then
  3129. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3130. Mesh=Thing[1].Mesh
  3131. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  3132. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  3133. elseif Thing[2]=="Cylinder" then
  3134. Mesh=Thing[1].Mesh
  3135. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  3136. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  3137. elseif Thing[2]=="Blood" then
  3138. Mesh=Thing[7]
  3139. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  3140. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  3141. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  3142. elseif Thing[2]=="Elec" then
  3143. Mesh=Thing[1].Mesh
  3144. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  3145. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  3146. elseif Thing[2]=="Disappear" then
  3147. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  3148. end
  3149. else
  3150. Part.Parent=nil
  3151. table.remove(Effects,e)
  3152. end
  3153. end
  3154. --end
  3155. end
  3156. end
  3157. end
  3158. end
Add Comment
Please, Sign In to add comment