Advertisement
Sergeant_SethZP

u freak

Mar 11th, 2017
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 102.22 KB | None | 0 0
  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=true
  50. local shoot=false
  51. player=nil
  52. cloak=true
  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 = {0.8, 0.85, 0.9, 0.95, 1, 1.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. ----------------------------------------------------//Mesh setting
  222. local cmeshes = {}
  223. local ll,rl,la,ra,t = Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char)
  224. ll.BodyPart = 'LeftLeg'
  225. rl.BodyPart = 'RightLeg'
  226. la.BodyPart = 'LeftArm'
  227. ra.BodyPart = 'RightArm'
  228. t.BodyPart = 'Torso'
  229. ll.MeshId,ll.OverlayTextureId,rl.MeshId,rl.OverlayTextureId = 68241558,18051314,68241677,18051314
  230. ra.MeshId,ra.OverlayTextureId,la.MeshId,la.OverlayTextureId = 68241658,18051314,68241543,14769524
  231. t.MeshId,t.OverlayTextureId=68241695,18051314
  232. ----------------------------------------------------
  233. z = Instance.new("Sound", torso)
  234. z.SoundId = "rbxassetid://0" -- Put Music ID Here.
  235. z.Looped = true
  236. z.Volume = 1000
  237. wait(.1)
  238. z:Play()
  239.  
  240. ----------------------------------------------------
  241. Sit = false
  242. mouse.KeyDown:connect(function(key)
  243. if key == "v" then
  244. if Sit == false then
  245. Sit = true
  246. hum.WalkSpeed = 20
  247. stanceToggle = "Sitting"
  248. elseif Sit == true then
  249. Sit = false
  250. hum.WalkSpeed = 50
  251. stanceToggle = "Normal"
  252. end
  253. end
  254. end)
  255. ----------------------------------------------------
  256. Debounces = {
  257. CanAttack = true;
  258. NoIdl = false;
  259. Slashing = false;
  260. Slashed = false;
  261. RPunch = false;
  262. RPunched = false;
  263. LPunch = false;
  264. LPunched = false;
  265. }
  266. local Touche = {char.Name, }
  267. ----------------------------------------------------
  268.  
  269. mouse.KeyDown:connect(function(key)
  270. if key == "r" then
  271. larm.BrickColor = BrickColor.new("Bright red")
  272. rarm.BrickColor = BrickColor.new("Bright red")
  273. if Debounces.CanAttack == true then
  274. Debounces.CanAttack = false
  275. Debounces.on = true
  276. Debounces.NoIdl = true
  277. to = char.Absolution.Thingy2.Touched:connect(function(ht)
  278. hit = ht.Parent
  279. if ht and hit:IsA("Model") then
  280. if hit:FindFirstChild("Humanoid") then
  281. if hit.Name ~= p.Name then
  282. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  283. Debounces.Slashed = true]]--
  284. hit:FindFirstChild("Humanoid"):TakeDamage(99)
  285. wait(1)
  286. --Debounces.Slashed = false
  287. --end
  288. end
  289. end
  290. elseif ht and hit:IsA("Hat") then
  291. if hit.Parent.Name ~= p.Name then
  292. if hit.Parent:FindFirstChild("Humanoid") then
  293. --[[ if Debounces.Slashing == true and Debounces.Slashed == false then
  294. Debounces.Slashed = true]]--
  295. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(975)
  296. wait(1)
  297. --Debounces.Slashed = false
  298. end
  299. end
  300. end
  301. end)
  302. q = Instance.new("Sound",hed)
  303. q.SoundId = "http://www.roblox.com/asset/?id=134012322"
  304. q.Pitch = 0.85
  305. q.Looped = false
  306. q1 = Instance.new("Sound",hed)
  307. q1.SoundId = "http://www.roblox.com/asset/?id=134012322"
  308. q1.Pitch = 0.85
  309. q1.Looped = false
  310. q:Play()
  311. q1:Play()
  312. for i = 1,20 do
  313. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(-55)), 0.4)
  314. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(55)), 0.4)
  315. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)),0.4)
  316. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 4, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4)
  317. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 1) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4)
  318. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4)
  319. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -2.2, -3) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(0)), 0.5)
  320. if Debounces.on == false then break end
  321. wait()
  322. end
  323. n = Instance.new("Sound",hed)
  324. n.SoundId = "http://www.roblox.com/asset/?id=168514932"
  325. n.Pitch = 0.94
  326. n.Looped = false
  327. n1 = Instance.new("Sound",hed)
  328. n1.SoundId = "http://www.roblox.com/asset/?id=168514932"
  329. n1.Pitch = 0.94
  330. n1.Looped = false
  331. n:Play()
  332. n1:Play()
  333. b = Instance.new("Sound",hed)
  334. b.SoundId = "http://www.roblox.com/asset/?id=168586586"
  335. b.Pitch = 0.94
  336. b.Looped = false
  337. b1 = Instance.new("Sound",hed)
  338. b1.SoundId = "http://www.roblox.com/asset/?id=168586586"
  339. b1.Pitch = 0.94
  340. b1.Looped = false
  341. b:Play()
  342. b1:Play()
  343. for i = 1,26 do
  344. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-55)), 0.5)
  345. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(55)), 0.5)
  346. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)),0.5)
  347. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), 0), 0.5)
  348. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -1) * CFrame.Angles(math.rad(50), 0, math.rad(0)), 0.5)
  349. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .4) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.5)
  350. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 0.5)
  351. if Debounces.on == false then break end
  352. wait()
  353. end
  354. wait(.5)
  355. to:disconnect()
  356. q:Destroy()
  357. q1:Destroy()
  358. n:Destroy()
  359. n1:Destroy()
  360. larm.BrickColor = BrickColor.new("Really black")
  361. rarm.BrickColor = BrickColor.new("Really black")
  362. if Debounces.CanAttack == false then
  363. Debounces.CanAttack = true
  364. Debounces.on = false
  365. Debounces.NoIdl = false
  366. end
  367. end
  368. end
  369. end)
  370. ----------------------------------------------------
  371. hed.face.Texture = "rbxassetid://0"
  372. char["Body Colors"].HeadColor = BrickColor.new("Black")
  373. char["Body Colors"].TorsoColor = BrickColor.new("Black")
  374. char["Body Colors"].LeftArmColor = BrickColor.new("Black")
  375. char["Body Colors"].RightArmColor = BrickColor.new("Black")
  376. char["Body Colors"].LeftLegColor = BrickColor.new("Black")
  377. char["Body Colors"].RightLegColor = BrickColor.new("Black")
  378. ----------------------------------------------------
  379. ypcall(function()
  380. shirt = Instance.new("Shirt", char)
  381. shirt.Name = "Shirt"
  382. pants = Instance.new("Pants", char)
  383. pants.Name = "Pants"
  384. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=162860579"
  385. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=532642815"
  386. end)
  387. ----------------------------------------------------
  388. local LocalPlayer = game:GetService("Players").LocalPlayer
  389. local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:wait()
  390.  
  391. Character.Head.Transparency = 0
  392.  
  393. local Orb = Instance.new("Part", Character)
  394. Orb.Name = "Orb"
  395.  
  396. Orb.CanCollide = false
  397. Orb.BrickColor = BrickColor.new("Institutional white")
  398. Orb.Transparency = 0
  399. Orb.Material = "Plastic"
  400. Orb.Size = Vector3.new(1, 1, 1)
  401.  
  402.  
  403. local M = Instance.new("SpecialMesh")
  404. M.Parent = Orb
  405. M.MeshId = "http://www.roblox.com/asset/?id=430411019"
  406.  
  407.  
  408. local Weld = Instance.new("Weld", Orb)
  409. Weld.Part0 = Character.Head
  410. Weld.Part1 = Orb
  411. Weld.C1 = CFrame.new(0, -0.5, 0)
  412. ------------------------------------------------------
  413. CV="Institutional white"
  414.  
  415. local txt = Instance.new("BillboardGui", char)
  416. txt.Adornee = char .Orb
  417. txt.Name = "_status"
  418. txt.Size = UDim2.new(2, 0, 1.2, 0)
  419. txt.StudsOffset = Vector3.new(-2, 1.5, 0)
  420. local text = Instance.new("TextLabel", txt)
  421. text.Size = UDim2.new(3, 0, 0.5, 0)
  422. text.FontSize = "Size8"
  423. text.TextScaled = true
  424. text.TextTransparency = 0
  425. text.BackgroundTransparency = 1
  426. text.TextTransparency = 0
  427. text.TextStrokeTransparency = 0
  428. text.Font = "Arial"
  429. text.TextStrokeColor3 = Color3.new(56,21,78)
  430.  
  431. v=Instance.new("Part")
  432. v.Name = "ColorBrick"
  433. v.Parent=p.Character
  434. v.FormFactor="Symmetric"
  435. v.Anchored=true
  436. v.CanCollide=false
  437. v.BottomSurface="Smooth"
  438. v.TopSurface="Smooth"
  439. v.Size=Vector3.new(10,5,3)
  440. v.Transparency=0.7
  441. v.CFrame=char.Torso.CFrame
  442. v.BrickColor=BrickColor.new(CV)
  443. v.Transparency=1
  444. text.TextColor3 = v.BrickColor.Color
  445. v.Shape="Block"
  446. text.Text = "Nightdrowner 2nd Form"
  447.  
  448.  
  449.  
  450.  
  451. --------------------------------------------------------
  452. local Orbd = Instance.new("Part", Character)
  453. Orbd.Name = "Orbd"
  454. Orbd.Shape = Enum.PartType.Ball
  455. Orbd.CanCollide = false
  456. Orbd.BrickColor = BrickColor.new("New Yeller")
  457. Orbd.Transparency = 0
  458. Orbd.Material = "Neon"
  459. Orbd.Size = Vector3.new(0.1, 0.1, 0.1)
  460. Orbd.TopSurface = Enum.SurfaceType.Smooth
  461. Orbd.BottomSurface = Enum.SurfaceType.Smooth
  462.  
  463. local Weld = Instance.new("Weld", Orbd)
  464. Weld.Part0 = Character.Head
  465. Weld.Part1 = Orbd
  466. Weld.C1 = CFrame.new(-0.2, -0.2, 0.5)
  467.  
  468. --------------------------------------------------------
  469. local Orbvc = Instance.new("Part", Character)
  470. Orbvc.Name = "Orbvc"
  471. Orbvc.Shape = Enum.PartType.Ball
  472. Orbvc.CanCollide = false
  473. Orbvc.BrickColor = BrickColor.new("New Yeller")
  474. Orbvc.Transparency = 0
  475. Orbvc.Material = "Neon"
  476. Orbvc.Size = Vector3.new(0.1, 0.1, 0.1)
  477. Orbvc.TopSurface = Enum.SurfaceType.Smooth
  478. Orbvc.BottomSurface = Enum.SurfaceType.Smooth
  479.  
  480. local Weld = Instance.new("Weld", Orbvc)
  481. Weld.Part0 = Character.Head
  482. Weld.Part1 = Orbvc
  483. Weld.C1 = CFrame.new(0.2, -0.2, 0.5)
  484. ---------------------
  485. local LocalPlayer = game:GetService("Players").LocalPlayer
  486. local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:wait()
  487.  
  488. Character.Head.Transparency = 1
  489.  
  490. local Camisa = Instance.new("Part", Character)
  491. Camisa.Name = "Camisa"
  492.  
  493. Camisa.CanCollide = false
  494. Camisa.BrickColor = BrickColor.new("Institutional white")
  495. Camisa.Transparency = 1
  496. Camisa.Material = "Plastic"
  497. Camisa.Size = Vector3.new(1.5, 1.5, 1)
  498.  
  499. local Weld = Instance.new("Weld", Camisa)
  500. Weld.Part0 = Character.Torso
  501. Weld.Part1 = Camisa
  502. Weld.C1 = CFrame.new(0, 0, 0)
  503. ----------------------------------------
  504. local p = game.Players.LocalPlayer
  505. local char = p.Character
  506. local mouse = p:GetMouse()
  507. local larm = char["Left Arm"]
  508. local rarm = char["Right Arm"]
  509. local lleg = char["Left Leg"]
  510. local rleg = char["Right Leg"]
  511. local hed = char.Head
  512. local torso = char.Torso
  513. local hum = char.Humanoid
  514. local cam = game.Workspace.CurrentCamera
  515. local root = char.HumanoidRootPart
  516. local rj = root.RootJoint
  517. local deb = false
  518. local shot = 0
  519. local stanceToggle = "Idle1"
  520. local l = game:GetService("Lighting")
  521. local rs = game:GetService("RunService").RenderStepped
  522. local hb = game:GetService("RunService").Heartbeat
  523. local Stepped = game:GetService("RunService").Stepped
  524. math.randomseed(os.time())
  525. hum.JumpPower = 100
  526. hed.face:Remove()
  527. ----------------------------------------------------
  528. fat = Instance.new("BindableEvent",script)
  529. fat.Name = "Heartbeat"
  530.  
  531. script:WaitForChild("Heartbeat")
  532.  
  533. frame = 1/30
  534. tf = 0
  535. 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.
  536. tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
  537. lastframe = tick()
  538. script.Heartbeat:Fire() --ayy lmao
  539.  
  540. game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
  541. tf = tf + s
  542. if tf >= frame then
  543. if allowframeloss then
  544. script.Heartbeat:Fire()
  545. lastframe=tick()
  546. else
  547. --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
  548. for i=1, math.floor(tf/frame) do
  549. script.Heartbeat:Fire()
  550. end
  551. lastframe=tick()
  552. end
  553. if tossremainder then
  554. tf = 0
  555. else
  556. tf = tf - frame * math.floor(tf/frame)
  557. end
  558. end
  559. end)
  560. ----------------------------------------------------
  561. for i,v in pairs(char:children()) do
  562. if v:IsA("Hat") then
  563. v:Destroy()
  564. end
  565. end
  566. for i,v in pairs (hed:GetChildren()) do
  567. if v:IsA("Sound") then
  568. v:Destroy()
  569. end
  570. end
  571. ----------------------------------------------------
  572. Debounces = {
  573. CanAttack = true;
  574. CanJoke = false;
  575. NoIdl = false;
  576. Slashing = false;
  577. Slashed = false;
  578. ks = false;
  579. }
  580. ----------------------------------------------------
  581. function weld5(part0, part1, c0, c1)
  582. weeld=Instance.new("Weld", part0)
  583. weeld.Part0=part0
  584. weeld.Part1=part1
  585. weeld.C0=c0
  586. weeld.C1=c1
  587. return weeld
  588. end
  589. ----------------------------------------------------
  590. function NewPart(prnt,siz,cf,trans,anc,mat,col)
  591. local prt=Instance.new("Part")
  592. prt.Parent=prnt
  593. prt.Name="Part"
  594. prt.Size=siz
  595. prt.CanCollide=false
  596. prt.Anchored=anc
  597. prt.Locked=true
  598. prt.Transparency = trans
  599. prt.TopSurface=10
  600. prt.BottomSurface=10
  601. prt.FrontSurface=10
  602. prt.BackSurface=10
  603. prt.LeftSurface=10
  604. prt.RightSurface=10
  605. prt:BreakJoints()
  606. prt.CFrame=cf or CFrame.new(30,10,30)
  607. prt.Material=mat
  608. prt.BrickColor=BrickColor.new(col)
  609. m=Instance.new("SpecialMesh",prt)
  610. m.MeshType=6
  611. return prt
  612. end
  613. ----------------------------------------------------
  614. function lerp(a, b, t) -- Linear interpolation
  615. return a + (b - a)*t
  616. end
  617.  
  618. function slerp(a, b, t) --Spherical interpolation
  619. dot = a:Dot(b)
  620. if dot > 0.99999 or dot < -0.99999 then
  621. return t <= 0.5 and a or b
  622. else
  623. r = math.acos(dot)
  624. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  625. end
  626. end
  627.  
  628. function matrixInterpolate(a, b, t)
  629. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  630. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  631. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  632. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  633. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  634. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  635. local t = v1:Dot(v2)
  636. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  637. return CFrame.new()
  638. end
  639. return CFrame.new(
  640. v0.x, v0.y, v0.z,
  641. v1.x, v1.y, v1.z,
  642. v2.x, v2.y, v2.z,
  643. v3.x, v3.y, v3.z)
  644. end
  645. ----------------------------------------------------
  646. function genWeld(a,b)
  647. local w = Instance.new("Weld",a)
  648. w.Part0 = a
  649. w.Part1 = b
  650. return w
  651. end
  652. function weld(a, b)
  653. local weld = Instance.new("Weld")
  654. weld.Name = "W"
  655. weld.Part0 = a
  656. weld.Part1 = b
  657. weld.C0 = a.CFrame:inverse() * b.CFrame
  658. weld.Parent = a
  659. return weld;
  660. end
  661. ----------------------------------------------------
  662. function Lerp(c1,c2,al)
  663. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  664. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  665. for i,v in pairs(com1) do
  666. com1[i] = v+(com2[i]-v)*al
  667. end
  668. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  669. end
  670. ----------------------------------------------------
  671. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  672. local wld = Instance.new("Weld", wp1)
  673. wld.Part0 = wp0
  674. wld.Part1 = wp1
  675. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  676. end
  677. ----------------------------------------------------
  678. newWeld(torso, larm, -1.5, 0.5, 0)
  679. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  680. newWeld(torso, rarm, 1.5, 0.5, 0)
  681. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  682. newWeld(torso, hed, 0, 1.5, 0)
  683. newWeld(torso, lleg, -0.5, -1, 0)
  684. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  685. newWeld(torso, rleg, 0.5, -1, 0)
  686. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  687. newWeld(root, torso, 0, -1, 0)
  688. torso.Weld.C1 = CFrame.new(0, -1, 0)
  689. ----------------------------------------------------
  690. z = Instance.new("Sound",char) --Smile: print("â?º")
  691. z.SoundId = "rbxassetid://0"--410761150, 411368002
  692. z.Looped = true
  693. z.Pitch = 1
  694. z.Volume = 1
  695. wait(0.1)
  696. z:Play()
  697. ----------------------------------------------------
  698. New = function(Object, Parent, Name, Data)
  699. local Object = Instance.new(Object)
  700. for Index, Value in pairs(Data or {}) do
  701. Object[Index] = Value
  702. end
  703. Object.Parent = Parent
  704. Object.Name = Name
  705. return Object
  706. end
  707. ----------------------------------------------------
  708. --Left Arm
  709. m = Instance.new("Model")
  710. m.Name = "LeftArm"
  711.  
  712. p4 = Instance.new("Part", m)
  713. p4.BrickColor = BrickColor.new("New Yeller")
  714. p4.Material = Enum.Material.SmoothPlastic
  715. p4.Name = "LeftArmPlate"
  716. p4.Size = Vector3.new(1, 2, 1)
  717. p4.Transparency = 1
  718. p4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  719. p4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  720. p4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  721. p4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  722. p4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  723. p4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  724. b4 = Instance.new("SpecialMesh", p4)
  725. b4.MeshType = Enum.MeshType.Brick
  726. b4.Name = "Mesh"
  727. b4.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
  728.  
  729.  
  730.  
  731.  
  732.  
  733. w1 = Instance.new("Weld", p1)
  734. w1.Name = "Part_Weld"
  735. w1.Part0 = p1
  736. w1.C0 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  737. w1.Part1 = p2
  738. w1.C1 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  739. w2 = Instance.new("Weld", p2)
  740. w2.Name = "Part_Weld"
  741. w2.Part0 = p2
  742. w2.C0 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  743. w2.Part1 = p3
  744. w2.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  745. w3 = Instance.new("Weld", p3)
  746. w3.Name = "LeftArmPlate_Weld"
  747. w3.Part0 = p3
  748. w3.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  749. w3.Part1 = p4
  750. w3.C1 = CFrame.new(1.5, -18.1000156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  751. w4 = Instance.new("Weld", p4)
  752. w4.Name = "Part_Weld"
  753. w4.Part0 = p4
  754. w4.C0 = CFrame.new(1.5, -18.1000156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  755. w4.Part1 = p5
  756. w4.C1 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  757. w5 = Instance.new("Weld", p5)
  758. w5.Name = "Part_Weld"
  759. w5.Part0 = p5
  760. w5.C0 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  761. w5.Part1 = p6
  762. w5.C1 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  763. w6 = Instance.new("Weld", p6)
  764. w6.Name = "Part_Weld"
  765. w6.Part0 = p6
  766. w6.C0 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  767. w6.Part1 = p7
  768. w6.C1 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  769. w7 = Instance.new("Weld", p7)
  770. w7.Name = "Part_Weld"
  771. w7.Part0 = p7
  772. w7.C0 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  773. w7.Part1 = p8
  774. w7.C1 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  775. w8 = Instance.new("Weld", p8)
  776. w8.Name = "Part_Weld"
  777. w8.Part0 = p8
  778. w8.C0 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  779. w8.Part1 = p9
  780. w8.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  781. w9 = Instance.new("Weld", p9)
  782. w9.Name = "Part_Weld"
  783. w9.Part0 = p9
  784. w9.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  785. w9.Part1 = p10
  786. w9.C1 = CFrame.new(1.5, -18.950016, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  787. w10 = Instance.new("Weld", p10)
  788. w10.Name = "Part_Weld"
  789. w10.Part0 = p10
  790. w10.C0 = CFrame.new(1.5, -18.950016, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  791. w10.Part1 = p11
  792. w10.C1 = CFrame.new(1.5, -18.6500149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  793. w11 = Instance.new("Weld", p11)
  794. w11.Name = "Part_Weld"
  795. w11.Part0 = p11
  796. w11.C0 = CFrame.new(1.5, -18.6500149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  797. w11.Part1 = p12
  798. w11.C1 = CFrame.new(1.5, -18.3500156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  799. w12 = Instance.new("Weld", p12)
  800. w12.Name = "Part_Weld"
  801. w12.Part0 = p12
  802. w12.C0 = CFrame.new(1.5, -18.3500156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  803. w12.Part1 = p13
  804. w12.C1 = CFrame.new(1.5, -18.0500126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  805. w13 = Instance.new("Weld", p13)
  806. w13.Name = "Part_Weld"
  807. w13.Part0 = p13
  808. w13.C0 = CFrame.new(1.5, -18.0500126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  809. w13.Part1 = p14
  810. w13.C1 = CFrame.new(1.5, -17.7500172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  811. w14 = Instance.new("Weld", p14)
  812. w14.Name = "Part_Weld"
  813. w14.Part0 = p14
  814. w14.C0 = CFrame.new(1.5, -17.7500172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  815. w14.Part1 = p15
  816. w14.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  817. w15 = Instance.new("Weld", p15)
  818. w15.Name = "Part_Weld"
  819. w15.Part0 = p15
  820. w15.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  821. w15.Part1 = p16
  822. 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)
  823.  
  824. m.Parent = larm
  825. m:MakeJoints()
  826. ----------------------------------------------------
  827. local cor = Instance.new("Part", larm.LeftArm)
  828. cor.Name = "Thingy"
  829. cor.Locked = true
  830. cor.BottomSurface = 0
  831. cor.CanCollide = false
  832. cor.Size = Vector3.new(1, 1, 1)
  833. cor.Transparency = 1
  834. cor.TopSurface = 0
  835. corw = Instance.new("Weld", cor)
  836. corw.Part0 = larm
  837. corw.Part1 = cor
  838. corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  839. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  840. weld1 = Instance.new("Weld", larm.LeftArm)
  841. weld1.Part0 = cor
  842. weld1.Part1 = larm.LeftArm.LeftArmPlate
  843. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  844. --Right Arm
  845. m2 = Instance.new("Model")
  846. m2.Name = "RightArm"
  847.  
  848. p7 = Instance.new("Part", m2)
  849. p7.BrickColor = BrickColor.new("Institutional white")
  850. p7.Material = Enum.Material.SmoothPlastic
  851. p7.Transparency = 1
  852. p7.Name = "RightArmPlate"
  853. p7.CFrame = CFrame.new(3.5, -9.54201603, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  854. p7.FormFactor = Enum.FormFactor.Symmetric
  855. p7.Size = Vector3.new(1, 2, 1)
  856. p7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  857. p7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  858. p7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  859. p7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  860. p7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  861. p7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  862. b7 = Instance.new("SpecialMesh", p7)
  863. b7.MeshType = Enum.MeshType.Brick
  864. b7.Name = "Mesh"
  865. b7.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
  866.  
  867.  
  868. w1 = Instance.new("Weld", p1)
  869. w1.Name = "Part_Weld"
  870. w1.Part0 = p1
  871. w1.C0 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  872. w1.Part1 = p2
  873. w1.C1 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  874. w2 = Instance.new("Weld", p2)
  875. w2.Name = "Part_Weld"
  876. w2.Part0 = p2
  877. w2.C0 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  878. w2.Part1 = p3
  879. w2.C1 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  880. w3 = Instance.new("Weld", p3)
  881. w3.Name = "Part_Weld"
  882. w3.Part0 = p3
  883. w3.C0 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  884. w3.Part1 = p4
  885. w3.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  886. w4 = Instance.new("Weld", p4)
  887. w4.Name = "Part_Weld"
  888. w4.Part0 = p4
  889. w4.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  890. w4.Part1 = p5
  891. w4.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  892. w5 = Instance.new("Weld", p5)
  893. w5.Name = "Part_Weld"
  894. w5.Part0 = p5
  895. w5.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  896. w5.Part1 = p6
  897. w5.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  898. w6 = Instance.new("Weld", p6)
  899. w6.Name = "RightArmPlate_Weld"
  900. w6.Part0 = p6
  901. w6.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  902. w6.Part1 = p7
  903. w6.C1 = CFrame.new(-3.5, -4.10001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  904. w7 = Instance.new("Weld", p7)
  905. w7.Name = "Part_Weld"
  906. w7.Part0 = p7
  907. w7.C0 = CFrame.new(-3.5, -4.10001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  908. w7.Part1 = p8
  909. w7.C1 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  910. w8 = Instance.new("Weld", p8)
  911. w8.Name = "Part_Weld"
  912. w8.Part0 = p8
  913. w8.C0 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  914. w8.Part1 = p9
  915. w8.C1 = CFrame.new(-3.5, -4.95002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  916. w9 = Instance.new("Weld", p9)
  917. w9.Name = "Part_Weld"
  918. w9.Part0 = p9
  919. w9.C0 = CFrame.new(-3.5, -4.95002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  920. w9.Part1 = p10
  921. w9.C1 = CFrame.new(-3.5, -4.65001678, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  922. w10 = Instance.new("Weld", p10)
  923. w10.Name = "Part_Weld"
  924. w10.Part0 = p10
  925. w10.C0 = CFrame.new(-3.5, -4.65001678, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  926. w10.Part1 = p11
  927. w10.C1 = CFrame.new(-3.5, -4.35001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  928. w11 = Instance.new("Weld", p11)
  929. w11.Name = "Part_Weld"
  930. w11.Part0 = p11
  931. w11.C0 = CFrame.new(-3.5, -4.35001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  932. w11.Part1 = p12
  933. w11.C1 = CFrame.new(-3.5, -4.05001783, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  934. w12 = Instance.new("Weld", p12)
  935. w12.Name = "Part_Weld"
  936. w12.Part0 = p12
  937. w12.C0 = CFrame.new(-3.5, -4.05001783, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  938. w12.Part1 = p13
  939. w12.C1 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  940. w13 = Instance.new("Weld", p13)
  941. w13.Name = "Part_Weld"
  942. w13.Part0 = p13
  943. w13.C0 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  944. w13.Part1 = p14
  945. w13.C1 = CFrame.new(-3.5, -3.75002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  946. w14 = Instance.new("Weld", p14)
  947. w14.Name = "Part_Weld"
  948. w14.Part0 = p14
  949. w14.C0 = CFrame.new(-3.5, -3.75002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  950. w14.Part1 = p15
  951. w14.C1 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  952. w15 = Instance.new("Weld", p15)
  953. w15.Name = "Part_Weld"
  954. w15.Part0 = p15
  955. w15.C0 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  956. w15.Part1 = p16
  957. w15.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  958. w16 = Instance.new("Weld", p16)
  959. w16.Name = "Part_Weld"
  960. w16.Part0 = p16
  961. w16.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  962. w16.Part1 = p17
  963. w16.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  964. w17 = Instance.new("Weld", p17)
  965. w17.Name = "Part_Weld"
  966. w17.Part0 = p17
  967. w17.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  968. w17.Part1 = p18
  969. w17.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  970. w18 = Instance.new("Weld", p18)
  971. w18.Name = "Part_Weld"
  972. w18.Part0 = p18
  973. w18.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  974. w18.Part1 = p19
  975. w18.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  976. m2.Parent = rarm
  977. m2:MakeJoints()
  978. ----------------------------------------------------
  979. local cor2 = Instance.new("Part", rarm.RightArm)
  980. cor2.Name = "Thingy"
  981. cor2.Locked = true
  982. cor2.BottomSurface = 0
  983. cor2.CanCollide = false
  984. cor2.Size = Vector3.new(1, 1, 1)
  985. cor2.Transparency = 1
  986. cor2.TopSurface = 0
  987. corw2 = Instance.new("Weld", cor2)
  988. corw2.Part0 = rarm
  989. corw2.Part1 = cor2
  990. corw2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  991. corw2.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  992. weld2 = Instance.new("Weld", rarm.RightArm)
  993. weld2.Part0 = cor2
  994. weld2.Part1 = rarm.RightArm.RightArmPlate
  995. weld2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  996.  
  997.  
  998. --Zyrodoxa
  999. m8 = Instance.new("Model")
  1000. m8.Name = "Zyrodoxa"
  1001.  
  1002. p16 = Instance.new("Part", m8)
  1003. p16.BrickColor = BrickColor.new("Instutional white")
  1004. p16.Material = Enum.Material.Metal
  1005. p16.Name = "Handle"
  1006. 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)
  1007. p16.CanCollide = false
  1008. p16.Locked = true
  1009. p16.FormFactor = Enum.FormFactor.Custom
  1010. p16.Size = Vector3.new(0, 0, 0)
  1011. p16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1012. p16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1013. p16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1014. p16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1015. p16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1016. p16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1017. b16 = Instance.new("BlockMesh", p16)
  1018. b16.Name = "Mesh"
  1019. b16.Scale = Vector3.new(0, 0, 0)
  1020.  
  1021. w16 = Instance.new("Weld", p16)
  1022. w16.Name = "Block_Weld"
  1023. w16.Part0 = p16
  1024. 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)
  1025. w16.Part1 = p17
  1026. 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)
  1027.  
  1028. m8.Parent = rarm
  1029. m8:MakeJoints()
  1030. ----------------------------------------------------
  1031. wait()
  1032. Tool = Me.Character:findFirstChild("Sword")
  1033. if Tool ~= nil then
  1034. Tool:Remove()
  1035. end
  1036. Tool = Instance.new("Model")
  1037. Tool.Parent = Me.Character
  1038. Tool.Name = "Sword"
  1039. Handle = Instance.new("Part")
  1040. Handle.Parent = Tool
  1041. Handle.Locked = true
  1042. Handle.CanCollide = false
  1043. Handle.TopSurface = "Smooth"
  1044. Handle.BottomSurface = "Smooth"
  1045. Handle.Size = Vector3.new(1, 1, 1)
  1046. Handle.formFactor = "Symmetric"
  1047. Handle.Transparency = 1
  1048. Handle.Name = "Handle"
  1049. Handle.Reflectance = 0
  1050. Mesh = Instance.new("SpecialMesh")
  1051. Mesh.Parent = Handle
  1052. Mesh.MeshType = "Brick"
  1053. Mesh.Scale = Vector3.new(0, 0, 0)
  1054. Weld = Instance.new("Weld")
  1055. Weld.Parent = Me.Character["Torso"]
  1056. Weld.Part0 = Me.Character["Torso"]
  1057. Weld.Part1 = Handle
  1058. Weld.C0 = CFrame.new(1.6, 2.3, 0.6) * CFrame.Angles(0, 0, 2.2)
  1059. Weld.C0 = Weld.C0 * CFrame.Angles(0, 1.57, 0)
  1060. Grip1 = Instance.new("Part")
  1061. Grip1.Parent = Tool
  1062. Grip1.Locked = true
  1063. Grip1.BrickColor = BrickColor.new("Navy blue")
  1064. Grip1.TopSurface = "Smooth"
  1065. Grip1.BottomSurface = "Smooth"
  1066. Grip1.Size = Vector3.new(1, 1, 1)
  1067. Grip1.formFactor = "Symmetric"
  1068. Grip1.Transparency = 0
  1069. Grip1.Reflectance = 0
  1070. Grip1.CanCollide = false
  1071. Grip1.Name = "Grip1"
  1072. GripMesh1 = Instance.new("CylinderMesh")
  1073. GripMesh1.Parent = Grip1
  1074. GripMesh1.Scale = Vector3.new(0.45, 1.6, 0.45)
  1075. GripWeld = Instance.new("Weld")
  1076. GripWeld.Parent = Handle
  1077. GripWeld.Part0 = Handle
  1078. GripWeld.Part1 = Grip1
  1079. GripWeld.C0 = CFrame.new(0, 0, 0)*CFrame.Angles(0, 0, 0)
  1080. Grip2 = Instance.new("Part")
  1081. Grip2.Parent = Tool
  1082. Grip2.Locked = true
  1083. Grip2.BrickColor = BrickColor.new("Navy blue")
  1084. Grip2.TopSurface = "Smooth"
  1085. Grip2.BottomSurface = "Smooth"
  1086. Grip2.Size = Vector3.new(1, 1, 1)
  1087. Grip2.formFactor = "Symmetric"
  1088. Grip2.Transparency = 0
  1089. Grip2.CanCollide = false
  1090. Grip2.Name = "Grip2"
  1091. GripMesh2 = Instance.new("CylinderMesh")
  1092. GripMesh2.Parent = Grip2
  1093. GripMesh2.Scale = Vector3.new(0.46, 0.1, 0.46)
  1094. GripWeld2 = Instance.new("Weld")
  1095. GripWeld2.Parent = Handle
  1096. GripWeld2.Part0 = Handle
  1097. GripWeld2.Part1 = Grip2
  1098. GripWeld2.C0 = CFrame.new(0, -0.4, 0)*CFrame.Angles(0, 0, 0)
  1099. Grip3 = Instance.new("Part")
  1100. Grip3.Parent = Tool
  1101. Grip3.Locked = true
  1102. Grip3.BrickColor = BrickColor.new("Navy blue")
  1103. Grip3.TopSurface = "Smooth"
  1104. Grip3.BottomSurface = "Smooth"
  1105. Grip3.Size = Vector3.new(1, 1, 1)
  1106. Grip3.formFactor = "Symmetric"
  1107. Grip3.Transparency = 0
  1108. Grip3.CanCollide = false
  1109. Grip3.Name = "Grip3"
  1110. GripMesh3 = Instance.new("CylinderMesh")
  1111. GripMesh3.Parent = Grip3
  1112. GripMesh3.Scale = Vector3.new(0.46, 0.1, 0.46)
  1113. GripWeld3 = Instance.new("Weld")
  1114. GripWeld3.Parent = Handle
  1115. GripWeld3.Part0 = Handle
  1116. GripWeld3.Part1 = Grip3
  1117. GripWeld3.C0 = CFrame.new(0, -0.29, 0)*CFrame.Angles(0, 0, 0.05)
  1118. Grip4 = Instance.new("Part")
  1119. Grip4.Parent = Tool
  1120. Grip4.Locked = true
  1121. Grip4.BrickColor = BrickColor.new("Navy blue")
  1122. Grip4.TopSurface = "Smooth"
  1123. Grip4.BottomSurface = "Smooth"
  1124. Grip4.Size = Vector3.new(1, 1, 1)
  1125. Grip4.formFactor = "Symmetric"
  1126. Grip4.Transparency = 0
  1127. Grip4.CanCollide = false
  1128. Grip4.Name = "Grip4"
  1129. GripMesh4 = Instance.new("CylinderMesh")
  1130. GripMesh4.Parent = Grip4
  1131. GripMesh4.Scale = Vector3.new(0.46, 0.1, 0.46)
  1132. GripWeld4 = Instance.new("Weld")
  1133. GripWeld4.Parent = Handle
  1134. GripWeld4.Part0 = Handle
  1135. GripWeld4.Part1 = Grip4
  1136. GripWeld4.C0 = CFrame.new(0, -0.18, 0)*CFrame.Angles(0, 0, 0)
  1137. Grip5 = Instance.new("Part")
  1138. Grip5.Parent = Tool
  1139. Grip5.Locked = true
  1140. Grip5.BrickColor = BrickColor.new("Navy blue")
  1141. Grip5.TopSurface = "Smooth"
  1142. Grip5.BottomSurface = "Smooth"
  1143. Grip5.Size = Vector3.new(1, 1, 1)
  1144. Grip5.formFactor = "Symmetric"
  1145. Grip5.Transparency = 0
  1146. Grip5.CanCollide = false
  1147. Grip5.Name = "Grip5"
  1148. GripMesh5 = Instance.new("CylinderMesh")
  1149. GripMesh5.Parent = Grip5
  1150. GripMesh5.Scale = Vector3.new(0.46, 0.1, 0.46)
  1151. GripWeld5 = Instance.new("Weld")
  1152. GripWeld5.Parent = Handle
  1153. GripWeld5.Part0 = Handle
  1154. GripWeld5.Part1 = Grip5
  1155. GripWeld5.C0 = CFrame.new(0, -0.07, 0)*CFrame.Angles(0, 0, 0.03)
  1156. Grip6 = Instance.new("Part")
  1157. Grip6.Parent = Tool
  1158. Grip6.Locked = true
  1159. Grip6.BrickColor = BrickColor.new("Navy blue")
  1160. Grip6.TopSurface = "Smooth"
  1161. Grip6.BottomSurface = "Smooth"
  1162. Grip6.Size = Vector3.new(1, 1, 1)
  1163. Grip6.formFactor = "Symmetric"
  1164. Grip6.Transparency = 0
  1165. Grip6.CanCollide = false
  1166. Grip6.Name = "Grip6"
  1167. GripMesh = Instance.new("CylinderMesh")
  1168. GripMesh.Parent = Grip6
  1169. GripMesh.Scale = Vector3.new(0.46, 0.1, 0.46)
  1170. GripWeld = Instance.new("Weld")
  1171. GripWeld.Parent = Handle
  1172. GripWeld.Part0 = Handle
  1173. GripWeld.Part1 = Grip6
  1174. GripWeld.C0 = CFrame.new(0, 0.04, 0)*CFrame.Angles(0, 0, -0.05)
  1175. Grip7 = Instance.new("Part")
  1176. Grip7.Parent = Tool
  1177. Grip7.Locked = true
  1178. Grip7.BrickColor = BrickColor.new("Navy blue")
  1179. Grip7.TopSurface = "Smooth"
  1180. Grip7.BottomSurface = "Smooth"
  1181. Grip7.Size = Vector3.new(1, 1, 1)
  1182. Grip7.formFactor = "Symmetric"
  1183. Grip7.Transparency = 0
  1184. Grip7.CanCollide = false
  1185. Grip7.Name = "Grip7"
  1186. GripMesh7 = Instance.new("CylinderMesh")
  1187. GripMesh7.Parent = Grip7
  1188. GripMesh7.Scale = Vector3.new(0.46, 0.1, 0.46)
  1189. GripWeld7 = Instance.new("Weld")
  1190. GripWeld7.Parent = Handle
  1191. GripWeld7.Part0 = Handle
  1192. GripWeld7.Part1 = Grip7
  1193. GripWeld7.C0 = CFrame.new(0, 0.15, 0)*CFrame.Angles(0, 0, 0)
  1194. Grip8 = Instance.new("Part")
  1195. Grip8.Parent = Tool
  1196. Grip8.Locked = true
  1197. Grip8.BrickColor = BrickColor.new("Navy blue")
  1198. Grip8.TopSurface = "Smooth"
  1199. Grip8.BottomSurface = "Smooth"
  1200. Grip8.Size = Vector3.new(1, 1, 1)
  1201. Grip8.formFactor = "Symmetric"
  1202. Grip8.Transparency = 0
  1203. Grip8.CanCollide = false
  1204. Grip8.Name = "Grip8"
  1205. GripMesh8 = Instance.new("CylinderMesh")
  1206. GripMesh8.Parent = Grip8
  1207. GripMesh8.Scale = Vector3.new(0.46, 0.1, 0.46)
  1208. GripWeld8 = Instance.new("Weld")
  1209. GripWeld8.Parent = Handle
  1210. GripWeld8.Part0 = Handle
  1211. GripWeld8.Part1 = Grip8
  1212. GripWeld8.C0 = CFrame.new(0, 0.26, 0)*CFrame.Angles(0, 0, 0)
  1213. Grip9 = Instance.new("Part")
  1214. Grip9.Parent = Tool
  1215. Grip9.Locked = true
  1216. Grip9.BrickColor = BrickColor.new("Navy blue")
  1217. Grip9.TopSurface = "Smooth"
  1218. Grip9.BottomSurface = "Smooth"
  1219. Grip9.Size = Vector3.new(1, 1, 1)
  1220. Grip9.formFactor = "Symmetric"
  1221. Grip9.Transparency = 0
  1222. Grip9.CanCollide = false
  1223. Grip9.Name = "Grip9"
  1224. GripMesh9 = Instance.new("CylinderMesh")
  1225. GripMesh9.Parent = Grip9
  1226. GripMesh9.Scale = Vector3.new(0.46, 0.1, 0.46)
  1227. GripWeld9 = Instance.new("Weld")
  1228. GripWeld9.Parent = Handle
  1229. GripWeld9.Part0 = Handle
  1230. GripWeld9.Part1 = Grip9
  1231. GripWeld9.C0 = CFrame.new(0, 0.37, 0)*CFrame.Angles(0, 0, 0.07)
  1232. Grip10 = Instance.new("Part")
  1233. Grip10.Parent = Tool
  1234. Grip10.Locked = true
  1235. Grip10.Reflectance = 0
  1236. Grip10.CanCollide = false
  1237. Grip10.BrickColor = BrickColor.new(1003)
  1238. Grip10.TopSurface = "Smooth"
  1239. Grip10.BottomSurface = "Smooth"
  1240. Grip10.Size = Vector3.new(1, 1, 1)
  1241. Grip10.formFactor = "Symmetric"
  1242. Grip10.Transparency = 0
  1243. Grip10.Name = "Grip10"
  1244. GripMesh10 = Instance.new("SpecialMesh")
  1245. GripMesh10.Parent = Grip10
  1246. GripMesh10.MeshType = "Sphere"
  1247. GripMesh10.Scale = Vector3.new(0.6, 0.6, 0.6)
  1248. GripWeld10 = Instance.new("Weld")
  1249. GripWeld10.Parent = Handle
  1250. GripWeld10.Part0 = Handle
  1251. GripWeld10.Part1 = Grip10
  1252. GripWeld10.C0 = CFrame.new(0, -0.8, 0)*CFrame.Angles(0, 0, 0)
  1253. Grip11 = Instance.new("Part")
  1254. Grip11.Parent = Tool
  1255. Grip11.Locked = true
  1256. Grip11.BrickColor = BrickColor.new(1003)
  1257. Grip11.TopSurface = "Smooth"
  1258. Grip11.CanCollide = false
  1259. Grip11.BottomSurface = "Smooth"
  1260. Grip11.Size = Vector3.new(1, 1, 1)
  1261. Grip11.formFactor = "Symmetric"
  1262. Grip11.Transparency = 0
  1263. Grip11.Name = "Grip11"
  1264. Grip11.Reflectance = 0
  1265. GripMesh11 = Instance.new("SpecialMesh")
  1266. GripMesh11.Parent = Grip11
  1267. GripMesh11.MeshType = "Brick"
  1268. GripMesh11.Scale = Vector3.new(0.55, 0.4, 1.4)
  1269. GripWeld11 = Instance.new("Weld")
  1270. GripWeld11.Parent = Handle
  1271. GripWeld11.Part0 = Handle
  1272. GripWeld11.Part1 = Grip11
  1273. GripWeld11.C0 = CFrame.new(0, 0.85, 0)*CFrame.Angles(0, 0, 0)
  1274. Grip12 = Instance.new("Part")
  1275. Grip12.Parent = Tool
  1276. Grip12.Locked = true
  1277. Grip12.CanCollide = false
  1278. Grip12.BrickColor = BrickColor.new(1003)
  1279. Grip12.TopSurface = "Smooth"
  1280. Grip12.BottomSurface = "Smooth"
  1281. Grip12.Size = Vector3.new(1, 1, 1)
  1282. Grip12.formFactor = "Symmetric"
  1283. Grip12.Transparency = 0
  1284. Grip12.Name = "Grip12"
  1285. Grip12.Reflectance = 0
  1286. GripMesh12 = Instance.new("SpecialMesh")
  1287. GripMesh12.Parent = Grip12
  1288. GripMesh12.MeshType = "Wedge"
  1289. GripMesh12.Scale = Vector3.new(0.55, 0.4, 0.9)
  1290. GripWeld12 = Instance.new("Weld")
  1291. GripWeld12.Parent = Handle
  1292. GripWeld12.Part0 = Handle
  1293. GripWeld12.Part1 = Grip12
  1294. GripWeld12.C0 = CFrame.new(0, 0.908, 1.1)*CFrame.Angles(3, 0, 0)
  1295. Grip13 = Instance.new("Part")
  1296. Grip13.Parent = Tool
  1297. Grip13.Locked = true
  1298. Grip13.CanCollide = false
  1299. Grip13.BrickColor = BrickColor.new(1003)
  1300. Grip13.TopSurface = "Smooth"
  1301. Grip13.BottomSurface = "Smooth"
  1302. Grip13.Size = Vector3.new(1, 1, 1)
  1303. Grip13.formFactor = "Symmetric"
  1304. Grip13.Transparency = 0
  1305. Grip13.Name = "Grip13"
  1306. Grip13.Reflectance = 0
  1307. GripMesh13 = Instance.new("SpecialMesh")
  1308. GripMesh13.Parent = Grip13
  1309. GripMesh13.MeshType = "Wedge"
  1310. GripMesh13.Scale = Vector3.new(0.55, 0.4, 0.9)
  1311. GripWeld13 = Instance.new("Weld")
  1312. GripWeld13.Parent = Handle
  1313. GripWeld13.Part0 = Handle
  1314. GripWeld13.Part1 = Grip13
  1315. GripWeld13.C0 = CFrame.new(0, 0.908, -1.1)*CFrame.Angles(-3, 3.14, 0)
  1316. Grip14 = Instance.new("Part")
  1317. Grip14.Parent = Tool
  1318. Grip14.Locked = true
  1319. Grip14.CanCollide = false
  1320. Grip14.BrickColor = BrickColor.new("Navy blue")
  1321. Grip14.TopSurface = "Smooth"
  1322. Grip14.BottomSurface = "Smooth"
  1323. Grip14.Size = Vector3.new(1, 1, 1)
  1324. Grip14.formFactor = "Symmetric"
  1325. Grip14.Transparency = 0.1
  1326. Grip14.Name = "Grip14"
  1327. Grip14.Reflectance = 0
  1328. GripMesh14 = Instance.new("SpecialMesh")
  1329. GripMesh14.Parent = Grip14
  1330. GripMesh14.MeshType = "Brick"
  1331. GripMesh14.Scale = Vector3.new(0.552, 0.15, 1.3)
  1332. GripWeld14 = Instance.new("Weld")
  1333. GripWeld14.Parent = Handle
  1334. GripWeld14.Part0 = Handle
  1335. GripWeld14.Part1 = Grip14
  1336. GripWeld14.C0 = CFrame.new(0, 0.85, 0)*CFrame.Angles(0, 0, 0)
  1337. Grip15 = Instance.new("Part")
  1338. Grip15.Parent = Tool
  1339. Grip15.Locked = true
  1340. Grip15.CanCollide = false
  1341. Grip15.BrickColor = BrickColor.new("Navy blue")
  1342. Grip15.TopSurface = "Smooth"
  1343. Grip15.BottomSurface = "Smooth"
  1344. Grip15.Size = Vector3.new(1, 1, 1)
  1345. Grip15.formFactor = "Symmetric"
  1346. Grip15.Transparency = 0.1
  1347. Grip15.Name = "Grip15"
  1348. Grip15.Reflectance = 0
  1349. GripMesh15 = Instance.new("SpecialMesh")
  1350. GripMesh15.Parent = Grip15
  1351. GripMesh15.MeshType = "Sphere"
  1352. GripMesh15.Scale = Vector3.new(0.6, 0.4, 1.5)
  1353. GripWeld15 = Instance.new("Weld")
  1354. GripWeld15.Parent = Handle
  1355. GripWeld15.Part0 = Handle
  1356. GripWeld15.Part1 = Grip15
  1357. GripWeld15.C0 = CFrame.new(0, 0.85, 0)*CFrame.Angles(0, 0, 0)
  1358. Grip16 = Instance.new("Part")
  1359. Grip16.Parent = Tool
  1360. Grip16.Locked = true
  1361. Grip16.BrickColor = BrickColor.new("Navy blue")
  1362. Grip16.TopSurface = "Smooth"
  1363. Grip16.BottomSurface = "Smooth"
  1364. Grip16.Size = Vector3.new(1, 1, 1)
  1365. Grip16.formFactor = "Symmetric"
  1366. Grip16.Transparency = 0
  1367. Grip16.Name = "Grip16"
  1368. Grip16.CanCollide = false
  1369. Grip16.Reflectance = 0
  1370. GripMesh16 = Instance.new("SpecialMesh")
  1371. GripMesh16.Parent = Grip16
  1372. GripMesh16.MeshType = "Brick"
  1373. GripMesh16.Scale = Vector3.new(0.2, 0.3, 1)
  1374. GripWeld = Instance.new("Weld")
  1375. GripWeld.Parent = Handle
  1376. GripWeld.Part0 = Handle
  1377. GripWeld.Part1 = Grip16
  1378. GripWeld.C0 = CFrame.new(0, 1.1, 0)*CFrame.Angles(0, 0, 0)
  1379. Grip17 = Instance.new("Part")
  1380. Grip17.Parent = Tool
  1381. Grip17.Locked = true
  1382. Grip17.BrickColor = BrickColor.new(1003)
  1383. Grip17.TopSurface = "Smooth"
  1384. Grip17.BottomSurface = "Smooth"
  1385. Grip17.Size = Vector3.new(1, 3, 1)
  1386. Grip17.formFactor = "Symmetric"
  1387. Grip17.Transparency = 0
  1388. Grip17.Name = "Grip17"
  1389. Grip17.CanCollide = false
  1390. Grip17.Reflectance = 0
  1391. GripMesh17 = Instance.new("SpecialMesh")
  1392. GripMesh17.Parent = Grip17
  1393. GripMesh17.MeshType = "Brick"
  1394. GripMesh17.Scale = Vector3.new(0.19, 1, 1)
  1395. GripWeld17 = Instance.new("Weld")
  1396. GripWeld17.Parent = Handle
  1397. GripWeld17.Part0 = Handle
  1398. GripWeld17.Part1 = Grip17
  1399. GripWeld17.C0 = CFrame.new(0, 2.21, -0.08)*CFrame.Angles(-0.08, 0, 0)
  1400. Grip18 = Instance.new("Part")
  1401. Grip18.Parent = Tool
  1402. Grip18.Locked = true
  1403. Grip18.BrickColor = BrickColor.new(1003)
  1404. Grip18.TopSurface = "Smooth"
  1405. Grip18.BottomSurface = "Smooth"
  1406. Grip18.Size = Vector3.new(1, 3, 1)
  1407. Grip18.formFactor = "Symmetric"
  1408. Grip18.Transparency = 0
  1409. Grip18.Name = "Grip18"
  1410. Grip18.CanCollide = false
  1411. Grip18.Reflectance = 0
  1412. GripMesh18 = Instance.new("SpecialMesh")
  1413. GripMesh18.Parent = Grip18
  1414. GripMesh18.MeshType = "Brick"
  1415. GripMesh18.Scale = Vector3.new(0.19, 1, 1)
  1416. GripWeld18 = Instance.new("Weld")
  1417. GripWeld18.Parent = Handle
  1418. GripWeld18.Part0 = Handle
  1419. GripWeld18.Part1 = Grip18
  1420. GripWeld18.C0 = CFrame.new(0, 4.15, -0.155)*CFrame.Angles(0, 0, 0)
  1421. Grip19 = Instance.new("Part")
  1422. Grip19.Parent = Tool
  1423. Grip19.Locked = true
  1424. Grip19.BrickColor = BrickColor.new(1003)
  1425. Grip19.TopSurface = "Smooth"
  1426. Grip19.BottomSurface = "Smooth"
  1427. Grip19.Size = Vector3.new(1, 3, 1)
  1428. Grip19.formFactor = "Symmetric"
  1429. Grip19.Transparency = 0
  1430. Grip19.CanCollide = false
  1431. Grip19.Name = "Grip19"
  1432. Grip19.Reflectance = 0
  1433. GripMesh19 = Instance.new("SpecialMesh")
  1434. GripMesh19.Parent = Grip19
  1435. GripMesh19.MeshType = "Wedge"
  1436. GripMesh19.Scale = Vector3.new(0.19, 1, 1)
  1437. GripWeld19 = Instance.new("Weld")
  1438. GripWeld19.Parent = Handle
  1439. GripWeld19.Part0 = Handle
  1440. GripWeld19.Part1 = Grip19
  1441. GripWeld19.C0 = CFrame.new(0, 6.99, -0.07)*CFrame.Angles(0.08, 0, 0)
  1442. Grip20 = Instance.new("Part")
  1443. Grip20.Parent = Tool
  1444. Grip20.Locked = true
  1445. Grip20.BrickColor = BrickColor.new("Navy blue")
  1446. Grip20.TopSurface = "Smooth"
  1447. Grip20.BottomSurface = "Smooth"
  1448. Grip20.Size = Vector3.new(1, 3, 1)
  1449. Grip20.formFactor = "Symmetric"
  1450. Grip20.Transparency = 0
  1451. Grip20.Name = "Grip20"
  1452. Grip20.CanCollide = false
  1453. Grip20.Reflectance = 0
  1454. GripMesh20 = Instance.new("SpecialMesh")
  1455. GripMesh20.Parent = Grip20
  1456. GripMesh20.MeshType = "Brick"
  1457. GripMesh20.Scale = Vector3.new(0.193, 1, 0.2)
  1458. GripWeld20 = Instance.new("Weld")
  1459. GripWeld20.Parent = Handle
  1460. GripWeld20.Part0 = Handle
  1461. GripWeld20.Part1 = Grip20
  1462. GripWeld20.C0 = CFrame.new(0, 2.21, -0.08)*CFrame.Angles(-0.08, 0, 0)
  1463. Grip21 = Instance.new("Part")
  1464. Grip21.Parent = Tool
  1465. Grip21.Locked = true
  1466. Grip21.BrickColor = BrickColor.new("Navy blue")
  1467. Grip21.TopSurface = "Smooth"
  1468. Grip21.BottomSurface = "Smooth"
  1469. Grip21.Size = Vector3.new(1, 1, 1)
  1470. Grip21.formFactor = "Symmetric"
  1471. Grip21.Transparency = 0
  1472. Grip21.Name = "Grip21"
  1473. Grip21.CanCollide = false
  1474. Grip21.Reflectance = 0
  1475. GripMesh21 = Instance.new("SpecialMesh")
  1476. GripMesh21.Parent = Grip21
  1477. GripMesh21.MeshType = "Brick"
  1478. GripMesh21.Scale = Vector3.new(0.193, 1, 0.2)
  1479. GripWeld21 = Instance.new("Weld")
  1480. GripWeld21.Parent = Handle
  1481. GripWeld21.Part0 = Handle
  1482. GripWeld21.Part1 = Grip21
  1483. GripWeld21.C0 = CFrame.new(0, 3.7, -0.155)*CFrame.Angles(0, 0, 0)
  1484. Grip22 = Instance.new("Part")
  1485. Grip22.Parent = Tool
  1486. Grip22.Locked = true
  1487. Grip22.BrickColor = BrickColor.new("Navy blue")
  1488. Grip22.TopSurface = "Smooth"
  1489. Grip22.BottomSurface = "Smooth"
  1490. Grip22.Size = Vector3.new(1, 1, 1)
  1491. Grip22.formFactor = "Symmetric"
  1492. Grip22.Transparency = 0
  1493. Grip22.CanCollide = false
  1494. Grip22.Name = "Grip22"
  1495. Grip22.Reflectance = 0
  1496. GripMesh22 = Instance.new("CylinderMesh")
  1497. GripMesh22.Parent = Grip22
  1498. GripMesh22.Scale = Vector3.new(0.6, 0.193, 0.6)
  1499. GripWeld22 = Instance.new("Weld")
  1500. GripWeld22.Parent = Handle
  1501. GripWeld22.Part0 = Handle
  1502. GripWeld22.Part1 = Grip22
  1503. GripWeld22.C0 = CFrame.new(0, 4.2, -0.155)*CFrame.Angles(0, 0, 1.57)
  1504. ----------------------------------------------------
  1505. models = {m,m2,m3,m4,m5,m6,m7,m8}
  1506. parts = {}
  1507. Stepped:connect(function()
  1508. for i,v in pairs(models) do
  1509. for _, a in pairs(v:GetChildren()) do
  1510. if v:IsA("Part") and v.Name ~= "Thingy" then
  1511. table.insert(parts, a)
  1512. for i,v in pairs(parts) do
  1513. v.CanCollide = false
  1514. end
  1515. end
  1516. end
  1517. end
  1518. end)
  1519. ----------------------------------------------------
  1520. local animpose = "Idle3"
  1521. local lastanimpose = "Idle1"
  1522. local grab = false
  1523. local Smooth = 1
  1524. local sine = 0
  1525. local change = 1
  1526. local val = 0
  1527. local ffing = true
  1528. ----------------------------------------------------
  1529. --[[local hitbox = rarm.Zyrodoxa.Hitbox--Zyrodoxa is the name of the dagger k
  1530.  
  1531. function FindHumanoids()
  1532. local function c_region(Position, Size)
  1533. local SizeOffset = Size/2
  1534. local Point1 = Position - SizeOffset
  1535. local Point2 = Position + SizeOffset
  1536. local a = Instance.new("Part", workspace)
  1537. a.Anchored = true
  1538. a.Size = Size
  1539. a.Position = Position
  1540. print("Hey!, I'm making a part!")
  1541. return Region3.new(Point1, Point2)
  1542. end
  1543.  
  1544. local a = c_region((hitbox.CFrame * CFrame.new(0, -1.285, 0)), Vector3.new(0.22, 0.6425, 1.22))
  1545. local b = c_region((hitbox.CFrame * CFrame.new(0, -0.6425, 0)), Vector3.new(0.22, 0.6425, 1.22))
  1546. local c = c_region((hitbox.CFrame * CFrame.new(0, 0.6425, 0)), Vector3.new(0.22, 0.6425, 1.22))
  1547. local d = c_region((hitbox.CFrame * CFrame.new(0, 1.285, 0)), Vector3.new(0.22, 0.6425, 1.22))
  1548.  
  1549. local regions = {a, b, c, d}
  1550.  
  1551. local found_humanoids = {}
  1552. local already_found = {char.Name}
  1553.  
  1554. for _, region in pairs(regions) do
  1555. for _, part in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(region, rarm.Zyrodoxa:GetChildren(), 100)) do
  1556. print(part, part.Parent, part.Name) ---nope
  1557. if part.Parent:FindFirstChild("Humanoid") ~= nil and part.Parent.ClassName == "Model" and not part:isDescendantOf(char) then
  1558. local humanoid = part.Parent:FindFirstChild("Humanoid")
  1559. local name = humanoid.Parent.Name
  1560. local exists = false
  1561. for _, n in pairs(already_found) do
  1562. if n == name then
  1563. exists = true
  1564. end
  1565. end
  1566. if not exists then
  1567. table.insert(already_found, name)
  1568. table.insert(found_humanoids, humanoid)
  1569. end
  1570. elseif part.Parent.Parent:FindFirstChild("Humanoid") ~= nil and part.Parent.Parent.ClassName == "Model" and not part:isDescendantOf(char) then
  1571. local humanoid = part.Parent.Parent:FindFirstChild("Humanoid")
  1572. local name = humanoid.Parent.Parent.Name
  1573. local exists = false
  1574. for _, n in pairs(already_found) do
  1575. if n == name then
  1576. exists = true
  1577. end
  1578. end
  1579. if not exists then
  1580. table.insert(already_found, name)
  1581. table.insert(found_humanoids, humanoid)
  1582. end
  1583. end
  1584. end
  1585. end
  1586. return found_humanoids
  1587. end
  1588.  
  1589. local humanoids = FindHumanoids()
  1590. if #humanoids == 0 then
  1591. for i, v in pairs(humanoids) do
  1592. print(v.Parent.Name)
  1593. if Debounces.Slashing == true then
  1594. v:TakeDamage(math.random(10,20) * math.random(1,3)) --max 60 damage?
  1595. elseif Debounces.Slashing == false then
  1596. wait()
  1597. end
  1598. end
  1599. wait(0.3)
  1600. end]]--
  1601. ----------------------------------------------------
  1602. --[[mouse.KeyDown:connect(function(key)
  1603. if key == "f" then
  1604. if Debounces.CanAttack == true then
  1605. Debounces.CanAttack = false
  1606. Debounces.NoIdl = true
  1607. Debounces.on = true
  1608. for i = 1, 20 do
  1609. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1.05, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1610. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1611. CR.Joint.C1 = Lerp(CR.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(-4),0,0),0.1)
  1612. CR2.Joint.C1 = Lerp(CR2.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1613. CR3.Joint.C1 = Lerp(CR3.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1614. CR4.Joint.C1 = Lerp(CR4.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1615. CR5.Joint.C1 = Lerp(CR5.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1616. 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)
  1617. 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)
  1618. 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)
  1619. 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)
  1620. 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)
  1621. 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)
  1622. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-6), math.rad(0), 0), 0.1)
  1623. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20), 0), 0.1)
  1624. 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)
  1625. 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)
  1626. 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)
  1627. 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)
  1628. if Debounces.on == false then
  1629. break
  1630. end
  1631. fat.Event:wait()
  1632. end
  1633. end
  1634. end
  1635. end)]]--
  1636. ----------------------------------------------------
  1637. mod4 = Instance.new("Model",char)
  1638.  
  1639. ptez = {0.7, 0.8, 0.9, 1}
  1640.  
  1641. function FindNearestTorso(Position,Distance,SinglePlayer)
  1642. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1643. local List = {}
  1644. for i,v in pairs(workspace:GetChildren())do
  1645. if v:IsA("Model")then
  1646. if v:findFirstChild("Torso")then
  1647. if v ~= char then
  1648. if(v.Torso.Position -Position).magnitude <= Distance then
  1649. table.insert(List,v)
  1650. end
  1651. end
  1652. end
  1653. end
  1654. end
  1655. return List
  1656. end
  1657.  
  1658. function Slam()
  1659. local part=Instance.new('Part',mod4)
  1660. part.Anchored=true
  1661. part.CanCollide=false
  1662. part.FormFactor='Custom'
  1663. part.Size=Vector3.new(.5,.5,.5)
  1664. part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0)
  1665. part.Transparency=.0
  1666. part.BrickColor=BrickColor.new('New Yeller')
  1667. mesh=Instance.new('SpecialMesh',part)
  1668. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  1669. mesh.Scale=Vector3.new(3,3,3)
  1670. local part2=Instance.new('Part',mod4)
  1671. part2.Anchored=true
  1672. part2.CanCollide=false
  1673. part2.FormFactor='Custom'
  1674. part2.Size=Vector3.new(.2,.2,.2)
  1675. part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6)
  1676. part2.Transparency=.4
  1677. part2.BrickColor=BrickColor.new('Crimson')
  1678. mesh2=Instance.new('SpecialMesh',part2)
  1679. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  1680. mesh2.Scale=Vector3.new(3,1.5,3)
  1681. x = Instance.new("Sound",larm)
  1682. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  1683. x.Pitch = ptez[math.random(1,#ptez)]
  1684. x.Volume = 1
  1685. wait(.1)
  1686. x1 = Instance.new("Sound",larm)
  1687. x1.SoundId = "http://www.roblox.com/asset/?id=206082327"
  1688. x1.Pitch = ptez[math.random(1,#ptez)]
  1689. x1.Volume = 1
  1690. wait(.1)
  1691. x:Play()
  1692. x1:Play()
  1693. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  1694. if v:FindFirstChild('Humanoid') then
  1695. v.Humanoid:TakeDamage(math.random(9000,90000))
  1696. end
  1697. end
  1698. coroutine.resume(coroutine.create(function()
  1699. for i=0,0.62,0.13 do
  1700. wait()
  1701. part.CFrame=part.CFrame
  1702. part.Transparency=i
  1703. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  1704. part2.CFrame=part2.CFrame
  1705. part2.Transparency=i
  1706. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  1707. end
  1708. part.Parent=nil
  1709. part2.Parent=nil
  1710. x:Destroy()
  1711. end))
  1712. end
  1713. ----------------------------------------------------
  1714. wPart = function(x,y,z,color,tr,cc,an,parent)
  1715. local wp = Instance.new('WedgePart',parent or Weapon)
  1716. wp.formFactor = 'Custom'
  1717. wp.Size = Vector3.new(x,y,z)
  1718. wp.BrickColor = BrickColor.new(color)
  1719. wp.CanCollide = cc
  1720. wp.Transparency = tr
  1721. wp.Anchored = an
  1722. wp.TopSurface,wp.BottomSurface = 0,0
  1723. return wp
  1724. end
  1725.  
  1726. Mesh = function(par,num,x,y,z)
  1727. local msh = _
  1728. if num == 1 then
  1729. msh = Instance.new("CylinderMesh",par)
  1730. elseif num == 2 then
  1731. msh = Instance.new("SpecialMesh",par)
  1732. msh.MeshType = 3
  1733. elseif num == 3 then
  1734. msh = Instance.new("BlockMesh",par)
  1735. elseif num == 4 then
  1736. msh = Instance.new("SpecialMesh",par)
  1737. msh.MeshType = "Torso"
  1738. elseif type(num) == 'string' then
  1739. msh = Instance.new("SpecialMesh",par)
  1740. msh.MeshId = num
  1741. end
  1742. msh.Scale = Vector3.new(x,y,z)
  1743. return msh
  1744. end
  1745.  
  1746. local function CFrameFromTopBack(at, top, back)
  1747. local right = top:Cross(back)
  1748. return CFrame.new(at.x, at.y, at.z,
  1749. right.x, top.x, back.x,
  1750. right.y, top.y, back.y,
  1751. right.z, top.z, back.z)
  1752. end
  1753.  
  1754. function Triangle(a, b, c)
  1755. local edg1 = (c-a):Dot((b-a).unit)
  1756. local edg2 = (a-b):Dot((c-b).unit)
  1757. local edg3 = (b-c):Dot((a-c).unit)
  1758. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1759. a, b, c = a, b, c
  1760. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1761. a, b, c = b, c, a
  1762. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1763. a, b, c = c, a, b
  1764. else
  1765. print("unreachable")
  1766. end
  1767. local len1 = (c-a):Dot((b-a).unit)
  1768. local len2 = (b-a).magnitude - len1
  1769. local width = (a + (b-a).unit*len1 - c).magnitude
  1770. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1771. local list = {}
  1772. if len1 > 0.01 then
  1773. local w1 = wPart(0,0,0,'Institutional white',0.5,false,true,char)
  1774. local sz = Vector3.new(0.2, width, len1)
  1775. w1.Size = sz
  1776. local sp = Mesh(w1,2,0,0,0)
  1777. sp.MeshType='Wedge'
  1778. sp.Scale=Vector3.new(0,1,1)*sz/w1.Size
  1779. w1:BreakJoints()
  1780. w1.Anchored = true
  1781. w1.Transparency = 0.7
  1782. Spawn(function()
  1783. for i=0,1,0.1 do
  1784. fat.Event:wait()
  1785. w1.Transparency=w1.Transparency+0.03
  1786. end
  1787. end)
  1788. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1789. table.insert(list,w1)
  1790. end
  1791. if len2 > 0.01 then
  1792. local w2 = wPart(0,0,0,'Institutional white',0.5,false,true,char)
  1793. local sz = Vector3.new(0.2, width, len2)
  1794. w2.Size = sz
  1795. local sp = Mesh(w2,2,0,0,0)
  1796. sp.MeshType='Wedge'
  1797. sp.Scale=Vector3.new(0,1,1)*sz/w2.Size
  1798. w2:BreakJoints()
  1799. w2.Anchored = true
  1800. w2.Transparency = 0.7
  1801. Spawn(function()
  1802. for i=0,1,0.1 do
  1803. fat.Event:wait()
  1804. w2.Transparency=w2.Transparency+0.03
  1805. end
  1806. end)
  1807. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1808. table.insert(list,w2)
  1809. end
  1810. return unpack(list)
  1811. end
  1812.  
  1813. function trail(p,t,h)
  1814. Spawn(function()
  1815. local blcf = p.CFrame
  1816. local scfr = blcf
  1817. for i=1,t do
  1818. local blcf = p.CFrame
  1819. if scfr and (p.Position-scfr.p).magnitude > .1 then
  1820. 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)
  1821. if a then game.Debris:AddItem(a,1) end
  1822. if b then game.Debris:AddItem(b,1) end
  1823. 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)
  1824. if a then game.Debris:AddItem(a,1) end
  1825. if b then game.Debris:AddItem(b,1) end
  1826. scfr = blcf
  1827. elseif not scfr then
  1828. scfr = blcf
  1829. end
  1830. fat.Event:wait()
  1831. end
  1832. scfr=nil
  1833. end)
  1834. end
  1835. --trail(char.Sword.Blade,1e1000,5)
  1836. ----------------------------------------------------
  1837. function Dmg()
  1838. local partofdeath = rarm.Zyrodoxa.Hitbox
  1839. local function CreateRegion3FromLocAndSize(Position, Size)
  1840. local SizeOffset = Size/2
  1841. local Point1 = Position - SizeOffset
  1842. local Point2 = Position + SizeOffset
  1843. return Region3.new(Point1, Point2)
  1844. end
  1845. local reg = CreateRegion3FromLocAndSize(partofdeath.Position, partofdeath.Size)
  1846. for i, v in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(reg, char:GetChildren(), 100)) do
  1847. Spawn(function()
  1848. if Debounces.Slashing == true and Debounces.Slashed == false then
  1849. Debounces.Slashed = true
  1850. ypcall(function()
  1851. local humanoid = v.Parent:FindFirstChild("Humanoid") or v.Parent.Parent:FindFirstChild("Humanoid")
  1852. humanoid:TakeDamage(math.random(9999,100000))
  1853. end)
  1854. wait(.4)
  1855. Debounces.Slashed = false
  1856. end
  1857. end)
  1858. end
  1859. end
  1860. ----------------------------------------------------
  1861. pts = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  1862. ptz = {0.7, 0.8, 0.9, 1}
  1863. idz = {"161006212", "161006195"}
  1864. function attackone()
  1865. for i = 1, 13 do
  1866. 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)
  1867. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(20), math.rad(30), math.rad(0)), 0.8)
  1868. 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)
  1869. 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)
  1870. 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)
  1871. 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)
  1872. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(0),math.rad(-50),0), 0.5)
  1873. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.5)
  1874. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.7)
  1875. 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)
  1876. 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)
  1877. 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)
  1878. 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)
  1879. 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)
  1880. if Debounces.on == false then
  1881. break
  1882. end
  1883. fat.Event:wait()
  1884. end
  1885. trail(rarm.Zyrodoxa.Hitbox,20,2)
  1886. Debounces.Slashing = true
  1887. wait(0.2)
  1888. --[[z = Instance.new("Sound", hed)
  1889. z.SoundId = "rbxassetid://161006212"..idz[math.random(1,#idz)]
  1890. z.Pitch = ptz[math.random(1,#ptz)]
  1891. z.Volume = 1
  1892. wait(.01)
  1893. z:Play()]]--
  1894. for i = 1, 14 do
  1895. Dmg()
  1896. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0.2) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), 0.8)
  1897. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-40), math.rad(30), math.rad(0)), 0.8)
  1898. 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)
  1899. 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)
  1900. 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)
  1901. 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)
  1902. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(0),math.rad(40),0), 0.7)
  1903. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  1904. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -1) * CFrame.Angles(math.rad(-10), math.rad(-40), 0), 0.4)
  1905. 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)
  1906. 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)
  1907. 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)
  1908. 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)
  1909. 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)
  1910. if Debounces.on == false then break end
  1911. rs:wait()
  1912. end
  1913. Debounces.Slashing = false
  1914. end
  1915. function attacktwo()
  1916. Debounces.Slashing = true
  1917. for i = 1, 14 do
  1918. Dmg()
  1919. corw8.C0 = Lerp(corw8.C0, CFrame.new(-0.37, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), 0.4)
  1920. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)), 0.4)
  1921. 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)
  1922. 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)
  1923. 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)
  1924. 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)
  1925. 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)
  1926. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  1927. 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)
  1928. 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)
  1929. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.5)
  1930. 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)
  1931. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.5)
  1932. 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)
  1933. if Debounces.on == false then
  1934. break
  1935. end
  1936. rs:wait()
  1937. end
  1938. end
  1939. ----------------------------------------------------
  1940.  
  1941. ----------------------------------------------------
  1942. definition = 5
  1943. bc = {}
  1944. bezierparts = {}
  1945. function NoOutline(Part)
  1946. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1947. end
  1948. function draw(p,d)
  1949. for i=1,d do
  1950. local t = i/d
  1951. bc[i] = p[1]*(1-t)^2+2*p[2]*(1-t)*t+p[3]*t^2
  1952. end
  1953.  
  1954. Spawn(function() fat.Event:wait()
  1955. for i,v in pairs(bezierparts) do
  1956. v.Transparency = 1
  1957. end
  1958. end)
  1959. end
  1960. --local points = {larm.Position,rarn.Position,invisipart.Position}
  1961. --draw(points,definition)
  1962.  
  1963. fat.Event:wait()
  1964.  
  1965. rpart = Instance.new("Part",rarm)
  1966. NoOutline(rpart)
  1967. rpart.Anchored = false
  1968. rpart.Size = Vector3.new(1,1,1)
  1969. rpart.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  1970. rpart.Transparency = 1
  1971. newWeld(rarm, rpart, 0, 0, 0)
  1972. rpart.Weld.C1 = CFrame.new(0, 1.1, 0)
  1973. lpart = Instance.new("Part",larm)
  1974. NoOutline(lpart)
  1975. lpart.Anchored = false
  1976. lpart.Size = Vector3.new(1,1,1)
  1977. lpart.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  1978. lpart.Transparency = 1
  1979. newWeld(larm, lpart, 0, 0, 0)
  1980. lpart.Weld.C1 = CFrame.new(0, 1.1, 0)
  1981. invisipart = Instance.new("Part",torso)
  1982. NoOutline(invisipart)
  1983. invisipart.Anchored = false
  1984. invisipart.Size = Vector3.new(1,1,1)
  1985. invisipart.Transparency = 1
  1986. invisipart.CFrame = torso.CFrame
  1987. newWeld(torso, invisipart, 0, 0, 0)
  1988. invisipart.Weld.C1 = CFrame.new(0, 0, 6)
  1989. table.insert(bezierparts, rpart)
  1990. table.insert(bezierparts, lpart)
  1991. table.insert(bezierparts, invisipart)
  1992. for i = 1, 40 do
  1993. local points = {lpart.Position,invisipart.Position,rpart.Position}
  1994. draw(points,definition)
  1995. --invisipart.Weld.C1 = invisipart.Weld.C1 + Vector3.new(0,0,0.6)
  1996. 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)
  1997. 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)
  1998. 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)
  1999. 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)
  2000. 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)
  2001. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  2002. 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)
  2003. 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)
  2004. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(0), 0, math.rad(-10)), 0.2)
  2005. 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)
  2006. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(0), 0, math.rad(10)), 0.2)
  2007. 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)
  2008. if Debounces.on == false then
  2009. break
  2010. end
  2011. fat.Event:wait()
  2012. end
  2013. for i,v in pairs(bezierparts) do
  2014. v:Destroy()
  2015. end
  2016. --draw(points,definition)
  2017. if Debounces.CanAttack == false then
  2018. Debounces.CanAttack = true
  2019. Debounces.NoIdl = false
  2020. Debounces.on = false
  2021. end
  2022.  
  2023. ----------------------------------------------------
  2024. ----------------------------------------------------
  2025. pt = {6.6, 6.8, 7, 7.2, 7.4}
  2026. mouse.KeyDown:connect(function(key)
  2027. if key == "q" then
  2028. if Debounces.CanJoke == true then
  2029. Debounces.CanJoke = false
  2030. u = Instance.new("Sound",char)
  2031. u.SoundId = "http://www.roblox.com/asset/?id=261303790"
  2032. u.Pitch = pt[math.random(1,#pt)]
  2033. u.Volume = 0.3
  2034. u2 = Instance.new("Sound",char)
  2035. u2.SoundId = "http://www.roblox.com/asset/?id=261303790"
  2036. u2.Pitch = u.Pitch
  2037. u2.Volume = 0.3
  2038. u3 = Instance.new("Sound",char)
  2039. u3.SoundId = "http://www.roblox.com/asset/?id=261303790"
  2040. u3.Pitch = u.Pitch
  2041. u3.Volume = 0.3
  2042. wait(.01)
  2043. u:Play()
  2044. u2:Play()
  2045. u3:Play()
  2046. wait(1.5)
  2047. u:Destroy()
  2048. u2:Destroy()
  2049. u3:Destroy()
  2050. if Debounces.CanJoke == false then
  2051. Debounces.CanJoke = true
  2052. end
  2053. end
  2054. end
  2055. end)
  2056. ----------------------------------------------------
  2057. ----------------------------------------------------
  2058. mouse.KeyDown:connect(function(key)
  2059. if key == "j" then
  2060. if Debounces.CanJoke == true then
  2061. Debounces.CanJoke = false
  2062. z = Instance.new("Sound",hed)
  2063. z.SoundId = "rbxassetid://415859013"
  2064. z.Pitch = pitches[math.random(1,#pitches)]
  2065. z.Volume = 1
  2066. wait()
  2067. z:Play()
  2068. wait(2)
  2069. z:Destroy()
  2070. if Debounces.CanJoke == false then
  2071. Debounces.CanJoke = true
  2072. end
  2073. end
  2074. end
  2075. end)
  2076.  
  2077. ----------------------------------------------------
  2078. Grab = true
  2079. mouse.KeyDown:connect(function(key)
  2080. if key == "e" then
  2081. Debounces.on = true
  2082. Debounces.NoIdl = true
  2083. Debounces.ks = true
  2084. if Grab == false then
  2085. gp = nil
  2086. for i = 1, 20 do
  2087. 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)
  2088. 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)
  2089. 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)
  2090. 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)
  2091. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2)
  2092. 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)
  2093. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2)
  2094. 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)
  2095. 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)
  2096. 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)
  2097. 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)
  2098. 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)
  2099. if Debounces.on == false then break end
  2100. fat.Event:wait()
  2101. end
  2102. con1=larm.LeftArm.LeftArmPlate.Touched:connect(function(hit)
  2103. ht = hit.Parent
  2104. for i,v in pairs(ht:GetChildren()) do
  2105. if v:IsA("Part") then
  2106. v.CanCollide = false
  2107. v.CustomPhysicalProperties = PhysicalProperties.new(0.001,0.001,0.001,0.001,0.001)
  2108. end
  2109. end
  2110. hum1=ht:FindFirstChild('Humanoid')
  2111. if hum1 ~= nil then
  2112. if Debounces.ks==true then
  2113. z = Instance.new("Sound",hed)
  2114. z.SoundId = "rbxassetid://169380525"
  2115. z.Volume = 1
  2116. z:Play()
  2117. Debounces.ks=false
  2118. end
  2119. hum1.PlatformStand=true
  2120. hum1:ChangeState'Physics'
  2121. gp = ht
  2122. Grab = true
  2123. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,0.6),CFrame.new(0,0,0))
  2124. asd.Parent = larm
  2125. asd.Name = "asd"
  2126. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0)
  2127. stanceToggle = "Grabbed"
  2128. --[[elseif hum1 == nil then
  2129. con1:disconnect()
  2130. wait() return]]--
  2131. end
  2132. end)
  2133. for i = 1, 20 do
  2134. 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)
  2135. 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)
  2136. 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)
  2137. 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)
  2138. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.2)
  2139. 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)
  2140. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2)
  2141. 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)
  2142. 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)
  2143. 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)
  2144. 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)
  2145. 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)
  2146. if Debounces.on == false then break end
  2147. fat.Event:wait()
  2148. end
  2149. con1:disconnect()
  2150. Debounces.on = false
  2151. Debounces.NoIdl = false
  2152. elseif Grab == true then
  2153. Grab = false
  2154. --[[for i = 1, 16 do
  2155. 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)
  2156. 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)
  2157. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3)
  2158. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  2159. 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)
  2160. 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)
  2161. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3)
  2162. if Debounces.on == false then end
  2163. rs:wait()
  2164. end]]--
  2165. for i = 1, 16 do
  2166. 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)
  2167. 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)
  2168. 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)
  2169. 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)
  2170. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3)
  2171. 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)
  2172. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.3)
  2173. 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)
  2174. 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)
  2175. 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)
  2176. 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)
  2177. 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)
  2178. if Debounces.on == false then end
  2179. rs:wait()
  2180. end
  2181. for i = 1, 12 do
  2182. 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)
  2183. 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)
  2184. 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)
  2185. 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)
  2186. 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)
  2187. 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)
  2188. 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)
  2189. 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)
  2190. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.6)
  2191. 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)
  2192. 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)
  2193. 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)
  2194. if Debounces.on == false then end
  2195. rs:wait()
  2196. end
  2197. Slam()
  2198. if gp ~= nil then
  2199. for i,v in pairs(larm:GetChildren()) do
  2200. if v.Name == "asd" and v:IsA("Weld") then
  2201. v:Remove()
  2202. end
  2203. if v:IsA("Part") then
  2204. v.CanCollide = true
  2205. v.CustomPhysicalProperties = PhysicalProperties.new(1,1,1,1,1)
  2206. end
  2207. end
  2208. end
  2209. stanceToggle = "Idle1"
  2210. --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  2211. bv.maxForce = Vector3.new(400000, 400000, 400000)
  2212. bv.P = 125000
  2213. bv.velocity = char.Head.CFrame.lookVector * 200]]--
  2214. ht=nil
  2215. Debounces.on = false
  2216. Debounces.NoIdl = false
  2217. elseif ht == nil then wait()
  2218. Grab = false
  2219. Debounces.on = false
  2220. Debounces.NoIdl = false
  2221. end
  2222. end
  2223. end)
  2224. ----------------------------------------------------
  2225. Change = true
  2226. mouse.KeyDown:connect(function(key)
  2227. if key == "n" then
  2228. if Change == false then
  2229. Change = true
  2230. stanceToggle = "Idle2"
  2231. elseif Change == true then
  2232. Change = false
  2233. stanceToggle = "Idle1"
  2234. end
  2235. end
  2236. end)
  2237. ----------------------------------------------------
  2238. mouse.KeyDown:connect(function(key)
  2239. if string.byte(key) == 52 then
  2240. Swing = 2
  2241. char.Humanoid.WalkSpeed = 99
  2242. end
  2243. end)
  2244. mouse.KeyUp:connect(function(key)
  2245. if string.byte(key) == 52 then
  2246. Swing = 1
  2247. char.Humanoid.WalkSpeed = 99
  2248. end
  2249. end)
  2250. ----------------------------------------------------
  2251.  
  2252. jump = false
  2253. rs:connect(function()
  2254. if char.Humanoid.Jump == true then
  2255. jump = true
  2256. else
  2257. jump = false
  2258. end
  2259. char.Humanoid.FreeFalling:connect(function(f)
  2260. if f then
  2261. ffing = true
  2262. else
  2263. ffing = ftrue
  2264. end
  2265. end)
  2266. sine = sine + change
  2267. if jump == true then
  2268. animpose = "Jumping"
  2269. elseif ffing == true then
  2270. animpose = "Freefalling"
  2271. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  2272. animpose = "Idle"
  2273. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  2274. animpose = "Walking"
  2275. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  2276. animpose = "Running"
  2277. end
  2278. RightLeg = CFrame.new(0.5,-1,0)
  2279. LeftLeg = CFrame.new(-0.5,-1,0)
  2280.  
  2281. lefth = (torso.CFrame*LeftLeg)
  2282. righth = (torso.CFrame*RightLeg)
  2283.  
  2284. speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z)
  2285.  
  2286. TiltOnAxis = (torso.CFrame-torso.CFrame.p):vectorToObjectSpace(speed/100)
  2287.  
  2288. local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
  2289. local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
  2290. if animpose ~= lastanimpose then
  2291. sine = 0
  2292. if Debounces.NoIdl == false then
  2293. if stanceToggle == "Idle1" then
  2294. 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)
  2295. 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)
  2296. 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)
  2297. 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)
  2298. 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)
  2299. 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)
  2300. elseif stanceToggle == "Idle2" then
  2301. 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)
  2302. 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)
  2303. 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)
  2304. 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)
  2305. 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)
  2306. 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)
  2307. end
  2308. fat.Event:wait()
  2309. end
  2310. else
  2311. end
  2312. lastanimpose = animpose
  2313. if Debounces.NoIdl == false then
  2314. if animpose == "Idle" then
  2315. change = 0.5
  2316. if stanceToggle == "Idle1" then
  2317. 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)
  2318. 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)
  2319.  
  2320. 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)
  2321. 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)
  2322. 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)
  2323. 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)
  2324. 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)
  2325. 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)
  2326. 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)
  2327. 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)
  2328. 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)
  2329. 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)
  2330. 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)
  2331. 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)
  2332. elseif stanceToggle == "Idle2" then
  2333.  
  2334. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2335. 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)
  2336. 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)
  2337. 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)
  2338. 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)
  2339. 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)
  2340. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
  2341. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  2342. --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)
  2343. 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)
  2344. 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)
  2345. 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)
  2346. 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)
  2347. 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)
  2348. elseif stanceToggle == "Grabbed" then
  2349. grab = true
  2350. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2351. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2352. 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)
  2353. 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)
  2354. 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)
  2355. 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)
  2356. 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)
  2357. 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)
  2358. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  2359. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
  2360. 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)
  2361. 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)
  2362. 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)
  2363. 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)
  2364. end
  2365. elseif animpose == "Walking" then
  2366. if stanceToggle == "Grabbed" then
  2367. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2368. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2369. 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)
  2370. 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)
  2371. 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)
  2372. 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)
  2373. 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)
  2374. 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)
  2375. 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)
  2376. --rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1)
  2377. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
  2378. 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)
  2379. 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)
  2380. 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)
  2381. 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)
  2382. elseif stanceToggle ~= "Grabbed" then
  2383. change = 1
  2384. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2385. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2386.  
  2387. 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)
  2388. 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)
  2389. 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)
  2390. 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)
  2391. 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)
  2392. 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)
  2393. 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)
  2394. --rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1)
  2395. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
  2396. --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)
  2397. 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)
  2398. 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)
  2399. --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)
  2400. 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)
  2401. 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)
  2402. end
  2403. elseif animpose == "Running" then
  2404. change = 1
  2405. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2406. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2407.  
  2408. 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)
  2409. 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)
  2410. 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)
  2411. 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)
  2412. 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)
  2413. 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)
  2414. 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)
  2415. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  2416. 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)
  2417. 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)
  2418. 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)
  2419. 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)
  2420. elseif animpose == "Jumping" then
  2421.  
  2422. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2423. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2424. 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)
  2425. 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)
  2426. 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)
  2427. 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)
  2428. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(30),math.rad(0),0), 0.2)
  2429. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  2430. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  2431. 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)
  2432. 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)
  2433. 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)
  2434. 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)
  2435. elseif animpose == "Freefalling" then
  2436.  
  2437. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2438. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2439. 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)
  2440. 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)
  2441. 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)
  2442. 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)
  2443. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),math.rad(0),0), 0.2)
  2444. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.2)
  2445. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  2446. 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)
  2447. 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)
  2448. 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)
  2449. 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)
  2450. end
  2451. end
  2452. end)
  2453. hum.MaxHealth = math.huge
  2454. wait(3)
  2455. hum.Health = math.huge
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement