Advertisement
5sdfsadgaq5465

Micheal The Furry God

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