kaualima12

GG

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