Advertisement
JuicyPenguin

Me Alpha V2

Jan 21st, 2017
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Player=game:GetService("Players").LocalPlayer
  2. Character=Player.Character
  3. PlayerGui=Player.PlayerGui
  4. Backpack=Player.Backpack
  5. Torso=Character.Torso
  6. Head=Character.Head
  7. Humanoid=Character.Humanoid
  8. m=Instance.new('Model',Character)
  9. LeftArm=Character["Left Arm"]
  10. LeftLeg=Character["Left Leg"]
  11. RightArm=Character["Right Arm"]
  12. RightLeg=Character["Right Leg"]
  13. LS=Torso["Left Shoulder"]
  14. LH=Torso["Left Hip"]
  15. RS=Torso["Right Shoulder"]
  16. RH=Torso["Right Hip"]
  17. Face = Head.face
  18. Neck=Torso.Neck
  19. it=Instance.new
  20. attacktype=1
  21. vt=Vector3.new
  22. cf=CFrame.new
  23. euler=CFrame.fromEulerAnglesXYZ
  24. angles=CFrame.Angles
  25. cloaked=false
  26. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  27. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  28. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  29. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  30. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  31. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  32. RootPart=Character.HumanoidRootPart
  33. RootJoint=RootPart.RootJoint
  34. RootCF=euler(-1.57,0,3.14)
  35. attack = false
  36. attackdebounce = false
  37. deb=false
  38. equipped=true
  39. hand=false
  40. MMouse=nil
  41. combo=0
  42. mana=0
  43. trispeed=1
  44. pathtrans=.7
  45. attackmode='none'
  46. local idle=0
  47. local Anim="Idle"
  48. local Effects={}
  49. local gun=false
  50. local shoot=false
  51. player=nil
  52. cloak=false
  53. lightcolor='Bright blue'
  54.  
  55. local Color1=Torso.BrickColor
  56.  
  57.  
  58. mouse=Player:GetMouse()
  59. --save shoulders
  60. RSH, LSH=nil, nil
  61. --welds
  62. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  63. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  64. LH=Torso["Left Hip"]
  65. RH=Torso["Right Hip"]
  66. TorsoColor=Torso.BrickColor
  67. function NoOutline(Part)
  68. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  69. end
  70.  
  71.  
  72.  
  73. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  74. local fp=it("Part")
  75. fp.formFactor=formfactor
  76. fp.Parent=parent
  77. fp.Reflectance=reflectance
  78. fp.Transparency=transparency
  79. fp.CanCollide=false
  80. fp.Locked=true
  81. fp.BrickColor=brickcolor
  82. fp.Name=name
  83. fp.Size=size
  84. fp.Position=Torso.Position
  85. NoOutline(fp)
  86. fp.Material="SmoothPlastic"
  87. fp:BreakJoints()
  88. return fp
  89. end
  90.  
  91. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  92. local mesh=it(Mesh)
  93. mesh.Parent=part
  94. if Mesh=="SpecialMesh" then
  95. mesh.MeshType=meshtype
  96. if meshid~="nil" then
  97. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  98. end
  99. end
  100. mesh.Offset=offset
  101. mesh.Scale=scale
  102. return mesh
  103. end
  104.  
  105. function weld(parent,part0,part1,c0)
  106. local weld=it("Weld")
  107. weld.Parent=parent
  108. weld.Part0=part0
  109. weld.Part1=part1
  110. weld.C0=c0
  111. return weld
  112. end
  113.  
  114. local Color1=Torso.BrickColor
  115.  
  116.  
  117.  
  118.  
  119.  
  120. Player=game:GetService('Players').LocalPlayer
  121. Character=Player.Character
  122. Mouse=Player:GetMouse()
  123. m=Instance.new('Model',Character)
  124.  
  125.  
  126. local function weldBetween(a, b)
  127. local weldd = Instance.new("ManualWeld")
  128. weldd.Part0 = a
  129. weldd.Part1 = b
  130. weldd.C0 = CFrame.new()
  131. weldd.C1 = b.CFrame:inverse() * a.CFrame
  132. weldd.Parent = a
  133. return weldd
  134. end
  135.  
  136. it=Instance.new
  137.  
  138. function nooutline(part)
  139. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  140. end
  141.  
  142. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  143. local fp=it("Part")
  144. fp.formFactor=formfactor
  145. fp.Parent=parent
  146. fp.Reflectance=reflectance
  147. fp.Transparency=transparency
  148. fp.CanCollide=false
  149. fp.Locked=true
  150. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  151. fp.Name=name
  152. fp.Size=size
  153. fp.Position=Character.Torso.Position
  154. nooutline(fp)
  155. fp.Material=material
  156. fp:BreakJoints()
  157. return fp
  158. end
  159.  
  160. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  161. local mesh=it(Mesh)
  162. mesh.Parent=part
  163. if Mesh=="SpecialMesh" then
  164. mesh.MeshType=meshtype
  165. mesh.MeshId=meshid
  166. end
  167. mesh.Offset=offset
  168. mesh.Scale=scale
  169. return mesh
  170. end
  171.  
  172. function weld(parent,part0,part1,c0,c1)
  173. local weld=it("Weld")
  174. weld.Parent=parent
  175. weld.Part0=part0
  176. weld.Part1=part1
  177. weld.C0=c0
  178. weld.C1=c1
  179. return weld
  180. end
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190. --------------------------------
  191. local p = game.Players.LocalPlayer
  192. local char = p.Character
  193. local mouse = p:GetMouse()
  194. local larm = char["Left Arm"]
  195. local rarm = char["Right Arm"]
  196. local lleg = char["Left Leg"]
  197. local rleg = char["Right Leg"]
  198. local hed = char.Head
  199. local torso = char.Torso
  200. local hum = char.Humanoid
  201. local cam = game.Workspace.CurrentCamera
  202. local root = char.HumanoidRootPart
  203. local deb = false
  204. local shot = 0
  205. local debris=game:service"Debris"
  206. local l = game:GetService("Lighting")
  207. local rs = game:GetService("RunService").RenderStepped
  208. ptz = {500, 1, 0.9, 0.95, 1, 9.05, 1.1}
  209. math.randomseed(os.time())
  210. for i,v in pairs(char:children()) do
  211. if v:IsA("Hat") then
  212. v:Destroy()
  213. end
  214. end
  215. for i,v in pairs (hed:GetChildren()) do
  216. if v:IsA("Sound") then
  217. v:Destroy()
  218. end
  219. end
  220. ----------------------------------------------------
  221. z = Instance.new("Sound", torso)
  222. z.SoundId = "rbxassetid://0" -- Put Music ID Here.
  223. z.Looped = true
  224. z.Volume = 1
  225. wait(.1)
  226. z:Play()
  227. -----------------------------------------------------
  228. Debounces = {
  229. CanAttack = true;
  230. NoIdl = false;
  231. Slashing = false;
  232. Slashed = false;
  233. RPunch = false;
  234. RPunched = false;
  235. LPunch = false;
  236. LPunched = false;
  237. }
  238. local Touche = {char.Name, }
  239. ----------------------------------------------------
  240. hed.face.Texture = "rbxassetid://406001167"
  241. char["Body Colors"].HeadColor = BrickColor.new("Institutional white")
  242. char["Body Colors"].TorsoColor = BrickColor.new("Institutional white")
  243. char["Body Colors"].LeftArmColor = BrickColor.new("Institutional white")
  244. char["Body Colors"].RightArmColor = BrickColor.new("Institutional white")
  245. char["Body Colors"].LeftLegColor = BrickColor.new("Institutional white")
  246. char["Body Colors"].RightLegColor = BrickColor.new("Institutional white")
  247. ----------------------------------------------------
  248. ypcall(function()
  249. char.Shirt:Destroy()
  250. char.Pants:Destroy()
  251. shirt = Instance.new("Shirt", char)
  252. shirt.Name = "Shirt"
  253. pants = Instance.new("Pants", char)
  254. pants.Name = "Pants"
  255. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=318247349"
  256. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=454827278"
  257. end)
  258. ----------------------------------------------------
  259. local LocalPlayer = game:GetService("Players").LocalPlayer
  260. local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:wait()
  261.  
  262. Character.Head.Transparency = 0
  263.  
  264. local Orb = Instance.new("Part", Character)
  265. Orb.Name = "Orb"
  266.  
  267. Orb.CanCollide = false
  268. Orb.BrickColor = BrickColor.new("Institutional white")
  269. Orb.Transparency = 0
  270. Orb.Material = "Plastic"
  271. Orb.Size = Vector3.new(1, 1, 1)
  272.  
  273.  
  274. local M = Instance.new("SpecialMesh")
  275. M.Parent = Orb
  276. M.MeshId = "http://www.roblox.com/asset/?id=23264474"
  277. M.Scale = Vector3.new(1.3, 1.3, 1.3)
  278.  
  279.  
  280. local Weld = Instance.new("Weld", Orb)
  281. Weld.Part0 = Character.Head
  282. Weld.Part1 = Orb
  283. Weld.C1 = CFrame.new(0, -0.5, 0)
  284. ------------------------------------------------------
  285. CV="Institutional white"
  286.  
  287. local txt = Instance.new("BillboardGui", char)
  288. txt.Adornee = char .Orb
  289. txt.Name = "_status"
  290. txt.Size = UDim2.new(2, 0, 1.2, 0)
  291. txt.StudsOffset = Vector3.new(-2, 1.5, 0)
  292. local text = Instance.new("TextLabel", txt)
  293. text.Size = UDim2.new(3, 0, 0.5, 0)
  294. text.FontSize = "Size8"
  295. text.TextScaled = true
  296. text.TextTransparency = 0
  297. text.BackgroundTransparency = 1
  298. text.TextTransparency = 0
  299. text.TextStrokeTransparency = 0
  300. text.Font = "Arial"
  301. text.TextStrokeColor3 = Color3.new(0,0,0)
  302.  
  303. v=Instance.new("Part")
  304. v.Name = "ColorBrick"
  305. v.Parent=p.Character
  306. v.FormFactor="Symmetric"
  307. v.Anchored=true
  308. v.CanCollide=false
  309. v.BottomSurface="Smooth"
  310. v.TopSurface="Smooth"
  311. v.Size=Vector3.new(10,2,3)
  312. v.Transparency=0.7
  313. v.CFrame=char.Torso.CFrame
  314. v.BrickColor=BrickColor.new(CV)
  315. v.Transparency=1
  316. text.TextColor3 = v.BrickColor.Color
  317. v.Shape="Block"
  318. text.Text = "Herdin"
  319.  
  320.  
  321.  
  322.  
  323. --------------------------------------------------------
  324. local Orbd = Instance.new("Part", Character)
  325. Orbd.Name = "Orbd"
  326. Orbd.Shape = Enum.PartType.Ball
  327. Orbd.CanCollide = false
  328. Orbd.BrickColor = BrickColor.new("Institutional white")
  329. Orbd.Transparency = 0
  330. Orbd.Material = "Neon"
  331. Orbd.Size = Vector3.new(0.1, 0.1, 0.1)
  332. Orbd.TopSurface = Enum.SurfaceType.Smooth
  333. Orbd.BottomSurface = Enum.SurfaceType.Smooth
  334.  
  335. local Weld = Instance.new("Weld", Orbd)
  336. Weld.Part0 = Character.Head
  337. Weld.Part1 = Orbd
  338. Weld.C1 = CFrame.new(-0.2, -0.2, 0.5)
  339.  
  340. --------------------------------------------------------
  341. local Orbvc = Instance.new("Part", Character)
  342. Orbvc.Name = "Orbvc"
  343. Orbvc.Shape = Enum.PartType.Ball
  344. Orbvc.CanCollide = false
  345. Orbvc.BrickColor = BrickColor.new("Institutional white")
  346. Orbvc.Transparency = 0
  347. Orbvc.Material = "Neon"
  348. Orbvc.Size = Vector3.new(0.1, 0.1, 0.1)
  349. Orbvc.TopSurface = Enum.SurfaceType.Smooth
  350. Orbvc.BottomSurface = Enum.SurfaceType.Smooth
  351.  
  352. local Weld = Instance.new("Weld", Orbvc)
  353. Weld.Part0 = Character.Head
  354. Weld.Part1 = Orbvc
  355. Weld.C1 = CFrame.new(0.2, -0.2, 0.5)
  356. ---------------------
  357. local LocalPlayer = game:GetService("Players").LocalPlayer
  358. local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:wait()
  359.  
  360. Character.Head.Transparency = 1
  361.  
  362. local Camisa = Instance.new("Part", Character)
  363. Camisa.Name = "Camisa"
  364.  
  365. Camisa.CanCollide = false
  366. Camisa.BrickColor = BrickColor.new("Institutional white")
  367. Camisa.Transparency = 1
  368. Camisa.Material = "Plastic"
  369. Camisa.Size = Vector3.new(1.5, 1.5, 1)
  370.  
  371. local Weld = Instance.new("Weld", Camisa)
  372. Weld.Part0 = Character.Torso
  373. Weld.Part1 = Camisa
  374. Weld.C1 = CFrame.new(0, 0, 0)
  375. ----------------------------------------
  376. local p = game.Players.LocalPlayer
  377. local char = p.Character
  378. local mouse = p:GetMouse()
  379. local larm = char["Left Arm"]
  380. local rarm = char["Right Arm"]
  381. local lleg = char["Left Leg"]
  382. local rleg = char["Right Leg"]
  383. local hed = char.Head
  384. local torso = char.Torso
  385. local hum = char.Humanoid
  386. local cam = game.Workspace.CurrentCamera
  387. local root = char.HumanoidRootPart
  388. local rj = root.RootJoint
  389. local deb = false
  390. local shot = 0
  391. local stanceToggle = "Idle1"
  392. local l = game:GetService("Lighting")
  393. local rs = game:GetService("RunService").RenderStepped
  394. local hb = game:GetService("RunService").Heartbeat
  395. local Stepped = game:GetService("RunService").Stepped
  396. math.randomseed(os.time())
  397. hum.JumpPower = 100
  398. hed.face:Remove()
  399. ----------------------------------------------------
  400. fat = Instance.new("BindableEvent",script)
  401. fat.Name = "Heartbeat"
  402.  
  403. script:WaitForChild("Heartbeat")
  404.  
  405. frame = 1/30
  406. tf = 0
  407. allowframeloss = false --if set to true will fire every frame it possibly can. This will result in multiple events happening at the same time whenever delta returns frame*2 or greater.
  408. tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
  409. lastframe = tick()
  410. script.Heartbeat:Fire() --ayy lmao
  411.  
  412. game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
  413. tf = tf + s
  414. if tf >= frame then
  415. if allowframeloss then
  416. script.Heartbeat:Fire()
  417. lastframe=tick()
  418. else
  419. --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
  420. for i=1, math.floor(tf/frame) do
  421. script.Heartbeat:Fire()
  422. end
  423. lastframe=tick()
  424. end
  425. if tossremainder then
  426. tf = 0
  427. else
  428. tf = tf - frame * math.floor(tf/frame)
  429. end
  430. end
  431. end)
  432. ----------------------------------------------------
  433. for i,v in pairs(char:children()) do
  434. if v:IsA("Hat") then
  435. v:Destroy()
  436. end
  437. end
  438. for i,v in pairs (hed:GetChildren()) do
  439. if v:IsA("Sound") then
  440. v:Destroy()
  441. end
  442. end
  443. ----------------------------------------------------
  444. Debounces = {
  445. CanAttack = true;
  446. CanJoke = true;
  447. NoIdl = false;
  448. Slashing = false;
  449. Slashed = false;
  450. ks = false;
  451. }
  452. ----------------------------------------------------
  453. function weld5(part0, part1, c0, c1)
  454. weeld=Instance.new("Weld", part0)
  455. weeld.Part0=part0
  456. weeld.Part1=part1
  457. weeld.C0=c0
  458. weeld.C1=c1
  459. return weeld
  460. end
  461. ----------------------------------------------------
  462. function NewPart(prnt,siz,cf,trans,anc,mat,col)
  463. local prt=Instance.new("Part")
  464. prt.Parent=prnt
  465. prt.Name="Part"
  466. prt.Size=siz
  467. prt.CanCollide=false
  468. prt.Anchored=anc
  469. prt.Locked=true
  470. prt.Transparency = trans
  471. prt.TopSurface=10
  472. prt.BottomSurface=10
  473. prt.FrontSurface=10
  474. prt.BackSurface=10
  475. prt.LeftSurface=10
  476. prt.RightSurface=10
  477. prt:BreakJoints()
  478. prt.CFrame=cf or CFrame.new(30,10,30)
  479. prt.Material=mat
  480. prt.BrickColor=BrickColor.new(col)
  481. m=Instance.new("SpecialMesh",prt)
  482. m.MeshType=6
  483. return prt
  484. end
  485. ----------------------------------------------------
  486. function lerp(a, b, t) -- Linear interpolation
  487. return a + (b - a)*t
  488. end
  489.  
  490. function slerp(a, b, t) --Spherical interpolation
  491. dot = a:Dot(b)
  492. if dot > 0.99999 or dot < -0.99999 then
  493. return t <= 0.5 and a or b
  494. else
  495. r = math.acos(dot)
  496. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  497. end
  498. end
  499.  
  500. function matrixInterpolate(a, b, t)
  501. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  502. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  503. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  504. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  505. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  506. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  507. local t = v1:Dot(v2)
  508. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  509. return CFrame.new()
  510. end
  511. return CFrame.new(
  512. v0.x, v0.y, v0.z,
  513. v1.x, v1.y, v1.z,
  514. v2.x, v2.y, v2.z,
  515. v3.x, v3.y, v3.z)
  516. end
  517. ----------------------------------------------------
  518. function genWeld(a,b)
  519. local w = Instance.new("Weld",a)
  520. w.Part0 = a
  521. w.Part1 = b
  522. return w
  523. end
  524. function weld(a, b)
  525. local weld = Instance.new("Weld")
  526. weld.Name = "W"
  527. weld.Part0 = a
  528. weld.Part1 = b
  529. weld.C0 = a.CFrame:inverse() * b.CFrame
  530. weld.Parent = a
  531. return weld;
  532. end
  533. ----------------------------------------------------
  534. function Lerp(c1,c2,al)
  535. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  536. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  537. for i,v in pairs(com1) do
  538. com1[i] = v+(com2[i]-v)*al
  539. end
  540. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  541. end
  542. ----------------------------------------------------
  543. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  544. local wld = Instance.new("Weld", wp1)
  545. wld.Part0 = wp0
  546. wld.Part1 = wp1
  547. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  548. end
  549. ----------------------------------------------------
  550. newWeld(torso, larm, -1.5, 0.5, 0)
  551. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  552. newWeld(torso, rarm, 1.5, 0.5, 0)
  553. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  554. newWeld(torso, hed, 0, 1.5, 0)
  555. newWeld(torso, lleg, -0.5, -1, 0)
  556. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  557. newWeld(torso, rleg, 0.5, -1, 0)
  558. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  559. newWeld(root, torso, 0, -1, 0)
  560. torso.Weld.C1 = CFrame.new(0, -1, 0)
  561. ----------------------------------------------------
  562. z = Instance.new("Sound",char) --Smile: print("â?º")
  563. z.SoundId = "rbxassetid://0"--410761150, 411368002
  564. z.Looped = true
  565. z.Pitch = 1
  566. z.Volume = 1
  567. wait(0.1)
  568. z:Play()
  569. ----------------------------------------------------
  570. New = function(Object, Parent, Name, Data)
  571. local Object = Instance.new(Object)
  572. for Index, Value in pairs(Data or {}) do
  573. Object[Index] = Value
  574. end
  575. Object.Parent = Parent
  576. Object.Name = Name
  577. return Object
  578. end
  579. ----------------------------------------------------
  580. --Left Arm
  581. m = Instance.new("Model")
  582. m.Name = "LeftArm"
  583.  
  584. p4 = Instance.new("Part", m)
  585. p4.BrickColor = BrickColor.new("Really black")
  586. p4.Material = Enum.Material.SmoothPlastic
  587. p4.Name = "LeftArmPlate"
  588. p4.Size = Vector3.new(1, 2, 1)
  589. p4.Transparency = 1
  590. p4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  591. p4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  592. p4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  593. p4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  594. p4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  595. p4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  596. b4 = Instance.new("SpecialMesh", p4)
  597. b4.MeshType = Enum.MeshType.Brick
  598. b4.Name = "Mesh"
  599. b4.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
  600.  
  601.  
  602.  
  603.  
  604.  
  605. w1 = Instance.new("Weld", p1)
  606. w1.Name = "Part_Weld"
  607. w1.Part0 = p1
  608. w1.C0 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  609. w1.Part1 = p2
  610. w1.C1 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  611. w2 = Instance.new("Weld", p2)
  612. w2.Name = "Part_Weld"
  613. w2.Part0 = p2
  614. w2.C0 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  615. w2.Part1 = p3
  616. w2.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  617. w3 = Instance.new("Weld", p3)
  618. w3.Name = "LeftArmPlate_Weld"
  619. w3.Part0 = p3
  620. w3.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  621. w3.Part1 = p4
  622. w3.C1 = CFrame.new(1.5, -18.1000156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  623. w4 = Instance.new("Weld", p4)
  624. w4.Name = "Part_Weld"
  625. w4.Part0 = p4
  626. w4.C0 = CFrame.new(1.5, -18.1000156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  627. w4.Part1 = p5
  628. w4.C1 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  629. w5 = Instance.new("Weld", p5)
  630. w5.Name = "Part_Weld"
  631. w5.Part0 = p5
  632. w5.C0 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  633. w5.Part1 = p6
  634. w5.C1 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  635. w6 = Instance.new("Weld", p6)
  636. w6.Name = "Part_Weld"
  637. w6.Part0 = p6
  638. w6.C0 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  639. w6.Part1 = p7
  640. w6.C1 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  641. w7 = Instance.new("Weld", p7)
  642. w7.Name = "Part_Weld"
  643. w7.Part0 = p7
  644. w7.C0 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  645. w7.Part1 = p8
  646. w7.C1 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  647. w8 = Instance.new("Weld", p8)
  648. w8.Name = "Part_Weld"
  649. w8.Part0 = p8
  650. w8.C0 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  651. w8.Part1 = p9
  652. w8.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  653. w9 = Instance.new("Weld", p9)
  654. w9.Name = "Part_Weld"
  655. w9.Part0 = p9
  656. w9.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  657. w9.Part1 = p10
  658. w9.C1 = CFrame.new(1.5, -18.950016, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  659. w10 = Instance.new("Weld", p10)
  660. w10.Name = "Part_Weld"
  661. w10.Part0 = p10
  662. w10.C0 = CFrame.new(1.5, -18.950016, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  663. w10.Part1 = p11
  664. w10.C1 = CFrame.new(1.5, -18.6500149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  665. w11 = Instance.new("Weld", p11)
  666. w11.Name = "Part_Weld"
  667. w11.Part0 = p11
  668. w11.C0 = CFrame.new(1.5, -18.6500149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  669. w11.Part1 = p12
  670. w11.C1 = CFrame.new(1.5, -18.3500156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  671. w12 = Instance.new("Weld", p12)
  672. w12.Name = "Part_Weld"
  673. w12.Part0 = p12
  674. w12.C0 = CFrame.new(1.5, -18.3500156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  675. w12.Part1 = p13
  676. w12.C1 = CFrame.new(1.5, -18.0500126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  677. w13 = Instance.new("Weld", p13)
  678. w13.Name = "Part_Weld"
  679. w13.Part0 = p13
  680. w13.C0 = CFrame.new(1.5, -18.0500126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  681. w13.Part1 = p14
  682. w13.C1 = CFrame.new(1.5, -17.7500172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  683. w14 = Instance.new("Weld", p14)
  684. w14.Name = "Part_Weld"
  685. w14.Part0 = p14
  686. w14.C0 = CFrame.new(1.5, -17.7500172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  687. w14.Part1 = p15
  688. w14.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  689. w15 = Instance.new("Weld", p15)
  690. w15.Name = "Part_Weld"
  691. w15.Part0 = p15
  692. w15.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  693. w15.Part1 = p16
  694. w15.C1 = CFrame.new(1.49142683, -27.338007, 3.81166649, 1, -2.04123751e-007, -6.57511308e-008, 1.67448022e-007, 0.500000119, 0.866025329, -1.06342185e-007, -0.866025269, 0.5)
  695.  
  696. m.Parent = larm
  697. m:MakeJoints()
  698. ----------------------------------------------------
  699. local cor = Instance.new("Part", larm.LeftArm)
  700. cor.Name = "Thingy"
  701. cor.Locked = true
  702. cor.BottomSurface = 0
  703. cor.CanCollide = false
  704. cor.Size = Vector3.new(1, 1, 1)
  705. cor.Transparency = 1
  706. cor.TopSurface = 0
  707. corw = Instance.new("Weld", cor)
  708. corw.Part0 = larm
  709. corw.Part1 = cor
  710. corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  711. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  712. weld1 = Instance.new("Weld", larm.LeftArm)
  713. weld1.Part0 = cor
  714. weld1.Part1 = larm.LeftArm.LeftArmPlate
  715. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  716. --Right Arm
  717. m2 = Instance.new("Model")
  718. m2.Name = "RightArm"
  719.  
  720. p7 = Instance.new("Part", m2)
  721. p7.BrickColor = BrickColor.new("Institutional white")
  722. p7.Material = Enum.Material.SmoothPlastic
  723. p7.Transparency = 1
  724. p7.Name = "RightArmPlate"
  725. p7.CFrame = CFrame.new(3.5, -9.54201603, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  726. p7.FormFactor = Enum.FormFactor.Symmetric
  727. p7.Size = Vector3.new(1, 2, 1)
  728. p7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  729. p7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  730. p7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  731. p7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  732. p7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  733. p7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  734. b7 = Instance.new("SpecialMesh", p7)
  735. b7.MeshType = Enum.MeshType.Brick
  736. b7.Name = "Mesh"
  737. b7.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
  738.  
  739.  
  740. w1 = Instance.new("Weld", p1)
  741. w1.Name = "Part_Weld"
  742. w1.Part0 = p1
  743. w1.C0 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  744. w1.Part1 = p2
  745. w1.C1 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  746. w2 = Instance.new("Weld", p2)
  747. w2.Name = "Part_Weld"
  748. w2.Part0 = p2
  749. w2.C0 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  750. w2.Part1 = p3
  751. w2.C1 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  752. w3 = Instance.new("Weld", p3)
  753. w3.Name = "Part_Weld"
  754. w3.Part0 = p3
  755. w3.C0 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  756. w3.Part1 = p4
  757. w3.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  758. w4 = Instance.new("Weld", p4)
  759. w4.Name = "Part_Weld"
  760. w4.Part0 = p4
  761. w4.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  762. w4.Part1 = p5
  763. w4.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  764. w5 = Instance.new("Weld", p5)
  765. w5.Name = "Part_Weld"
  766. w5.Part0 = p5
  767. w5.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  768. w5.Part1 = p6
  769. w5.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  770. w6 = Instance.new("Weld", p6)
  771. w6.Name = "RightArmPlate_Weld"
  772. w6.Part0 = p6
  773. w6.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  774. w6.Part1 = p7
  775. w6.C1 = CFrame.new(-3.5, -4.10001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  776. w7 = Instance.new("Weld", p7)
  777. w7.Name = "Part_Weld"
  778. w7.Part0 = p7
  779. w7.C0 = CFrame.new(-3.5, -4.10001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  780. w7.Part1 = p8
  781. w7.C1 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  782. w8 = Instance.new("Weld", p8)
  783. w8.Name = "Part_Weld"
  784. w8.Part0 = p8
  785. w8.C0 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  786. w8.Part1 = p9
  787. w8.C1 = CFrame.new(-3.5, -4.95002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  788. w9 = Instance.new("Weld", p9)
  789. w9.Name = "Part_Weld"
  790. w9.Part0 = p9
  791. w9.C0 = CFrame.new(-3.5, -4.95002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  792. w9.Part1 = p10
  793. w9.C1 = CFrame.new(-3.5, -4.65001678, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  794. w10 = Instance.new("Weld", p10)
  795. w10.Name = "Part_Weld"
  796. w10.Part0 = p10
  797. w10.C0 = CFrame.new(-3.5, -4.65001678, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  798. w10.Part1 = p11
  799. w10.C1 = CFrame.new(-3.5, -4.35001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  800. w11 = Instance.new("Weld", p11)
  801. w11.Name = "Part_Weld"
  802. w11.Part0 = p11
  803. w11.C0 = CFrame.new(-3.5, -4.35001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  804. w11.Part1 = p12
  805. w11.C1 = CFrame.new(-3.5, -4.05001783, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  806. w12 = Instance.new("Weld", p12)
  807. w12.Name = "Part_Weld"
  808. w12.Part0 = p12
  809. w12.C0 = CFrame.new(-3.5, -4.05001783, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  810. w12.Part1 = p13
  811. w12.C1 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  812. w13 = Instance.new("Weld", p13)
  813. w13.Name = "Part_Weld"
  814. w13.Part0 = p13
  815. w13.C0 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  816. w13.Part1 = p14
  817. w13.C1 = CFrame.new(-3.5, -3.75002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  818. w14 = Instance.new("Weld", p14)
  819. w14.Name = "Part_Weld"
  820. w14.Part0 = p14
  821. w14.C0 = CFrame.new(-3.5, -3.75002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  822. w14.Part1 = p15
  823. w14.C1 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  824. w15 = Instance.new("Weld", p15)
  825. w15.Name = "Part_Weld"
  826. w15.Part0 = p15
  827. w15.C0 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  828. w15.Part1 = p16
  829. w15.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  830. w16 = Instance.new("Weld", p16)
  831. w16.Name = "Part_Weld"
  832. w16.Part0 = p16
  833. w16.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  834. w16.Part1 = p17
  835. w16.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  836. w17 = Instance.new("Weld", p17)
  837. w17.Name = "Part_Weld"
  838. w17.Part0 = p17
  839. w17.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  840. w17.Part1 = p18
  841. w17.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  842. w18 = Instance.new("Weld", p18)
  843. w18.Name = "Part_Weld"
  844. w18.Part0 = p18
  845. w18.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  846. w18.Part1 = p19
  847. w18.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  848. m2.Parent = rarm
  849. m2:MakeJoints()
  850. ----------------------------------------------------
  851. local cor2 = Instance.new("Part", rarm.RightArm)
  852. cor2.Name = "Thingy"
  853. cor2.Locked = true
  854. cor2.BottomSurface = 0
  855. cor2.CanCollide = false
  856. cor2.Size = Vector3.new(1, 1, 1)
  857. cor2.Transparency = 1
  858. cor2.TopSurface = 0
  859. corw2 = Instance.new("Weld", cor2)
  860. corw2.Part0 = rarm
  861. corw2.Part1 = cor2
  862. corw2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  863. corw2.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  864. weld2 = Instance.new("Weld", rarm.RightArm)
  865. weld2.Part0 = cor2
  866. weld2.Part1 = rarm.RightArm.RightArmPlate
  867. weld2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  868.  
  869.  
  870. --Zyrodoxa
  871. m8 = Instance.new("Model")
  872. m8.Name = "Zyrodoxa"
  873.  
  874. p16 = Instance.new("Part", m8)
  875. p16.BrickColor = BrickColor.new("Instutional white")
  876. p16.Material = Enum.Material.Metal
  877. p16.Name = "Handle"
  878. p16.CFrame = CFrame.new(2.7e-005, -11.8500671, -1.1215378, 1, -4.08902174e-008, -5.95266769e-008, -5.95264673e-008, 4.47054163e-008, -1.00000322, 4.08900469e-008, 1.00000393, 3.27827877e-007)
  879. p16.CanCollide = false
  880. p16.Locked = true
  881. p16.FormFactor = Enum.FormFactor.Custom
  882. p16.Size = Vector3.new(0, 0, 0)
  883. p16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  884. p16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  885. p16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  886. p16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  887. p16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  888. p16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  889. b16 = Instance.new("BlockMesh", p16)
  890. b16.Name = "Mesh"
  891. b16.Scale = Vector3.new(0, 0, 0)
  892.  
  893. w16 = Instance.new("Weld", p16)
  894. w16.Name = "Block_Weld"
  895. w16.Part0 = p16
  896. w16.C0 = CFrame.new(-2.69356715e-005, 1.12153399, 0.310250998, 1, -5.9526446e-008, 4.08900576e-008, -4.08900576e-008, 0, 1, -5.95264495e-008, -1, -2.43403981e-015)
  897. w16.Part1 = p17
  898. w16.C1 = CFrame.new(-2.69897973e-005, 0.238820702, 1.16951191, 1, -3.32849588e-008, -1.92696081e-009, -3.32849588e-008, -1, -5.96046448e-007, -1.92694105e-009, 5.96046448e-007, -1)
  899.  
  900. m8.Parent = rarm
  901. m8:MakeJoints()
  902. ----------------------------------------------------
  903. local cor8 = Instance.new("Part", rarm.Zyrodoxa)
  904. cor8.Name = "Thingy"
  905. cor8.Locked = true
  906. cor8.BottomSurface = 0
  907. cor8.CanCollide = false
  908. cor8.Size = Vector3.new(1, 1, 1)
  909. cor8.Transparency = 1
  910. cor8.TopSurface = 0
  911. corw8 = Instance.new("Weld", cor8)
  912. corw8.Part0 = rarm
  913. corw8.Part1 = cor8
  914. corw8.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180))
  915. corw8.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  916. weld8 = Instance.new("Weld", rarm.Zyrodoxa)
  917. weld8.Part0 = cor8
  918. weld8.Part1 = rarm.Zyrodoxa.Handle
  919. weld8.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  920. ----------------------------------------------------
  921. models = {m,m2,m3,m4,m5,m6,m7,m8}
  922. parts = {}
  923. Stepped:connect(function()
  924. for i,v in pairs(models) do
  925. for _, a in pairs(v:GetChildren()) do
  926. if v:IsA("Part") and v.Name ~= "Thingy" then
  927. table.insert(parts, a)
  928. for i,v in pairs(parts) do
  929. v.CanCollide = false
  930. end
  931. end
  932. end
  933. end
  934. end)
  935. ----------------------------------------------------
  936. local animpose = "Idle1"
  937. local lastanimpose = "Idle1"
  938. local grab = false
  939. local Smooth = 1
  940. local sine = 0
  941. local change = 1
  942. local val = 0
  943. local ffing = false
  944. ----------------------------------------------------
  945. --[[local hitbox = rarm.Zyrodoxa.Hitbox--Zyrodoxa is the name of the dagger k
  946.  
  947. function FindHumanoids()
  948. local function c_region(Position, Size)
  949. local SizeOffset = Size/2
  950. local Point1 = Position - SizeOffset
  951. local Point2 = Position + SizeOffset
  952. local a = Instance.new("Part", workspace)
  953. a.Anchored = true
  954. a.Size = Size
  955. a.Position = Position
  956. print("Hey!, I'm making a part!")
  957. return Region3.new(Point1, Point2)
  958. end
  959.  
  960. local a = c_region((hitbox.CFrame * CFrame.new(0, -1.285, 0)), Vector3.new(0.22, 0.6425, 1.22))
  961. local b = c_region((hitbox.CFrame * CFrame.new(0, -0.6425, 0)), Vector3.new(0.22, 0.6425, 1.22))
  962. local c = c_region((hitbox.CFrame * CFrame.new(0, 0.6425, 0)), Vector3.new(0.22, 0.6425, 1.22))
  963. local d = c_region((hitbox.CFrame * CFrame.new(0, 1.285, 0)), Vector3.new(0.22, 0.6425, 1.22))
  964.  
  965. local regions = {a, b, c, d}
  966.  
  967. local found_humanoids = {}
  968. local already_found = {char.Name}
  969.  
  970. for _, region in pairs(regions) do
  971. for _, part in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(region, rarm.Zyrodoxa:GetChildren(), 100)) do
  972. print(part, part.Parent, part.Name) ---nope
  973. if part.Parent:FindFirstChild("Humanoid") ~= nil and part.Parent.ClassName == "Model" and not part:isDescendantOf(char) then
  974. local humanoid = part.Parent:FindFirstChild("Humanoid")
  975. local name = humanoid.Parent.Name
  976. local exists = false
  977. for _, n in pairs(already_found) do
  978. if n == name then
  979. exists = true
  980. end
  981. end
  982. if not exists then
  983. table.insert(already_found, name)
  984. table.insert(found_humanoids, humanoid)
  985. end
  986. elseif part.Parent.Parent:FindFirstChild("Humanoid") ~= nil and part.Parent.Parent.ClassName == "Model" and not part:isDescendantOf(char) then
  987. local humanoid = part.Parent.Parent:FindFirstChild("Humanoid")
  988. local name = humanoid.Parent.Parent.Name
  989. local exists = false
  990. for _, n in pairs(already_found) do
  991. if n == name then
  992. exists = true
  993. end
  994. end
  995. if not exists then
  996. table.insert(already_found, name)
  997. table.insert(found_humanoids, humanoid)
  998. end
  999. end
  1000. end
  1001. end
  1002. return found_humanoids
  1003. end
  1004.  
  1005. local humanoids = FindHumanoids()
  1006. if #humanoids == 0 then
  1007. for i, v in pairs(humanoids) do
  1008. print(v.Parent.Name)
  1009. if Debounces.Slashing == true then
  1010. v:TakeDamage(math.random(10,20) * math.random(1,3)) --max 60 damage?
  1011. elseif Debounces.Slashing == false then
  1012. wait()
  1013. end
  1014. end
  1015. wait(0.3)
  1016. end]]--
  1017. ----------------------------------------------------
  1018. --[[mouse.KeyDown:connect(function(key)
  1019. if key == "f" then
  1020. if Debounces.CanAttack == true then
  1021. Debounces.CanAttack = false
  1022. Debounces.NoIdl = true
  1023. Debounces.on = true
  1024. for i = 1, 20 do
  1025. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1.05, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1026. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1027. CR.Joint.C1 = Lerp(CR.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(-4),0,0),0.1)
  1028. CR2.Joint.C1 = Lerp(CR2.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1029. CR3.Joint.C1 = Lerp(CR3.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1030. CR4.Joint.C1 = Lerp(CR4.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1031. CR5.Joint.C1 = Lerp(CR5.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1032. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.6,0.6,-0.2)*CFrame.Angles(math.rad(8),math.rad(22),math.rad(15)), 0.8)
  1033. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1034. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.6,0.6,0.2)*CFrame.Angles(math.rad(-8),math.rad(12),math.rad(-12)), 0.8)
  1035. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1036. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1)*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)), 0.5)
  1037. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(20),math.rad(0)), 0.5)
  1038. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-6), math.rad(0), 0), 0.1)
  1039. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20), 0), 0.1)
  1040. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.14) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), 0.1)
  1041. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(5)), 0.1)
  1042. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.06) * CFrame.Angles(math.rad(3), math.rad(0), math.rad(0)), 0.1)
  1043. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(10), math.rad(-5)), 0.1)
  1044. if Debounces.on == false then
  1045. break
  1046. end
  1047. fat.Event:wait()
  1048. end
  1049. end
  1050. end
  1051. end)]]--
  1052. ----------------------------------------------------
  1053. mod4 = Instance.new("Model",char)
  1054.  
  1055. ptez = {0.7, 0.8, 0.9, 1}
  1056.  
  1057. function FindNearestTorso(Position,Distance,SinglePlayer)
  1058. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1059. local List = {}
  1060. for i,v in pairs(workspace:GetChildren())do
  1061. if v:IsA("Model")then
  1062. if v:findFirstChild("Torso")then
  1063. if v ~= char then
  1064. if(v.Torso.Position -Position).magnitude <= Distance then
  1065. table.insert(List,v)
  1066. end
  1067. end
  1068. end
  1069. end
  1070. end
  1071. return List
  1072. end
  1073.  
  1074. function Slam()
  1075. local part=Instance.new('Part',mod4)
  1076. part.Anchored=true
  1077. part.CanCollide=false
  1078. part.FormFactor='Custom'
  1079. part.Size=Vector3.new(.2,.2,.2)
  1080. part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0)
  1081. part.Transparency=.7
  1082. part.BrickColor=BrickColor.new('Really black')
  1083. mesh=Instance.new('SpecialMesh',part)
  1084. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  1085. mesh.Scale=Vector3.new(3,3,3)
  1086. local part2=Instance.new('Part',mod4)
  1087. part2.Anchored=true
  1088. part2.CanCollide=false
  1089. part2.FormFactor='Custom'
  1090. part2.Size=Vector3.new(.2,.2,.2)
  1091. part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6)
  1092. part2.Transparency=.7
  1093. part2.BrickColor=BrickColor.new('Institutional white')
  1094. mesh2=Instance.new('SpecialMesh',part2)
  1095. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  1096. mesh2.Scale=Vector3.new(3,1.5,3)
  1097. x = Instance.new("Sound",larm)
  1098. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  1099. x.Pitch = ptez[math.random(1,#ptez)]
  1100. x.Volume = 1
  1101. wait(.1)
  1102. x1 = Instance.new("Sound",larm)
  1103. x1.SoundId = "http://www.roblox.com/asset/?id=206082327"
  1104. x1.Pitch = ptez[math.random(1,#ptez)]
  1105. x1.Volume = 1
  1106. wait(.1)
  1107. x:Play()
  1108. x1:Play()
  1109. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  1110. if v:FindFirstChild('Humanoid') then
  1111. v.Humanoid:TakeDamage(math.random(30,45))
  1112. end
  1113. end
  1114. coroutine.resume(coroutine.create(function()
  1115. for i=0,0.62,0.13 do
  1116. wait()
  1117. part.CFrame=part.CFrame
  1118. part.Transparency=i
  1119. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  1120. part2.CFrame=part2.CFrame
  1121. part2.Transparency=i
  1122. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  1123. end
  1124. part.Parent=nil
  1125. part2.Parent=nil
  1126. x:Destroy()
  1127. end))
  1128. end
  1129. ----------------------------------------------------
  1130. wPart = function(x,y,z,color,tr,cc,an,parent)
  1131. local wp = Instance.new('WedgePart',parent or Weapon)
  1132. wp.formFactor = 'Custom'
  1133. wp.Size = Vector3.new(x,y,z)
  1134. wp.BrickColor = BrickColor.new(color)
  1135. wp.CanCollide = cc
  1136. wp.Transparency = tr
  1137. wp.Anchored = an
  1138. wp.TopSurface,wp.BottomSurface = 0,0
  1139. return wp
  1140. end
  1141.  
  1142. Mesh = function(par,num,x,y,z)
  1143. local msh = _
  1144. if num == 1 then
  1145. msh = Instance.new("CylinderMesh",par)
  1146. elseif num == 2 then
  1147. msh = Instance.new("SpecialMesh",par)
  1148. msh.MeshType = 3
  1149. elseif num == 3 then
  1150. msh = Instance.new("BlockMesh",par)
  1151. elseif num == 4 then
  1152. msh = Instance.new("SpecialMesh",par)
  1153. msh.MeshType = "Torso"
  1154. elseif type(num) == 'string' then
  1155. msh = Instance.new("SpecialMesh",par)
  1156. msh.MeshId = num
  1157. end
  1158. msh.Scale = Vector3.new(x,y,z)
  1159. return msh
  1160. end
  1161.  
  1162. local function CFrameFromTopBack(at, top, back)
  1163. local right = top:Cross(back)
  1164. return CFrame.new(at.x, at.y, at.z,
  1165. right.x, top.x, back.x,
  1166. right.y, top.y, back.y,
  1167. right.z, top.z, back.z)
  1168. end
  1169.  
  1170. function Triangle(a, b, c)
  1171. local edg1 = (c-a):Dot((b-a).unit)
  1172. local edg2 = (a-b):Dot((c-b).unit)
  1173. local edg3 = (b-c):Dot((a-c).unit)
  1174. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1175. a, b, c = a, b, c
  1176. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1177. a, b, c = b, c, a
  1178. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1179. a, b, c = c, a, b
  1180. else
  1181. print("unreachable")
  1182. end
  1183. local len1 = (c-a):Dot((b-a).unit)
  1184. local len2 = (b-a).magnitude - len1
  1185. local width = (a + (b-a).unit*len1 - c).magnitude
  1186. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1187. local list = {}
  1188. if len1 > 0.01 then
  1189. local w1 = wPart(0,0,0,'Institutional white',0.5,false,true,char)
  1190. local sz = Vector3.new(0.2, width, len1)
  1191. w1.Size = sz
  1192. local sp = Mesh(w1,2,0,0,0)
  1193. sp.MeshType='Wedge'
  1194. sp.Scale=Vector3.new(0,1,1)*sz/w1.Size
  1195. w1:BreakJoints()
  1196. w1.Anchored = true
  1197. w1.Transparency = 0.7
  1198. Spawn(function()
  1199. for i=0,1,0.1 do
  1200. fat.Event:wait()
  1201. w1.Transparency=w1.Transparency+0.03
  1202. end
  1203. end)
  1204. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1205. table.insert(list,w1)
  1206. end
  1207. if len2 > 0.01 then
  1208. local w2 = wPart(0,0,0,'Institutional white',0.5,false,true,char)
  1209. local sz = Vector3.new(0.2, width, len2)
  1210. w2.Size = sz
  1211. local sp = Mesh(w2,2,0,0,0)
  1212. sp.MeshType='Wedge'
  1213. sp.Scale=Vector3.new(0,1,1)*sz/w2.Size
  1214. w2:BreakJoints()
  1215. w2.Anchored = true
  1216. w2.Transparency = 0.7
  1217. Spawn(function()
  1218. for i=0,1,0.1 do
  1219. fat.Event:wait()
  1220. w2.Transparency=w2.Transparency+0.03
  1221. end
  1222. end)
  1223. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1224. table.insert(list,w2)
  1225. end
  1226. return unpack(list)
  1227. end
  1228.  
  1229. function trail(p,t,h)
  1230. Spawn(function()
  1231. local blcf = p.CFrame
  1232. local scfr = blcf
  1233. for i=1,t do
  1234. local blcf = p.CFrame
  1235. if scfr and (p.Position-scfr.p).magnitude > .1 then
  1236. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1237. if a then game.Debris:AddItem(a,1) end
  1238. if b then game.Debris:AddItem(b,1) end
  1239. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1240. if a then game.Debris:AddItem(a,1) end
  1241. if b then game.Debris:AddItem(b,1) end
  1242. scfr = blcf
  1243. elseif not scfr then
  1244. scfr = blcf
  1245. end
  1246. fat.Event:wait()
  1247. end
  1248. scfr=nil
  1249. end)
  1250. end
  1251. --trail(char.Sword.Blade,1e1000,5)
  1252. ----------------------------------------------------
  1253. function Dmg()
  1254. local partofdeath = rarm.Zyrodoxa.Hitbox
  1255. local function CreateRegion3FromLocAndSize(Position, Size)
  1256. local SizeOffset = Size/2
  1257. local Point1 = Position - SizeOffset
  1258. local Point2 = Position + SizeOffset
  1259. return Region3.new(Point1, Point2)
  1260. end
  1261. local reg = CreateRegion3FromLocAndSize(partofdeath.Position, partofdeath.Size)
  1262. for i, v in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(reg, char:GetChildren(), 100)) do
  1263. Spawn(function()
  1264. if Debounces.Slashing == true and Debounces.Slashed == false then
  1265. Debounces.Slashed = true
  1266. ypcall(function()
  1267. local humanoid = v.Parent:FindFirstChild("Humanoid") or v.Parent.Parent:FindFirstChild("Humanoid")
  1268. humanoid:TakeDamage(math.random(10,18))
  1269. end)
  1270. wait(.4)
  1271. Debounces.Slashed = false
  1272. end
  1273. end)
  1274. end
  1275. end
  1276. ----------------------------------------------------
  1277. pts = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  1278. ptz = {0.7, 0.8, 0.9, 1}
  1279. idz = {"161006212", "161006195"}
  1280. function attackone()
  1281. for i = 1, 13 do
  1282. corw8.C0 = Lerp(corw8.C0, CFrame.new(-0.3, -1, -0.3) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), 0.8)
  1283. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(20), math.rad(30), math.rad(0)), 0.8)
  1284. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2, 0.5, -0.3)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(-10)), 0.3)
  1285. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.3)
  1286. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0.4)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-10)), 0.5)
  1287. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(-40),math.rad(0)), 0.5)
  1288. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(0),math.rad(-50),0), 0.5)
  1289. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.5)
  1290. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.7)
  1291. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(18), math.rad(0), math.rad(15)), 0.7)
  1292. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.4, -1.3, 0) * CFrame.Angles(math.rad(0), math.rad(40), math.rad(0)), 0.5)
  1293. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(15)), 0.5)
  1294. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.7, -0.9, -0.4) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)), 0.5)
  1295. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.5)
  1296. if Debounces.on == false then
  1297. break
  1298. end
  1299. fat.Event:wait()
  1300. end
  1301. trail(rarm.Zyrodoxa.Hitbox,20,2)
  1302. Debounces.Slashing = true
  1303. wait(0.2)
  1304. --[[z = Instance.new("Sound", hed)
  1305. z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
  1306. z.Pitch = ptz[math.random(1,#ptz)]
  1307. z.Volume = 1
  1308. wait(.01)
  1309. z:Play()]]--
  1310. for i = 1, 14 do
  1311. Dmg()
  1312. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0.2) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), 0.8)
  1313. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-40), math.rad(30), math.rad(0)), 0.8)
  1314. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0.4)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(100)), 0.4)
  1315. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(40),math.rad(0)), 0.4)
  1316. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, -0.3)*CFrame.Angles(math.rad(100),math.rad(0),math.rad(-20)), 0.4)
  1317. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(20),math.rad(0)), 0.4)
  1318. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(0),math.rad(40),0), 0.7)
  1319. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  1320. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -1) * CFrame.Angles(math.rad(-10), math.rad(-40), 0), 0.4)
  1321. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1322. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.7, -0.9, -0.4) * CFrame.Angles(math.rad(0), math.rad(40), math.rad(0)), 0.5)
  1323. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(-14), math.rad(0), math.rad(15)), 0.5)
  1324. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1.1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)), 0.5)
  1325. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(-10)), 0.5)
  1326. if Debounces.on == false then break end
  1327. rs:wait()
  1328. end
  1329. Debounces.Slashing = false
  1330. end
  1331. function attacktwo()
  1332. Debounces.Slashing = true
  1333. for i = 1, 14 do
  1334. Dmg()
  1335. corw8.C0 = Lerp(corw8.C0, CFrame.new(-0.37, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), 0.4)
  1336. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)), 0.4)
  1337. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(80)), 0.7)
  1338. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
  1339. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad (-70)), 0.5)
  1340. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)
  1341. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-90), math.rad(0)), 0.5)
  1342. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  1343. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -2) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 0.5)
  1344. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1345. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.5)
  1346. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
  1347. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.5)
  1348. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
  1349. if Debounces.on == false then
  1350. break
  1351. end
  1352. rs:wait()
  1353. end
  1354. end
  1355. ----------------------------------------------------
  1356.  
  1357. ----------------------------------------------------
  1358. definition = 5
  1359. bc = {}
  1360. bezierparts = {}
  1361. function NoOutline(Part)
  1362. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1363. end
  1364. function draw(p,d)
  1365. for i=1,d do
  1366. local t = i/d
  1367. bc[i] = p[1]*(1-t)^2+2*p[2]*(1-t)*t+p[3]*t^2
  1368. end
  1369.  
  1370. Spawn(function() fat.Event:wait()
  1371. for i,v in pairs(bezierparts) do
  1372. v.Transparency = 1
  1373. end
  1374. end)
  1375. end
  1376. --local points = {larm.Position,rarn.Position,invisipart.Position}
  1377. --draw(points,definition)
  1378.  
  1379. fat.Event:wait()
  1380.  
  1381. rpart = Instance.new("Part",rarm)
  1382. NoOutline(rpart)
  1383. rpart.Anchored = false
  1384. rpart.Size = Vector3.new(1,1,1)
  1385. rpart.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  1386. rpart.Transparency = 1
  1387. newWeld(rarm, rpart, 0, 0, 0)
  1388. rpart.Weld.C1 = CFrame.new(0, 1.1, 0)
  1389. lpart = Instance.new("Part",larm)
  1390. NoOutline(lpart)
  1391. lpart.Anchored = false
  1392. lpart.Size = Vector3.new(1,1,1)
  1393. lpart.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  1394. lpart.Transparency = 1
  1395. newWeld(larm, lpart, 0, 0, 0)
  1396. lpart.Weld.C1 = CFrame.new(0, 1.1, 0)
  1397. invisipart = Instance.new("Part",torso)
  1398. NoOutline(invisipart)
  1399. invisipart.Anchored = false
  1400. invisipart.Size = Vector3.new(1,1,1)
  1401. invisipart.Transparency = 1
  1402. invisipart.CFrame = torso.CFrame
  1403. newWeld(torso, invisipart, 0, 0, 0)
  1404. invisipart.Weld.C1 = CFrame.new(0, 0, 6)
  1405. table.insert(bezierparts, rpart)
  1406. table.insert(bezierparts, lpart)
  1407. table.insert(bezierparts, invisipart)
  1408. for i = 1, 40 do
  1409. local points = {lpart.Position,invisipart.Position,rpart.Position}
  1410. draw(points,definition)
  1411. --invisipart.Weld.C1 = invisipart.Weld.C1 + Vector3.new(0,0,0.6)
  1412. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(90)), 0.1)
  1413. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
  1414. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-90)), 0.1)
  1415. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
  1416. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0), math.rad(0)), 0.2)
  1417. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  1418. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  1419. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1420. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(0), 0, math.rad(-10)), 0.2)
  1421. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
  1422. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(0), 0, math.rad(10)), 0.2)
  1423. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
  1424. if Debounces.on == false then
  1425. break
  1426. end
  1427. fat.Event:wait()
  1428. end
  1429. for i,v in pairs(bezierparts) do
  1430. v:Destroy()
  1431. end
  1432. --draw(points,definition)
  1433. if Debounces.CanAttack == false then
  1434. Debounces.CanAttack = true
  1435. Debounces.NoIdl = false
  1436. Debounces.on = false
  1437. end
  1438.  
  1439. ----------------------------------------------------
  1440. ----------------------------------------------------
  1441. pt = {6.6, 6.8, 7, 7.2, 7.4}
  1442. mouse.KeyDown:connect(function(key)
  1443. if key == "q" then
  1444. if Debounces.CanJoke == true then
  1445. Debounces.CanJoke = false
  1446. u = Instance.new("Sound",char)
  1447. u.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1448. u.Pitch = pt[math.random(1,#pt)]
  1449. u.Volume = 0.3
  1450. u2 = Instance.new("Sound",char)
  1451. u2.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1452. u2.Pitch = u.Pitch
  1453. u2.Volume = 0.3
  1454. u3 = Instance.new("Sound",char)
  1455. u3.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1456. u3.Pitch = u.Pitch
  1457. u3.Volume = 0.3
  1458. wait(.01)
  1459. u:Play()
  1460. u2:Play()
  1461. u3:Play()
  1462. wait(1.5)
  1463. u:Destroy()
  1464. u2:Destroy()
  1465. u3:Destroy()
  1466. if Debounces.CanJoke == false then
  1467. Debounces.CanJoke = true
  1468. end
  1469. end
  1470. end
  1471. end)
  1472. ----------------------------------------------------
  1473. ----------------------------------------------------
  1474. mouse.KeyDown:connect(function(key)
  1475. if key == "j" then
  1476. if Debounces.CanJoke == true then
  1477. Debounces.CanJoke = false
  1478. z = Instance.new("Sound",hed)
  1479. z.SoundId = "rbxassetid://415859013"
  1480. z.Pitch = pitches[math.random(1,#pitches)]
  1481. z.Volume = 1
  1482. wait()
  1483. z:Play()
  1484. wait(0.1)
  1485. z:Destroy()
  1486. if Debounces.CanJoke == false then
  1487. Debounces.CanJoke = true
  1488. end
  1489. end
  1490. end
  1491. end)
  1492.  
  1493. ----------------------------------------------------
  1494. Grab = false
  1495. mouse.KeyDown:connect(function(key)
  1496. if key == "e" then
  1497. Debounces.on = true
  1498. Debounces.NoIdl = true
  1499. Debounces.ks = true
  1500. if Grab == false then
  1501. gp = nil
  1502. for i = 1, 20 do
  1503. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2)
  1504. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1505. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-80)), 0.2)
  1506. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1507. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2)
  1508. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1509. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2)
  1510. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1511. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2)
  1512. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1513. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2)
  1514. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1515. if Debounces.on == false then break end
  1516. fat.Event:wait()
  1517. end
  1518. con1=larm.LeftArm.LeftArmPlate.Touched:connect(function(hit)
  1519. ht = hit.Parent
  1520. for i,v in pairs(ht:GetChildren()) do
  1521. if v:IsA("Part") then
  1522. v.CanCollide = false
  1523. v.CustomPhysicalProperties = PhysicalProperties.new(0.001,0.001,0.001,0.001,0.001)
  1524. end
  1525. end
  1526. hum1=ht:FindFirstChild('Humanoid')
  1527. if hum1 ~= nil then
  1528. if Debounces.ks==true then
  1529. z = Instance.new("Sound",hed)
  1530. z.SoundId = "rbxassetid://169380525"
  1531. z.Volume = 1
  1532. z:Play()
  1533. Debounces.ks=false
  1534. end
  1535. hum1.PlatformStand=true
  1536. hum1:ChangeState'Physics'
  1537. gp = ht
  1538. Grab = true
  1539. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,0.6),CFrame.new(0,0,0))
  1540. asd.Parent = larm
  1541. asd.Name = "asd"
  1542. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0)
  1543. stanceToggle = "Grabbed"
  1544. --[[elseif hum1 == nil then
  1545. con1:disconnect()
  1546. wait() return]]--
  1547. end
  1548. end)
  1549. for i = 1, 20 do
  1550. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2)
  1551. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1552. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.65,0)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2)
  1553. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1554. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.2)
  1555. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1556. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2)
  1557. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1558. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
  1559. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1560. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2)
  1561. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1562. if Debounces.on == false then break end
  1563. fat.Event:wait()
  1564. end
  1565. con1:disconnect()
  1566. Debounces.on = false
  1567. Debounces.NoIdl = false
  1568. elseif Grab == true then
  1569. Grab = false
  1570. --[[for i = 1, 16 do
  1571. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(60)), 0.3)
  1572. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.5)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-60)), 0.3)
  1573. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3)
  1574. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  1575. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3)
  1576. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
  1577. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3)
  1578. if Debounces.on == false then end
  1579. rs:wait()
  1580. end]]--
  1581. for i = 1, 16 do
  1582. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)), 0.3)
  1583. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.5)
  1584. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(0)), 0.3)
  1585. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(60)), 0.5)
  1586. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3)
  1587. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1588. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.3)
  1589. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1590. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(-20)), 0.3)
  1591. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(40)), 0.4)
  1592. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
  1593. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1594. if Debounces.on == false then end
  1595. rs:wait()
  1596. end
  1597. for i = 1, 12 do
  1598. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), 0.6)
  1599. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1600. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.3,-0.1)*CFrame.Angles(math.rad(45),math.rad(0),math.rad(-32)), 0.6)
  1601. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1602. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(40), math.rad(14)),0.6)
  1603. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1604. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.6, 0) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(0)), 0.6)
  1605. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),math.rad(40),math.rad(0)), 0.5)
  1606. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.6)
  1607. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(40)), 0.4)
  1608. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.4, .2, -0.8) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.6)
  1609. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)), 0.4)
  1610. if Debounces.on == false then end
  1611. rs:wait()
  1612. end
  1613. Slam()
  1614. if gp ~= nil then
  1615. for i,v in pairs(larm:GetChildren()) do
  1616. if v.Name == "asd" and v:IsA("Weld") then
  1617. v:Remove()
  1618. end
  1619. if v:IsA("Part") then
  1620. v.CanCollide = true
  1621. v.CustomPhysicalProperties = PhysicalProperties.new(1,1,1,1,1)
  1622. end
  1623. end
  1624. end
  1625. stanceToggle = "Idle1"
  1626. --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  1627. bv.maxForce = Vector3.new(400000, 400000, 400000)
  1628. bv.P = 125000
  1629. bv.velocity = char.Head.CFrame.lookVector * 200]]--
  1630. ht=nil
  1631. Debounces.on = false
  1632. Debounces.NoIdl = false
  1633. elseif ht == nil then wait()
  1634. Grab = false
  1635. Debounces.on = false
  1636. Debounces.NoIdl = false
  1637. end
  1638. end
  1639. end)
  1640. ----------------------------------------------------
  1641. Change = false
  1642. mouse.KeyDown:connect(function(key)
  1643. if key == "n" then
  1644. if Change == false then
  1645. Change = true
  1646. stanceToggle = "Idle2"
  1647. elseif Change == true then
  1648. Change = false
  1649. stanceToggle = "Idle1"
  1650. end
  1651. end
  1652. end)
  1653. ----------------------------------------------------
  1654. mouse.KeyDown:connect(function(key)
  1655. if string.byte(key) == 52 then
  1656. Swing = 2
  1657. char.Humanoid.WalkSpeed = 28
  1658. end
  1659. end)
  1660. mouse.KeyUp:connect(function(key)
  1661. if string.byte(key) == 52 then
  1662. Swing = 1
  1663. char.Humanoid.WalkSpeed = 16
  1664. end
  1665. end)
  1666. ----------------------------------------------------
  1667.  
  1668. jump = false
  1669. rs:connect(function()
  1670. if char.Humanoid.Jump == true then
  1671. jump = true
  1672. else
  1673. jump = false
  1674. end
  1675. char.Humanoid.FreeFalling:connect(function(f)
  1676. if f then
  1677. ffing = true
  1678. else
  1679. ffing = false
  1680. end
  1681. end)
  1682. sine = sine + change
  1683. if jump == true then
  1684. animpose = "Jumping"
  1685. elseif ffing == true then
  1686. animpose = "Freefalling"
  1687. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  1688. animpose = "Idle"
  1689. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  1690. animpose = "Walking"
  1691. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  1692. animpose = "Running"
  1693. end
  1694. RightLeg = CFrame.new(0.5,-1,0)
  1695. LeftLeg = CFrame.new(-0.5,-1,0)
  1696.  
  1697. lefth = (torso.CFrame*LeftLeg)
  1698. righth = (torso.CFrame*RightLeg)
  1699.  
  1700. speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z)
  1701.  
  1702. TiltOnAxis = (torso.CFrame-torso.CFrame.p):vectorToObjectSpace(speed/100)
  1703.  
  1704. local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
  1705. local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
  1706. if animpose ~= lastanimpose then
  1707. sine = 0
  1708. if Debounces.NoIdl == false then
  1709. if stanceToggle == "Idle1" then
  1710. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0.2)*CFrame.Angles(math.rad(-12-4*math.cos(sine/22)),math.rad(-12-2*math.cos(sine/22)),math.rad(12+2*math.cos(sine/22))), 0.3)
  1711. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,-0.2)*CFrame.Angles(math.rad(20+4*math.cos(sine/22)),math.rad(-22-2*math.cos(sine/22)),math.rad(-15-2*math.cos(sine/22))), 0.3)
  1712. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-12+2.5*math.cos(sine/22)),math.rad(0),math.rad(0)), 0.2)
  1713. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-2+2*math.cos(sine/22)), math.rad(0), 0), 0.2)
  1714. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.06) * CFrame.Angles(math.rad(0-2*math.cos(sine/22)), math.rad(5), math.rad(-5)), 0.2)
  1715. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.06) * CFrame.Angles(math.rad(0-2*math.cos(sine/22)), math.rad(-5), math.rad(5)), 0.2)
  1716. elseif stanceToggle == "Idle2" then
  1717. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0.2)*CFrame.Angles(math.rad(-22-4*math.cos(sine/12)),math.rad(-40-2*math.cos(sine/12)),math.rad(24+2*math.cos(sine/12))), 0.3)
  1718. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.6,-0.6)*CFrame.Angles(math.rad(90+4*math.cos(sine/12)),math.rad(0),math.rad(50-2*math.cos(sine/12))), 0.3)
  1719. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-6+2.5*math.cos(sine/12)),math.rad(0),math.rad(0)), 0.2)
  1720. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-20+2*math.cos(sine/12)), math.rad(0), 0), 0.2)
  1721. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.4, -1) * CFrame.Angles(math.rad(-7-2*math.cos(sine/12)), math.rad(7), math.rad(-5)), 0.2)
  1722. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.8, -0.2) * CFrame.Angles(math.rad(-30-2*math.cos(sine/12)), math.rad(-9), math.rad(5)), 0.2)
  1723. end
  1724. fat.Event:wait()
  1725. end
  1726. else
  1727. end
  1728. lastanimpose = animpose
  1729. if Debounces.NoIdl == false then
  1730. if animpose == "Idle" then
  1731. change = 0.5
  1732. if stanceToggle == "Idle1" then
  1733. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1.05+0.03*math.cos(sine/5), 0-0.1*math.cos(sine/10)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1734. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0+8*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.3)
  1735.  
  1736. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.6+0.05*math.cos(sine/10),0.6+0.1*math.cos(sine/10),-0.2-0.1*math.cos(sine/10))*CFrame.Angles(math.rad(8+2.5*math.cos(sine/10)),math.rad(22+7*math.cos(sine/10)),math.rad(15+2*math.cos(sine/10))), 0.8)
  1737. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1738. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.6-0.05*math.cos(sine/10),0.6+0.1*math.cos(sine/10),0.2+0.1*math.cos(sine/10))*CFrame.Angles(math.rad(-8-2.5*math.cos(sine/10)),math.rad(12+5*math.cos(sine/10)),math.rad(-12-3*math.cos(sine/10))), 0.8)
  1739. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1740. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1+0.05*math.cos(sine/10))*CFrame.Angles(math.rad(-15+3*math.cos(sine/10)),math.rad(0),math.rad(0)), 0.5)
  1741. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(20-3*math.cos(sine/10)),math.rad(0)), 0.5)
  1742. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-6+3*math.cos(sine/10)), math.rad(0), 0), 0.1)
  1743. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0-0.08*math.cos(sine/10), -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20+3*math.cos(sine/10)), 0), 0.1)
  1744. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.14+0.06*math.cos(sine/10)) * CFrame.Angles(math.rad(-3-3*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.1)
  1745. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(-10-3*math.cos(sine/10)), math.rad(5+3*math.cos(sine/10))), 0.1)
  1746. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.06) * CFrame.Angles(math.rad(8-3*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.1)
  1747. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(10-3*math.cos(sine/10)), math.rad(-5+3*math.cos(sine/10))), 0.1)
  1748. elseif stanceToggle == "Idle2" then
  1749.  
  1750. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1751. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65-0.1*math.cos(sine/3),0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(20-2*math.cos(sine/3))), 0.1)
  1752. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)
  1753. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.23, 0.5, -.56) * CFrame.Angles(math.rad(88+4*math.cos(sine/3)), 0, math.rad(45)), 0.6)
  1754. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)
  1755. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2-0.05*math.cos(sine/3), 0) * CFrame.Angles(math.rad(-10+2*math.cos(sine/6)), 0, 0), 0.8)
  1756. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
  1757. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  1758. --hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-5-10*math.cos(sine/18)), math.sin(sine/36)/3, 0), 0.3)
  1759. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1760. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.15) * CFrame.Angles(math.rad(-9-2*math.cos(sine/6)), 0, 0), 0.8)
  1761. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1-0.1*math.cos(sine/3), 0+0.04*math.cos(sine/6)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), 0.8)
  1762. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56-2*math.cos(sine/6)), 0, 0), 0.8)
  1763. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1-0.05*math.cos(sine/3), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), 0.8)
  1764. elseif stanceToggle == "Grabbed" then
  1765. grab = true
  1766. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1767. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1768. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40+2*math.cos(sine/14))), 0.2)
  1769. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0,0.5, 0)*CFrame.Angles(math.rad(0), math.rad(0),math.rad(0)), 0.2)
  1770. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),-.5)*CFrame.Angles(math.rad(90+4*math.cos(sine/14)),math.rad(0),math.rad(-80+4*math.cos(sine/14))), 0.3)
  1771. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0,0.5, 0)*CFrame.Angles(math.rad(0), math.rad(0),math.rad(0)), 0.2)
  1772. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14+2*math.cos(sine/14)),math.rad(70-4*math.cos(sine/14)),0), 0.3)
  1773. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1774. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  1775. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
  1776. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3)
  1777. lleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  1778. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
  1779. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  1780. end
  1781. elseif animpose == "Walking" then
  1782. if stanceToggle == "Grabbed" then
  1783. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1784. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1785. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/2), math.sin(sine/4)/4) * CFrame.Angles(-math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(10+7*math.cos(sine/2))+root.RotVelocity.Y/30)), 0.4)
  1786. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
  1787. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(120+4*math.cos(sine/2)),math.rad(0),math.rad(-30+4*math.cos(sine/4))), 0.3)
  1788. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0,0.5, 0)*CFrame.Angles(math.rad(0), math.rad(0),math.rad(0)), 0.2)
  1789. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1+0.1*math.cos(sine/2))*CFrame.Angles(math.rad(-10+4*math.cos(sine/2)), math.rad(0-8*math.cos(sine/4)/2.3), math.rad(0)),0.4)
  1790. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0)-root.RotVelocity.Y/10,math.rad(0)), 0.7)
  1791. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.12*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/2)), math.rad(0+10*math.cos(sine/4)/2.3)+root.RotVelocity.Y/30, math.rad(0)+root.RotVelocity.Y/30), 0.4)
  1792. --rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1)
  1793. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
  1794. lleg.Weld.C0 = lleg.Weld.C0:lerp(CFrame.new(-0.5,-1-math.cos(sine/4)*.3,0+math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*AngleThetaL.Z,AngleThetaL.X,(math.sin(sine/4)*3*-AngleThetaL.X)-root.RotVelocity.Y/20),0.8)
  1795. lleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  1796. rleg.Weld.C0 = rleg.Weld.C0:lerp(CFrame.new(0.5,-1+math.cos(sine/4)*.3,0-math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*-AngleThetaR.Z,AngleThetaR.X,(math.sin(sine/4)*3*AngleThetaR.X)-root.RotVelocity.Y/20),0.8)
  1797. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  1798. elseif stanceToggle ~= "Grabbed" then
  1799. change = 1
  1800. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1801. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1802.  
  1803. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/2), math.sin(sine/4)/4) * CFrame.Angles(-math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(10+7*math.cos(sine/2))+root.RotVelocity.Y/30)), 0.4)
  1804. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
  1805. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5+.05*math.cos(sine/2), -math.sin(sine/4)/4)*CFrame.Angles(math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(-10-7*math.cos(sine/2))+root.RotVelocity.Y/30)), 0.4)
  1806. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
  1807. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1+0.1*math.cos(sine/2))*CFrame.Angles(math.rad(-10+4*math.cos(sine/2)), math.rad(0-8*math.cos(sine/4)/2.3), math.rad(0)),0.4)
  1808. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0)-root.RotVelocity.Y/10,math.rad(0)), 0.7)
  1809. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.12*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/2)), math.rad(0+10*math.cos(sine/4)/2.3)+root.RotVelocity.Y/30, math.rad(0)+root.RotVelocity.Y/30), 0.4)
  1810. --rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1)
  1811. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
  1812. --lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.9-0.24*math.cos(sine/4)/2.8, -0.05 + math.sin(sine/4)/3.4) * CFrame.Angles(math.rad(-5)-math.sin(sine/4)/2.1, math.rad(0-10*math.cos(sine/4)/2.3), 0-root.RotVelocity.Y/20), .4)
  1813. lleg.Weld.C0 = lleg.Weld.C0:lerp(CFrame.new(-0.5,-1-math.cos(sine/4)*.3,0+math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*AngleThetaL.Z,AngleThetaL.X,(math.sin(sine/4)*3*-AngleThetaL.X)-root.RotVelocity.Y/20),0.8)
  1814. lleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  1815. --rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.9+0.24*math.cos(sine/4)/2.8, -0.05 + -math.sin(sine/4)/3.4) * CFrame.Angles(math.rad(-5)+math.sin(sine/4)/2.1, math.rad(0-10*math.cos(sine/4)/2.3), 0-root.RotVelocity.Y/20), .4)
  1816. rleg.Weld.C0 = rleg.Weld.C0:lerp(CFrame.new(0.5,-1+math.cos(sine/4)*.3,0-math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*-AngleThetaR.Z,AngleThetaR.X,(math.sin(sine/4)*3*AngleThetaR.X)-root.RotVelocity.Y/20),0.8)
  1817. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  1818. end
  1819. elseif animpose == "Running" then
  1820. change = 1
  1821. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1822. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1823.  
  1824. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.24+.6*math.cos(sine/4)/1.4, 0.54, 0+0.8*math.cos(sine/4)) * CFrame.Angles(math.rad(6-140*math.cos(sine/4)/1.2), math.rad(0), math.rad(-20+70*math.cos(sine/4))), 0.2)
  1825. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.36)
  1826. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.24+.6*math.cos(sine/4)/1.4, 0.54, 0-0.8*math.cos(sine/4))*CFrame.Angles(math.rad(6+140*math.cos(sine/4)/1.2), math.rad(0), math.rad(20+70*math.cos(sine/4))), 0.2)
  1827. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1828. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-8+12*math.cos(sine/2)/1.5), math.rad(0+12*math.cos(sine/4)), math.rad(0)),0.2)
  1829. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0)-root.RotVelocity.Y/10,math.rad(0)), 0.5)
  1830. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.2*math.cos(sine/2)/1.7, 0) * CFrame.Angles(math.rad(-14+10*math.cos(sine/2)/1.5), math.rad(0-12*math.cos(sine/4))-root.RotVelocity.Y/10, math.rad(0)+root.RotVelocity.Y/20), 0.2)
  1831. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  1832. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.8-0.4*math.cos(sine/4)/2, math.sin(sine/4)/2) * CFrame.Angles(math.rad(-10) + -math.sin(sine/4)/1.2, math.rad(0+12*math.cos(sine/4))+root.RotVelocity.Y/10, 0), .8)
  1833. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1834. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8+0.4*math.cos(sine/4)/2, -math.sin(sine/4)/2) * CFrame.Angles(math.rad(-10) + math.sin(sine/4)/1.2, math.rad(0+12*math.cos(sine/4))+root.RotVelocity.Y/10, 0), .8)
  1835. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1836. elseif animpose == "Jumping" then
  1837.  
  1838. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1839. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1840. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(20)), 0.2)
  1841. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.36)
  1842. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-20)), 0.2)
  1843. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1844. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(30),math.rad(0),0), 0.2)
  1845. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  1846. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  1847. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1.1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  1848. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1849. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1.1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  1850. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1851. elseif animpose == "Freefalling" then
  1852.  
  1853. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1854. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1855. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0)*CFrame.Angles(math.rad(-40),math.rad(20),math.rad(50)), 0.2)
  1856. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.36)
  1857. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0)*CFrame.Angles(math.rad(110),math.rad(-20),math.rad(-30)), 0.2)
  1858. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1859. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),math.rad(0),0), 0.2)
  1860. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.2)
  1861. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  1862. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.5, 0.2) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), 0.2)
  1863. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1864. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.5, -0.6) * CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)), 0.2)
  1865. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1866. end
  1867. end
  1868. end)
  1869. hum.MaxHealth = 99999e99999
  1870. wait(3)
  1871. hum.Health = 99999e99999
  1872.  
  1873. plr=game.Players.Imtannerbanner56
  1874. char=plr.Character
  1875. char.Humanoid.WalkSpeed=67
  1876. pcall(function() char.MainParts:Remove() end)
  1877. bin=Instance.new("HopperBin",plr.Backpack)
  1878. bin.Name="Pheonix Sword"
  1879. script.Parent=bin
  1880. attacking=false
  1881. pcall(function() workspace.MainParts:Destroy() end)
  1882. function makepart(name,parent,s1,s2,s3,color)
  1883. p=Instance.new("Part",parent)
  1884. p.Name=name
  1885. p.formFactor="Custom"
  1886. p.Anchored=false
  1887. p.Locked=true
  1888. p.CanCollide=false
  1889. p.Size=Vector3.new(s1,s2,s3)
  1890. p.BrickColor=BrickColor.new(color)
  1891. p:BreakJoints()
  1892. return p
  1893. end
  1894. function cylinder(part)
  1895. bm=Instance.new("CylinderMesh",part)
  1896. return bm
  1897. end
  1898. function blockmesh(part)
  1899. bm=Instance.new("BlockMesh",part)
  1900. return bm
  1901. end
  1902. function specmesh(part,type,s1,s2,s3)
  1903. spec=Instance.new("SpecialMesh",part)
  1904. spec.MeshType=type
  1905. spec.Scale=Vector3.new(s1,s2,s3)
  1906. return spec
  1907. end
  1908. chosen="Really black"
  1909. main=Instance.new("Model",char)
  1910. main.Name="MainParts"
  1911. handle = makepart("Handle",main,.2,2,.2,"Really black")
  1912. cylinder(handle)
  1913. wd1=Instance.new("Weld",handle)
  1914. wd1.Part1=handle
  1915. wd1.Part0=nil
  1916. handlep = makepart("HandlePart",main,.22,0.02,.22,chosen)
  1917. cyl1 = cylinder(handlep)
  1918. cyl1.Scale=Vector3.new(1,.5,1)
  1919. w1=Instance.new("Weld",handlep)
  1920. w1.Part1=handle
  1921. w1.Part0=handlep
  1922. w1.C1=CFrame.new(0,1,0) * CFrame.Angles(0,0,0)
  1923. handlep2 = makepart("HandlePart2",main,.25,.25,.25,chosen)
  1924. specmesh(hanelp2,"Sphere",1,1,1)
  1925. w1=Instance.new("Weld",handlep2)
  1926. w1.Part1=handlep
  1927. w1.Part0=handlep2
  1928. w1.C1=CFrame.new(0,.05,0) * CFrame.Angles(0,0,0)
  1929. handlep3 = makepart("HandlePart3",main,.22,0.02,.22,chosen)
  1930. cyl1 = cylinder(handlep3)
  1931. cyl1.Scale=Vector3.new(1,.3,1)
  1932. w1=Instance.new("Weld",handlep3)
  1933. w1.Part1=handle
  1934. w1.Part0=handlep3
  1935. w1.C1=CFrame.new(0,-.5,0) * CFrame.Angles(0,0,0)
  1936. handlep4 = makepart("HandlePart4",main,.24,0.02,.24,chosen)
  1937. cyl1 = cylinder(handlep4)
  1938. cyl1.Scale=Vector3.new(1,.3,1)
  1939. w1=Instance.new("Weld",handlep4)
  1940. w1.Part1=handle
  1941. w1.Part0=handlep4
  1942. w1.C1=CFrame.new(0,-.54,0) * CFrame.Angles(0,0,0)
  1943. handlep5 = makepart("HandlePart5",main,.26,0.02,.26,chosen)
  1944. cyl1 = cylinder(handlep5)
  1945. cyl1.Scale=Vector3.new(1,.3,1)
  1946. w1=Instance.new("Weld",handlep5)
  1947. w1.Part1=handle
  1948. w1.Part0=handlep5
  1949. w1.C1=CFrame.new(0,-.57,0) * CFrame.Angles(0,0,0)
  1950. handlep6 = makepart("HandlePart6",main,.02,0.02,.02,chosen)
  1951. bm6=blockmesh(handlep6)
  1952. bm6.Scale=Vector3.new(2,2.6,1.3)
  1953. w1=Instance.new("Weld",handlep6)
  1954. w1.Part1=handle
  1955. w1.Part0=handlep6
  1956. w1.C1=CFrame.new(0,-.84,0) * CFrame.Angles(0,0,0)
  1957. handlep7 = makepart("HandlePart7",main,.02,0.02,.02,chosen)
  1958. bm7=blockmesh(handlep7)
  1959. bm7.Scale=Vector3.new(3,1.6,1.3)
  1960. w1=Instance.new("Weld",handlep7)
  1961. w1.Part1=handle
  1962. w1.Part0=handlep7
  1963. w1.C1=CFrame.new(.5,-.84,0) * CFrame.Angles(0,0,0)
  1964. handlep8 = makepart("HandlePart8",main,.02,0.02,.02,chosen)
  1965. bm8=blockmesh(handlep8)
  1966. bm8.Scale=Vector3.new(3,1.6,1.3)
  1967. w1=Instance.new("Weld",handlep8)
  1968. w1.Part1=handle
  1969. w1.Part0=handlep8
  1970. w1.C1=CFrame.new(-.5,-.84,0) * CFrame.Angles(0,0,0)
  1971. handlep11 = makepart("HandlePart11",main,.02,0.02,.02,"Really black")
  1972. bm11=blockmesh(handlep11)
  1973. bm11.Scale=Vector3.new(1.4,1.4,1.61)
  1974. w1=Instance.new("Weld",handlep11)
  1975. w1.Part1=handle
  1976. w1.Part0=handlep11
  1977. w1.C1=CFrame.new(0,-.84,0) * CFrame.Angles(0,0,0)
  1978. bladep1 = makepart("BladePart1",main,.02,4,.02,"Really black")
  1979. bp1=blockmesh(bladep1)
  1980. bp1.Scale=Vector3.new(4,1,.5)
  1981. w1=Instance.new("Weld",bladep1)
  1982. w1.Part1=handle
  1983. w1.Part0=bladep1
  1984. w1.C1=CFrame.new(0,-3,0) * CFrame.Angles(0,0,0)
  1985. bladep2 = makepart("BladePart2",main,.02,.02,.02,chosen)
  1986. bp2=specmesh(bladep2,"Wedge",.6,1,1)
  1987. w1=Instance.new("Weld",bladep2)
  1988. w1.Part1=handle
  1989. w1.Part0=bladep2
  1990. w1.C1=CFrame.new(-0.2,-4.6,0)
  1991. w1.C0=CFrame.Angles(0,math.rad(90),0)
  1992. bladep3 = makepart("BladePart3",main,.02,.02,.02,chosen)
  1993. bp3=specmesh(bladep3,"Wedge",.6,1,1)
  1994. w1=Instance.new("Weld",bladep3)
  1995. w1.Part1=handle
  1996. w1.Part0=bladep3
  1997. w1.C1=CFrame.new(0.2,-4.6,0)
  1998. w1.C0=CFrame.Angles(0,math.rad(270),0)
  1999. bladep4 = makepart("BladePart4",main,.02,.02,.02,chosen)
  2000. bp4=specmesh(bladep4,"Wedge",.6,1,1)
  2001. w1=Instance.new("Weld",bladep4)
  2002. w1.Part1=handle
  2003. w1.Part0=bladep4
  2004. w1.C1=CFrame.new(0.2,-4.3,0)
  2005. w1.C0=CFrame.Angles(math.rad(90),math.rad(270),0)
  2006. bladep5 = makepart("BladePart5",main,.02,.02,.02,chosen)
  2007. bp5=specmesh(bladep5,"Wedge",.6,1,1)
  2008. w1=Instance.new("Weld",bladep5)
  2009. w1.Part1=handle
  2010. w1.Part0=bladep5
  2011. w1.C1=CFrame.new(-0.2,-4.3,0)
  2012. w1.C0=CFrame.Angles(math.rad(90),math.rad(90),0)
  2013. bladep6 = makepart("BladePart6",main,.02,.02,.02,chosen)
  2014. bp6=cylinder(bladep6)
  2015. bp6.Scale=Vector3.new(1,.6,1)
  2016. w1=Instance.new("Weld",bladep6)
  2017. w1.Part1=handle
  2018. w1.Part0=bladep6
  2019. w1.C1=CFrame.new(0,-4.45,0)
  2020. w1.C0=CFrame.Angles(math.rad(90),0,math.rad(90))
  2021. bladep7 = makepart("BladePart7",main,.02,.02,.02,chosen)
  2022. bp7=blockmesh(bladep7)
  2023. bp7.Scale=Vector3.new(.6,16.6,.6)
  2024. w1=Instance.new("Weld",bladep7)
  2025. w1.Part1=handle
  2026. w1.Part0=bladep7
  2027. w1.C1=CFrame.new(0,-2.72,0)
  2028. bladep8 = makepart("BladePart8",main,.02,.02,.02,"red")
  2029. bp8=specmesh(bladep8,"Wedge",.51,2,3)
  2030. w1=Instance.new("Weld",bladep8)
  2031. w1.Part1=handle
  2032. w1.Part0=bladep8
  2033. w1.C1=CFrame.new(0.20,-5.3,0)
  2034. w1.C0=CFrame.Angles(math.rad(90),math.rad(90),0)
  2035. bladep9 = makepart("BladePart9",main,.02,.02,.02,"red")
  2036. bp9=specmesh(bladep9,"Wedge",.51,2,3)
  2037. w1=Instance.new("Weld",bladep9)
  2038. w1.Part1=handle
  2039. w1.Part0=bladep9
  2040. w1.C1=CFrame.new(-0.20,-5.3,0)
  2041. w1.C0=CFrame.Angles(math.rad(90),math.rad(270),0)
  2042. --[[ Ghost Sword ]]
  2043. function ghost()
  2044. main2=Instance.new("Model",char)
  2045. main2.Name="GhostMainParts"
  2046. handleg = makepart("Handle",main2,.2,2,.2,"Really black")
  2047. cylinder(handleg)
  2048. wd12=Instance.new("Weld",handleg)
  2049. wd12.Part1=handleg
  2050. wd12.Name="Weldd"
  2051. wd12.Part0=nil
  2052. handlep = makepart("HandlePart",main2,.22,0.02,.22,chosen)
  2053. cyl1 = cylinder(handlep)
  2054. cyl1.Scale=Vector3.new(1,.5,1)
  2055. w1=Instance.new("Weld",handlep)
  2056. w1.Part1=handleg
  2057. w1.Part0=handlep
  2058. w1.C1=CFrame.new(0,1,0) * CFrame.Angles(0,0,0)
  2059. handlep2 = makepart("HandlePart2",main2,.25,.25,.25,chosen)
  2060. specmesh(hanelp2,"Sphere",1,1,1)
  2061. w1=Instance.new("Weld",handlep2)
  2062. w1.Part1=handlep
  2063. w1.Part0=handlep2
  2064. w1.C1=CFrame.new(0,.05,0) * CFrame.Angles(0,0,0)
  2065. handlep3 = makepart("HandlePart3",main2,.22,0.02,.22,chosen)
  2066. cyl1 = cylinder(handlep3)
  2067. cyl1.Scale=Vector3.new(1,.3,1)
  2068. w1=Instance.new("Weld",handlep3)
  2069. w1.Part1=handleg
  2070. w1.Part0=handlep3
  2071. w1.C1=CFrame.new(0,-.5,0) * CFrame.Angles(0,0,0)
  2072. handlep4 = makepart("HandlePart4",main2,.24,0.02,.24,chosen)
  2073. cyl1 = cylinder(handlep4)
  2074. cyl1.Scale=Vector3.new(1,.3,1)
  2075. w1=Instance.new("Weld",handlep4)
  2076. w1.Part1=handleg
  2077. w1.Part0=handlep4
  2078. w1.C1=CFrame.new(0,-.54,0) * CFrame.Angles(0,0,0)
  2079. handlep5 = makepart("HandlePart5",main2,.26,0.02,.26,chosen)
  2080. cyl1 = cylinder(handlep5)
  2081. cyl1.Scale=Vector3.new(1,.3,1)
  2082. w1=Instance.new("Weld",handlep5)
  2083. w1.Part1=handleg
  2084. w1.Part0=handlep5
  2085. w1.C1=CFrame.new(0,-.57,0) * CFrame.Angles(0,0,0)
  2086. handlep6 = makepart("HandlePart6",main2,.02,0.02,.02,chosen)
  2087. bm6=blockmesh(handlep6)
  2088. bm6.Scale=Vector3.new(2,2.6,1.3)
  2089. w1=Instance.new("Weld",handlep6)
  2090. w1.Part1=handleg
  2091. w1.Part0=handlep6
  2092. w1.C1=CFrame.new(0,-.84,0) * CFrame.Angles(0,0,0)
  2093. handlep7 = makepart("HandlePart7",main2,.02,0.02,.02,chosen)
  2094. bm7=blockmesh(handlep7)
  2095. bm7.Scale=Vector3.new(3,1.6,1.3)
  2096. w1=Instance.new("Weld",handlep7)
  2097. w1.Part1=handleg
  2098. w1.Part0=handlep7
  2099. w1.C1=CFrame.new(.5,-.84,0) * CFrame.Angles(0,0,0)
  2100. handlep8 = makepart("HandlePart8",main2,.02,0.02,.02,chosen)
  2101. bm8=blockmesh(handlep8)
  2102. bm8.Scale=Vector3.new(3,1.6,1.3)
  2103. w1=Instance.new("Weld",handlep8)
  2104. w1.Part1=handleg
  2105. w1.Part0=handlep8
  2106. w1.C1=CFrame.new(-.5,-.84,0) * CFrame.Angles(0,0,0)
  2107. handlep11 = makepart("HandlePart11",main2,.02,0.02,.02,"Really black")
  2108. bm11=blockmesh(handlep11)
  2109. bm11.Scale=Vector3.new(1.4,1.4,1.61)
  2110. w1=Instance.new("Weld",handlep11)
  2111. w1.Part1=handleg
  2112. w1.Part0=handlep11
  2113. w1.C1=CFrame.new(0,-.84,0) * CFrame.Angles(0,0,0)
  2114. bladep1 = makepart("BladePart1",main2,.02,4,.02,"red")
  2115. bp1=blockmesh(bladep1)
  2116. bp1.Scale=Vector3.new(4,1,.5)
  2117. w1=Instance.new("Weld",bladep1)
  2118. w1.Part1=handleg
  2119. w1.Part0=bladep1
  2120. w1.C1=CFrame.new(0,-3,0) * CFrame.Angles(0,0,0)
  2121. bladep2 = makepart("BladePart2",main2,.02,.02,.02,chosen)
  2122. bp2=specmesh(bladep2,"Wedge",.6,1,1)
  2123. w1=Instance.new("Weld",bladep2)
  2124. w1.Part1=handleg
  2125. w1.Part0=bladep2
  2126. w1.C1=CFrame.new(-0.2,-4.6,0)
  2127. w1.C0=CFrame.Angles(0,math.rad(90),0)
  2128. bladep3 = makepart("BladePart3",main2,.02,.02,.02,chosen)
  2129. bp3=specmesh(bladep3,"Wedge",.6,1,1)
  2130. w1=Instance.new("Weld",bladep3)
  2131. w1.Part1=handleg
  2132. w1.Part0=bladep3
  2133. w1.C1=CFrame.new(0.2,-4.6,0)
  2134. w1.C0=CFrame.Angles(0,math.rad(270),0)
  2135. bladep4 = makepart("BladePart4",main2,.02,.02,.02,chosen)
  2136. bp4=specmesh(bladep4,"Wedge",.6,1,1)
  2137. w1=Instance.new("Weld",bladep4)
  2138. w1.Part1=handleg
  2139. w1.Part0=bladep4
  2140. w1.C1=CFrame.new(0.2,-4.3,0)
  2141. w1.C0=CFrame.Angles(math.rad(90),math.rad(270),0)
  2142. bladep5 = makepart("BladePart5",main2,.02,.02,.02,chosen)
  2143. bp5=specmesh(bladep5,"Wedge",.6,1,1)
  2144. w1=Instance.new("Weld",bladep5)
  2145. w1.Part1=handleg
  2146. w1.Part0=bladep5
  2147. w1.C1=CFrame.new(-0.2,-4.3,0)
  2148. w1.C0=CFrame.Angles(math.rad(90),math.rad(90),0)
  2149. bladep6 = makepart("BladePart6",main2,.02,.02,.02,chosen)
  2150. bp6=cylinder(bladep6)
  2151. bp6.Scale=Vector3.new(1,.6,1)
  2152. w1=Instance.new("Weld",bladep6)
  2153. w1.Part1=handleg
  2154. w1.Part0=bladep6
  2155. w1.C1=CFrame.new(0,-4.45,0)
  2156. w1.C0=CFrame.Angles(math.rad(90),0,math.rad(90))
  2157. bladep7 = makepart("BladePart7",main2,.02,.02,.02,chosen)
  2158. bp7=blockmesh(bladep7)
  2159. bp7.Scale=Vector3.new(.6,16.6,.6)
  2160. w1=Instance.new("Weld",bladep7)
  2161. w1.Part1=handleg
  2162. w1.Part0=bladep7
  2163. w1.C1=CFrame.new(0,-2.72,0)
  2164. bladep8 = makepart("BladePart8",main2,.02,.02,.02,"red")
  2165. bp8=specmesh(bladep8,"Wedge",.51,2,3)
  2166. w1=Instance.new("Weld",bladep8)
  2167. w1.Part1=handleg
  2168. w1.Part0=bladep8
  2169. w1.C1=CFrame.new(0.20,-5.3,0)
  2170. w1.C0=CFrame.Angles(math.rad(90),math.rad(90),0)
  2171. bladep9 = makepart("BladePart9",main2,.02,.02,.02,"red")
  2172. bp9=specmesh(bladep9,"Wedge",.51,2,3)
  2173. w1=Instance.new("Weld",bladep9)
  2174. w1.Part1=handleg
  2175. w1.Part0=bladep9
  2176. w1.C1=CFrame.new(-0.20,-5.3,0)
  2177. w1.C0=CFrame.Angles(math.rad(90),math.rad(270),0)
  2178. return main2
  2179. end
  2180. hold=false
  2181. --[[Key/Mouse]]
  2182. mode="normal"
  2183. function select()
  2184. mode="normal"
  2185. equipanim()
  2186. end
  2187. function unselect()
  2188. char.Humanoid.WalkSpeed=20
  2189. hideanim()
  2190. end
  2191. combo=0
  2192. bin.Selected:connect(function(mouse)
  2193. select()
  2194. mouse.Button1Down:connect(function()
  2195. if combo==0 then
  2196. slashanim()
  2197. combo = 1
  2198. elseif combo==1 then
  2199. slashanim2()
  2200. combo = 0
  2201. end
  2202. end)
  2203. mouse.KeyDown:connect(function(key)
  2204. hold=true
  2205. if mode=="normal" then
  2206. if key == "q" then
  2207. move3()
  2208. elseif key=="e" then
  2209. move4()
  2210. elseif key=="r" then
  2211. move5()
  2212. end
  2213. end
  2214. end)
  2215. mouse.KeyUp:connect(function()
  2216. hold=false
  2217. end)
  2218. end)
  2219. bin.Deselected:connect(function()
  2220. unselect()
  2221. end)
  2222. --[[DMG]]
  2223. function damagesplat(dmg,hit)
  2224. local mo = Instance.new("Model")
  2225. mo.Name = dmg
  2226. local pa = Instance.new("Part",mo)
  2227. pa.formFactor = 3
  2228. pa.Size = Vector3.new(0.8,0.3,0.8)
  2229. pa.BrickColor = BrickColor.new(chosen)
  2230. pa.CanCollide=false
  2231. pa.CFrame = CFrame.new(hit.Position) * CFrame.new(0, 3, 0)
  2232. pa.Name = "Head"
  2233. cm=Instance.new("CylinderMesh",pa)
  2234. local hah = Instance.new("Humanoid")
  2235. hah.Parent = mo
  2236. hah.MaxHealth = 0
  2237. hah.Health = 0
  2238. local bp = Instance.new("BodyPosition")
  2239. bp.P = 14000
  2240. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  2241. bp.position = hit.Position + Vector3.new(0, 5, 0)
  2242. coroutine.resume(coroutine.create(function()
  2243. wait()
  2244. mo.Parent = workspace
  2245. bp.Parent = pa
  2246. wait(1.4)
  2247. mo:remove()
  2248. end))
  2249. end
  2250. con = nil
  2251. con2 = nil
  2252. hitd=0
  2253. hitd2=0
  2254. function OT(hit)
  2255. if hit.Parent == nil then return end
  2256. local hum = hit.Parent:findFirstChild("Humanoid")
  2257. local head = hit.Parent:findFirstChild("Head")
  2258. if hum ~= nil then
  2259. dm=math.random(10000,10000)
  2260. hum:TakeDamage(dm)
  2261. if head ~= nil then
  2262. damagesplat(dm,head)
  2263. end
  2264. end
  2265. hitd=1
  2266. end
  2267. function OT2(hit)
  2268. if hit.Parent == nil then return end
  2269. local hum = hit.Parent:findFirstChild("Humanoid")
  2270. local head = hit.Parent:findFirstChild("Head")
  2271. if hum ~= nil then
  2272. dm=math.random(10000,10000)
  2273. hum:TakeDamage(dm)
  2274. if head ~= nil then
  2275. damagesplat(dm,head)
  2276. end
  2277. end
  2278. hitd2=1
  2279. end
  2280. function dmgcnnct(p)
  2281. con = p.Touched:connect(OT)
  2282. end
  2283. function dmgcnnct2(p)
  2284. con2 = p.Touched:connect(OT2)
  2285. end
  2286. function dmgdc2()
  2287. if con2 ~= nil then
  2288. con2:disconnect()
  2289. hitd2=0
  2290. end
  2291. end
  2292. function dmgdc()
  2293. if con ~= nil then
  2294. con:disconnect()
  2295. hitd=0
  2296. end
  2297. end
  2298. --[[Anims]]--
  2299. RW, LW , RWL, LWL = Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld")
  2300. ch = char
  2301. player=plr
  2302. RSH, LSH , RHL, LHL = ch.Torso["Right Shoulder"], ch.Torso["Left Shoulder"] , ch.Torso["Right Hip"] , ch.Torso["Left Hip"]
  2303. RW.Part0 = ch.Torso
  2304. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  2305. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  2306. RW.Parent = main
  2307. --
  2308. LW.Part0 = ch.Torso
  2309. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  2310. LW.C1 = CFrame.new(0, 0.5, 0)
  2311. LW.Parent = main
  2312. --
  2313. RWL.Part0 = ch.Torso
  2314. RWL.C0 = CFrame.new(1, -1, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  2315. RWL.C1 = CFrame.new(0.5, 1, 0)
  2316. RWL.Parent = main
  2317. --
  2318. LWL.Part0 = ch.Torso
  2319. LWL.C0 = CFrame.new(-1, -1, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  2320. LWL.C1 = CFrame.new(-0.5, 1, 0)
  2321. LWL.Parent = main
  2322. function RWFunc()
  2323. RW.Part1 = ch["Right Arm"]
  2324. RSH.Part1 = nil
  2325. end
  2326. function LWFunc()
  2327. LW.Part1 = ch["Left Arm"]
  2328. LSH.Part1 = nil
  2329. end
  2330. function RWLFunc()
  2331. RWL.Part1 = ch["Right Leg"]
  2332. RHL.Part1 = nil
  2333. ch["Right Leg"].Name = "RightLeg"
  2334. RightLeg.CanCollide = false
  2335. end
  2336. function LWLFunc()
  2337. LWL.Part1 = ch["Left Leg"]
  2338. LHL.Part1 = nil
  2339. ch["Left Leg"].Name = "LeftLeg"
  2340. LeftLeg.CanCollide = true
  2341. end
  2342. function RWLRem()
  2343. RightLeg.Name = "Right Leg"
  2344. RWL.Part1 = nil
  2345. RHL.Part1 = ch["Right Leg"]
  2346. RightLeg.CanCollide = false
  2347. end
  2348. function LWLRem()
  2349. LeftLeg.Name = "Left Leg"
  2350. LWL.Part1 = nil
  2351. LHL.Part1 = ch["Left Leg"]
  2352. LeftLeg.CanCollide = false
  2353. end
  2354. function RWRem()
  2355. RW.Part1 = nil
  2356. RSH.Part1 = ch["Right Arm"]
  2357. end
  2358. function LWRem()
  2359. LW.Part1 = nil
  2360. LSH.Part1 = ch["Left Arm"]
  2361. end
  2362. local RAP = Instance.new("Part")
  2363. RAP.formFactor = 0
  2364. RAP.CanCollide = false
  2365. RAP.Name = "RAPart"
  2366. RAP.Locked = true
  2367. RAP.Size = Vector3.new(1,1,1)
  2368. RAP.Parent = main
  2369. RAP.Transparency = 1
  2370. local w = Instance.new("Weld")
  2371. w.Parent = RAP
  2372. w.Part0 = RAP
  2373. w.Part1 = char["Right Arm"]
  2374. w.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  2375. w.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 1, 0)
  2376. local LAP = Instance.new("Part")
  2377. LAP.formFactor = 0
  2378. LAP.CanCollide = false
  2379. LAP.Name = "LAPart"
  2380. LAP.Locked = true
  2381. LAP.Size = Vector3.new(1,1,1)
  2382. LAP.Parent = main
  2383. LAP.Transparency = 1
  2384. local ww = Instance.new("Weld")
  2385. ww.Parent = LAP
  2386. ww.Part0 = LAP
  2387. ww.Part1 = char["Left Arm"]
  2388. ww.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  2389. ww.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 1, 0)
  2390. function unequipweld()
  2391. wd1.Part0 = char.Torso
  2392. wd1.C1=CFrame.new(0,-1.5,-.6) * CFrame.Angles(0,0,.8)
  2393. wd1.C0=CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  2394. end
  2395. unequipweld()
  2396. function equipweld()
  2397. wd1.Part0 = RAP
  2398. wd1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  2399. wd1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90), math.rad(90)) * CFrame.new(0, 0, 0.2)
  2400. end
  2401. function hideanim()
  2402. RWFunc()
  2403. for i = 0 , 1 , 0.2 do
  2404. wait()
  2405. RW.C0 = CFrame.new(1+0.5*i,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80+67*i), math.rad(45), math.rad(-45+90*i))
  2406. end
  2407. for i = 0 , 1 , 0.15 do
  2408. wait()
  2409. RW.C0 = CFrame.new(1.5,0.5+0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(147+103*i), math.rad(45), math.rad(45-35*i))
  2410. end
  2411. unequipweld()
  2412. wait(0.1)
  2413. for i = 0 , 1 , 0.1 do
  2414. wait()
  2415. RW.C0 = CFrame.new(1.5,1-0.5*i,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(250-250*i), math.rad(45-45*i), math.rad(10-10*i))
  2416. end
  2417. RWRem()
  2418. LWRem()
  2419. end
  2420. function equipanim()
  2421. RWFunc()
  2422. for i = 0 , 1 , 0.1 do
  2423. wait(.05)
  2424. RW.C0 = CFrame.new(1.5,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(250*i), math.rad(45*i), math.rad(-10*i))
  2425. end
  2426. equipweld()
  2427. for i = 0 , 1 , 0.2 do
  2428. wait(.05)
  2429. RW.C0 = CFrame.new(1.5,0.5+0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(250-102.5*i), math.rad(45), math.rad(-10+27.5*i))
  2430. end
  2431. for i = 0 , 1 , 0.15 do
  2432. wait(.05)
  2433. RW.C0 = CFrame.new(1.5,1-0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(147-67*i), math.rad(45), math.rad(17.5+27.5*i))
  2434. end
  2435. for i = 0 , 1 , 0.1 do
  2436. wait(.05)
  2437. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(35), math.rad(45-90*i))
  2438. end
  2439. end
  2440. function slashanim()
  2441. RWFunc()
  2442. if attacking==true then return end
  2443. attacking=true
  2444. for i = 0 , 1 , 0.1 do
  2445. wait()
  2446. RW.C0 = CFrame.new(1-0.5*i,0.5,-0.5-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80+10*i), math.rad(45+45*i), math.rad(-45+45*i))
  2447. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45*i), math.rad(10*i), math.rad(0))
  2448. end
  2449. dmgcnnct(bladep1)
  2450. for i = 0 , 1 , 0.3 do
  2451. wait()
  2452. RW.C0 = CFrame.new(0.5+1*i,0.5,-1+1*i) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90), math.rad(0))
  2453. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45+135*i), math.rad(10+35*i), math.rad(0))
  2454. end
  2455. for i = 0 , 1 , 0.2 do
  2456. wait()
  2457. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90), math.rad(0))
  2458. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90+20*i), math.rad(45+5*i), math.rad(0))
  2459. end
  2460. dmgdc()
  2461. if mode=="normal" then
  2462. wait(0.15)
  2463. wait()
  2464. for i = 0 , 1 , 0.1 do
  2465. wait()
  2466. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90-10*i), math.rad(90-45*i), math.rad(-45*i))
  2467. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(110-110*i), math.rad(50-50*i), math.rad(0))
  2468. end
  2469. end
  2470. attacking=false
  2471. end
  2472. function test(f)
  2473. local a,b=coroutine.resume(coroutine.create(f))
  2474. if not a then
  2475. local h=Instance.new("Hint",workspace)
  2476. h.Text="LOCAL: "..b
  2477. wait(10)
  2478. h:remove()
  2479. end
  2480. end
  2481. function slashanim2()
  2482. test(function()
  2483. RWFunc()
  2484. LWFunc()
  2485. if attacking==true then return end
  2486. attacking=true
  2487. for i=0,1,0.1 do
  2488. wait()
  2489. RW.C0 = CFrame.new(1.5,.5,0) * CFrame.Angles(0,0,math.rad(30*i))
  2490. LW.C0 = CFrame.new(-1.5,.5,0) * CFrame.Angles(0,0,math.rad(-30*i))
  2491. end
  2492. fake=ghost()
  2493. fake.Handle.Weldd.Part0=LAP
  2494. fake.Handle.Weldd.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  2495. fake.Handle.Weldd.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90), math.rad(90)) * CFrame.new(0, 0, 0.2)
  2496. for i,d in pairs(fake:GetChildren()) do
  2497. d.Transparency=0.5
  2498. d.BrickColor=BrickColor.new("Really black")
  2499. end
  2500. for i=0,1,0.1 do
  2501. wait()
  2502. RW.C0 = CFrame.new(1.5,.5,0) * CFrame.Angles(math.rad(0+120*i),0,math.rad(30))
  2503. LW.C0 = CFrame.new(-1.5,.5,0) * CFrame.Angles(math.rad(0+120*i),0,math.rad(-30))
  2504. end
  2505. dmgcnnct(bladep1)
  2506. dmgcnnct2(fake.BladePart1)
  2507. for i=0,1,0.2 do
  2508. wait()
  2509. RW.C0 = CFrame.new(1.5,.5,0) * CFrame.Angles(math.rad(120 - 120*i),0,math.rad(30 - 30*i))
  2510. LW.C0 = CFrame.new(-1.5,.5,0) * CFrame.Angles(math.rad(120 - 120*i),0,math.rad(-30 - -30*i))
  2511. end
  2512. dmgdc()
  2513. dmgdc2()
  2514. for i=0,1,0.1 do
  2515. wait()
  2516. RW.C0 = CFrame.new(1.5,.5,0) * CFrame.Angles(0,0,math.rad(0 + 90*i))
  2517. LW.C0 = CFrame.new(-1.5,.5,0) * CFrame.Angles(0,0,math.rad(-0 + -90*i))
  2518. end
  2519. dmgcnnct(bladep1)
  2520. dmgcnnct2(fake.BladePart1)
  2521. for i=0,1,0.1 do
  2522. wait()
  2523. RW.C0 = CFrame.new(1.5,.5,0) * CFrame.Angles(0,math.rad(0 + 60*i),math.rad(90 + 0))
  2524. LW.C0 = CFrame.new(-1.5,.5,0) * CFrame.Angles(0,math.rad(-0 + -60*i),math.rad(-80 + -0))
  2525. end
  2526. dmgdc()
  2527. dmgdc2()
  2528. for i=0,1,0.1 do
  2529. wait()
  2530. RW.C0 = CFrame.new(1.5,.5,0) * CFrame.Angles(0,math.rad(60 - 60*i),math.rad(90 + 0))
  2531. LW.C0 = CFrame.new(-1.5,.5,0) * CFrame.Angles(0,math.rad(-60 - -60*i),math.rad(-80 + -0))
  2532. end
  2533. for i=0,1,0.1 do
  2534. wait()
  2535. RW.C0 = CFrame.new(1.5,.5,0) * CFrame.Angles(0,0,math.rad(90 - 90*i))
  2536. LW.C0 = CFrame.new(-1.5,.5,0) * CFrame.Angles(0,0,math.rad(-90 - -90*i))
  2537. end
  2538. fake:Remove()
  2539. LWRem()
  2540. for i = 0 , 1 , 0.1 do
  2541. wait()
  2542. RW.C0 = CFrame.new(1.5-0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80*i), math.rad(35*i), math.rad(-35 + -10*i))
  2543. end
  2544. attacking=false
  2545. end)
  2546. end
  2547. function move3()
  2548. RWFunc()
  2549. LWFunc()
  2550. if attacking==true then return end
  2551. attacking=true
  2552. fake2=ghost()
  2553. fake2.Handle.Weldd.Part0=LAP
  2554. fake2.Handle.Weldd.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  2555. fake2.Handle.Weldd.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90), math.rad(90)) * CFrame.new(0, 0, 0.2)
  2556. for i,d in pairs(fake2:GetChildren()) do
  2557. d.Transparency=0.5
  2558. d.BrickColor=BrickColor.new("Really black")
  2559. end
  2560. for i=0,1,0.1 do
  2561. wait()
  2562. RW.C0 = CFrame.new(1.5,.5,0) * CFrame.Angles(math.rad(50+50*i),0,math.rad(40+43*i))
  2563. LW.C0 = CFrame.new(-1.5,.5,0) * CFrame.Angles(math.rad(50+50*i),0,math.rad(-40+-43*i))
  2564. wd1.C0 = CFrame.Angles(0,0,math.rad(90*i))
  2565. fake2.Handle.Weldd.C0 = CFrame.Angles(0,0,math.rad(90*i))
  2566. end
  2567. dmgcnnct(bladep1)
  2568. dmgcnnct2(fake2.BladePart1)
  2569. local TorsCF = char.Torso.CFrame
  2570. local bg = Instance.new("BodyGyro",char.Torso)
  2571. bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  2572. bg.P = bg.p * 25
  2573. bg.cframe = TorsCF
  2574. char.Humanoid.WalkSpeed=30
  2575. for i=0,50,0.2 do
  2576. wait()
  2577. bg.cframe = TorsCF * CFrame.Angles(0,math.rad(180+180*i),0)
  2578. end
  2579. char.Humanoid.WalkSpeed=20
  2580. game.Debris:AddItem(bg,0.02)
  2581. dmgdc()
  2582. dmgdc2()
  2583. for i=0,1,0.1 do
  2584. wait()
  2585. RW.C0 = CFrame.new(1.5,.5,0) * CFrame.Angles(math.rad(100 - 0*i),0,math.rad(-83 + 83*i))
  2586. LW.C0 = CFrame.new(-1.5,.5,0) * CFrame.Angles(math.rad(100 - 0*i),0,math.rad(-83 + 83*i))
  2587. end
  2588. fake2:Remove()
  2589. LWRem()
  2590. for i=0,1,0.1 do
  2591. wait()
  2592. wd1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90*i), math.rad(90 + 0*i)) * CFrame.new(0, 0, 0.2)
  2593. RW.C0 = CFrame.new(1.5-0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(100 + -20*i), math.rad(35*i), math.rad(-35 + -10*i))
  2594. end
  2595. attacking=false
  2596. end
  2597. function move4()
  2598. RWFunc()
  2599. LWFunc()
  2600. if attacking==true then return end
  2601. attacking=true
  2602. for i=0,1,0.1 do
  2603. wait()
  2604. RW.C0=CFrame.new(1.5,.5,0) * CFrame.Angles(0,math.rad(10 + 5*i),math.rad(50+50*i))
  2605. LW.C0=CFrame.new(-1.5,.5,0) * CFrame.Angles(0,math.rad(80 + 0*i),math.rad(0+-50*i))
  2606. end
  2607. for i=0,1,0.1 do
  2608. wait()
  2609. LW.C0=CFrame.new(-1.5,.5,0) * CFrame.Angles(0,math.rad(80 + 0*i),math.rad(-50 + 150*i))
  2610. end
  2611. function Burn(Part)
  2612. if Part.Anchored == true and Part.Name == "Base" then return end
  2613. if Part:IsDescendantOf(char) then return end
  2614. if Part.Name =="Fireball" then return end
  2615. local Fire = Instance.new("Fire")
  2616. Fire.Heat = 2
  2617. Fire.Size = 5
  2618. Fire.Parent = Part
  2619. Part:BreakJoints()
  2620. Part.BrickColor = BrickColor.new("Really black")
  2621. wait(2)
  2622. game.Debris:AddItem(Part,0.02)
  2623. end
  2624. function Ignite(Part)
  2625. if Part.Anchored == true and Part.Name == "Base" then return end
  2626. if Part:IsDescendantOf(char) then return end
  2627. if Part:FindFirstChild("Fire") == nil then
  2628. Part.Anchored = false
  2629. local Fire = Instance.new("Fire")
  2630. Fire.Heat = 2
  2631. Fire.Size = 5
  2632. Fire.Parent = Part
  2633. Part:BreakJoints()
  2634. Part.Touched:connect(function(Hit) Burn(Hit) end)
  2635. Part.BrickColor = BrickColor.new("Really black")
  2636. end
  2637. end
  2638. for i = 1, 150 do
  2639. local Source = char.Torso
  2640. local Fireball = Instance.new("Part", Workspace)
  2641. Fireball.Name = "Fireball"
  2642. Fireball.CanCollide = false
  2643. Fireball.TopSurface = 0
  2644. Fireball.BottomSurface = 0
  2645. Fireball.FormFactor = "Custom"
  2646. Fireball.Shape = "Ball"
  2647. Fireball.Size = Vector3.new(5, 5, 5)
  2648. Fireball.CFrame = Source.CFrame * CFrame.new(0, 0, -5)
  2649. local Velocity = Instance.new("BodyVelocity")
  2650. Velocity.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  2651. Velocity.velocity = (Source.CFrame.lookVector * 50) + Vector3.new(math.random(-25,25), math.random(-10,10), math.random(-10,10))
  2652. Velocity.Parent = Fireball
  2653. Ignite(Fireball)
  2654. Fireball.BrickColor = BrickColor.new("Really black")
  2655. coroutine.wrap(function() wait(math.random(1, 9) / 10) for i = 0, 1, 0.1 do Fireball.Transparency = i wait() end Fireball.Fire.Enabled = false Fireball.Anchored = true wait(1) Fireball:Remove() end)()
  2656. wait()
  2657. end
  2658. for i=0,1,0.1 do
  2659. wait()
  2660. RW.C0 = CFrame.new(1.5-0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(15+15+50*i), math.rad(35*i), math.rad(100-140*i))
  2661. LW.C0=CFrame.new(-1.5,.5,0) * CFrame.Angles(0,math.rad(80 - 80*i),math.rad(100-100*i))
  2662. end
  2663. LWRem()
  2664. attacking=false
  2665. end
  2666. function move5()
  2667. RWFunc()
  2668. LWFunc()
  2669. if attacking==true then return end
  2670. attacking=true
  2671. fake3=ghost()
  2672. fake3.Handle.Weldd.Part0=LAP
  2673. fake3.Handle.Weldd.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  2674. fake3.Handle.Weldd.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90), math.rad(90)) * CFrame.new(0, 0, -0.2)
  2675. for i,d in pairs(fake3:GetChildren()) do
  2676. d.Transparency=0.5
  2677. d.BrickColor=BrickColor.new("Really black")
  2678. end
  2679. for i=0,1,0.1 do
  2680. wait()
  2681. RW.C0=CFrame.new(1.5,.5,0) * CFrame.Angles(0,math.rad(-50+-50*i),math.rad(30+30*i))
  2682. LW.C0=CFrame.new(-1.5,.5,0) * CFrame.Angles(0,math.rad(50+50*i),math.rad(-30+-30*i))
  2683. end
  2684. f=0
  2685. powermod=Instance.new("Model",char)
  2686. powermod.Name="PowerMode"
  2687. for i=0,3,0.1 do
  2688. f=f+1
  2689. wait()
  2690. ball=Instance.new("Part",powermod)
  2691. ball.formFactor="Custom"
  2692. ball.Shape="Ball"
  2693. ball.TopSurface="Smooth"
  2694. ball.BottomSurface="Smooth"
  2695. ball.BrickColor=BrickColor.new(chosen)
  2696. ball.Transparency=0.5
  2697. ball.Anchored=true
  2698. ball.CanCollide=false
  2699. ball.Size=Vector3.new(f,f,f)
  2700. ball.CFrame=char.Torso.CFrame
  2701. end
  2702. wait(.1)
  2703. powermod:Remove()
  2704. function Burn(Part)
  2705. if Part.Anchored == true and Part.Name == "Base" then return end
  2706. if Part:IsDescendantOf(char) then return end
  2707. if Part.Name =="Fireball" then return end
  2708. local Fire = Instance.new("Fire")
  2709. Fire.Heat = 2
  2710. Fire.Size = 5
  2711. Fire.Parent = Part
  2712. Part:BreakJoints()
  2713. Part.BrickColor = BrickColor.new("Really black")
  2714. wait(2)
  2715. game.Debris:AddItem(Part,0.02)
  2716. end
  2717. function Ignite(Part)
  2718. if Part.Anchored == true and Part.Name == "Base" then return end
  2719. if Part:IsDescendantOf(char) then return end
  2720. if Part:FindFirstChild("Fire") == nil then
  2721. Part.Anchored = false
  2722. local Fire = Instance.new("Fire")
  2723. Fire.Heat = 100
  2724. Fire.Size = 100
  2725. Fire.Parent = Part
  2726. Part:BreakJoints()
  2727. Part.Touched:connect(function(Hit) Burn(Hit) end)
  2728. Part.BrickColor = BrickColor.new("Really black")
  2729. end
  2730. end
  2731. for i = 1, 250 do
  2732. local Source = char.Torso
  2733. local Fireball = Instance.new("Part", Workspace)
  2734. Fireball.Name = "Fireball"
  2735. Fireball.CanCollide = false
  2736. Fireball.TopSurface = 0
  2737. Fireball.BottomSurface = 0
  2738. Fireball.FormFactor = "Custom"
  2739. Fireball.Shape = "Ball"
  2740. Fireball.Size = Vector3.new(50, 50, 50)
  2741. Fireball.CFrame = Source.CFrame * CFrame.new(0, 0, -30)
  2742. local Velocity = Instance.new("BodyVelocity")
  2743. Velocity.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  2744. Velocity.velocity = (Source.CFrame.lookVector * 250) + Vector3.new(math.random(-2,2), math.random(-2,2), math.random(-2,2))
  2745. Velocity.Parent = Fireball
  2746. Ignite(Fireball)
  2747. Fireball.BrickColor = BrickColor.new("Really black")
  2748. coroutine.wrap(function() wait(math.random(1, 9) / 10) for i = 0, 1, 0.1 do Fireball.Transparency = i wait() end Fireball.Fire.Enabled = false Fireball.Anchored = true wait(1) Fireball:Remove() end)()
  2749. wait(0.02)
  2750. end
  2751. fake3:Remove()
  2752. LWRem()
  2753. attacking=false
  2754. end
  2755. function swordmode()
  2756. RWFunc()
  2757. char.Humanoid.WalkSpeed=20
  2758. bin.Name="Pheonix Sword"
  2759. hitdeb=1
  2760. hitdeb=0
  2761. wd1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  2762. wd1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90), math.rad(90)) * CFrame.new(0, 0, 0.2)
  2763. for i = 0 , 1 , 0.1 do
  2764. wait()
  2765. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(35), math.rad(45-90*i))
  2766. end
  2767. mode="normal"
  2768. end --[[Filterd, May Error]]-- --[[Filterd, May Error]]--
  2769. local function WaitForChild(parent, child)
  2770. while not parent:FindFirstChild(child) do parent.ChildAdded:wait() end
  2771. return parent[child]
  2772. end
  2773.  
  2774. local Tool = script.Parent
  2775. local Handle = WaitForChild(Tool, "Handle")
  2776. local SkullFire = WaitForChild(Tool, "SkullFire")
  2777. local sword = script.Parent.Handle
  2778.  
  2779. local radius = 1
  2780. local angle = math.random()*math.pi*2
  2781.  
  2782. local NUM_SKULLS = 100 -- heh heh
  2783.  
  2784. local StormEye = Instance.new("Part")
  2785. StormEye.formFactor = "Custom"
  2786. StormEye.Size = Vector3.new(3, 3, 3)
  2787. StormEye.Transparency = 1
  2788. StormEye.CanCollide = false
  2789.  
  2790. -- remove gravity from storm
  2791. local newBF = Instance.new("BodyForce")
  2792. local stormMass = (NUM_SKULLS+1)*.2*.2*.2 + 27
  2793. newBF.force = Vector3.new(0, stormMass*196.2, 0)
  2794. newBF.Parent = StormEye
  2795.  
  2796. local skullPart = Instance.new("Part")
  2797. skullPart.formFactor = "Custom"
  2798. skullPart.Size = Vector3.new(.2, .2, .2)
  2799. skullPart.Transparency = 1
  2800. skullPart.BrickColor = BrickColor.new("Really black")
  2801. skullPart.CanCollide = false
  2802. skullPart.Reflectance = 0
  2803. SkullFire:Clone().Parent = skullPart
  2804.  
  2805. local skullMotor = Instance.new("Motor6D")
  2806. skullMotor.Part0 = StormEye -- Handle
  2807. skullMotor.Part1 = skullPart
  2808. skullMotor.MaxVelocity = .1
  2809. skullMotor.C0 = CFrame.Angles(math.pi/2, 0, 0)
  2810. skullMotor.C1 = CFrame.Angles(math.pi/2, 0, 0) + radius*Vector3.new(math.sin(angle), 0, math.cos(angle))
  2811.  
  2812. local skullParts = {skullPart}
  2813. local skullMotors = {skullMotor}
  2814.  
  2815. local miniDebounce = false
  2816.  
  2817. for i = 1, NUM_SKULLS do
  2818. table.insert(skullParts, skullPart:Clone())
  2819. table.insert(skullMotors, skullMotor:Clone())
  2820.  
  2821. radius = math.sqrt(i) + 4
  2822. angle = math.random()*math.pi*2
  2823. skullMotors[i+1].Part1 = skullParts[i+1]
  2824. skullMotors[i+1].C1 = CFrame.Angles(math.pi/2, 0, 0) + radius*Vector3.new(math.sin(angle), -math.sqrt(i)*2/radius, math.cos(angle))
  2825. skullMotors[i+1].Parent = skullParts[i+1]
  2826. end
  2827.  
  2828.  
  2829. local SlashSound = Instance.new("Sound")
  2830. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  2831. SlashSound.Parent = sword
  2832. SlashSound.Volume = .7
  2833.  
  2834. local LungeSound = Instance.new("Sound")
  2835. LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
  2836. LungeSound.Parent = sword
  2837. LungeSound.Volume = .6
  2838.  
  2839. local UnsheathSound = Instance.new("Sound")
  2840. UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  2841. UnsheathSound.Parent = sword
  2842. UnsheathSound.Volume = 1
  2843.  
  2844. local StormSound = Instance.new("Sound")
  2845. StormSound.SoundId = "http://www.roblox.com/asset/?id=101173442"
  2846. StormSound.Parent = sword
  2847. StormSound.Volume = 1
  2848.  
  2849. function DarkKill(character, humanoid, attacker)
  2850.  
  2851. if (character:FindFirstChild("ForceField") ~= nil) then return end
  2852.  
  2853. local childs = character:GetChildren()
  2854.  
  2855. local colors = {}
  2856.  
  2857. tagHumanoid(humanoid, attacker)
  2858. humanoid.Health = 0
  2859.  
  2860. for i=1,#childs do
  2861. if (childs[i].className == "Part") then
  2862. colors[i] = childs[i].BrickColor
  2863. childs[i].BrickColor = BrickColor.new(26)
  2864. childs[i].CanCollide = true
  2865. childs[i].Anchored = true
  2866. end
  2867. end
  2868.  
  2869. wait(.25)
  2870.  
  2871. for i=1,#childs do
  2872. if (childs[i].className == "Part") then
  2873. local b = Instance.new("BodyVelocity")
  2874. b.velocity = Vector3.new(math.random() - .5, 0, math.random() - .5).unit * 80
  2875. b.maxForce = Vector3.new(1e5,1e5,1e5)
  2876. b.Parent = childs[i]
  2877. end
  2878. end
  2879.  
  2880. for i=1,#childs do
  2881. if (childs[i].className == "Part") then
  2882. childs[i].Anchored = false
  2883. end
  2884. end
  2885.  
  2886.  
  2887.  
  2888.  
  2889.  
  2890.  
  2891.  
  2892.  
  2893. end
  2894.  
  2895.  
  2896.  
  2897.  
  2898. local staffSpin = WaitForChild(Tool, "staffspin")
  2899. local spinSwing = nil
  2900.  
  2901. local newBodyPosition = Instance.new("BodyPosition")
  2902. newBodyPosition.P = 100000
  2903. newBodyPosition.maxForce = Vector3.new(1, 1, 1)*newBodyPosition.P
  2904. newBodyPosition.Parent = StormEye
  2905.  
  2906. local spinForce = Instance.new("BodyAngularVelocity")
  2907. spinForce.P = 1000000
  2908. spinForce.angularvelocity = Vector3.new(0,20,0)
  2909. spinForce.maxTorque = Vector3.new(spinForce.P,spinForce.P,spinForce.P)
  2910.  
  2911. local stayUpright = Instance.new("BodyGyro")
  2912. stayUpright.P = 1000000
  2913. stayUpright.maxTorque = Vector3.new(1, 0, 1) * stayUpright.P
  2914. stayUpright.cframe = CFrame.new()
  2915.  
  2916. local damage = 20
  2917. slash_damage = 18
  2918. lunge_damage = 36
  2919.  
  2920. function blow(hit, damageToTake)
  2921. local hitParent = hit.Parent
  2922. if not hitParent then return end
  2923.  
  2924. local humanoid = hitParent:findFirstChild("Humanoid")
  2925. local vCharacter = Tool.Parent
  2926. local vPlayer = game.Players:playerFromCharacter(vCharacter)
  2927. local hum = vCharacter:findFirstChild("Humanoid") -- non-nil if tool held by a character
  2928. if humanoid~=nil and humanoid ~= hum and hum ~= nil then
  2929. -- final check, make sure sword is in-hand
  2930.  
  2931. local right_arm = vCharacter:FindFirstChild("Right Arm")
  2932. if (right_arm ~= nil) then
  2933. local joint = right_arm:FindFirstChild("RightGrip")
  2934. if (joint ~= nil and (joint.Part0 == Handle or joint.Part1 == Handle)) then
  2935. hum.Health = hum.Health + (damage * .4)
  2936. if humanoid.Health > damage then
  2937. tagHumanoid(humanoid, vPlayer)
  2938. humanoid:TakeDamage(damage)
  2939. else
  2940. DarkKill(humanoid.Parent, humanoid, vPlayer)
  2941. end
  2942. end
  2943. end
  2944.  
  2945.  
  2946. end
  2947. end
  2948.  
  2949. for i = 1, #skullParts do
  2950. skullParts[i].Touched:connect(function(hitPart) blow(hitPart, 25) end)
  2951. end
  2952.  
  2953. local debounce = false
  2954. local spinCount = 0
  2955.  
  2956. local spinDebounce = false
  2957.  
  2958. function onSpin()
  2959. if debounce or spinDebounce then return end
  2960. local Torso = Tool.Parent:FindFirstChild("Torso")
  2961. if not Torso then return end
  2962. spinDebounce = true
  2963. spinCount = spinCount + 1
  2964.  
  2965. if spinCount > 3 then
  2966. onWhirlwind()
  2967. spinCount = 0
  2968. else
  2969. delay(3, function() spinCount = spinCount - 1 end)
  2970.  
  2971. spinForce.Parent = Torso
  2972. stayUpright.Parent = Torso
  2973. spinSwing:Play()
  2974. wait(.5)
  2975. spinForce.Parent = nil
  2976. stayUpright.Parent = nil
  2977. end
  2978. spinDebounce = false
  2979. end
  2980.  
  2981. function onWhirlwind()
  2982. if not Tool.Parent then return end
  2983. local Torso = Tool.Parent:FindFirstChild("Torso")
  2984. local Humanoid = Tool.Parent:FindFirstChild("Humanoid")
  2985. if debounce or not Torso or not Humanoid then return end
  2986. debounce = true
  2987.  
  2988. spinForce.Parent = Torso
  2989. stayUpright.Parent = Torso
  2990.  
  2991. StormSound:Play()
  2992.  
  2993. for i = 1, #skullParts do
  2994. skullParts[i].Parent = StormEye
  2995. skullMotors[i].Parent = skullParts[i]
  2996. if math.random() > .5 then
  2997. skullMotors[i].DesiredAngle = skullMotors[i].CurrentAngle + 5000
  2998. else
  2999. skullMotors[i].DesiredAngle = skullMotors[i].CurrentAngle - 5000
  3000. end
  3001. skullMotors[i].MaxVelocity = .05+math.random()*.15
  3002. end
  3003.  
  3004. StormEye.CFrame = CFrame.new(Torso.CFrame.p)
  3005. --StormEye.Velocity = Torso.CFrame.lookVector * 25
  3006.  
  3007. newBodyPosition.position = Torso.CFrame.p - Vector3.new(0, 3, 0)
  3008. local timeWaited
  3009.  
  3010. Humanoid.WalkSpeed = 8
  3011.  
  3012. delay(0, function() while skullMotors[1].Parent do timeWaited = wait(.01) Humanoid.WalkSpeed = Humanoid.WalkSpeed + timeWaited * 7 newBodyPosition.position = Torso.CFrame.p - Vector3.new(0, 3, 0) end Humanoid.WalkSpeed = 16 end)
  3013.  
  3014. StormEye.Parent = workspace
  3015. for i = 1, 5 do wait(1) spinSwing:Play() end
  3016.  
  3017. spinForce.Parent = nil
  3018. stayUpright.Parent = nil
  3019.  
  3020. for i = 1, #skullMotors do
  3021. skullMotors[i].Parent = nil
  3022. skullParts[i].Velocity = 40*(skullParts[i].CFrame.p - Torso.CFrame.p).unit
  3023. end
  3024.  
  3025. for i = 0, 30 do
  3026. end
  3027. StormEye.Parent = nil
  3028.  
  3029. wait(3)
  3030. for i = 1, #skullMotors do
  3031. skullMotors[i].Parent = skullParts[i]
  3032. end
  3033.  
  3034. debounce = false
  3035. end
  3036.  
  3037. local leftSword = Handle:Clone()
  3038. leftSword.CanCollide = false
  3039.  
  3040. local leftSwordWeld = Instance.new("ManualWeld")
  3041. leftSwordWeld.Part1 = leftSword
  3042. leftSwordWeld.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, -0)
  3043. leftSwordWeld.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  3044.  
  3045. local NewAnimateScript = WaitForChild(Tool, "NewAnimate")
  3046.  
  3047. local Character = nil
  3048.  
  3049. function swordUp()
  3050. Tool.GripForward = Vector3.new(-1,0,0)
  3051. Tool.GripRight = Vector3.new(0,1,0)
  3052. Tool.GripUp = Vector3.new(0,0,1)
  3053.  
  3054. leftSwordWeld.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, -0)
  3055. leftSwordWeld.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  3056. end
  3057.  
  3058. function swordOut()
  3059. Tool.GripForward = Vector3.new(0,0,1)
  3060. Tool.GripRight = Vector3.new(0,-1,0)
  3061. Tool.GripUp = Vector3.new(-1,0,0)
  3062.  
  3063. leftSwordWeld.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, -0)
  3064. leftSwordWeld.C1 = CFrame.new(0, 0, -1.5, 0, -1, -0, -1, 0, -0, 0, 0, -1)
  3065. end
  3066.  
  3067. local Mouse = nil
  3068.  
  3069. function onKeyDown(key)
  3070. if key == "z" or key == "Z" then
  3071. if miniDebounce then
  3072. onSpin()
  3073. end
  3074. end
  3075. end
  3076.  
  3077. function onEquipped(mouse)
  3078. if mouse then
  3079. Mouse = mouse
  3080. Mouse.KeyDown:connect(onKeyDown)
  3081. end
  3082.  
  3083. Character = Tool.Parent
  3084. if not Character then return end
  3085.  
  3086. local Humanoid = Character:FindFirstChild("Humanoid")
  3087. if not Humanoid then return end
  3088.  
  3089. spinSwing = Humanoid:LoadAnimation(staffSpin)
  3090.  
  3091. local oldAnimateScript = Character:FindFirstChild("Animate")
  3092. if oldAnimateScript then oldAnimateScript.Disabled = true end
  3093.  
  3094. NewAnimateScript.Parent = Character
  3095. NewAnimateScript.Disabled = false
  3096.  
  3097. UnsheathSound:Play()
  3098.  
  3099. local LeftArm = Character:FindFirstChild("Left Arm")
  3100. leftSwordWeld.Part0 = LeftArm
  3101. leftSword.Parent = Character
  3102. leftSwordWeld.Parent = leftSword
  3103. end
  3104.  
  3105. function onUnequipped()
  3106. leftSwordWeld.Parent = nil
  3107. leftSword.Parent = nil
  3108.  
  3109. NewAnimateScript.Disabled = true
  3110. NewAnimateScript.Parent = Tool
  3111.  
  3112. local oldAnimateScript = Character:FindFirstChild("Animate")
  3113. if oldAnimateScript then oldAnimateScript.Disabled = false end
  3114. end
  3115.  
  3116. function tagHumanoid(humanoid, player)
  3117. local creator_tag = Instance.new("ObjectValue")
  3118. creator_tag.Value = player
  3119. creator_tag.Name = "creator"
  3120. creator_tag.Parent = humanoid
  3121. game.Debris:AddItem(creator_tag, 1)
  3122. end
  3123.  
  3124. function attack()
  3125. damage = slash_damage
  3126. SlashSound:play()
  3127. local anim = Instance.new("StringValue")
  3128. anim.Name = "toolanim"
  3129. anim.Value = "Slash"
  3130. anim.Parent = Tool
  3131. end
  3132.  
  3133. function lunge()
  3134. if miniDebounce then return end
  3135. miniDebounce = true
  3136.  
  3137. LungeSound:Play()
  3138.  
  3139. damage = lunge_damage
  3140.  
  3141. local newAttack = Instance.new("StringValue")
  3142. newAttack.Name = "toolanim"
  3143. newAttack.Value = "Lunge"
  3144. newAttack.Parent = Tool
  3145.  
  3146. local force = Instance.new("BodyVelocity")
  3147. force.velocity = Vector3.new(0,10,0) --Tool.Parent.Torso.CFrame.lookVector * 80
  3148. force.Parent = Tool.Parent.Torso
  3149. wait(.25)
  3150. swordOut()
  3151. wait(.25)
  3152. force.Parent = nil
  3153. wait(.5)
  3154. swordUp()
  3155.  
  3156. damage = slash_damage
  3157.  
  3158. miniDebounce = false
  3159. end
  3160.  
  3161. local r = game:GetService("RunService")
  3162.  
  3163. Tool.Enabled = true
  3164. local last_attack = 0
  3165. function onActivated()
  3166.  
  3167. if not Tool.Enabled then
  3168. return
  3169. end
  3170.  
  3171. Tool.Enabled = false
  3172.  
  3173. local humanoid = Character:FindFirstChild("Humanoid")
  3174. if humanoid == nil then
  3175. print("Humanoid not found")
  3176. return
  3177. end
  3178.  
  3179. local t = r.Stepped:wait()
  3180.  
  3181. if (t - last_attack < .2) then
  3182. lunge()
  3183. else
  3184. attack()
  3185. end
  3186.  
  3187. last_attack = t
  3188.  
  3189. Tool.Enabled = true
  3190. end
  3191.  
  3192. Handle.Touched:connect(function(hitPart) blow(hitPart, damage) end)
  3193. leftSword.Touched:connect(function(hitPart) blow(hitPart, damage) end)
  3194.  
  3195. Tool.Activated:connect(onActivated)
  3196. Tool.Equipped:connect(onEquipped)
  3197. Tool.Unequipped:connect(onUnequipped)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement