00fjg

Untitled

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