SirMemz

Untitled

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