Advertisement
Thefrozen106

Baby nelfhem or whatever how u say it

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