Advertisement
rektv25

Untitled

Mar 29th, 2020
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 130.22 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86.  
  87. local h,t
  88. --Give the server mouse data every second frame, but only if the values changed
  89. --If player is not moving their mouse, client won't fire events
  90. local HB = game:GetService("RunService").Heartbeat
  91. while true do
  92. if h~=Mouse.Hit or t~=Mouse.Target then
  93. h,t=Mouse.Hit,Mouse.Target
  94. Event:FireServer({isMouse=true,Target=t,Hit=h})
  95. end
  96. --Wait 2 frames
  97. for i=1,2 do
  98. HB:Wait()
  99. end
  100. end]==],script)
  101.  
  102. ----Sandboxed game object that allows the usage of client-side methods and services
  103. --Real game object
  104. local RealGame = game
  105.  
  106. --Metatable for fake service
  107. local FakeService_Metatable = {
  108. __index = function(self,k)
  109. local s = rawget(self,"_RealService")
  110. if s then
  111. return typeof(s[k])=="function"
  112. and function(_,...)return s[k](s,...)end or s[k]
  113. end
  114. end,
  115. __newindex = function(self,k,v)
  116. local s = rawget(self,"_RealService")
  117. if s then s[k]=v end
  118. end
  119. }
  120. local function FakeService(t,RealService)
  121. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  122. return setmetatable(t,FakeService_Metatable)
  123. end
  124.  
  125. --Fake game object
  126. local FakeGame = {
  127. GetService = function(self,s)
  128. return rawget(self,s) or RealGame:GetService(s)
  129. end,
  130. Players = FakeService({
  131. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  132. },"Players"),
  133. UserInputService = FakeService(UIS,"UserInputService"),
  134. ContextActionService = FakeService(CAS,"ContextActionService"),
  135. RunService = FakeService({
  136. _btrs = {},
  137. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  138. BindToRenderStep = function(self,name,_,fun)
  139. self._btrs[name] = self.Heartbeat:Connect(fun)
  140. end,
  141. UnbindFromRenderStep = function(self,name)
  142. self._btrs[name]:Disconnect()
  143. end,
  144. },"RunService")
  145. }
  146. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  147. FakeGame.service = FakeGame.GetService
  148. FakeService(FakeGame,game)
  149. --Changing owner to fake player object to support owner:GetMouse()
  150. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  151. end
  152. --[[ Leaked by CLarramore ]]--
  153. -- Ever since 3/10/2016 this script started to get popular in oxcool1's SB
  154. -- I am now spreading this on
  155. -- You can now make ur edits with this
  156. -- ENTIRELY OPEN SOURCED!!!! YAY!
  157.  
  158. -- NightOwlAce dont kill me
  159. Player=game:GetService("Players").LocalPlayer
  160. Character=Player.Character
  161. PlayerGui=Player.PlayerGui
  162. Backpack=Player.Backpack
  163. Torso=Character.Torso
  164. Head=Character.Head
  165. Humanoid=Character.Humanoid
  166. m=Instance.new('Model',Character)
  167. LeftArm=Character["Left Arm"]
  168. LeftLeg=Character["Left Leg"]
  169. RightArm=Character["Right Arm"]
  170. RightLeg=Character["Right Leg"]
  171. LS=Torso["Left Shoulder"]
  172. LH=Torso["Left Hip"]
  173. RS=Torso["Right Shoulder"]
  174. RH=Torso["Right Hip"]
  175. Face = Head.face
  176. Neck=Torso.Neck
  177. it=Instance.new
  178. attacktype=1
  179. vt=Vector3.new
  180. cf=CFrame.new
  181. euler=CFrame.fromEulerAnglesXYZ
  182. angles=CFrame.Angles
  183. cloaked=false
  184. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  185. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  186. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  187. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  188. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  189. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  190. RootPart=Character.HumanoidRootPart
  191. RootJoint=RootPart.RootJoint
  192. RootCF=euler(-1.57,0,3.14)
  193. attack = false
  194. attackdebounce = false
  195. deb=false
  196. equipped=true
  197. hand=false
  198. MMouse=nil
  199. combo=0
  200. mana=0
  201. trispeed=1
  202. pathtrans=.7
  203. attackmode='none'
  204. local idle=0
  205. local Anim="Idle"
  206. local Effects={}
  207. local gun=false
  208. local shoot=false
  209. player=nil
  210. cloak=false
  211. lightcolor='Bright blue'
  212.  
  213. local Color1=Torso.BrickColor
  214.  
  215. local fengui=it("GuiMain")
  216. fengui.Parent=Player.PlayerGui
  217. fengui.Name="WeaponGUI"
  218. local fenframe=it("Frame")
  219. fenframe.Parent=fengui
  220. fenframe.BackgroundColor3=Color3.new(255,255,255)
  221. fenframe.BackgroundTransparency=1
  222. fenframe.BorderColor3=Color3.new(17,17,17)
  223. fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0)
  224. fenframe.Position=UDim2.new(0.4,0,0.1,0)
  225. local fenbarmana1=it("TextLabel")
  226. fenbarmana1.Parent=fenframe
  227. fenbarmana1.Text=" "
  228. fenbarmana1.BackgroundTransparency=0
  229. fenbarmana1.BackgroundColor3=Color3.new(0,0,0)
  230. fenbarmana1.SizeConstraint="RelativeXY"
  231. fenbarmana1.TextXAlignment="Center"
  232. fenbarmana1.TextYAlignment="Center"
  233. fenbarmana1.Position=UDim2.new(0,0,0,0)
  234. fenbarmana1.Size=UDim2.new(4,0,0.2,0)
  235. local fenbarmana2=it("TextLabel")
  236. fenbarmana2.Parent=fenframe
  237. fenbarmana2.Text=" "
  238. fenbarmana2.BackgroundTransparency=0
  239. fenbarmana2.BackgroundColor3=Torso.Color
  240. fenbarmana2.SizeConstraint="RelativeXY"
  241. fenbarmana2.TextXAlignment="Center"
  242. fenbarmana2.TextYAlignment="Center"
  243. fenbarmana2.Position=UDim2.new(0,0,0,0)
  244. fenbarmana2.Size=UDim2.new(4*mana/100,0,0.2,0)
  245. local fenbarmana3=it("TextLabel")
  246. fenbarmana3.Parent=fenframe
  247. fenbarmana3.Text=" "
  248. fenbarmana3.BackgroundTransparency=0
  249. fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3)
  250. fenbarmana3.SizeConstraint="RelativeXY"
  251. fenbarmana3.TextXAlignment="Center"
  252. fenbarmana3.TextYAlignment="Center"
  253. fenbarmana3.Position=UDim2.new(0,0,0,0)
  254. fenbarmana3.Size=UDim2.new(0,0,0.2,0)
  255. local fenbarmana4=it("TextLabel")
  256. fenbarmana4.Parent=fenframe
  257. fenbarmana4.Text="Energy("..mana..")"
  258. fenbarmana4.BackgroundTransparency=1
  259. fenbarmana4.BackgroundColor3=Color3.new(0,0,0)
  260. fenbarmana4.SizeConstraint="RelativeXY"
  261. fenbarmana4.TextXAlignment="Center"
  262. fenbarmana4.TextYAlignment="Center"
  263. fenbarmana4.Position=UDim2.new(0,0,-0.3,0)
  264. fenbarmana4.Size=UDim2.new(4,0,0.2,0)
  265. fenbarmana4.FontSize="Size9"
  266. fenbarmana4.TextStrokeTransparency=0
  267. fenbarmana4.TextColor=BrickColor.new("White")
  268.  
  269. mouse=Player:GetMouse()
  270. --save shoulders
  271. RSH, LSH=nil, nil
  272. --welds
  273. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  274. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  275. LH=Torso["Left Hip"]
  276. RH=Torso["Right Hip"]
  277. TorsoColor=Torso.BrickColor
  278. function NoOutline(Part)
  279. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  280. end
  281. player=Player
  282. ch=Character
  283. RSH=ch.Torso["Right Shoulder"]
  284. LSH=ch.Torso["Left Shoulder"]
  285. --
  286. RSH.Parent=nil
  287. LSH.Parent=nil
  288. --
  289. RW.Name="Right Shoulder"
  290. RW.Part0=ch.Torso
  291. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  292. RW.C1=cf(0, 0.5, 0)
  293. RW.Part1=ch["Right Arm"]
  294. RW.Parent=ch.Torso
  295. --
  296. LW.Name="Left Shoulder"
  297. LW.Part0=ch.Torso
  298. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  299. LW.C1=cf(0, 0.5, 0)
  300. LW.Part1=ch["Left Arm"]
  301. LW.Parent=ch.Torso
  302.  
  303. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  304. local fp=it("Part")
  305. fp.formFactor=formfactor
  306. fp.Parent=parent
  307. fp.Reflectance=reflectance
  308. fp.Transparency=transparency
  309. fp.CanCollide=false
  310. fp.Locked=true
  311. fp.BrickColor=brickcolor
  312. fp.Name=name
  313. fp.Size=size
  314. fp.Position=Torso.Position
  315. NoOutline(fp)
  316. fp.Material="Neon"
  317. fp:BreakJoints()
  318. return fp
  319. end
  320.  
  321. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  322. local mesh=it(Mesh)
  323. mesh.Parent=part
  324. if Mesh=="SpecialMesh" then
  325. mesh.MeshType=meshtype
  326. if meshid~="nil" then
  327. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  328. end
  329. end
  330. mesh.Offset=offset
  331. mesh.Scale=scale
  332. return mesh
  333. end
  334.  
  335. function weld(parent,part0,part1,c0)
  336. local weld=it("Weld")
  337. weld.Parent=parent
  338. weld.Part0=part0
  339. weld.Part1=part1
  340. weld.C0=c0
  341. return weld
  342. end
  343.  
  344. local Color1=Torso.BrickColor
  345.  
  346. local bodvel=Instance.new("BodyVelocity")
  347. local bg=Instance.new("BodyGyro")
  348.  
  349. function swait(num)
  350. if num==0 or num==nil then
  351. game:service'RunService'.Stepped:wait(0)
  352. else
  353. for i=0,num do
  354. game:service'RunService'.Stepped:wait(0)
  355. end
  356. end
  357. end
  358.  
  359.  
  360. so = function(id,par,vol,pit)
  361. coroutine.resume(coroutine.create(function()
  362. local sou = Instance.new("Sound",par or workspace)
  363. sou.Volume=vol
  364. sou.Pitch=pit or 1
  365. sou.SoundId=id
  366. swait()
  367. sou:play()
  368. game:GetService("Debris"):AddItem(sou,6)
  369. end))
  370. end
  371.  
  372. function clerp(a,b,t)
  373. local qa = {QuaternionFromCFrame(a)}
  374. local qb = {QuaternionFromCFrame(b)}
  375. local ax, ay, az = a.x, a.y, a.z
  376. local bx, by, bz = b.x, b.y, b.z
  377. local _t = 1-t
  378. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  379. end
  380.  
  381. function QuaternionFromCFrame(cf)
  382. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  383. local trace = m00 + m11 + m22
  384. if trace > 0 then
  385. local s = math.sqrt(1 + trace)
  386. local recip = 0.5/s
  387. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  388. else
  389. local i = 0
  390. if m11 > m00 then
  391. i = 1
  392. end
  393. if m22 > (i == 0 and m00 or m11) then
  394. i = 2
  395. end
  396. if i == 0 then
  397. local s = math.sqrt(m00-m11-m22+1)
  398. local recip = 0.5/s
  399. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  400. elseif i == 1 then
  401. local s = math.sqrt(m11-m22-m00+1)
  402. local recip = 0.5/s
  403. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  404. elseif i == 2 then
  405. local s = math.sqrt(m22-m00-m11+1)
  406. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  407. end
  408. end
  409. end
  410.  
  411. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  412. local xs, ys, zs = x + x, y + y, z + z
  413. local wx, wy, wz = w*xs, w*ys, w*zs
  414. local xx = x*xs
  415. local xy = x*ys
  416. local xz = x*zs
  417. local yy = y*ys
  418. local yz = y*zs
  419. local zz = z*zs
  420. 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))
  421. end
  422.  
  423. function QuaternionSlerp(a, b, t)
  424. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  425. local startInterp, finishInterp;
  426. if cosTheta >= 0.0001 then
  427. if (1 - cosTheta) > 0.0001 then
  428. local theta = math.acos(cosTheta)
  429. local invSinTheta = 1/math.sin(theta)
  430. startInterp = math.sin((1-t)*theta)*invSinTheta
  431. finishInterp = math.sin(t*theta)*invSinTheta
  432. else
  433. startInterp = 1-t
  434. finishInterp = t
  435. end
  436. else
  437. if (1+cosTheta) > 0.0001 then
  438. local theta = math.acos(-cosTheta)
  439. local invSinTheta = 1/math.sin(theta)
  440. startInterp = math.sin((t-1)*theta)*invSinTheta
  441. finishInterp = math.sin(t*theta)*invSinTheta
  442. else
  443. startInterp = t-1
  444. finishInterp = t
  445. end
  446. end
  447. 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
  448. end
  449.  
  450. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  451. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  452. end
  453.  
  454. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  455. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  456. prt.Anchored=true
  457. prt.CFrame=cframe
  458. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  459. --http://www.roblox.com/asset/?id=4770560
  460. game:GetService("Debris"):AddItem(prt,2)
  461. CF=prt.CFrame
  462. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  463. for i=0,1,0.2 do
  464. wait()
  465. Part.CFrame=CF*cf(0,0,-0.4)
  466. end
  467. for i=0,1,delay do
  468. wait()
  469. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  470. Mesh.Scale=Mesh.Scale
  471. end
  472. for i=0,1,0.1 do
  473. wait()
  474. Part.Transparency=i
  475. end
  476. Part.Parent=nil
  477. end),prt,msh,CF)
  478. end
  479.  
  480. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  481. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  482. prt.Anchored=true
  483. prt.CFrame=cframe
  484. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  485. game:GetService("Debris"):AddItem(prt,5)
  486. coroutine.resume(coroutine.create(function(Part,Mesh)
  487. for i=0,1,delay do
  488. wait()
  489. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  490. Part.Transparency=i
  491. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  492. end
  493. Part.Parent=nil
  494. end),prt,msh)
  495. end
  496.  
  497. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  498. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  499. prt.Anchored=false
  500. prt.CFrame=cframe
  501. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  502. local wld=weld(prt,prt,Parent,cframe)
  503. game:GetService("Debris"):AddItem(prt,5)
  504. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  505. for i=0,1,delay do
  506. wait()
  507. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  508. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  509. Part.Transparency=i
  510. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  511. end
  512. Part.Parent=nil
  513. end),prt,msh,wld)
  514. end
  515.  
  516. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  517. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  518. prt.Anchored=false
  519. prt.CFrame=cframe
  520. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  521. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  522. game:GetService("Debris"):AddItem(prt,5)
  523. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  524. for i=0,1,delay do
  525. wait()
  526. Weld.C0=euler(i*20,0,0)
  527. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  528. Part.Transparency=i
  529. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  530. end
  531. Part.Parent=nil
  532. end),prt,msh,wld)
  533. end
  534.  
  535. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  536. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  537. prt.Anchored=true
  538. prt.CFrame=cframe
  539. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  540. game:GetService("Debris"):AddItem(prt,2)
  541. coroutine.resume(coroutine.create(function(Part,Mesh)
  542. for i=0,1,delay do
  543. wait()
  544. Part.CFrame=Part.CFrame
  545. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  546. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  547. prt2.Anchored=true
  548. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  549. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  550. game:GetService("Debris"):AddItem(prt2,2)
  551. coroutine.resume(coroutine.create(function(Part,Mesh)
  552. for i=0,1,0.1 do
  553. wait()
  554. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  555. end
  556. Part.Parent=nil
  557. end),prt2,msh2)
  558. end
  559. for i=0,1,delay*2 do
  560. wait()
  561. Part.CFrame=Part.CFrame
  562. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  563. end
  564. Part.Parent=nil
  565. end),prt,msh)
  566. end
  567.  
  568. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  569. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  570. prt.Anchored=true
  571. prt.CFrame=cframe
  572. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  573. game:GetService("Debris"):AddItem(prt,2)
  574. coroutine.resume(coroutine.create(function(Part,Mesh)
  575. for i=0,1,delay do
  576. wait()
  577. Part.CFrame=Part.CFrame
  578. Part.Transparency=i
  579. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  580. end
  581. Part.Parent=nil
  582. end),prt,msh)
  583. end
  584.  
  585. function MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3)
  586. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  587. prt.Anchored=true
  588. prt.CFrame=cframe*euler(x2,y2,z2)
  589. --"http://www.roblox.com/asset/?id=168892465"
  590. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  591. game:GetService("Debris"):AddItem(prt,2)
  592. coroutine.resume(coroutine.create(function(Part,Mesh)
  593. for i=0,1,0.03 do
  594. wait()
  595. Part.CFrame=Part.CFrame
  596. Part.Transparency=i
  597. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  598. end
  599. Part.Parent=nil
  600. end),prt,msh)
  601. end
  602.  
  603. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  604. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  605. prt.Anchored=true
  606. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  607. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  608. game:GetService("Debris"):AddItem(prt,2)
  609. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  610. CF=Part.CFrame
  611. Numbb=0
  612. randnumb=math.random()/10
  613. rand1=math.random()/10
  614. for i=0,1,rand1 do
  615. wait()
  616. CF=CF*cf(0,math.random()/2,0)
  617. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  618. Part.CFrame=CF*euler(Numbb,0,0)
  619. Part.Transparency=i
  620. Numbb=Numbb+randnumb
  621. end
  622. Part.Parent=nil
  623. end),prt,CF,Numbb,randnumb)
  624. end
  625.  
  626. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  627. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  628. prt.Anchored=true
  629. prt.CFrame=cframe
  630. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  631. game:GetService("Debris"):AddItem(prt,5)
  632. coroutine.resume(coroutine.create(function(Part,Mesh)
  633. for i=0,1,delay do
  634. wait()
  635. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  636. Part.Transparency=i
  637. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  638. end
  639. Part.Parent=nil
  640. end),prt,msh)
  641. end
  642.  
  643. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  644. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  645. prt.Anchored=true
  646. prt.CFrame=cframe
  647. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  648. game:GetService("Debris"):AddItem(prt,2)
  649. coroutine.resume(coroutine.create(function(Part,Mesh)
  650. for i=0,1,delay do
  651. wait()
  652. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  653. Part.Transparency=i
  654. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  655. end
  656. Part.Parent=nil
  657. end),prt,msh)
  658. end
  659.  
  660. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  661. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  662. prt.Anchored=true
  663. prt.CFrame=cframe*cf(x,y,z)
  664. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  665. game:GetService("Debris"):AddItem(prt,5)
  666. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  667. local num=math.random()
  668. local num2=math.random(-3,2)+math.random()
  669. local numm=0
  670. for i=0,1,delay*2 do
  671. swait()
  672. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  673. Part.Transparency=i
  674. numm=numm+0.01
  675. end
  676. Part.Parent=nil
  677. Mesh.Parent=nil
  678. end),prt,msh,x,y,z)
  679. end
  680.  
  681. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  682. if hit.Parent==nil then
  683. return
  684. end
  685. h=hit.Parent:FindFirstChild("Humanoid")
  686. for _,v in pairs(hit.Parent:children()) do
  687. if v:IsA("Humanoid") then
  688. h=v
  689. end
  690. end
  691. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  692. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  693. end
  694. if hit.Parent.className=="Hat" then
  695. hit=hit.Parent.Parent:findFirstChild("Head")
  696. end
  697. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  698. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  699. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  700. return
  701. end]]
  702. -- hs(hit,1.2)
  703. c=Instance.new("ObjectValue")
  704. c.Name="creator"
  705. c.Value=game:service("Players").LocalPlayer
  706. c.Parent=h
  707. game:GetService("Debris"):AddItem(c,.5)
  708. Damage=math.random(minim,maxim)
  709. -- h:TakeDamage(Damage)
  710. blocked=false
  711. block=hit.Parent:findFirstChild("Block")
  712. if block~=nil then
  713. print(block.className)
  714. if block.className=="NumberValue" then
  715. if block.Value>0 then
  716. blocked=true
  717. if decreaseblock==nil then
  718. block.Value=block.Value-1
  719. end
  720. end
  721. end
  722. if block.className=="IntValue" then
  723. if block.Value>0 then
  724. blocked=true
  725. if decreaseblock~=nil then
  726. block.Value=block.Value-1
  727. end
  728. end
  729. end
  730. end
  731. if blocked==false then
  732. -- h:TakeDamage(Damage)
  733. h.Health=h.Health-Damage
  734. showDamage(hit.Parent,Damage,.5,TorsoColor)
  735. else
  736. h.Health=h.Health-(Damage/2)
  737. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  738. end
  739. if Type=="Knockdown" then
  740. hum=hit.Parent.Humanoid
  741. hum.PlatformStand=true
  742. coroutine.resume(coroutine.create(function(HHumanoid)
  743. swait(1)
  744. HHumanoid.PlatformStand=false
  745. end),hum)
  746. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  747. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  748. local bodvol=Instance.new("BodyVelocity")
  749. bodvol.velocity=angle*knockback
  750. bodvol.P=5000
  751. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  752. bodvol.Parent=hit
  753. rl=Instance.new("BodyAngularVelocity")
  754. rl.P=3000
  755. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  756. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  757. rl.Parent=hit
  758. game:GetService("Debris"):AddItem(bodvol,.5)
  759. game:GetService("Debris"):AddItem(rl,.5)
  760. elseif Type=="Normal" then
  761. vp=Instance.new("BodyVelocity")
  762. vp.P=500
  763. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  764. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  765. if KnockbackType==1 then
  766. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  767. elseif KnockbackType==2 then
  768. vp.velocity=Property.CFrame.lookVector*knockback
  769. end
  770. if knockback>0 then
  771. vp.Parent=hit.Parent.Torso
  772. end
  773. game:GetService("Debris"):AddItem(vp,.5)
  774. elseif Type=="Up" then
  775. local bodyVelocity=Instance.new("BodyVelocity")
  776. bodyVelocity.velocity=vt(0,10,0)
  777. bodyVelocity.P=1000
  778. bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
  779. bodyVelocity.Parent=hit
  780. game:GetService("Debris"):AddItem(bodyVelocity,1)
  781. rl=Instance.new("BodyAngularVelocity")
  782. rl.P=3000
  783. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  784. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  785. rl.Parent=hit
  786. game:GetService("Debris"):AddItem(rl,.5)
  787. elseif Type=="Snare" then
  788. bp=Instance.new("BodyPosition")
  789. bp.P=2000
  790. bp.D=100
  791. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  792. bp.position=hit.Parent.Torso.Position
  793. bp.Parent=hit.Parent.Torso
  794. game:GetService("Debris"):AddItem(bp,1)
  795. elseif Type=="Target" then
  796. if Targetting==false then
  797. ZTarget=hit.Parent.Torso
  798. coroutine.resume(coroutine.create(function(Part)
  799. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  800. swait(5)
  801. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  802. end),ZTarget)
  803. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  804. targetgui=Instance.new("BillboardGui")
  805. targetgui.Parent=ZTarget
  806. targetgui.Size=UDim2.new(10,100,10,100)
  807. targ=Instance.new("ImageLabel")
  808. targ.Parent=targetgui
  809. targ.BackgroundTransparency=1
  810. targ.Image="rbxassetid://4834067"
  811. targ.Size=UDim2.new(1,0,1,0)
  812. cam.CameraType="Scriptable"
  813. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  814. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  815. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  816. Targetting=true
  817. RocketTarget=ZTarget
  818. for i=1,Property do
  819. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  820. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  821. swait()
  822. end
  823. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  824. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  825. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  826. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  827. end
  828. Targetting=false
  829. RocketTarget=nil
  830. targetgui.Parent=nil
  831. cam.CameraType="Custom"
  832. end
  833. end
  834. debounce=Instance.new("BoolValue")
  835. debounce.Name="DebounceHit"
  836. debounce.Parent=hit.Parent
  837. debounce.Value=true
  838. game:GetService("Debris"):AddItem(debounce,Delay)
  839. c=Instance.new("ObjectValue")
  840. c.Name="creator"
  841. c.Value=Player
  842. c.Parent=h
  843. game:GetService("Debris"):AddItem(c,.5)
  844. CRIT=false
  845. hitDeb=true
  846. AttackPos=6
  847. end
  848. end
  849.  
  850. showDamage=function(Char,Dealt,du,Color)
  851. m=Instance.new("Model")
  852. m.Name=tostring(Dealt)
  853. h=Instance.new("Humanoid")
  854. h.Health=0
  855. h.MaxHealth=0
  856. h.Parent=m
  857. c=Instance.new("Part")
  858. c.Transparency=0
  859. c.BrickColor=TorsoColor
  860. c.Name="Head"
  861. c.TopSurface=0
  862. c.BottomSurface=0
  863. c.formFactor="Plate"
  864. c.Size=Vector3.new(1,.4,1)
  865. ms=Instance.new("CylinderMesh")
  866. ms.Scale=Vector3.new(.8,.8,.8)
  867. so("http://www.roblox.com/asset/?id=199149269",c,1,1)
  868. if CRIT==true then
  869. ms.Scale=Vector3.new(1,1.25,1)
  870. end
  871. ms.Parent=c
  872. c.Reflectance=0
  873. Instance.new("BodyGyro").Parent=c
  874. c.Parent=m
  875. if Char:findFirstChild("Head")~=nil then
  876. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  877. elseif Char.Parent:findFirstChild("Head")~=nil then
  878. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  879. end
  880. f=Instance.new("BodyPosition")
  881. f.P=2000
  882. f.D=100
  883. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  884. f.position=c.Position+Vector3.new(0,3,0)
  885. f.Parent=c
  886. game:GetService("Debris"):AddItem(m,.5+du)
  887. c.CanCollide=false
  888. m.Parent=workspace
  889. c.CanCollide=false
  890. end
  891.  
  892. Player=game:GetService('Players').LocalPlayer
  893. Character=Player.Character
  894. Mouse=Player:GetMouse()
  895. m=Instance.new('Model',Character)
  896.  
  897.  
  898. local function weldBetween(a, b)
  899. local weldd = Instance.new("ManualWeld")
  900. weldd.Part0 = a
  901. weldd.Part1 = b
  902. weldd.C0 = CFrame.new()
  903. weldd.C1 = b.CFrame:inverse() * a.CFrame
  904. weldd.Parent = a
  905. return weldd
  906. end
  907.  
  908. it=Instance.new
  909.  
  910. function nooutline(part)
  911. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  912. end
  913.  
  914. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  915. local fp=it("Part")
  916. fp.formFactor=formfactor
  917. fp.Parent=parent
  918. fp.Reflectance=reflectance
  919. fp.Transparency=transparency
  920. fp.CanCollide=false
  921. fp.Locked=true
  922. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  923. fp.Name=name
  924. fp.Size=size
  925. fp.Position=Character.Torso.Position
  926. nooutline(fp)
  927. fp.Material=material
  928. fp:BreakJoints()
  929. return fp
  930. end
  931.  
  932. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  933. local mesh=it(Mesh)
  934. mesh.Parent=part
  935. if Mesh=="SpecialMesh" then
  936. mesh.MeshType=meshtype
  937. mesh.MeshId=meshid
  938. end
  939. mesh.Offset=offset
  940. mesh.Scale=scale
  941. return mesh
  942. end
  943.  
  944. function weld(parent,part0,part1,c0,c1)
  945. local weld=it("Weld")
  946. weld.Parent=parent
  947. weld.Part0=part0
  948. weld.Part1=part1
  949. weld.C0=c0
  950. weld.C1=c1
  951. return weld
  952. end
  953.  
  954. local modelzorz=Instance.new("Model")
  955. modelzorz.Parent=Character
  956. modelzorz.Name="Claw1"
  957.  
  958. Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  959. Handleweld=weld(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.74455023, 0.843135834, 3.31332064, 0.866820872, 0.000393055088, -0.498619556, 0.129048944, -0.966104209, 0.223582461, -0.481630623, -0.258152217, -0.837489963))
  960. mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  961. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  962. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.89693689, 0.0205960274, 1.83752108, 0.00084605813, 0.865680099, -0.500597, -0.999998748, 2.925843e-005, -0.00163948536, -0.00140464306, 0.500597715, 0.865678906))
  963. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  964. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0205993652, 3.97038841, -4.62090921, -0.999998689, 2.810359e-005, -0.00163501501, 0.00158691406, 0.25815019, -0.966103554, 0.0003949448, -0.966104805, -0.258149862))
  965. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  966. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  967. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.18639517, -0.292996764, 3.91572571, -0.407002717, 0.123095758, -0.905094743, -0.483149111, -0.869928718, 0.098949343, -0.775187671, 0.477568328, 0.413536996))
  968. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  969. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.62196398, -0.29297936, 1.11572647, -0.835932732, 0.424737811, -0.347583354, -0.483153641, -0.869926155, 0.0989501327, -0.260344028, 0.250651836, 0.932413459))
  970. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  971. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.55920649, -0.210347176, 1.642519, -0.865201712, -0.000320911407, -0.501423895, -2.98991799e-005, -0.999999881, 0.000691637397, -0.501424074, 0.000613339245, 0.865201592))
  972. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  973. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.931638, -0.0751047134, 4.50077248, -0.352038473, 0.176153034, -0.919260144, -0.86644727, -0.432817101, 0.248874903, -0.354031444, 0.884103954, 0.304995537))
  974. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  975. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.34771347, -0.763819337, 1.31078529, 0.484322906, -0.259408951, -0.835546851, 0.129806682, 0.965767562, -0.224595979, 0.865206063, 0.000317394733, 0.501416266))
  976. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  977. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.85524988, -0.0749192238, 1.7092638, -0.499263257, 0.749717236, -0.434350491, -0.866449237, -0.432811975, 0.248876765, -0.00140497088, 0.500597596, 0.865678906))
  978. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  979. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.76954031, -0.210381031, 4.2438035, -0.257231236, -0.00066010654, -0.966349661, -3.04505229e-005, -0.999999762, 0.000691249967, -0.966350019, 0.000207226723, 0.257231265))
  980. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  981. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.87043977, 0.020611763, 4.62094831, 0.00159165263, 0.258152187, -0.966103137, -0.999998748, 2.89455056e-005, -0.00163969398, -0.000395349402, 0.966104329, 0.258151829))
  982. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  983. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.292981744, 4.28636312, -3.9157095, -0.48314926, -0.869928479, 0.0989517197, -0.407004297, 0.123094313, -0.905094087, 0.775186777, -0.477569282, -0.413537562))
  984. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  985. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  986. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.85442352, -0.763632059, 3.85966015, -0.269319534, -0.183654502, -0.945377231, 0.129806384, 0.96576786, -0.22459501, 0.954262853, -0.183203816, -0.236260682))
  987. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  988. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0751276016, 4.03159618, -4.50067854, -0.866445661, -0.432817698, 0.248879611, -0.352042913, 0.176151246, -0.919258773, 0.354030937, -0.884103894, -0.304995805))
  989. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  990. Gear=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  991. Gearweld=weld(m,Handle,Gear,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0552597046, -0.0398271084, -0.0363032818, 0.999988854, -3.23429704e-005, 0.00164097548, 3.37436795e-005, 0.999994695, -0.000689953566, -0.00164103508, 0.000689953566, 0.999993086))
  992. mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  993. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  994. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.210398674, 3.86948943, -4.24380398, -3.15159559e-005, -0.999999881, 0.00069090724, -0.257231474, -0.000659480691, -0.966349721, 0.966349959, -0.000208158046, -0.257231474))
  995. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  996. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  997. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.763661504, 3.95439076, 3.85964441, -0.129806131, -0.965767682, 0.224596098, -0.269319892, -0.1836555, -0.945376873, 0.954262733, -0.183203891, -0.236260891))
  998. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  999.  
  1000. local modelzorz2=Instance.new("Model")
  1001. modelzorz2.Parent=Character
  1002. modelzorz2.Name="Claw2"
  1003.  
  1004. Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  1005. Handle2weld=weld(m,Character["Torso"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.65693045, 1.66835713, 2.9684639, 0.866025746, 0.129405379, 0.482963592, -3.67555799e-006, -0.965926409, 0.258817136, 0.499999553, -0.224144042, -0.836516559))
  1006. mesh("SpecialMesh",Handle2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1007. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1008. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.66774845, 0.445008755, 1.50737095, 0.749997497, 0.500002265, -0.433014721, -0.433012635, 0.866024196, 0.250004709, 0.500004232, -2.02655792e-006, 0.866023183))
  1009. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1010. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.70916891, 0.288796425, 1.12511444, 0.424947768, 0.836517453, -0.34591651, -0.870010257, 0.482961774, 0.0991482884, 0.250003695, 0.25881803, 0.933012009))
  1011. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1012. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.24143982, 0.288818121, 3.98402214, 0.123706907, 0.408494055, -0.904339194, -0.870007515, 0.482966691, 0.0991476029, 0.477266878, 0.774516642, 0.415139139))
  1013. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1014. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.288883209, 4.34139919, -3.98407936, -0.870006502, 0.482969046, 0.099145025, 0.123710275, 0.408492953, -0.904339135, -0.477267861, -0.774515808, -0.415139765))
  1015. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  1016. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1017. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.377311707, 3.81443644, -4.17874861, 1.43051147e-006, 1.00000012, 5.58793545e-006, 0.258813858, 5.02169132e-006, -0.965927303, -0.965927362, 2.82377005e-006, -0.258813858))
  1018. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  1019. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1020. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.11095357, 0.452475548, 3.33581829, 0.214266971, -0.258726388, -0.941886604, 0.124996454, -0.949091196, 0.289140463, -0.968744338, -0.179685742, -0.171018958))
  1021. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1022. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.445028067, 4.04179811, -4.22505188, -0.433007121, 0.86602807, 0.250001073, 0.176776409, 0.353552371, -0.918559194, -0.883886516, -0.353548348, -0.306183964))
  1023. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  1024. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1025. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.71447492, 0.377288342, 4.1787672, 0.258815825, 7.89761543e-007, -0.965926647, 2.11596489e-006, 1.00000012, 1.35600567e-006, 0.965926886, -2.41398811e-006, 0.258815885))
  1026. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1027. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.452456236, 4.21090841, 3.33576679, -0.124996543, 0.949091196, -0.289140046, 0.214267105, -0.25872606, -0.941886783, -0.968744338, -0.179685771, -0.171019137))
  1028. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  1029. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1030. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.94182658, 0.445016861, 4.22507095, 0.176774979, 0.353554398, -0.918558657, -0.433007926, 0.866026998, 0.250003278, 0.883886337, 0.353548825, 0.306183696))
  1031. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1032. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.256506443, 3.92671657, -4.59811449, -1.00000024, 2.62260437e-006, 1.4603138e-006, -7.4505806e-007, 0.258819073, -0.965925872, -2.89268792e-006, -0.965925932, -0.258819073))
  1033. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  1034. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1035. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.4743073, 0.377253056, 1.63544273, 0.866023183, -4.61935997e-007, -0.500004172, 1.52736902e-006, 1.00000012, 1.65402889e-006, 0.500004232, -2.21282244e-006, 0.866023183))
  1036. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1037. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15870619, 0.452619314, 0.758959055, -0.533491194, -0.310006529, -0.786945462, 0.124997422, -0.949090362, 0.289142251, -0.836518347, 0.0558886975, 0.545081377))
  1038. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1039. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.84976673, 0.256440639, 1.85214663, 6.2584877e-007, 0.866025329, -0.500000298, -1.00000024, 1.72108412e-006, 1.7285347e-006, 2.38418579e-006, 0.500000298, 0.866025329))
  1040. Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  1041. Gear2weld=weld(m,Handle2,Gear2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.049841404, 0.049908638, 2.78949738e-005, 0.999990344, -5.01424074e-006, -1.49011612e-007, 5.28991222e-006, 0.999994934, 2.98023224e-008, 2.38418579e-007, -1.63912773e-007, 0.999994636))
  1042. mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  1043. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1044. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.82676554, 0.256523609, 4.598104, -1.1920929e-006, 0.258818835, -0.965925872, -1.00000012, 1.46776438e-006, 1.63912773e-006, 1.83098018e-006, 0.965925872, 0.258818835))
  1045.  
  1046. local modelzorz3=Instance.new("Model")
  1047. modelzorz3.Parent=Character
  1048. modelzorz3.Name="Eye"
  1049.  
  1050. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  1051. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.22326851, -3.5562191, -0.038143158, 0, 0, 1, 0, 1, 0, -1, 0, 0))
  1052. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1))
  1053. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  1054. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1055. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 0.950000048, 1.16999996))
  1056. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  1057. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1058. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 3, 0.863999963))
  1059. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(3.79999995, 4, 1.39999998))
  1060. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0))
  1061. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.77400017, 4.96199989, 4.73800039))
  1062. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(3.79999995, 4, 1.39999998))
  1063. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0))
  1064. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.4920001, 4.70400047, 4.73800039))
  1065. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  1066. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.48671532, -1.09328079, 1, -2.52891718e-012, -6.81310423e-013, 2.53075664e-012, 0.866021812, 0.500005603, -6.74442273e-013, -0.500005603, 0.866021752))
  1067. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  1068. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100009918, -3.09970522, 1.40989685, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1069. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  1070. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100009918, -3.09970522, 1.39007568, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702))
  1071. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  1072. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.61302567, 0.360752106, 1, -3.69486299e-012, 1.70532143e-012, 3.81851625e-012, 0.707111537, -0.707102001, 1.40679254e-012, 0.70710206, 0.707111537))
  1073. local moosick = it("Sound",Character)
  1074. moosick.SoundId = "rbxassetid://142653441"
  1075. --142653441, 175067863
  1076. moosick.Looped = true
  1077. moosick.Pitch = 1
  1078. moosick.Volume = 0
  1079. moosick:Play()
  1080.  
  1081. anim = Character:findFirstChild("Animate")
  1082. if anim then
  1083. anim:Destroy()
  1084. end
  1085.  
  1086. local particleemitter = Instance.new("ParticleEmitter", Handle)
  1087. particleemitter.VelocitySpread = 180
  1088. particleemitter.Lifetime = NumberRange.new(0.1)
  1089. particleemitter.Speed = NumberRange.new(2)
  1090. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  1091. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  1092. particleemitter.Rate = 100
  1093. particleemitter.Rotation = NumberRange.new(-45, 45)
  1094. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  1095. particleemitter.LightEmission = 0
  1096. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  1097.  
  1098. local particleemitter = Instance.new("ParticleEmitter", Handle2)
  1099. particleemitter.VelocitySpread = 180
  1100. particleemitter.Lifetime = NumberRange.new(0.1)
  1101. particleemitter.Speed = NumberRange.new(2)
  1102. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  1103. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  1104. particleemitter.Rate = 100
  1105. particleemitter.Rotation = NumberRange.new(-45, 45)
  1106. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  1107. particleemitter.LightEmission = 0
  1108. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  1109.  
  1110. local particleemitter = Instance.new("ParticleEmitter", handle)
  1111. particleemitter.VelocitySpread = 180
  1112. particleemitter.Lifetime = NumberRange.new(0.1)
  1113. particleemitter.Speed = NumberRange.new(2)
  1114. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 7.563)})
  1115. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  1116. particleemitter.Rate = 100
  1117. particleemitter.Rotation = NumberRange.new(-45, 45)
  1118. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  1119. particleemitter.LightEmission = 0.8
  1120. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  1121.  
  1122. local light = Instance.new("PointLight", Character.Torso)
  1123. light.Color = Color3.new(255,255,255)
  1124. light.Brightness = 5
  1125. light.Range = 15
  1126.  
  1127. particleemitter.Enabled = true
  1128.  
  1129. local Footsteps = it("Sound",Character.Torso)
  1130. Footsteps.SoundId = "rbxassetid://142665235"
  1131. Footsteps.Looped = true
  1132. Footsteps.Pitch = 0.8
  1133. Footsteps.Volume = 0.3
  1134.  
  1135. local Footsteps2 = it("Sound",Character.Torso)
  1136. Footsteps2.SoundId = "rbxassetid://142665235"
  1137. Footsteps2.Looped = true
  1138. Footsteps2.Pitch = 1
  1139. Footsteps2.Volume = 0.4
  1140.  
  1141. local cam = game.Workspace.CurrentCamera
  1142.  
  1143. --cam.CameraSubject = Character
  1144.  
  1145. for i,v in pairs(Head:children()) do
  1146. if v:IsA("Sound") then
  1147. v:Destroy()
  1148. end
  1149. end
  1150.  
  1151. mouse.Button1Down:connect(function()
  1152. if attack==false and attacktype==1 then
  1153. attacktype=2
  1154. attackone()
  1155. elseif attack==false and attacktype==2 then
  1156. attacktype=3
  1157. attacktwo()
  1158. elseif attack==false and attacktype==3 then
  1159. attacktype=4
  1160. attackthree()
  1161. elseif attack==false and attacktype==4 then
  1162. attacktype=1
  1163. attackfour()
  1164. end
  1165. end)
  1166.  
  1167. mouse.KeyDown:connect(function(k)
  1168. k=k:lower()
  1169. if k=='e' then
  1170. if attack==false and mana>=20 then
  1171. Push()
  1172. end
  1173. elseif k=='g' then
  1174. if attack==false and mana>=50 then
  1175. Twirl()
  1176. end
  1177. elseif k=='v' then
  1178. if attack==false and mana>=25 then
  1179. MagicJump()
  1180. end
  1181. elseif k=='q' then
  1182. if attack==false then
  1183. idle=1000
  1184. end
  1185. elseif k=='h' then
  1186. if attack==false then
  1187. mana=100
  1188. end
  1189. elseif k=='y' then
  1190. if attack==false and mana>=100 then
  1191. Shred()
  1192. end
  1193. elseif k=='f' then
  1194. if attack==false and mana>=40 then
  1195. Spin()
  1196. end
  1197. elseif k=='r' then
  1198. if attack==false and mana>=20 then
  1199. Clap()
  1200. end
  1201. elseif k=='t' then
  1202. if attack==false then
  1203. Hai()
  1204. end
  1205. elseif k=='0' then
  1206. if attack==false then
  1207. Humanoid.WalkSpeed=(56)
  1208. end
  1209. elseif k=='j' then
  1210. if attack==false then
  1211. Humanoid.Health = 100
  1212. print("Congrats, you commited suicide.")
  1213. end
  1214. end
  1215. end)
  1216.  
  1217. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1218. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1219. prt.Anchored=true
  1220. prt.CFrame=cframe
  1221. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1222. game:GetService("Debris"):AddItem(prt,2)
  1223. coroutine.resume(coroutine.create(function(Part,Mesh)
  1224. for i=0,1,delay do
  1225. wait()
  1226. Part.CFrame=Part.CFrame
  1227. Part.Transparency=i
  1228. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1229. end
  1230. Part.Parent=nil
  1231. end),prt,msh)
  1232. end
  1233.  
  1234. TrailDeb = false
  1235.  
  1236. function equipanim()
  1237. attack=true
  1238. Humanoid.WalkSpeed = 0
  1239. if TrailDeb == false then
  1240. TrailDeb = true
  1241. end
  1242.  
  1243.  
  1244. coroutine.wrap(function()
  1245. local Old = handle.CFrame.p
  1246. while wait()do
  1247. if not TrailDeb then break end
  1248. local New = handle.CFrame.p
  1249. local Mag =(Old -New).magnitude
  1250. local Dis =(Old +New)/2
  1251. local Trail = Instance.new("Part",Character)
  1252. Trail.Material = "Neon"
  1253. Trail.Anchored = true
  1254. Trail.CanCollide = false
  1255. Trail.BrickColor = TorsoColor
  1256. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1257. Trail.TopSurface = 0
  1258. Trail.BottomSurface = 0
  1259. Trail.formFactor = "Custom"
  1260. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1261. local ms = Instance.new("BlockMesh",Trail)
  1262. ms.Scale = Vector3.new(1,1,1)
  1263. local TM = Instance.new("CylinderMesh",Trail)
  1264. TM.Scale = Vector3.new(1,1,1)
  1265. Old = New
  1266. coroutine.wrap(function()
  1267. for i = 1,0,-0.1 do
  1268. wait()
  1269. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1270. end
  1271. Trail:remove()
  1272. end)()
  1273. coroutine.wrap(function()
  1274. for i = 1,10 do
  1275. wait()
  1276. Trail.Transparency = Trail.Transparency +0.1
  1277. end end)()end end)()
  1278. coroutine.wrap(function()
  1279. local Old = Handle.CFrame.p
  1280. while wait()do
  1281. if not TrailDeb then break end
  1282. local New = Handle.CFrame.p
  1283. local Mag =(Old -New).magnitude
  1284. local Dis =(Old +New)/2
  1285. local Trail = Instance.new("Part",Character)
  1286. Trail.Material = "Neon"
  1287. Trail.Anchored = true
  1288. Trail.CanCollide = false
  1289. Trail.BrickColor = TorsoColor
  1290. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1291. Trail.TopSurface = 0
  1292. Trail.BottomSurface = 0
  1293. Trail.formFactor = "Custom"
  1294. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1295. local ms = Instance.new("BlockMesh",Trail)
  1296. ms.Scale = Vector3.new(1,1,1)
  1297. local TM = Instance.new("CylinderMesh",Trail)
  1298. TM.Scale = Vector3.new(1,1,1)
  1299. Old = New
  1300. coroutine.wrap(function()
  1301. for i = 1,0,-0.1 do
  1302. wait()
  1303. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1304. end
  1305. Trail:remove()
  1306. end)()
  1307. coroutine.wrap(function()
  1308. for i = 1,10 do
  1309. wait()
  1310. Trail.Transparency = Trail.Transparency +0.1
  1311. end end)()end end)()
  1312. coroutine.wrap(function()
  1313. local Old = Handle2.CFrame.p
  1314. while wait()do
  1315. if not TrailDeb then break end
  1316. local New = Handle2.CFrame.p
  1317. local Mag =(Old -New).magnitude
  1318. local Dis =(Old +New)/2
  1319. local Trail = Instance.new("Part",Character)
  1320. Trail.Material = "Neon"
  1321. Trail.Anchored = true
  1322. Trail.CanCollide = false
  1323. Trail.BrickColor = TorsoColor
  1324. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1325. Trail.TopSurface = 0
  1326. Trail.BottomSurface = 0
  1327. Trail.formFactor = "Custom"
  1328. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1329. local ms = Instance.new("BlockMesh",Trail)
  1330. ms.Scale = Vector3.new(1,1,1)
  1331. local TM = Instance.new("CylinderMesh",Trail)
  1332. TM.Scale = Vector3.new(1,1,1)
  1333. Old = New
  1334. coroutine.wrap(function()
  1335. for i = 1,0,-0.1 do
  1336. wait()
  1337. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1338. end
  1339. Trail:remove()
  1340. end)()
  1341. coroutine.wrap(function()
  1342. for i = 1,10 do
  1343. wait()
  1344. Trail.Transparency = Trail.Transparency +0.1
  1345. end end)()end end)()
  1346. so("http://www.roblox.com/asset/?id=200632370",Torso,1,0.5)
  1347. for i=0,1,0.005 do
  1348. swait()
  1349. moosick.Volume = 0+1*i
  1350. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,100-100*i)*euler(0,0,0+90*i),.2)
  1351. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
  1352. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1353. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1354. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1355. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
  1356. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
  1357. end
  1358. for i=0,1,0.005 do
  1359. swait()
  1360. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2.5)*euler(0,0,0+90*i),.2)
  1361. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
  1362. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1363. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1364. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1365. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
  1366. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
  1367. end
  1368. so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
  1369. so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
  1370. for i=0,1,0.005 do
  1371. swait()
  1372. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5+1*i)*angles(math.rad(-15),math.rad(0),math.rad(0)),0.1)
  1373. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),0.1)
  1374. handleweld.C0=clerp(handleweld.C0,cf(0,0+1*i,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  1375. Handle2weld.C0=clerp(Handle2weld.C0,cf(0-1*i,0,0)*angles(math.rad(90),math.rad(15),math.rad(0)),0.1)
  1376. Handleweld.C0=clerp(Handleweld.C0,cf(0+1*i,0,0)*angles(math.rad(90),math.rad(-15),math.rad(0)),0.1)
  1377. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1)
  1378. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1)
  1379. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1)
  1380. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1)
  1381. end
  1382. for i=0,1,0.04 do
  1383. swait()
  1384. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  1385. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1386. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1387. Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1388. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  1389. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  1390. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1391. LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3)
  1392. end
  1393. --dmgstop()
  1394. attack=false
  1395. Humanoid.WalkSpeed = 12
  1396. if TrailDeb == true then
  1397. TrailDeb = false
  1398. end
  1399. end
  1400.  
  1401. function attackone()
  1402. attack=true
  1403. if TrailDeb == false then
  1404. TrailDeb = true
  1405. end
  1406.  
  1407.  
  1408. coroutine.wrap(function()
  1409. local Old = Handle.CFrame.p
  1410. while wait()do
  1411. if not TrailDeb then break end
  1412. local New = Handle.CFrame.p
  1413. local Mag =(Old -New).magnitude
  1414. local Dis =(Old +New)/2
  1415. local Trail = Instance.new("Part",Character)
  1416. Trail.Material = "Neon"
  1417. Trail.Anchored = true
  1418. Trail.CanCollide = false
  1419. Trail.BrickColor = TorsoColor
  1420. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1421. Trail.TopSurface = 0
  1422. Trail.BottomSurface = 0
  1423. Trail.formFactor = "Custom"
  1424. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1425. local ms = Instance.new("BlockMesh",Trail)
  1426. ms.Scale = Vector3.new(1,1,1)
  1427. local TM = Instance.new("CylinderMesh",Trail)
  1428. TM.Scale = Vector3.new(1,1,1)
  1429. Old = New
  1430. coroutine.wrap(function()
  1431. for i = 1,0,-0.1 do
  1432. wait()
  1433. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1434. end
  1435. Trail:remove()
  1436. end)()
  1437. coroutine.wrap(function()
  1438. for i = 1,10 do
  1439. wait()
  1440. Trail.Transparency = Trail.Transparency +0.1
  1441. end end)()end end)()
  1442. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1443. for i=0,1,0.08 do
  1444. swait()
  1445. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3)
  1446. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3)
  1447. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1448. Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  1449. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1450. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3)
  1451. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1452. end
  1453. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.9)
  1454. so("http://www.roblox.com/asset/?id=159972643",Torso,1,1)
  1455. for i=0,1,0.1 do
  1456. swait()
  1457. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3)
  1458. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1459. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1460. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2)
  1461. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1462. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3)
  1463. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1464. end
  1465. --dmgstop()
  1466. attack=false
  1467. con1:disconnect()
  1468. if TrailDeb == true then
  1469. TrailDeb = false
  1470. end
  1471. end
  1472.  
  1473. function attacktwo()
  1474. attack=true
  1475. if TrailDeb == false then
  1476. TrailDeb = true
  1477. end
  1478.  
  1479.  
  1480. coroutine.wrap(function()
  1481. local Old = Handle2.CFrame.p
  1482. while wait()do
  1483. if not TrailDeb then break end
  1484. local New = Handle2.CFrame.p
  1485. local Mag =(Old -New).magnitude
  1486. local Dis =(Old +New)/2
  1487. local Trail = Instance.new("Part",Character)
  1488. Trail.Material = "Neon"
  1489. Trail.Anchored = true
  1490. Trail.CanCollide = false
  1491. Trail.BrickColor = TorsoColor
  1492. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1493. Trail.TopSurface = 0
  1494. Trail.BottomSurface = 0
  1495. Trail.formFactor = "Custom"
  1496. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1497. local ms = Instance.new("BlockMesh",Trail)
  1498. ms.Scale = Vector3.new(1,1,1)
  1499. local TM = Instance.new("CylinderMesh",Trail)
  1500. TM.Scale = Vector3.new(1,1,1)
  1501. Old = New
  1502. coroutine.wrap(function()
  1503. for i = 1,0,-0.1 do
  1504. wait()
  1505. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1506. end
  1507. Trail:remove()
  1508. end)()
  1509. coroutine.wrap(function()
  1510. for i = 1,10 do
  1511. wait()
  1512. Trail.Transparency = Trail.Transparency +0.1
  1513. end end)()end end)()
  1514. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1515. for i=0,1,0.08 do
  1516. swait()
  1517. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  1518. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1519. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1520. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  1521. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1522. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  1523. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  1524. end
  1525. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  1526. so("http://www.roblox.com/asset/?id=159972627",Torso,1,1)
  1527. for i=0,1,0.1 do
  1528. swait()
  1529. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1530. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  1531. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1532. Handle2weld.C0=clerp(Handle2weld.C0,cf(10,1,-5)*angles(math.rad(0),math.rad(-80),math.rad(20)),.2)
  1533. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1534. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  1535. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  1536. end
  1537. --dmgstop()
  1538. attack=false
  1539. con1:disconnect()
  1540. if TrailDeb == true then
  1541. TrailDeb = false
  1542. end
  1543. end
  1544.  
  1545. function attackthree()
  1546. attack=true
  1547. if TrailDeb == false then
  1548. TrailDeb = true
  1549. end
  1550.  
  1551.  
  1552. coroutine.wrap(function()
  1553. local Old = Handle.CFrame.p
  1554. while wait()do
  1555. if not TrailDeb then break end
  1556. local New = Handle.CFrame.p
  1557. local Mag =(Old -New).magnitude
  1558. local Dis =(Old +New)/2
  1559. local Trail = Instance.new("Part",Character)
  1560. Trail.Material = "Neon"
  1561. Trail.Anchored = true
  1562. Trail.CanCollide = false
  1563. Trail.BrickColor = TorsoColor
  1564. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1565. Trail.TopSurface = 0
  1566. Trail.BottomSurface = 0
  1567. Trail.formFactor = "Custom"
  1568. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1569. local ms = Instance.new("BlockMesh",Trail)
  1570. ms.Scale = Vector3.new(1,1,1)
  1571. local TM = Instance.new("CylinderMesh",Trail)
  1572. TM.Scale = Vector3.new(1,1,1)
  1573. Old = New
  1574. coroutine.wrap(function()
  1575. for i = 1,0,-0.1 do
  1576. wait()
  1577. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1578. end
  1579. Trail:remove()
  1580. end)()
  1581. coroutine.wrap(function()
  1582. for i = 1,10 do
  1583. wait()
  1584. Trail.Transparency = Trail.Transparency +0.1
  1585. end end)()end end)()
  1586. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Up",RootPart,.2,1) end)
  1587. for i=0,1,0.08 do
  1588. swait()
  1589. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1590. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1591. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1592. Handleweld.C0=clerp(Handleweld.C0,cf(3,7,-1)*angles(math.rad(20),math.rad(0),math.rad(-120)),.2)
  1593. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1594. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(0.5,-1.3,-0.1),.3)
  1595. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1596. end
  1597. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  1598. so("http://www.roblox.com/asset/?id=159882477",Torso,1,1)
  1599. for i=0,1,0.05 do
  1600. swait()
  1601. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1602. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1603. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1604. Handleweld.C0=clerp(Handleweld.C0,cf(2,4,-3)*angles(math.rad(120),math.rad(0),math.rad(-120)),.2)
  1605. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1606. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(2,-1.3,0.1),.3)
  1607. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1608. end
  1609. --dmgstop()
  1610. attack=false
  1611. con1:disconnect()
  1612. if TrailDeb == true then
  1613. TrailDeb = false
  1614. end
  1615. end
  1616.  
  1617. function attackfour()
  1618. attack=true
  1619. if TrailDeb == false then
  1620. TrailDeb = true
  1621. end
  1622.  
  1623.  
  1624. coroutine.wrap(function()
  1625. local Old = Handle2.CFrame.p
  1626. while wait()do
  1627. if not TrailDeb then break end
  1628. local New = Handle2.CFrame.p
  1629. local Mag =(Old -New).magnitude
  1630. local Dis =(Old +New)/2
  1631. local Trail = Instance.new("Part",Character)
  1632. Trail.Material = "Neon"
  1633. Trail.Anchored = true
  1634. Trail.CanCollide = false
  1635. Trail.BrickColor = TorsoColor
  1636. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1637. Trail.TopSurface = 0
  1638. Trail.BottomSurface = 0
  1639. Trail.formFactor = "Custom"
  1640. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1641. local ms = Instance.new("BlockMesh",Trail)
  1642. ms.Scale = Vector3.new(1,1,1)
  1643. local TM = Instance.new("CylinderMesh",Trail)
  1644. TM.Scale = Vector3.new(1,1,1)
  1645. Old = New
  1646. coroutine.wrap(function()
  1647. for i = 1,0,-0.1 do
  1648. wait()
  1649. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1650. end
  1651. Trail:remove()
  1652. end)()
  1653. coroutine.wrap(function()
  1654. for i = 1,10 do
  1655. wait()
  1656. Trail.Transparency = Trail.Transparency +0.1
  1657. end end)()end end)()
  1658. coroutine.wrap(function()
  1659. local Old = Handle.CFrame.p
  1660. while wait()do
  1661. if not TrailDeb then break end
  1662. local New = Handle.CFrame.p
  1663. local Mag =(Old -New).magnitude
  1664. local Dis =(Old +New)/2
  1665. local Trail = Instance.new("Part",Character)
  1666. Trail.Material = "Neon"
  1667. Trail.Anchored = true
  1668. Trail.CanCollide = false
  1669. Trail.BrickColor = TorsoColor
  1670. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1671. Trail.TopSurface = 0
  1672. Trail.BottomSurface = 0
  1673. Trail.formFactor = "Custom"
  1674. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1675. local ms = Instance.new("BlockMesh",Trail)
  1676. ms.Scale = Vector3.new(1,1,1)
  1677. local TM = Instance.new("CylinderMesh",Trail)
  1678. TM.Scale = Vector3.new(1,1,1)
  1679. Old = New
  1680. coroutine.wrap(function()
  1681. for i = 1,0,-0.1 do
  1682. wait()
  1683. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1684. end
  1685. Trail:remove()
  1686. end)()
  1687. coroutine.wrap(function()
  1688. for i = 1,10 do
  1689. wait()
  1690. Trail.Transparency = Trail.Transparency +0.1
  1691. end end)()end end)()
  1692. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1693. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1694. for i=0,1,0.08 do
  1695. swait()
  1696. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  1697. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1698. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1699. Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1700. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  1701. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  1702. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1703. LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3)
  1704. end
  1705. if anim then
  1706. anim.Disabled=true
  1707. end
  1708. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.7)
  1709. so("http://www.roblox.com/asset/?id=159882584",Torso,1,1)
  1710. for i=0,1,0.04 do
  1711. swait()
  1712. Torso.Velocity=RootPart.CFrame.lookVector*50
  1713. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(-5),math.rad(0),math.rad(0+360*i)),.3)
  1714. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1715. Handleweld.C0=clerp(Handleweld.C0,cf(3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1716. Handle2weld.C0=clerp(Handle2weld.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1717. RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1718. LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1719. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1720. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1721. end
  1722. --dmgstop()
  1723. attack=false
  1724. con1:disconnect()
  1725. con2:disconnect()
  1726. if anim then
  1727. anim.Disabled=false
  1728. end
  1729. if TrailDeb == true then
  1730. TrailDeb = false
  1731. end
  1732. end
  1733.  
  1734. function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2)
  1735. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1736. prt.Anchored = true
  1737. prt.CFrame = cframe
  1738. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  1739. coroutine.resume(coroutine.create(function()
  1740. for i = 0, 1, 0.05 do
  1741. wait()
  1742. prt.Transparency = i
  1743. msh.Scale = msh.Scale + vt(x2, y2, z2)
  1744. end
  1745. prt.Parent = nil
  1746. end))
  1747. end
  1748.  
  1749. function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
  1750. for _, c in pairs(workspace:children()) do
  1751. local hum = c:findFirstChild("Humanoid")
  1752. if hum ~= nil then
  1753. local head = c:findFirstChild("Torso")
  1754. if head ~= nil then
  1755. local targ = head.Position - Part.Position
  1756. local mag = targ.magnitude
  1757. if mag <= magni and c.Name ~= Player.Name then
  1758. Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3)
  1759. end
  1760. end
  1761. end
  1762. end
  1763. end
  1764.  
  1765. function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1766. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1767. prt.Anchored = true
  1768. prt.CFrame = cframe
  1769. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1770. game:GetService("Debris"):AddItem(prt, 2)
  1771. coroutine.resume(coroutine.create(function(Part, Mesh)
  1772. for i = 0, 1, delay do
  1773. swait()
  1774. Part.CFrame = Part.CFrame
  1775. Part.Transparency = i
  1776. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1777. end
  1778. Part.Parent = nil
  1779. end), prt, msh)
  1780. end
  1781.  
  1782. function MagicJump()
  1783. if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then
  1784. attack=true
  1785. mana=mana-25
  1786. --[[ Humanoid.WalkSpeed = 0
  1787. for i=0,1,0.01 do
  1788. swait()
  1789. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.2)*angles(math.rad(45),math.rad(0),math.rad(45)),.1)
  1790. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-15),math.rad(15),math.rad(-45)),.1)
  1791. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  1792. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(45)),.1)
  1793. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(15),math.rad(-30)),.1)
  1794. RH.C0=clerp(RH.C0,cf(0.5,-1.25,0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(15),math.rad(-60),math.rad(-15)),.1)
  1795. LH.C0=clerp(LH.C0,cf(-1,0.1,-0.8)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(40),math.rad(0),math.rad(-30)),.1)
  1796. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(45)),.1)
  1797. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,-6)*angles(math.rad(-15),math.rad(-60),math.rad(45)),.1)
  1798. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(60),math.rad(45)),.1)
  1799. end]]--
  1800. Humanoid.Jump = true
  1801. Torso.Velocity = vt(0, 150, 0)
  1802. Humanoid.WalkSpeed = 64
  1803. so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
  1804. so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
  1805. for i=0,1,0.05 do
  1806. swait()
  1807. Neck.C0=clerp(Neck.C0,necko*euler(0.5,0,0),.3)
  1808. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1809. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0+8*i,0,0),.3)
  1810. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  1811. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
  1812. RH.C0=clerp(RH.C0,cf(1,0,-1)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  1813. LH.C0=clerp(LH.C0,cf(-1,0,-1)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  1814. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  1815. Handleweld.C0=clerp(Handleweld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(60),math.rad(0)),.2)
  1816. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(-60),math.rad(0)),.2)
  1817. end
  1818. for i=0,1,0.02 do
  1819. swait()
  1820. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  1821. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1822. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  1823. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  1824. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1825. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  1826. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1827. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  1828. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  1829. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1830. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  1831. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  1832. end
  1833. Humanoid.WalkSpeed = 0
  1834. swait(8)
  1835. so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
  1836. so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
  1837. local hit,pos=rayCast(Torso.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
  1838. if hit~=nil then
  1839. swait(2)
  1840. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
  1841. ref.Anchored=true
  1842. ref.CFrame=cf(pos)
  1843. game:GetService("Debris"):AddItem(ref,3)
  1844. for i=1,10 do
  1845. local Col=BrickColor.new("Really black")
  1846. local groundpart=part(3,Character,"SmoothPlastic",0,0,Col,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
  1847. groundpart.Anchored=true
  1848. groundpart.CanCollide=false
  1849. groundpart.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1850. local Col2=TorsoColor
  1851. local groundpart2=part(3,Character,"SmoothPlastic",0,0,Col2,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
  1852. groundpart2.Anchored=true
  1853. groundpart2.CanCollide=false
  1854. groundpart2.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1855. game:GetService("Debris"):AddItem(groundpart,5)
  1856. game:GetService("Debris"):AddItem(groundpart2,5)
  1857. end
  1858. BlastEffect(TorsoColor,cf(pos),1,1,1,1.4,1.4,1.4)
  1859. BlastEffect(BrickColor.new("Really black"),cf(pos),.9,.9,.9,1.2,1.2,1.2)
  1860. MagicCircle(BrickColor.new("Really black"),cf(pos),5,5,5,5,5,5,0.05)
  1861. MagicCircle(TorsoColor,cf(pos),6,6,6,6,6,6,0.05)
  1862. for i=0,1,0.06 do
  1863. swait()
  1864. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1865. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1866. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*angles(math.rad(50),math.rad(0),math.rad(0)),.3)
  1867. RW.C0=clerp(RW.C0,cf(1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(-30)),.3)
  1868. LW.C0=clerp(LW.C0,cf(-1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(30)),.3)
  1869. RH.C0=clerp(RH.C0,cf(1, -.5, -.5)*angles(math.rad(50),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1870. LH.C0=clerp(LH.C0,cf(-1, -1, -.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1871. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1872. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  1873. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  1874. end
  1875. end
  1876. swait(20)
  1877. Humanoid.WalkSpeed = 12
  1878. --dmgstop()
  1879. attack=false
  1880. end
  1881. end
  1882.  
  1883. function Spin()
  1884. attack=true
  1885. mana=mana-40
  1886. if TrailDeb == false then
  1887. TrailDeb = true
  1888. end
  1889.  
  1890. coroutine.wrap(function()
  1891. local Old = Handle2.CFrame.p
  1892. while wait()do
  1893. if not TrailDeb then break end
  1894. local New = Handle2.CFrame.p
  1895. local Mag =(Old -New).magnitude
  1896. local Dis =(Old +New)/2
  1897. local Trail = Instance.new("Part",Character)
  1898. Trail.Material = "Neon"
  1899. Trail.Anchored = true
  1900. Trail.CanCollide = false
  1901. Trail.BrickColor = TorsoColor
  1902. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1903. Trail.TopSurface = 0
  1904. Trail.BottomSurface = 0
  1905. Trail.formFactor = "Custom"
  1906. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1907. local ms = Instance.new("BlockMesh",Trail)
  1908. ms.Scale = Vector3.new(1,1,1)
  1909. local TM = Instance.new("CylinderMesh",Trail)
  1910. TM.Scale = Vector3.new(1,1,1)
  1911. Old = New
  1912. coroutine.wrap(function()
  1913. for i = 1,0,-0.1 do
  1914. wait()
  1915. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1916. end
  1917. Trail:remove()
  1918. end)()
  1919. coroutine.wrap(function()
  1920. for i = 1,10 do
  1921. wait()
  1922. Trail.Transparency = Trail.Transparency +0.1
  1923. end end)()end end)()
  1924. coroutine.wrap(function()
  1925. local Old = Handle.CFrame.p
  1926. while wait()do
  1927. if not TrailDeb then break end
  1928. local New = Handle.CFrame.p
  1929. local Mag =(Old -New).magnitude
  1930. local Dis =(Old +New)/2
  1931. local Trail = Instance.new("Part",Character)
  1932. Trail.Material = "Neon"
  1933. Trail.Anchored = true
  1934. Trail.CanCollide = false
  1935. Trail.BrickColor = TorsoColor
  1936. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1937. Trail.TopSurface = 0
  1938. Trail.BottomSurface = 0
  1939. Trail.formFactor = "Custom"
  1940. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1941. local ms = Instance.new("BlockMesh",Trail)
  1942. ms.Scale = Vector3.new(1,1,1)
  1943. local TM = Instance.new("CylinderMesh",Trail)
  1944. TM.Scale = Vector3.new(1,1,1)
  1945. Old = New
  1946. coroutine.wrap(function()
  1947. for i = 1,0,-0.1 do
  1948. wait()
  1949. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1950. end
  1951. Trail:remove()
  1952. end)()
  1953. coroutine.wrap(function()
  1954. for i = 1,10 do
  1955. wait()
  1956. Trail.Transparency = Trail.Transparency +0.1
  1957. end end)()end end)()
  1958. Footsteps:Stop()
  1959. Footsteps2:Stop()
  1960. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  1961. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  1962. so("http://www.roblox.com/asset/?id=159882497",Torso,1,1)
  1963. for i=0,1,0.1 do
  1964. swait()
  1965. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1966. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1967. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1968. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1969. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1970. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1971. end
  1972. if anim then
  1973. anim.Disabled=true
  1974. end
  1975. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  1976. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  1977. for i=0,1,0.05 do
  1978. swait()
  1979. Torso.Velocity=RootPart.CFrame.lookVector*100
  1980. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  1981. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1982. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1983. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1984. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1985. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1986. end
  1987. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  1988. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  1989. for i=0,1,0.05 do
  1990. swait()
  1991. Torso.Velocity=RootPart.CFrame.lookVector*100
  1992. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  1993. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1994. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1995. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1996. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1997. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1998. end
  1999. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  2000. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  2001. for i=0,1,0.05 do
  2002. swait()
  2003. Torso.Velocity=RootPart.CFrame.lookVector*100
  2004. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  2005. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2006. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2007. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2008. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2009. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2010. end
  2011. --dmgstop()
  2012. Humanoid.WalkSpeed=12
  2013. attack=false
  2014. con1:disconnect()
  2015. con2:disconnect()
  2016. if anim then
  2017. anim.Disabled=false
  2018. end
  2019. if TrailDeb == true then
  2020. TrailDeb = false
  2021. end
  2022. end
  2023.  
  2024. function Twirl()
  2025. mana=mana-50
  2026. attack=true
  2027. if TrailDeb == false then
  2028. TrailDeb = true
  2029. end
  2030.  
  2031.  
  2032. coroutine.wrap(function()
  2033. local Old = Handle2.CFrame.p
  2034. while wait()do
  2035. if not TrailDeb then break end
  2036. local New = Handle2.CFrame.p
  2037. local Mag =(Old -New).magnitude
  2038. local Dis =(Old +New)/2
  2039. local Trail = Instance.new("Part",Character)
  2040. Trail.Material = "Neon"
  2041. Trail.Anchored = true
  2042. Trail.CanCollide = false
  2043. Trail.BrickColor = TorsoColor
  2044. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2045. Trail.TopSurface = 0
  2046. Trail.BottomSurface = 0
  2047. Trail.formFactor = "Custom"
  2048. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2049. local ms = Instance.new("BlockMesh",Trail)
  2050. ms.Scale = Vector3.new(1,1,1)
  2051. local TM = Instance.new("CylinderMesh",Trail)
  2052. TM.Scale = Vector3.new(1,1,1)
  2053. Old = New
  2054. coroutine.wrap(function()
  2055. for i = 1,0,-0.1 do
  2056. wait()
  2057. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2058. end
  2059. Trail:remove()
  2060. end)()
  2061. coroutine.wrap(function()
  2062. for i = 1,10 do
  2063. wait()
  2064. Trail.Transparency = Trail.Transparency +0.1
  2065. end end)()end end)()
  2066. coroutine.wrap(function()
  2067. local Old = Handle.CFrame.p
  2068. while wait()do
  2069. if not TrailDeb then break end
  2070. local New = Handle.CFrame.p
  2071. local Mag =(Old -New).magnitude
  2072. local Dis =(Old +New)/2
  2073. local Trail = Instance.new("Part",Character)
  2074. Trail.Material = "Neon"
  2075. Trail.Anchored = true
  2076. Trail.CanCollide = false
  2077. Trail.BrickColor = TorsoColor
  2078. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2079. Trail.TopSurface = 0
  2080. Trail.BottomSurface = 0
  2081. Trail.formFactor = "Custom"
  2082. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2083. local ms = Instance.new("BlockMesh",Trail)
  2084. ms.Scale = Vector3.new(1,1,1)
  2085. local TM = Instance.new("CylinderMesh",Trail)
  2086. TM.Scale = Vector3.new(1,1,1)
  2087. Old = New
  2088. coroutine.wrap(function()
  2089. for i = 1,0,-0.1 do
  2090. wait()
  2091. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2092. end
  2093. Trail:remove()
  2094. end)()
  2095. coroutine.wrap(function()
  2096. for i = 1,10 do
  2097. wait()
  2098. Trail.Transparency = Trail.Transparency +0.1
  2099. end end)()end end)()
  2100. Footsteps:Stop()
  2101. Footsteps2:Stop()
  2102. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  2103. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  2104. so("http://www.roblox.com/asset/?id=159882598",Torso,1,1)
  2105. for i=0,1,0.1 do
  2106. swait()
  2107. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2108. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2109. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2110. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2111. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2112. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2113. end
  2114. if anim then
  2115. anim.Disabled=true
  2116. end
  2117. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  2118. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  2119. for i=0,1,0.05 do
  2120. swait()
  2121. Torso.Velocity=RootPart.CFrame.lookVector*80
  2122. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  2123. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2124. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2125. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2126. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2127. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2128. end
  2129. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  2130. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  2131. for i=0,1,0.05 do
  2132. swait()
  2133. Torso.Velocity=RootPart.CFrame.lookVector*80
  2134. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  2135. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2136. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2137. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2138. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2139. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2140. end
  2141. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  2142. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  2143. for i=0,1,0.05 do
  2144. swait()
  2145. Torso.Velocity=RootPart.CFrame.lookVector*80
  2146. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  2147. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2148. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2149. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2150. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2151. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2152. end
  2153. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  2154. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  2155. for i=0,1,0.05 do
  2156. swait()
  2157. Torso.Velocity=RootPart.CFrame.lookVector*80
  2158. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  2159. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2160. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2161. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2162. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2163. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2164. end
  2165. --dmgstop()
  2166. Humanoid.WalkSpeed=12
  2167. attack=false
  2168. con1:disconnect()
  2169. con2:disconnect()
  2170. if anim then
  2171. anim.Disabled=false
  2172. end
  2173. if TrailDeb == true then
  2174. TrailDeb = false
  2175. end
  2176. end
  2177.  
  2178. function Shred()
  2179. attack=true
  2180. mana=mana-100
  2181. if TrailDeb == false then
  2182. TrailDeb = true
  2183. end
  2184.  
  2185.  
  2186. coroutine.wrap(function()
  2187. local Old = Handle2.CFrame.p
  2188. while wait()do
  2189. if not TrailDeb then break end
  2190. local New = Handle2.CFrame.p
  2191. local Mag =(Old -New).magnitude
  2192. local Dis =(Old +New)/2
  2193. local Trail = Instance.new("Part",Character)
  2194. Trail.Material = "Neon"
  2195. Trail.Anchored = true
  2196. Trail.CanCollide = false
  2197. Trail.BrickColor = TorsoColor
  2198. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2199. Trail.TopSurface = 0
  2200. Trail.BottomSurface = 0
  2201. Trail.formFactor = "Custom"
  2202. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2203. local ms = Instance.new("BlockMesh",Trail)
  2204. ms.Scale = Vector3.new(1,1,1)
  2205. local TM = Instance.new("CylinderMesh",Trail)
  2206. TM.Scale = Vector3.new(1,1,1)
  2207. Old = New
  2208. coroutine.wrap(function()
  2209. for i = 1,0,-0.1 do
  2210. wait()
  2211. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2212. end
  2213. Trail:remove()
  2214. end)()
  2215. coroutine.wrap(function()
  2216. for i = 1,10 do
  2217. wait()
  2218. Trail.Transparency = Trail.Transparency +0.1
  2219. end end)()end end)()
  2220. coroutine.wrap(function()
  2221. local Old = Handle.CFrame.p
  2222. while wait()do
  2223. if not TrailDeb then break end
  2224. local New = Handle.CFrame.p
  2225. local Mag =(Old -New).magnitude
  2226. local Dis =(Old +New)/2
  2227. local Trail = Instance.new("Part",Character)
  2228. Trail.Material = "Neon"
  2229. Trail.Anchored = true
  2230. Trail.CanCollide = false
  2231. Trail.BrickColor = TorsoColor
  2232. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2233. Trail.TopSurface = 0
  2234. Trail.BottomSurface = 0
  2235. Trail.formFactor = "Custom"
  2236. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2237. local ms = Instance.new("BlockMesh",Trail)
  2238. ms.Scale = Vector3.new(1,1,1)
  2239. local TM = Instance.new("CylinderMesh",Trail)
  2240. TM.Scale = Vector3.new(1,1,1)
  2241. Old = New
  2242. coroutine.wrap(function()
  2243. for i = 1,0,-0.1 do
  2244. wait()
  2245. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2246. end
  2247. Trail:remove()
  2248. end)()
  2249. coroutine.wrap(function()
  2250. for i = 1,10 do
  2251. wait()
  2252. Trail.Transparency = Trail.Transparency +0.1
  2253. end end)()end end)()
  2254. Footsteps:Stop()
  2255. Footsteps2:Stop()
  2256. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end)
  2257. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end)
  2258. so("http://www.roblox.com/asset/?id=159882578",Torso,1,1)
  2259. for i=0,1,0.1 do
  2260. swait()
  2261. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2262. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2263. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2264. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2265. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2266. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2267. end
  2268. if anim then
  2269. anim.Disabled=true
  2270. end
  2271. for i=0,1,0.05 do
  2272. swait()
  2273. Torso.Velocity=RootPart.CFrame.lookVector*20
  2274. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  2275. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  2276. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0+40*i)),.5)
  2277. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2278. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2279. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2280. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2281. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2282. end
  2283. for i=0,1,0.05 do
  2284. swait()
  2285. Torso.Velocity=RootPart.CFrame.lookVector*40
  2286. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  2287. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  2288. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(41+80*i)),.5)
  2289. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2290. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2291. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2292. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2293. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2294. end
  2295. for i=0,1,0.05 do
  2296. swait()
  2297. Torso.Velocity=RootPart.CFrame.lookVector*60
  2298. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  2299. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  2300. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(82+120*i)),.5)
  2301. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2302. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2303. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2304. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2305. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2306. end
  2307. so("http://www.roblox.com/asset/?id=159882625",Torso,1,1)
  2308. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2309. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2310. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2311. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2312. for i=0,1,0.05 do
  2313. swait()
  2314. Torso.Velocity=RootPart.CFrame.lookVector*80
  2315. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(124+160*i)),.5)
  2316. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2317. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2318. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2319. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2320. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2321. end
  2322. for i=0,1,0.005 do
  2323. swait()
  2324. Torso.Velocity=RootPart.CFrame.lookVector*100
  2325. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(168+4200*i)),.5)
  2326. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2327. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2328. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2329. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2330. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2331. end
  2332. --dmgstop()
  2333. Humanoid.WalkSpeed=12
  2334. attack=false
  2335. con1:disconnect()
  2336. con2:disconnect()
  2337. if anim then
  2338. anim.Disabled=false
  2339. end
  2340. if TrailDeb == true then
  2341. TrailDeb = false
  2342. end
  2343. end
  2344.  
  2345. function Push()
  2346. attack=true
  2347. mana=mana-20
  2348. if TrailDeb == false then
  2349. TrailDeb = true
  2350. end
  2351.  
  2352.  
  2353. coroutine.wrap(function()
  2354. local Old = Handle2.CFrame.p
  2355. while wait()do
  2356. if not TrailDeb then break end
  2357. local New = Handle2.CFrame.p
  2358. local Mag =(Old -New).magnitude
  2359. local Dis =(Old +New)/2
  2360. local Trail = Instance.new("Part",Character)
  2361. Trail.Material = "Neon"
  2362. Trail.Anchored = true
  2363. Trail.CanCollide = false
  2364. Trail.BrickColor = TorsoColor
  2365. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2366. Trail.TopSurface = 0
  2367. Trail.BottomSurface = 0
  2368. Trail.formFactor = "Custom"
  2369. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2370. local ms = Instance.new("BlockMesh",Trail)
  2371. ms.Scale = Vector3.new(1,1,1)
  2372. local TM = Instance.new("CylinderMesh",Trail)
  2373. TM.Scale = Vector3.new(1,1,1)
  2374. Old = New
  2375. coroutine.wrap(function()
  2376. for i = 1,0,-0.1 do
  2377. wait()
  2378. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2379. end
  2380. Trail:remove()
  2381. end)()
  2382. coroutine.wrap(function()
  2383. for i = 1,10 do
  2384. wait()
  2385. Trail.Transparency = Trail.Transparency +0.1
  2386. end end)()end end)()
  2387. coroutine.wrap(function()
  2388. local Old = Handle.CFrame.p
  2389. while wait()do
  2390. if not TrailDeb then break end
  2391. local New = Handle.CFrame.p
  2392. local Mag =(Old -New).magnitude
  2393. local Dis =(Old +New)/2
  2394. local Trail = Instance.new("Part",Character)
  2395. Trail.Material = "Neon"
  2396. Trail.Anchored = true
  2397. Trail.CanCollide = false
  2398. Trail.BrickColor = TorsoColor
  2399. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2400. Trail.TopSurface = 0
  2401. Trail.BottomSurface = 0
  2402. Trail.formFactor = "Custom"
  2403. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2404. local ms = Instance.new("BlockMesh",Trail)
  2405. ms.Scale = Vector3.new(1,1,1)
  2406. local TM = Instance.new("CylinderMesh",Trail)
  2407. TM.Scale = Vector3.new(1,1,1)
  2408. Old = New
  2409. coroutine.wrap(function()
  2410. for i = 1,0,-0.1 do
  2411. wait()
  2412. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2413. end
  2414. Trail:remove()
  2415. end)()
  2416. coroutine.wrap(function()
  2417. for i = 1,10 do
  2418. wait()
  2419. Trail.Transparency = Trail.Transparency +0.1
  2420. end end)()end end)()
  2421. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  2422. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  2423. for i=0,1,0.1 do
  2424. swait()
  2425. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2426. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2427. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2428. Handleweld.C0=clerp(Handleweld.C0,cf(-5,0,-10)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  2429. Handle2weld.C0=clerp(Handle2weld.C0,cf(5,0,-10)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  2430. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  2431. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  2432. end
  2433. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  2434. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2435. so("http://www.roblox.com/asset/?id=159882481",Torso,1,1)
  2436. for i=0,1,0.1 do
  2437. swait()
  2438. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2439. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2440. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2441. Handleweld.C0=clerp(Handleweld.C0,cf(-4,0,-20)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  2442. Handle2weld.C0=clerp(Handle2weld.C0,cf(4,0,-20)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  2443. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  2444. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  2445. end
  2446. --dmgstop()
  2447. attack=false
  2448. con1:disconnect()
  2449. con2:disconnect()
  2450. if TrailDeb == true then
  2451. TrailDeb = false
  2452. end
  2453. end
  2454.  
  2455. function Clap()
  2456. attack=true
  2457. mana=mana-20
  2458. if TrailDeb == false then
  2459. TrailDeb = true
  2460. end
  2461.  
  2462.  
  2463. coroutine.wrap(function()
  2464. local Old = Handle2.CFrame.p
  2465. while wait()do
  2466. if not TrailDeb then break end
  2467. local New = Handle2.CFrame.p
  2468. local Mag =(Old -New).magnitude
  2469. local Dis =(Old +New)/2
  2470. local Trail = Instance.new("Part",Character)
  2471. Trail.Material = "Neon"
  2472. Trail.Anchored = true
  2473. Trail.CanCollide = false
  2474. Trail.BrickColor = TorsoColor
  2475. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2476. Trail.TopSurface = 0
  2477. Trail.BottomSurface = 0
  2478. Trail.formFactor = "Custom"
  2479. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2480. local ms = Instance.new("BlockMesh",Trail)
  2481. ms.Scale = Vector3.new(1,1,1)
  2482. local TM = Instance.new("CylinderMesh",Trail)
  2483. TM.Scale = Vector3.new(1,1,1)
  2484. Old = New
  2485. coroutine.wrap(function()
  2486. for i = 1,0,-0.1 do
  2487. wait()
  2488. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2489. end
  2490. Trail:remove()
  2491. end)()
  2492. coroutine.wrap(function()
  2493. for i = 1,10 do
  2494. wait()
  2495. Trail.Transparency = Trail.Transparency +0.1
  2496. end end)()end end)()
  2497. coroutine.wrap(function()
  2498. local Old = Handle.CFrame.p
  2499. while wait()do
  2500. if not TrailDeb then break end
  2501. local New = Handle.CFrame.p
  2502. local Mag =(Old -New).magnitude
  2503. local Dis =(Old +New)/2
  2504. local Trail = Instance.new("Part",Character)
  2505. Trail.Material = "Neon"
  2506. Trail.Anchored = true
  2507. Trail.CanCollide = false
  2508. Trail.BrickColor = TorsoColor
  2509. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2510. Trail.TopSurface = 0
  2511. Trail.BottomSurface = 0
  2512. Trail.formFactor = "Custom"
  2513. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2514. local ms = Instance.new("BlockMesh",Trail)
  2515. ms.Scale = Vector3.new(1,1,1)
  2516. local TM = Instance.new("CylinderMesh",Trail)
  2517. TM.Scale = Vector3.new(1,1,1)
  2518. Old = New
  2519. coroutine.wrap(function()
  2520. for i = 1,0,-0.1 do
  2521. wait()
  2522. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2523. end
  2524. Trail:remove()
  2525. end)()
  2526. coroutine.wrap(function()
  2527. for i = 1,10 do
  2528. wait()
  2529. Trail.Transparency = Trail.Transparency +0.1
  2530. end end)()end end)()
  2531. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  2532. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  2533. so("http://www.roblox.com/asset/?id=159882584",Torso,1,0.9)
  2534. for i=0,1,0.08 do
  2535. swait()
  2536. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2537. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2538. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2539. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(-40),math.rad(20)),.2)
  2540. Handleweld.C0=clerp(Handleweld.C0,cf(5,1,-5)*angles(math.rad(0),math.rad(40),math.rad(-20)),.2)
  2541. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  2542. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-30,0,20),.3)
  2543. end
  2544. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  2545. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2546. for i=0,1,0.08 do
  2547. swait()
  2548. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2549. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2550. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2551. Handle2weld.C0=clerp(Handle2weld.C0,cf(4,1,-5)*angles(math.rad(0),math.rad(-43),math.rad(20)),.2)
  2552. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-5)*angles(math.rad(0),math.rad(43),math.rad(-20)),.2)
  2553. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  2554. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
  2555. end
  2556. --dmgstop()
  2557. attack=false
  2558. con1:disconnect()
  2559. con2:disconnect()
  2560. if TrailDeb == true then
  2561. TrailDeb = false
  2562. end
  2563. end
  2564.  
  2565. function Hai()
  2566. attack=true
  2567. Humanoid.WalkSpeed=0
  2568. so("http://www.roblox.com/asset/?id=159882567",Torso,1,1)
  2569. for i=0,1,0.1 do
  2570. swait()
  2571. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2572. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2573. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2574. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  2575. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  2576. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2577. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2578. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  2579. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2580. end
  2581. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  2582. for i=0,1,0.1 do
  2583. swait()
  2584. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2585. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2586. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2587. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
  2588. Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2589. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2590. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2591. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.5)
  2592. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2593. end
  2594. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2595. for i=0,1,0.1 do
  2596. swait()
  2597. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2598. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2599. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2600. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  2601. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  2602. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2603. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2604. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  2605. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2606.  
  2607. end
  2608. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  2609. for i=0,1,0.1 do
  2610. swait()
  2611. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2612. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2613. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2614. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
  2615. Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2616. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2617. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2618. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.3)
  2619. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2620. end
  2621. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2622. for i=0,1,0.1 do
  2623. swait()
  2624. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2625. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2626. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2627. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  2628. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  2629. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2630. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2631. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  2632. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2633. end
  2634. --dmgstop()
  2635. Humanoid.WalkSpeed=12
  2636. attack=false
  2637. end
  2638.  
  2639. function Die()
  2640. attack=true
  2641. Footsteps:Stop()
  2642. Footsteps2:Stop()
  2643. local Fire = it("Sound",Character.Torso)
  2644. Fire.SoundId = "rbxassetid://192104941"
  2645. Fire.Looped = true
  2646. Fire.Pitch = 1
  2647. Fire.Volume = 1
  2648. local Fire2 = it("Sound",Handle2)
  2649. Fire2.SoundId = "rbxassetid://192104941"
  2650. Fire2.Looped = true
  2651. Fire2.Pitch = 1
  2652. Fire2.Volume = 1
  2653. local Fire3 = it("Sound",Handle)
  2654. Fire3.SoundId = "rbxassetid://192104941"
  2655. Fire3.Looped = true
  2656. Fire3.Pitch = 1
  2657. Fire3.Volume = 1
  2658. local Fire4 = it("Sound",handle)
  2659. Fire4.SoundId = "rbxassetid://192104941"
  2660. Fire4.Looped = true
  2661. Fire4.Pitch = 1
  2662. Fire4.Volume = 1
  2663. local fire = Instance.new("ParticleEmitter", Character.Torso)
  2664. fire.Lifetime = NumberRange.new(0.5)
  2665. fire.Speed = NumberRange.new(1, 3)
  2666. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
  2667. fire.Rate = 0
  2668. fire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2669. fire.LightEmission = 0.6
  2670. fire.Texture = "http://www.roblox.com/asset/?id=242911609"
  2671. fire.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2672. local fire2 = Instance.new("ParticleEmitter", Handle)
  2673. fire2.Lifetime = NumberRange.new(0.5)
  2674. fire2.Speed = NumberRange.new(1, 3)
  2675. fire2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
  2676. fire2.Rate = 0
  2677. fire2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2678. fire2.LightEmission = 0.6
  2679. fire2.Texture = "http://www.roblox.com/asset/?id=242911609"
  2680. fire2.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2681. local fire3 = Instance.new("ParticleEmitter", Handle2)
  2682. fire3.Lifetime = NumberRange.new(0.5)
  2683. fire3.Speed = NumberRange.new(1, 3)
  2684. fire3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
  2685. fire3.Rate = 0
  2686. fire3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2687. fire3.LightEmission = 0.6
  2688. fire3.Texture = "http://www.roblox.com/asset/?id=242911609"
  2689. fire3.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2690. local fire4 = Instance.new("ParticleEmitter", handle)
  2691. fire4.Lifetime = NumberRange.new(0.5)
  2692. fire4.Speed = NumberRange.new(1, 3)
  2693. fire4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
  2694. fire4.Rate = 0
  2695. fire4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2696. fire4.LightEmission = 0.6
  2697. fire4.Texture = "http://www.roblox.com/asset/?id=242911609"
  2698. fire4.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2699. Humanoid.WalkSpeed = 0
  2700. so("http://www.roblox.com/asset/?id=199149297",Head,1,1)
  2701. so("http://www.roblox.com/asset/?id=209527203",Head,1,1)
  2702. for i=0,1,0.08 do
  2703. swait()
  2704. Torso.Velocity=RootPart.CFrame.lookVector*-30
  2705. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,0)*angles(math.rad(-45),math.rad(0),math.rad(90)),.2)
  2706. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(45)),.2)
  2707. handleweld.C0=clerp(handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  2708. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  2709. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  2710. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(45)),.2)
  2711. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),.2)
  2712. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
  2713. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
  2714. end
  2715. for i=0,1,0.005 do
  2716. swait()
  2717. moosick.Volume=1-2*i
  2718. light.Range=15-10*i
  2719. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  2720. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2721. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  2722. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  2723. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  2724. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  2725. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  2726. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2727. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2728. end
  2729. light.Range=0
  2730. for i=0,1,0.01 do
  2731. swait()
  2732. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  2733. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2734. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  2735. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  2736. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  2737. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  2738. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  2739. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2740. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2741. end
  2742. so("http://www.roblox.com/asset/?id=209527175",Head,1,0.9)
  2743. fire.Rate = 1000
  2744. fire2.Rate = 1000
  2745. fire3.Rate = 1000
  2746. fire4.Rate = 1000
  2747. Fire:Play()
  2748. Fire2:Play()
  2749. Fire3:Play()
  2750. Fire4:Play()
  2751. for i=0,1,0.005 do
  2752. swait()
  2753. Character.Head.face.Transparency = 0+1*i
  2754. LeftArm.Transparency=0+1*i
  2755. RightArm.Transparency=0+1*i
  2756. LeftLeg.Transparency=0+1*i
  2757. RightLeg.Transparency=0+1*i
  2758. Head.Transparency=0+1*i
  2759. Torso.Transparency=0+1*i
  2760. for _,v in pairs(Character:children()) do
  2761. if v:IsA("Hat") then
  2762. v.Handle.Transparency = 0+1*i
  2763. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  2764. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2765. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  2766. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  2767. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  2768. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  2769. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  2770. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2771. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2772. end
  2773. end
  2774. --dmgstop()
  2775. end
  2776. Humanoid.Health = 0
  2777. end
  2778.  
  2779. equipanim()
  2780.  
  2781. local sine = 0
  2782. local change = 1
  2783. local val = 0
  2784.  
  2785. local mananum=0
  2786. while true do
  2787. swait()
  2788. sine = sine + change
  2789. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2790. local velderp=RootPart.Velocity.y
  2791. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2792. if equipped==true or equipped==false then
  2793. if Anim=="Idle" and attack==false then
  2794. idle=idle+1
  2795. else
  2796. idle=0
  2797. end
  2798. if Humanoid.Health <=20 then
  2799. if attack == false then
  2800. Humanoid.Health = math.huge
  2801. Die()
  2802. end
  2803. end
  2804. if idle>=1000 then
  2805. if attack==false then
  2806. --Sheath()
  2807. end
  2808. end
  2809. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2810. Anim="Jump"
  2811. if attack==false then
  2812. Footsteps:Stop()
  2813. Footsteps2:Stop()
  2814. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  2815. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2816. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0),.3)
  2817. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.25,0,0.5),.3)
  2818. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2819. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.25,0,-0.5),.3)
  2820. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2821. RH.C0=clerp(RH.C0,cf(1,0,-.75)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  2822. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  2823. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  2824. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  2825. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  2826. end
  2827. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2828. Anim="Fall"
  2829. if attack==false then
  2830. Footsteps:Stop()
  2831. Footsteps2:Stop()
  2832. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  2833. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2834. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  2835. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  2836. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2837. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  2838. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2839. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  2840. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  2841. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2842. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  2843. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  2844. end
  2845. elseif torvel<1 and hitfloor~=nil then
  2846. Anim="Idle"
  2847. change=0.5
  2848. if idle>=1000 then
  2849. if attack==false then
  2850. Footsteps:Stop()
  2851. Footsteps2:Stop()
  2852. Humanoid.WalkSpeed=12
  2853. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,6-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(0),math.rad(50)),.1)
  2854. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(5+2*math.cos(sine/5.5)),math.rad(-5-2*math.cos(sine/5.5)),math.rad(-50)),.1)
  2855. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  2856. RW.C0=clerp(RW.C0,cf(0.8,0.3,-0.5)*angles(math.rad(70),math.rad(0),math.rad(-85)),.5)
  2857. LW.C0=clerp(LW.C0,cf(-0.6,0.5,-0.7)*angles(math.rad(70),math.rad(0),math.rad(85)),.5)
  2858. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2859. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2860. handleweld.C0=clerp(handleweld.C0,cf(3.2,-1,-2)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  2861. Handleweld.C0=clerp(Handleweld.C0,cf(-2,-1.5+1*math.cos(sine/50),6)*angles(math.rad(60),math.rad(-25),math.rad(-90)),.4)
  2862. Handle2weld.C0=clerp(Handle2weld.C0,cf(5,1.5-0.5*math.cos(sine/50),-5)*angles(math.rad(-110),math.rad(25),math.rad(60)),.3)
  2863. end
  2864. else
  2865. if attack==false then
  2866. Footsteps:Stop()
  2867. Footsteps2:Stop()
  2868. Humanoid.WalkSpeed=12
  2869. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(6),math.rad(0),math.rad(0)),.3)
  2870. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(3+3*math.cos(sine/36)),math.rad(0),math.rad(0)),.3)
  2871. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2872. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(16-6*math.cos(sine/28))),.3)
  2873. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16+6*math.cos(sine/28))),.3)
  2874. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(16)),.3)
  2875. LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(24)),.3)
  2876. handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),0-0.5*math.cos(sine/20),0)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2)
  2877. Handleweld.C0=clerp(Handleweld.C0,cf(0-1*math.cos(sine/30),0,0-1*math.cos(sine/30))*angles(math.rad(0+8*math.cos(sine/30)),math.rad(0),math.rad(0-8*math.cos(sine/30))),.2)
  2878. Handle2weld.C0=clerp(Handle2weld.C0,cf(0+1*math.cos(sine/36),0,0+1*math.cos(sine/36))*angles(math.rad(0-12*math.cos(sine/36)),math.rad(0),math.rad(0-12*math.cos(sine/36))),.2)
  2879. end
  2880. end
  2881. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  2882. Anim="Walk"
  2883. if attack==false then
  2884. change=0.8
  2885. --[[RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(35),math.rad(0),math.rad(15*math.cos(sine/10))),.3)
  2886. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  2887. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3)
  2888. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3)
  2889. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  2890. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  2891. --Handleweld.C0=clerp(--Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2892. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2893. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2)
  2894. --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2)
  2895. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3)
  2896. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3)
  2897. RH.C0=clerp(RH.C0,RHC0,.3)
  2898. LH.C0=clerp(LH.C0,LHC0,.3)
  2899. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2900. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2901. ]]--
  2902. Footsteps:Play()
  2903. Footsteps2:Stop()
  2904. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(10+1*math.cos(sine/2.5)),math.rad(0),math.rad(1-5*math.cos(sine/5))),.3)
  2905. Neck.C0=clerp(Neck.C0,necko*euler(0+0.075*math.cos(sine/2.5),0,0)*angles(math.rad(0),math.rad(0),math.rad(1+5*math.cos(sine/5))),.3)
  2906. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2907. RW.C0=clerp(RW.C0,cf(1.4+0.25*math.cos(sine/5),0.5+0.25*math.cos(sine/5),-0.2+0.5*math.cos(sine/5))*angles(math.rad(20-60*math.cos(sine/5)),math.rad(0),math.rad(-4+30*math.cos(sine/5))),.3)
  2908. LW.C0=clerp(LW.C0,cf(-1.4+0.25*math.cos(sine/5),0.5-0.25*math.cos(sine/5),-0.2-0.5*math.cos(sine/5))*angles(math.rad(20+60*math.cos(sine/5)),math.rad(0),math.rad(4+30*math.cos(sine/5))),.3)
  2909. RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3)
  2910. LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3)
  2911. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2912. Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-30),math.rad(0-1*math.cos(sine/30))),.2)
  2913. Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(30),math.rad(0-3*math.cos(sine/36))),.2)
  2914. end
  2915. elseif torvel>=22 and hitfloor~=nil then
  2916. Anim="Run"
  2917. change=1
  2918. if attack==false then
  2919. Footsteps:Stop()
  2920. Footsteps2:Play()
  2921. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(20+1*math.cos(sine/2.5)),math.rad(0),math.rad(0)),.3)
  2922. Neck.C0=clerp(Neck.C0,necko*euler(-0.2+0.075*math.cos(sine/2.5),0,0),.3)
  2923. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2924. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(24)),.3)
  2925. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-24)),.3)
  2926. RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3)
  2927. LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3)
  2928. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2929. Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-60),math.rad(0-1*math.cos(sine/30))),.2)
  2930. Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(60),math.rad(0-3*math.cos(sine/36))),.2)
  2931. end
  2932. end
  2933. end
  2934. fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true)
  2935. fenbarmana4.Text="[Energy] <{[ "..mana.." ]}> [Energy]"
  2936. if mana>=100 then
  2937. mana=100
  2938. else
  2939. if mananum<=8 then
  2940. mananum=mananum+1
  2941. else
  2942. mananum=0
  2943. mana=mana+1
  2944. end
  2945. end
  2946. end
  2947. -- ~CLarramore
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement