B0bstone

Untitled

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