Advertisement
ZabrosKaTriUs

Mini King Neflhelm

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