I_M_Epic

Untitled

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