Advertisement
gecksad

Untitled

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