Guest User

Untitled

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