Advertisement
Laksana

Untitled

Mar 19th, 2018
373
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 97.45 KB | None | 0 0
  1. Character=Player.Character
  2. PlayerGui=Player.PlayerGui
  3. Backpack=Player.Backpack
  4. Torso=Character.Torso
  5. Head=Character.Head
  6. Humanoid=Character.Humanoid
  7. m=Instance.new('Model',Character)
  8. LeftArm=Character["Left Arm"]
  9. LeftLeg=Character["Left Leg"]
  10. RightArm=Character["Right Arm"]
  11. RightLeg=Character["Right Leg"]
  12. LS=Torso["Left Shoulder"]
  13. LH=Torso["Left Hip"]
  14. RS=Torso["Right Shoulder"]
  15. RH=Torso["Right Hip"]
  16. for i,v in pairs(Character:children()) do
  17. if v:IsA("Hat") then
  18. v:Destroy()
  19. end
  20. end
  21. for i,v in pairs(Character:children()) do
  22. if v:IsA("Accessory") then
  23. v:Destroy()
  24. end
  25. end
  26.  
  27.  
  28. local txt = Instance.new("BillboardGui", Character)
  29. CV="Lime green"
  30. txt.Adornee = Character.Head
  31. txt.Name = "_status"
  32. txt.Size = UDim2.new(2, 0, 1.2, 0)
  33. txt.StudsOffset = Vector3.new(-9, 8, 0)
  34. local text = Instance.new("TextLabel", txt)
  35. text.Size = UDim2.new(10, 0, 7, 0)
  36. text.FontSize = "Size24"
  37. text.TextScaled = true
  38. text.TextTransparency = 0
  39. text.BackgroundTransparency = 1
  40. text.TextTransparency = 0
  41. text.TextStrokeTransparency = 0
  42. text.Font = "Antique"
  43. text.TextStrokeColor3 = BrickColor.new("Gold").Color
  44. text.TextColor3 = BrickColor.new("Maroon").Color
  45. text.Text = "Le Nub"
  46.  
  47.  
  48.  
  49.  
  50.  
  51. Character["Body Colors"].HeadColor = BrickColor.new("Gold")
  52. Character["Body Colors"].TorsoColor = BrickColor.new("Lapis")
  53. Character["Body Colors"].LeftArmColor = BrickColor.new("Camo")
  54. Character["Body Colors"].RightArmColor = BrickColor.new("Gold")
  55. Character["Body Colors"].LeftLegColor = BrickColor.new("Lapis")
  56. Character["Body Colors"].RightLegColor = BrickColor.new("Camo")
  57. Face = Instance.new("Decal",Character.Head)
  58. Face.Texture = "rbxassetid://13603673"
  59. Face.Face = "Front"
  60. Face.Transparency = 0
  61. Face.Name = "Blood"
  62. function chatfunc(text)
  63. local chat = coroutine.wrap(function()
  64. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  65. Character:FindFirstChild("TalkingBillBoard"):destroy()
  66. end
  67. local naeeym2 = Instance.new("BillboardGui",Character)
  68. naeeym2.Size = UDim2.new(0,100,0,40)
  69. naeeym2.StudsOffset = Vector3.new(0,3,0)
  70. naeeym2.Adornee = Character.Head
  71. naeeym2.Name = "TalkingBillBoard"
  72. local tecks2 = Instance.new("TextLabel",naeeym2)
  73. tecks2.BackgroundTransparency = 1
  74. tecks2.BorderSizePixel = 0
  75. tecks2.Text = ""
  76. tecks2.Font = "Fantasy"
  77. tecks2.TextSize = 30
  78. tecks2.TextStrokeTransparency = 0
  79. tecks2.TextColor3 = Color3.new(0,0,1)
  80. tecks2.TextStrokeColor3 = Color3.new(0,1,0)
  81. tecks2.Size = UDim2.new(1,0,0.5,0)
  82. local tecks3 = Instance.new("TextLabel",naeeym2)
  83. tecks3.BackgroundTransparency = 1
  84. tecks3.BorderSizePixel = 0
  85. tecks3.Text = ""
  86. tecks3.Font = "Fantasy"
  87. tecks3.TextSize = 30
  88. tecks3.TextStrokeTransparency = 0
  89. tecks3.TextColor3 = Color3.new(122,78,255)
  90. tecks3.TextStrokeColor3 = Color3.new(122,78,255)
  91. tecks3.Size = UDim2.new(1,0,0.5,0)
  92. for i = 1,string.len(text),1 do
  93. tecks2.Text = string.sub(text,1,i)
  94. tecks3.Text = string.sub(text,1,i)
  95. wait(0.01)
  96. end
  97. wait(2)
  98. for i = 1, 50 do
  99. wait(0.0000000000000000000001)
  100. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  101. tecks2.Rotation = tecks2.Rotation - .8
  102. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  103. tecks2.TextTransparency = tecks2.TextTransparency + .04
  104. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  105. tecks3.Rotation = tecks2.Rotation + .8
  106. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  107. tecks3.TextTransparency = tecks2.TextTransparency + .04
  108. end
  109. naeeym2:Destroy()
  110. end)
  111. chat()
  112. end
  113. function onChatted(msg)
  114. chatfunc(msg)
  115. end
  116. Face = Head.face
  117. Neck=Torso.Neck
  118. it=Instance.new
  119. attacktype=1
  120. vt=Vector3.new
  121. cf=CFrame.new
  122. euler=CFrame.fromEulerAnglesXYZ
  123. angles=CFrame.Angles
  124. cloaked=false
  125. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  126. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  127. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  128. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  129. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  130. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  131. RootPart=Character.HumanoidRootPart
  132. RootJoint=RootPart.RootJoint
  133. RootCF=euler(-1.57,0,3.14)
  134. attack = false
  135. attackdebounce = false
  136. deb=false
  137. equipped=true
  138. hand=false
  139. MMouse=nil
  140. combo=0
  141. mana=0
  142. trispeed=1
  143. pathtrans=.7
  144. attackmode='none'
  145. local idle=0
  146. local Anim="Idle"
  147. local Effects={}
  148. local gun=false
  149. local shoot=false
  150. player=nil
  151. cloak=false
  152. lightcolor='Really Black'
  153.  
  154. local Color1=Torso.BrickColor
  155.  
  156. warn'THE TING GOES SKRRRRRRRRRA'
  157. local p = game.Players.LocalPlayer
  158. local char = p.Character
  159. local hed = char.Head
  160. local hes = game.Players.LocalPlayer.Character.Humanoid
  161. for i,v in pairs(char:children()) do
  162. if v:IsA("Hat") then
  163. v:Destroy()
  164. end
  165. end
  166. for i,v in pairs(hed:children()) do
  167. if v:IsA("Sound") then
  168. v:Destroy()
  169. end
  170. end
  171. local Part = Instance.new("Part",hed)
  172. Part.BrickColor = BrickColor.new("Really Black")
  173. Part.Size = Vector3.new(1,1,1)
  174. Part.CanCollide = false
  175. Part.Material = "Neon"
  176. local M = Instance.new("SpecialMesh",Part)
  177. M.MeshId = "rbxassetid://0"
  178. M.Scale = Vector3.new(3,3,3)
  179. local Part2 = Instance.new("Weld",Part)
  180. Part2.Part0 = hed
  181. Part2.Part1 = Part
  182. Part2.C0 = CFrame.new(0, 1, -0.5)
  183. hes.MaxHealth = math.huge
  184. plr = game.Players.LocalPlayer
  185. chr = plr.Character
  186. local plr = game:service'Players'.LocalPlayer
  187. local char = plr.Character
  188. for i,v in pairs(char:GetChildren()) do if v:IsA("Accessory") then v:Remove() end end
  189. for i,v in pairs(char:GetChildren()) do if v:IsA("Hat") then v:Remove() end end
  190. local Part = Instance.new("Part",chr)
  191. Part.BrickColor = BrickColor.new("Royal blue")
  192. Part.Size = Vector3.new(1,1,1)
  193. Part.CanCollide = false
  194. Part.Material = "Neon"
  195. local M = Instance.new("SpecialMesh",Part)
  196. M.MeshId = "rbxassetid://0"
  197. M.Scale = Vector3.new(1.2,1.2,1.2)
  198. M.TextureId = "rbxassetid://0"
  199. local Part2 = Instance.new("Weld",Part)
  200. Part2.Part0 = chr.Head
  201. Part2.Part1 = Part
  202. Part2.C0 = CFrame.new(0,0.2,0)*CFrame.Angles(0,0,0)
  203. local Part1 = Instance.new("Part",chr)
  204. Part1.BrickColor = BrickColor.new("New Yeller")
  205. Part1.Size = Vector3.new(1,1,1)
  206. Part1.CanCollide = false
  207. Part1.Material = "Neon"
  208. local M1 = Instance.new("SpecialMesh",Part1)
  209. M1.MeshId = "rbxassetid://0"
  210. M1.Scale = Vector3.new(0.0067,0.0067,0.0067)
  211. local Part21 = Instance.new("Weld",Part1)
  212. Part21.Part0 = chr.Head
  213. Part21.Part1 = Part1
  214. Part21.C0 = CFrame.new(0,-1.2,0)*CFrame.Angles(0,1.55,0)
  215. local Part = Instance.new("Part",Character)
  216. Part.BrickColor = BrickColor.new("Mint")
  217. Part.Size = Vector3.new(1,1,1)
  218. Part.CanCollide = false
  219. Part.Material = "Neon"
  220. local M = Instance.new("SpecialMesh",Part)
  221. M.MeshId = "rbxassetid://0"
  222. M.TextureId = "rbxassetid://0"
  223. M.Scale = Vector3.new(1,1,1.1)
  224. local Part2 = Instance.new("Weld",Part)
  225. Part2.Part0 = Character.Head
  226. Part2.Part1 = Part
  227. Part2.C0 = CFrame.new(0,-0.5,0.9)*CFrame.Angles(math.rad(0),math.pi/90,0)
  228. Effects = { }
  229. wait(1/60)
  230. wait(3)
  231. local sky = game.Lighting
  232. game.Lighting.TimeOfDay = "00:00:00"
  233. sky.Ambient = BrickColor.new("Really black").Color
  234. sky.Brightness = 0
  235. sky.FogEnd = 50000
  236. sky.FogColor = BrickColor.new("Really black").Color
  237. CV="Really black"
  238.  
  239. mouse=Player:GetMouse()
  240. --save shoulders
  241. RSH, LSH=nil, nil
  242. --welds
  243. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  244. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  245. LH=Torso["Left Hip"]
  246. RH=Torso["Right Hip"]
  247. TorsoColor=Torso.BrickColor
  248. function NoOutline(Part)
  249. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  250. end
  251.  
  252.  
  253.  
  254. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  255. local fp=it("Part")
  256. fp.formFactor=formfactor
  257. fp.Parent=parent
  258. fp.Reflectance=reflectance
  259. fp.Transparency=transparency
  260. fp.CanCollide=false
  261. fp.Locked=true
  262. fp.BrickColor=brickcolor
  263. fp.Name=name
  264. fp.Size=size
  265. fp.Position=Torso.Position
  266. NoOutline(fp)
  267. fp.Material="SmoothPlastic"
  268. fp:BreakJoints()
  269. return fp
  270. end
  271.  
  272. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  273. local mesh=it(Mesh)
  274. mesh.Parent=part
  275. if Mesh=="SpecialMesh" then
  276. mesh.MeshType=meshtype
  277. if meshid~="nil" then
  278. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  279. end
  280. end
  281. mesh.Offset=offset
  282. mesh.Scale=scale
  283. return mesh
  284. end
  285.  
  286. function weld(parent,part0,part1,c0)
  287. local weld=it("Weld")
  288. weld.Parent=parent
  289. weld.Part0=part0
  290. weld.Part1=part1
  291. weld.C0=c0
  292. return weld
  293. end
  294.  
  295. local Color1=Torso.BrickColor
  296.  
  297.  
  298.  
  299.  
  300.  
  301. Player=game:GetService('Players').LocalPlayer
  302. Character=Player.Character
  303. Mouse=Player:GetMouse()
  304. m=Instance.new('Model',Character)
  305.  
  306.  
  307. local function weldBetween(a, b)
  308. local weldd = Instance.new("ManualWeld")
  309. weldd.Part0 = a
  310. weldd.Part1 = b
  311. weldd.C0 = CFrame.new()
  312. weldd.C1 = b.CFrame:inverse() * a.CFrame
  313. weldd.Parent = a
  314. return weldd
  315. end
  316.  
  317. it=Instance.new
  318.  
  319. function nooutline(part)
  320. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  321. end
  322.  
  323. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  324. local fp=it("Part")
  325. fp.formFactor=formfactor
  326. fp.Parent=parent
  327. fp.Reflectance=reflectance
  328. fp.Transparency=transparency
  329. fp.CanCollide=false
  330. fp.Locked=true
  331. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  332. fp.Name=name
  333. fp.Size=size
  334. fp.Position=Character.Torso.Position
  335. nooutline(fp)
  336. fp.Material=material
  337. fp:BreakJoints()
  338. return fp
  339. end
  340.  
  341. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  342. local mesh=it(Mesh)
  343. mesh.Parent=part
  344. if Mesh=="SpecialMesh" then
  345. mesh.MeshType=meshtype
  346. mesh.MeshId=meshid
  347. end
  348. mesh.Offset=offset
  349. mesh.Scale=scale
  350. return mesh
  351. end
  352.  
  353. function weld(parent,part0,part1,c0,c1)
  354. local weld=it("Weld")
  355. weld.Parent=parent
  356. weld.Part0=part0
  357. weld.Part1=part1
  358. weld.C0=c0
  359. weld.C1=c1
  360. return weld
  361. end
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371. --------------------------------
  372. local p = game.Players.LocalPlayer
  373. local char = p.Character
  374. local mouse = p:GetMouse()
  375. local larm = char["Left Arm"]
  376. local rarm = char["Right Arm"]
  377. local lleg = char["Left Leg"]
  378. local rleg = char["Right Leg"]
  379. local hed = char.Head
  380. local torso = char.Torso
  381. local hum = char.Humanoid
  382. local cam = game.Workspace.CurrentCamera
  383. local root = char.HumanoidRootPart
  384. local deb = false
  385. local shot = 0
  386. local debris=game:service"Debris"
  387. local l = game:GetService("Lighting")
  388. local rs = game:GetService("RunService").RenderStepped
  389. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  390. math.randomseed(os.time())
  391. for i,v in pairs(char:children()) do
  392. if v:IsA("Hat") then
  393. v:Destroy()
  394. end
  395. end
  396. for i,v in pairs (hed:GetChildren()) do
  397. if v:IsA("Sound") then
  398. v:Destroy()
  399. end
  400. end
  401. ----------------------------------------------------
  402. z = Instance.new("Sound", torso)
  403. z.SoundId = "rbxassetid://304235605" -- Put Music ID Here.
  404. z.Looped = true
  405. z.Volume = 10
  406. wait(.1)
  407. z:Play()
  408. -----------------------------------------------------
  409. Debounces = {
  410. CanAttack = true;
  411. NoIdl = false;
  412. Slashing = false;
  413. Slashed = false;
  414. RPunch = false;
  415. RPunched = false;
  416. LPunch = false;
  417. LPunched = false;
  418. }
  419. local Touche = {char.Name, }
  420. ----------------------------------------------------
  421. ----------------------------------------------------
  422. ----------------------------------------------------
  423. local LocalPlayer = game:GetService("Players").LocalPlayer
  424. local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:wait()
  425.  
  426. ------------------------------------------------------
  427. local sw = Instance.new("Part",torso)
  428. sw.CanCollide = false
  429. sw.BrickColor = BrickColor.new("Really Black")
  430.  
  431. local m = Instance.new("SpecialMesh",sw)
  432. m.MeshId = "rbxassetid://0"
  433. m.TextureId = "rbxassetid://0"
  434. m.Scale = Vector3.new(2.1,2.1,2.1)
  435. local w1 = Instance.new("Weld")
  436.  
  437. w1.Part1 = sw
  438. w1.Part0 = larm
  439. w1.Parent = char
  440. w1.C0 = CFrame.new(0,-0.7,-2.3) * CFrame.Angles(math.rad(180),0,-20),0.1
  441. --------------------------------------------------------
  442. local h = Instance.new("Trail",Character.Head)
  443. h.Name = "Cat"
  444. h.Color = ColorSequence.new(Color3.new(255,0,0),Color3.new(255,0,0))
  445. h.LightEmission = 0.6
  446. h.Transparency = NumberSequence.new(0.6,1)
  447. h.Lifetime = 0.5
  448. --------------------------------------------------------
  449. local hl = Instance.new("Trail",Character.Head)
  450. hl.Name = "Cat"
  451. hl.Color = ColorSequence.new(Color3.new(255,0,0),Color3.new(255,0,0))
  452. hl.LightEmission = 0.6
  453. hl.Transparency = NumberSequence.new(0.6,1)
  454. hl.Lifetime = 0.5
  455. --------------------------------------------------------
  456. local Link1 = Instance.new("Attachment",Character.Head)
  457. Link1.Name = "Trail1"
  458. ----------------------------------------------------------------------
  459. local Link2 = Instance.new("Attachment",Character.Head)
  460. Link2.Name = "Trail2"
  461. ----------------------------------------------------------------------
  462. local Link3 = Instance.new("Attachment",Character.Head)
  463. Link3.Name = "Trail3"
  464. ----------------------------------------------------------------------
  465. local Link4 = Instance.new("Attachment",Character.Head)
  466. Link4.Name = "Trail4"
  467. -----------------------------------------------------
  468. h.Attachment0 = Link1
  469. h.Attachment1 = Link2
  470. hl.Attachment0 = Link3
  471. hl.Attachment1 = Link4
  472. ----------------------------------------------------------------------
  473. Link1.Position = Vector3.new(0.15,0.20,-0.8)
  474. Link2.Position = Vector3.new(0.20,0.25,-0.8)
  475. Link3.Position = Vector3.new(-0.15,0.20,-0.8)
  476. Link4.Position = Vector3.new(-0.20,0.25,-0.8)
  477. ----------------------------------------------------------------------
  478. local LocalPlayer = game:GetService("Players").LocalPlayer
  479. local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:wait()
  480.  
  481. ----------------------------------------
  482. local p = game.Players.LocalPlayer
  483. local char = p.Character
  484. local mouse = p:GetMouse()
  485. local larm = char["Left Arm"]
  486. local rarm = char["Right Arm"]
  487. local lleg = char["Left Leg"]
  488. local rleg = char["Right Leg"]
  489. local hed = char.Head
  490. local torso = char.Torso
  491. local hum = char.Humanoid
  492. local cam = game.Workspace.CurrentCamera
  493. local root = char.HumanoidRootPart
  494. local rj = root.RootJoint
  495. local deb = false
  496. local shot = 0
  497. local stanceToggle = "Idle1"
  498. local l = game:GetService("Lighting")
  499. local rs = game:GetService("RunService").RenderStepped
  500. local hb = game:GetService("RunService").Heartbeat
  501. local Stepped = game:GetService("RunService").Stepped
  502. math.randomseed(os.time())
  503. ----------------------------------------------------
  504. fat = Instance.new("BindableEvent",script)
  505. fat.Name = "Heartbeat"
  506.  
  507. script:WaitForChild("Heartbeat")
  508.  
  509. frame = 1/30
  510. tf = 0
  511. 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.
  512. tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
  513. lastframe = tick()
  514. script.Heartbeat:Fire() --ayy lmao
  515.  
  516. game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
  517. tf = tf + s
  518. if tf >= frame then
  519. if allowframeloss then
  520. script.Heartbeat:Fire()
  521. lastframe=tick()
  522. else
  523. --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
  524. for i=1, math.floor(tf/frame) do
  525. script.Heartbeat:Fire()
  526. end
  527. lastframe=tick()
  528. end
  529. if tossremainder then
  530. tf = 0
  531. else
  532. tf = tf - frame * math.floor(tf/frame)
  533. end
  534. end
  535. end)
  536. ----------------------------------------------------
  537. for i,v in pairs(char:children()) do
  538. if v:IsA("Hat") then
  539. v:Destroy()
  540. end
  541. end
  542. for i,v in pairs (hed:GetChildren()) do
  543. if v:IsA("Sound") then
  544. v:Destroy()
  545. end
  546. end
  547. ----------------------------------------------------
  548. Debounces = {
  549. CanAttack = true;
  550. CanJoke = true;
  551. NoIdl = false;
  552. Slashing = false;
  553. Slashed = false;
  554. ks = false;
  555. }
  556. ----------------------------------------------------
  557. function weld5(part0, part1, c0, c1)
  558. weeld=Instance.new("Weld", part0)
  559. weeld.Part0=part0
  560. weeld.Part1=part1
  561. weeld.C0=c0
  562. weeld.C1=c1
  563. return weeld
  564. end
  565. ----------------------------------------------------
  566. function NewPart(prnt,siz,cf,trans,anc,mat,col)
  567. local prt=Instance.new("Part")
  568. prt.Parent=prnt
  569. prt.Name="Part"
  570. prt.Size=siz
  571. prt.CanCollide=false
  572. prt.Anchored=anc
  573. prt.Locked=true
  574. prt.Transparency = trans
  575. prt.TopSurface=10
  576. prt.BottomSurface=10
  577. prt.FrontSurface=10
  578. prt.BackSurface=10
  579. prt.LeftSurface=10
  580. prt.RightSurface=10
  581. prt:BreakJoints()
  582. prt.CFrame=cf or CFrame.new(30,10,30)
  583. prt.Material=mat
  584. prt.BrickColor=BrickColor.new(col)
  585. m=Instance.new("SpecialMesh",prt)
  586. m.MeshType=6
  587. return prt
  588. end
  589. ----------------------------------------------------
  590. function lerp(a, b, t) -- Linear interpolation
  591. return a + (b - a)*t
  592. end
  593.  
  594. function slerp(a, b, t) --Spherical interpolation
  595. dot = a:Dot(b)
  596. if dot > 0.99999 or dot < -0.99999 then
  597. return t <= 0.5 and a or b
  598. else
  599. r = math.acos(dot)
  600. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  601. end
  602. end
  603.  
  604. function matrixInterpolate(a, b, t)
  605. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  606. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  607. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  608. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  609. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  610. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  611. local t = v1:Dot(v2)
  612. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  613. return CFrame.new()
  614. end
  615. return CFrame.new(
  616. v0.x, v0.y, v0.z,
  617. v1.x, v1.y, v1.z,
  618. v2.x, v2.y, v2.z,
  619. v3.x, v3.y, v3.z)
  620. end
  621. ----------------------------------------------------
  622. function genWeld(a,b)
  623. local w = Instance.new("Weld",a)
  624. w.Part0 = a
  625. w.Part1 = b
  626. return w
  627. end
  628. function weld(a, b)
  629. local weld = Instance.new("Weld")
  630. weld.Name = "W"
  631. weld.Part0 = a
  632. weld.Part1 = b
  633. weld.C0 = a.CFrame:inverse() * b.CFrame
  634. weld.Parent = a
  635. return weld;
  636. end
  637. ----------------------------------------------------
  638. function Lerp(c1,c2,al)
  639. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  640. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  641. for i,v in pairs(com1) do
  642. com1[i] = v+(com2[i]-v)*al
  643. end
  644. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  645. end
  646. ----------------------------------------------------
  647. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  648. local wld = Instance.new("Weld", wp1)
  649. wld.Part0 = wp0
  650. wld.Part1 = wp1
  651. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  652. end
  653. ----------------------------------------------------
  654. newWeld(torso, larm, -1.5, 0.5, 0)
  655. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  656. newWeld(torso, rarm, 1.5, 0.5, 0)
  657. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  658. newWeld(torso, hed, 0, 1.5, 0)
  659. newWeld(torso, lleg, -0.5, -1, 0)
  660. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  661. newWeld(torso, rleg, 0.5, -1, 0)
  662. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  663. newWeld(root, torso, 0, -1, 0)
  664. torso.Weld.C1 = CFrame.new(0, -1, 0)
  665. ----------------------------------------------------
  666. z = Instance.new("Sound",char) --Smile: print(".-.")
  667. z.SoundId = "rbxassetid://0"--410761150, 411368002
  668. z.Looped = true
  669. z.Pitch = 1
  670. z.Volume = 1
  671. wait(0.1)
  672. z:Play()
  673. ----------------------------------------------------
  674. New = function(Object, Parent, Name, Data)
  675. local Object = Instance.new(Object)
  676. for Index, Value in pairs(Data or {}) do
  677. Object[Index] = Value
  678. end
  679. Object.Parent = Parent
  680. Object.Name = Name
  681. return Object
  682. end
  683. ----------------------------------------------------
  684. --Left Arm
  685. m = Instance.new("Model")
  686. m.Name = "LeftArm"
  687.  
  688. p4 = Instance.new("Part", m)
  689. p4.BrickColor = BrickColor.new("Really black")
  690. p4.Material = Enum.Material.SmoothPlastic
  691. p4.Name = "LeftArmPlate"
  692. p4.Size = Vector3.new(1, 2, 1)
  693. p4.Transparency = 1
  694. p4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  695. p4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  696. p4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  697. p4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  698. p4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  699. p4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  700. b4 = Instance.new("SpecialMesh", p4)
  701. b4.MeshType = Enum.MeshType.Brick
  702. b4.Name = "Mesh"
  703. b4.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
  704.  
  705.  
  706.  
  707.  
  708.  
  709. w1 = Instance.new("Weld", p4)
  710. w1.Name = "Part_Weld"
  711. w1.Part0 = p4
  712. w1.C0 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  713. w1.Part1 = p4
  714. w1.C1 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  715. w2 = Instance.new("Weld", p4)
  716. w2.Name = "Part_Weld"
  717. w2.Part0 = p4
  718. w2.C0 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  719. w2.Part1 = p4
  720. w2.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  721. w3 = Instance.new("Weld", p4)
  722. w3.Name = "LeftArmPlate_Weld"
  723. w3.Part0 = p4
  724. w3.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  725. w3.Part1 = p4
  726. w3.C1 = CFrame.new(1.5, -18.1000156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  727. w4 = Instance.new("Weld", p4)
  728. w4.Name = "Part_Weld"
  729. w4.Part0 = p4
  730. w4.C0 = CFrame.new(1.5, -18.1000156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  731. w4.Part1 = p4
  732. w4.C1 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  733. w5 = Instance.new("Weld", p4)
  734. w5.Name = "Part_Weld"
  735. w5.Part0 = p4
  736. w5.C0 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  737. w5.Part1 = p4
  738. w5.C1 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  739. w6 = Instance.new("Weld", p4)
  740. w6.Name = "Part_Weld"
  741. w6.Part0 = p4
  742. w6.C0 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  743. w6.Part1 = p7
  744. w6.C1 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  745. w7 = Instance.new("Weld", p7)
  746. w7.Name = "Part_Weld"
  747. w7.Part0 = p7
  748. w7.C0 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  749. w7.Part1 = p4
  750. w7.C1 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  751. w8 = Instance.new("Weld", p4)
  752. w8.Name = "Part_Weld"
  753. w8.Part0 = p4
  754. w8.C0 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  755. w8.Part1 = p4
  756. w8.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  757. w9 = Instance.new("Weld", p4)
  758. w9.Name = "Part_Weld"
  759. w9.Part0 = p4
  760. w9.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  761. w9.Part1 = p4
  762. w9.C1 = CFrame.new(1.5, -18.950016, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  763. w10 = Instance.new("Weld", p4)
  764. w10.Name = "Part_Weld"
  765. w10.Part0 = p4
  766. w10.C0 = CFrame.new(1.5, -18.950016, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  767. w10.Part1 = p4
  768. w10.C1 = CFrame.new(1.5, -18.6500149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  769. w11 = Instance.new("Weld", p4)
  770. w11.Name = "Part_Weld"
  771. w11.Part0 = p4
  772. w11.C0 = CFrame.new(1.5, -18.6500149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  773. w11.Part1 = p4
  774. w11.C1 = CFrame.new(1.5, -18.3500156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  775. w12 = Instance.new("Weld", p4)
  776. w12.Name = "Part_Weld"
  777. w12.Part0 = p4
  778. w12.C0 = CFrame.new(1.5, -18.3500156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  779. w12.Part1 = p4
  780. w12.C1 = CFrame.new(1.5, -18.0500126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  781. w13 = Instance.new("Weld", p4)
  782. w13.Name = "Part_Weld"
  783. w13.Part0 = p4
  784. w13.C0 = CFrame.new(1.5, -18.0500126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  785. w13.Part1 = p4
  786. w13.C1 = CFrame.new(1.5, -17.7500172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  787. w14 = Instance.new("Weld", p4)
  788. w14.Name = "Part_Weld"
  789. w14.Part0 = p4
  790. w14.C0 = CFrame.new(1.5, -17.7500172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  791. w14.Part1 = p4
  792. w14.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  793. w15 = Instance.new("Weld", p4)
  794. w15.Name = "Part_Weld"
  795. w15.Part0 = p4
  796. w15.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  797. w15.Part1 = p16
  798. 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)
  799.  
  800. m.Parent = larm
  801. m:MakeJoints()
  802. ----------------------------------------------------
  803. local cor = Instance.new("Part", larm.LeftArm)
  804. cor.Name = "Thingy"
  805. cor.Locked = true
  806. cor.BottomSurface = 0
  807. cor.CanCollide = false
  808. cor.Size = Vector3.new(1, 1, 1)
  809. cor.Transparency = 1
  810. cor.TopSurface = 0
  811. corw = Instance.new("Weld", cor)
  812. corw.Part0 = larm
  813. corw.Part1 = cor
  814. corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  815. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  816. weld1 = Instance.new("Weld", larm.LeftArm)
  817. weld1.Part0 = cor
  818. weld1.Part1 = larm.LeftArm.LeftArmPlate
  819. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  820. --Right Arm
  821. m2 = Instance.new("Model")
  822. m2.Name = "RightArm"
  823.  
  824. p7 = Instance.new("Part", m2)
  825. p7.BrickColor = BrickColor.new("Really Black")
  826. p7.Material = Enum.Material.SmoothPlastic
  827. p7.Transparency = 1
  828. p7.Name = "RightArmPlate"
  829. p7.CFrame = CFrame.new(3.5, -9.54201603, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  830. p7.FormFactor = Enum.FormFactor.Symmetric
  831. p7.Size = Vector3.new(1, 2, 1)
  832. p7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  833. p7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  834. p7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  835. p7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  836. p7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  837. p7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  838. b7 = Instance.new("SpecialMesh", p7)
  839. b7.MeshType = Enum.MeshType.Brick
  840. b7.Name = "Mesh"
  841. b7.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
  842.  
  843.  
  844. w1 = Instance.new("Weld", p4)
  845. w1.Name = "Part_Weld"
  846. w1.Part0 = p4
  847. w1.C0 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  848. w1.Part1 = p4
  849. w1.C1 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  850. w2 = Instance.new("Weld", p4)
  851. w2.Name = "Part_Weld"
  852. w2.Part0 = p4
  853. w2.C0 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  854. w2.Part1 = p4
  855. w2.C1 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  856. w3 = Instance.new("Weld", p4)
  857. w3.Name = "Part_Weld"
  858. w3.Part0 = p4
  859. w3.C0 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  860. w3.Part1 = p4
  861. w3.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  862. w4 = Instance.new("Weld", p4)
  863. w4.Name = "Part_Weld"
  864. w4.Part0 = p4
  865. w4.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  866. w4.Part1 = p4
  867. w4.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  868. w5 = Instance.new("Weld", p4)
  869. w5.Name = "Part_Weld"
  870. w5.Part0 = p4
  871. w5.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  872. w5.Part1 = p4
  873. w5.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  874. w6 = Instance.new("Weld", p4)
  875. w6.Name = "RightArmPlate_Weld"
  876. w6.Part0 = p4
  877. w6.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  878. w6.Part1 = p7
  879. w6.C1 = CFrame.new(-3.5, -4.10001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  880. w7 = Instance.new("Weld", p7)
  881. w7.Name = "Part_Weld"
  882. w7.Part0 = p7
  883. w7.C0 = CFrame.new(-3.5, -4.10001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  884. w7.Part1 = p4
  885. w7.C1 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  886. w8 = Instance.new("Weld", p4)
  887. w8.Name = "Part_Weld"
  888. w8.Part0 = p4
  889. w8.C0 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  890. w8.Part1 = p4
  891. w8.C1 = CFrame.new(-3.5, -4.95002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  892. w9 = Instance.new("Weld", p4)
  893. w9.Name = "Part_Weld"
  894. w9.Part0 = p4
  895. w9.C0 = CFrame.new(-3.5, -4.95002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  896. w9.Part1 = p4
  897. w9.C1 = CFrame.new(-3.5, -4.65001678, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  898. w10 = Instance.new("Weld", p4)
  899. w10.Name = "Part_Weld"
  900. w10.Part0 = p4
  901. w10.C0 = CFrame.new(-3.5, -4.65001678, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  902. w10.Part1 = p4
  903. w10.C1 = CFrame.new(-3.5, -4.35001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  904. w11 = Instance.new("Weld", p4)
  905. w11.Name = "Part_Weld"
  906. w11.Part0 = p4
  907. w11.C0 = CFrame.new(-3.5, -4.35001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  908. w11.Part1 = p4
  909. w11.C1 = CFrame.new(-3.5, -4.05001783, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  910. w12 = Instance.new("Weld", p4)
  911. w12.Name = "Part_Weld"
  912. w12.Part0 = p4
  913. w12.C0 = CFrame.new(-3.5, -4.05001783, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  914. w12.Part1 = p4
  915. w12.C1 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  916. w13 = Instance.new("Weld", p4)
  917. w13.Name = "Part_Weld"
  918. w13.Part0 = p4
  919. w13.C0 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  920. w13.Part1 = p4
  921. w13.C1 = CFrame.new(-3.5, -3.75002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  922. w14 = Instance.new("Weld", p4)
  923. w14.Name = "Part_Weld"
  924. w14.Part0 = p4
  925. w14.C0 = CFrame.new(-3.5, -3.75002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  926. w14.Part1 = p4
  927. w14.C1 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  928. w15 = Instance.new("Weld", p4)
  929. w15.Name = "Part_Weld"
  930. w15.Part0 = p4
  931. w15.C0 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  932. w15.Part1 = p16
  933. w15.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  934. w16 = Instance.new("Weld", p16)
  935. w16.Name = "Part_Weld"
  936. w16.Part0 = p16
  937. w16.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  938. w16.Part1 = p4
  939. w16.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  940. w17 = Instance.new("Weld", p4)
  941. w17.Name = "Part_Weld"
  942. w17.Part0 = p4
  943. w17.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  944. w17.Part1 = p4
  945. w17.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  946. w18 = Instance.new("Weld", p4)
  947. w18.Name = "Part_Weld"
  948. w18.Part0 = p4
  949. w18.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  950. w18.Part1 = p4
  951. w18.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  952. m2.Parent = rarm
  953. m2:MakeJoints()
  954. ----------------------------------------------------
  955. local cor2 = Instance.new("Part", rarm.RightArm)
  956. cor2.Name = "Thingy"
  957. cor2.Locked = true
  958. cor2.BottomSurface = 0
  959. cor2.CanCollide = false
  960. cor2.Size = Vector3.new(1, 1, 1)
  961. cor2.Transparency = 1
  962. cor2.TopSurface = 0
  963. corw2 = Instance.new("Weld", cor2)
  964. corw2.Part0 = rarm
  965. corw2.Part1 = cor2
  966. corw2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  967. corw2.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  968. weld2 = Instance.new("Weld", rarm.RightArm)
  969. weld2.Part0 = cor2
  970. weld2.Part1 = rarm.RightArm.RightArmPlate
  971. weld2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  972.  
  973.  
  974. --Zyrodoxa
  975. m8 = Instance.new("Model")
  976. m8.Name = "Zyrodoxa"
  977.  
  978. p16 = Instance.new("Part", m8)
  979. p16.BrickColor = BrickColor.new("Really Black")
  980. p16.Material = Enum.Material.Metal
  981. p16.Name = "Handle"
  982. 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)
  983. p16.CanCollide = false
  984. p16.Locked = true
  985. p16.FormFactor = Enum.FormFactor.Custom
  986. p16.Size = Vector3.new(0, 0, 0)
  987. p16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  988. p16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  989. p16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  990. p16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  991. p16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  992. p16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  993. b16 = Instance.new("BlockMesh", p16)
  994. b16.Name = "Mesh"
  995. b16.Scale = Vector3.new(0, 0, 0)
  996.  
  997. w16 = Instance.new("Weld", p16)
  998. w16.Name = "Block_Weld"
  999. w16.Part0 = p16
  1000. 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)
  1001. w16.Part1 = p17
  1002. 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)
  1003.  
  1004. m8.Parent = rarm
  1005. m8:MakeJoints()
  1006. ----------------------------------------------------
  1007. local cor8 = Instance.new("Part", rarm.Zyrodoxa)
  1008. cor8.Name = "Thingy"
  1009. cor8.Locked = true
  1010. cor8.BottomSurface = 0
  1011. cor8.CanCollide = false
  1012. cor8.Size = Vector3.new(1, 1, 1)
  1013. cor8.Transparency = 1
  1014. cor8.TopSurface = 0
  1015. corw8 = Instance.new("Weld", cor8)
  1016. corw8.Part0 = rarm
  1017. corw8.Part1 = cor8
  1018. corw8.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180))
  1019. corw8.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1020. weld8 = Instance.new("Weld", rarm.Zyrodoxa)
  1021. weld8.Part0 = cor8
  1022. weld8.Part1 = rarm.Zyrodoxa.Handle
  1023. weld8.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1024. ----------------------------------------------------
  1025. models = {m,m2,m8}
  1026. parts = {}
  1027. Stepped:connect(function()
  1028. for i,v in pairs(models) do
  1029. for _, a in pairs(v:GetChildren()) do
  1030. if v:IsA("Part") and v.Name ~= "Thingy" then
  1031. table.insert(parts, a)
  1032. for i,v in pairs(parts) do
  1033. v.CanCollide = false
  1034. end
  1035. end
  1036. end
  1037. end
  1038. end)
  1039. ----------------------------------------------------
  1040. local animpose = "Idle1"
  1041. local lastanimpose = "Idle1"
  1042. local grab = false
  1043. local Smooth = 1
  1044. local sine = 0
  1045. local change = 1
  1046. local val = 0
  1047. local ffing = false
  1048. ----------------------------------------------------
  1049. --[[local hitbox = rarm.Zyrodoxa.Hitbox--Zyrodoxa is the name of the dagger k
  1050.  
  1051. function FindHumanoids()
  1052. local function c_region(Position, Size)
  1053. local SizeOffset = Size/2
  1054. local Point1 = Position - SizeOffset
  1055. local Point2 = Position + SizeOffset
  1056. local a = Instance.new("Part", workspace)
  1057. a.Anchored = true
  1058. a.Size = Size
  1059. a.Position = Position
  1060. print("Hey!, I'm making a part!")
  1061. return Region3.new(Point1, Point2)
  1062. end
  1063.  
  1064. local a = c_region((hitbox.CFrame * CFrame.new(0, -1.285, 0)), Vector3.new(0.22, 0.6425, 1.22))
  1065. local b = c_region((hitbox.CFrame * CFrame.new(0, -0.6425, 0)), Vector3.new(0.22, 0.6425, 1.22))
  1066. local c = c_region((hitbox.CFrame * CFrame.new(0, 0.6425, 0)), Vector3.new(0.22, 0.6425, 1.22))
  1067. local d = c_region((hitbox.CFrame * CFrame.new(0, 1.285, 0)), Vector3.new(0.22, 0.6425, 1.22))
  1068.  
  1069. local regions = {a, b, c, d}
  1070.  
  1071. local found_humanoids = {}
  1072. local already_found = {char.Name}
  1073.  
  1074. for _, region in pairs(regions) do
  1075. for _, part in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(region, rarm.Zyrodoxa:GetChildren(), 100)) do
  1076. print(part, part.Parent, part.Name) ---nope
  1077. if part.Parent:FindFirstChild("Humanoid") ~= nil and part.Parent.ClassName == "Model" and not part:isDescendantOf(char) then
  1078. local humanoid = part.Parent:FindFirstChild("Humanoid")
  1079. local name = humanoid.Parent.Name
  1080. local exists = false
  1081. for _, n in pairs(already_found) do
  1082. if n == name then
  1083. exists = true
  1084. end
  1085. end
  1086. if not exists then
  1087. table.insert(already_found, name)
  1088. table.insert(found_humanoids, humanoid)
  1089. end
  1090. elseif part.Parent.Parent:FindFirstChild("Humanoid") ~= nil and part.Parent.Parent.ClassName == "Model" and not part:isDescendantOf(char) then
  1091. local humanoid = part.Parent.Parent:FindFirstChild("Humanoid")
  1092. local name = humanoid.Parent.Parent.Name
  1093. local exists = false
  1094. for _, n in pairs(already_found) do
  1095. if n == name then
  1096. exists = true
  1097. end
  1098. end
  1099. if not exists then
  1100. table.insert(already_found, name)
  1101. table.insert(found_humanoids, humanoid)
  1102. end
  1103. end
  1104. end
  1105. end
  1106. return found_humanoids
  1107. end
  1108.  
  1109. local humanoids = FindHumanoids()
  1110. if #humanoids == 0 then
  1111. for i, v in pairs(humanoids) do
  1112. print(v.Parent.Name)
  1113. if Debounces.Slashing == true then
  1114. v:TakeDamage(math.random(10,20) * math.random(1,3)) --max 60 damage?
  1115. elseif Debounces.Slashing == false then
  1116. wait()
  1117. end
  1118. end
  1119. wait(0.3)
  1120. end]]--
  1121. ----------------------------------------------------
  1122. --[[mouse.KeyDown:connect(function(key)
  1123. if key == "f" then
  1124. if Debounces.CanAttack == true then
  1125. Debounces.CanAttack = false
  1126. Debounces.NoIdl = true
  1127. Debounces.on = true
  1128. for i = 1, 20 do
  1129. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1.05, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1130. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1131. CR.Joint.C1 = Lerp(CR.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(-4),0,0),0.1)
  1132. CR2.Joint.C1 = Lerp(CR2.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1133. CR3.Joint.C1 = Lerp(CR3.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1134. CR4.Joint.C1 = Lerp(CR4.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1135. CR5.Joint.C1 = Lerp(CR5.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1136. 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)
  1137. 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)
  1138. 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)
  1139. 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)
  1140. 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)
  1141. 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)
  1142. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-6), math.rad(0), 0), 0.1)
  1143. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20), 0), 0.1)
  1144. 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)
  1145. 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)
  1146. 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)
  1147. 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)
  1148. if Debounces.on == false then
  1149. break
  1150. end
  1151. fat.Event:wait()
  1152. end
  1153. end
  1154. end
  1155. end)]]--
  1156. ----------------------------------------------------
  1157. mod4 = Instance.new("Model",char)
  1158.  
  1159. ptez = {0.7, 0.8, 0.9, 1}
  1160.  
  1161. function FindNearestTorso(Position,Distance,SinglePlayer)
  1162. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1163. local List = {}
  1164. for i,v in pairs(workspace:GetChildren())do
  1165. if v:IsA("Model")then
  1166. if v:findFirstChild("Torso")then
  1167. if v ~= char then
  1168. if(v.Torso.Position -Position).magnitude <= Distance then
  1169. table.insert(List,v)
  1170. end
  1171. end
  1172. end
  1173. end
  1174. end
  1175. return List
  1176. end
  1177.  
  1178. function Slam()
  1179. local part=Instance.new('Part',mod4)
  1180. part.Anchored=true
  1181. part.CanCollide=false
  1182. part.FormFactor='Custom'
  1183. part.Size=Vector3.new(.2,.2,.2)
  1184. part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0)
  1185. part.Transparency=.7
  1186. part.BrickColor=BrickColor.new('Really black')
  1187. mesh=Instance.new('SpecialMesh',part)
  1188. mesh.MeshId='http://www.roblox.com/asset/?id=0'
  1189. mesh.Scale=Vector3.new(10,10,10)
  1190. local part2=Instance.new('Part',mod4)
  1191. part2.Anchored=true
  1192. part2.CanCollide=false
  1193. part2.FormFactor='Custom'
  1194. part2.Size=Vector3.new(.2,.2,.2)
  1195. part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6)
  1196. part2.Transparency=.7
  1197. part2.BrickColor=BrickColor.new('Really Black')
  1198. mesh2=Instance.new('SpecialMesh',part2)
  1199. mesh2.MeshId='http://www.roblox.com/asset/?id=0'
  1200. mesh2.Scale=Vector3.new(9,1.5,9)
  1201. x = Instance.new("Sound",larm)
  1202. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  1203. x.Pitch = ptez[math.random(1,#ptez)]
  1204. x.Volume = 1
  1205. wait(.1)
  1206. x1 = Instance.new("Sound",larm)
  1207. x1.SoundId = "http://www.roblox.com/asset/?id=206082327"
  1208. x1.Pitch = ptez[math.random(1,#ptez)]
  1209. x1.Volume = 1
  1210. wait(.1)
  1211. x:Play()
  1212. x1:Play()
  1213. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  1214. if v:FindFirstChild('Humanoid') then
  1215. v.Humanoid:TakeDamage(math.random(30,45))
  1216. end
  1217. end
  1218. coroutine.resume(coroutine.create(function()
  1219. for i=0,0.62,0.13 do
  1220. wait()
  1221. part.CFrame=part.CFrame
  1222. part.Transparency=i
  1223. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  1224. part2.CFrame=part2.CFrame
  1225. part2.Transparency=i
  1226. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  1227. end
  1228. part.Parent=nil
  1229. part2.Parent=nil
  1230. x:Destroy()
  1231. end))
  1232. end
  1233. ----------------------------------------------------
  1234. wPart = function(x,y,z,color,tr,cc,an,parent)
  1235. local wp = Instance.new('WedgePart',parent or Weapon)
  1236. wp.formFactor = 'Custom'
  1237. wp.Size = Vector3.new(x,y,z)
  1238. wp.BrickColor = BrickColor.new(color)
  1239. wp.CanCollide = cc
  1240. wp.Transparency = tr
  1241. wp.Anchored = an
  1242. wp.TopSurface,wp.BottomSurface = 0,0
  1243. return wp
  1244. end
  1245.  
  1246. Mesh = function(par,num,x,y,z)
  1247. local msh = _
  1248. if num == 1 then
  1249. msh = Instance.new("CylinderMesh",par)
  1250. elseif num == 2 then
  1251. msh = Instance.new("SpecialMesh",par)
  1252. msh.MeshType = 3
  1253. elseif num == 3 then
  1254. msh = Instance.new("BlockMesh",par)
  1255. elseif num == 4 then
  1256. msh = Instance.new("SpecialMesh",par)
  1257. msh.MeshType = "Torso"
  1258. elseif type(num) == 'string' then
  1259. msh = Instance.new("SpecialMesh",par)
  1260. msh.MeshId = num
  1261. end
  1262. msh.Scale = Vector3.new(x,y,z)
  1263. return msh
  1264. end
  1265.  
  1266. local function CFrameFromTopBack(at, top, back)
  1267. local right = top:Cross(back)
  1268. return CFrame.new(at.x, at.y, at.z,
  1269. right.x, top.x, back.x,
  1270. right.y, top.y, back.y,
  1271. right.z, top.z, back.z)
  1272. end
  1273.  
  1274. function Triangle(a, b, c)
  1275. local edg1 = (c-a):Dot((b-a).unit)
  1276. local edg2 = (a-b):Dot((c-b).unit)
  1277. local edg3 = (b-c):Dot((a-c).unit)
  1278. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1279. a, b, c = a, b, c
  1280. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1281. a, b, c = b, c, a
  1282. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1283. a, b, c = c, a, b
  1284. else
  1285. print("unreachable")
  1286. end
  1287. local len1 = (c-a):Dot((b-a).unit)
  1288. local len2 = (b-a).magnitude - len1
  1289. local width = (a + (b-a).unit*len1 - c).magnitude
  1290. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1291. local list = {}
  1292. if len1 > 0.01 then
  1293. local w1 = wPart(0,0,0,'Institutional white',0.5,false,true,char)
  1294. local sz = Vector3.new(0.2, width, len1)
  1295. w1.Size = sz
  1296. local sp = Mesh(w1,2,0,0,0)
  1297. sp.MeshType='Wedge'
  1298. sp.Scale=Vector3.new(0,1,1)*sz/w1.Size
  1299. w1:BreakJoints()
  1300. w1.Anchored = true
  1301. w1.Transparency = 0.7
  1302. Spawn(function()
  1303. for i=0,1,0.1 do
  1304. fat.Event:wait()
  1305. w1.Transparency=w1.Transparency+0.03
  1306. end
  1307. end)
  1308. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1309. table.insert(list,w1)
  1310. end
  1311. if len2 > 0.01 then
  1312. local w2 = wPart(0,0,0,'Institutional white',0.5,false,true,char)
  1313. local sz = Vector3.new(0.2, width, len2)
  1314. w2.Size = sz
  1315. local sp = Mesh(w2,2,0,0,0)
  1316. sp.MeshType='Wedge'
  1317. sp.Scale=Vector3.new(0,1,1)*sz/w2.Size
  1318. w2:BreakJoints()
  1319. w2.Anchored = true
  1320. w2.Transparency = 0.7
  1321. Spawn(function()
  1322. for i=0,1,0.1 do
  1323. fat.Event:wait()
  1324. w2.Transparency=w2.Transparency+0.03
  1325. end
  1326. end)
  1327. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1328. table.insert(list,w2)
  1329. end
  1330. return unpack(list)
  1331. end
  1332.  
  1333. function trail(p,t,h)
  1334. Spawn(function()
  1335. local blcf = p.CFrame
  1336. local scfr = blcf
  1337. for i=1,t do
  1338. local blcf = p.CFrame
  1339. if scfr and (p.Position-scfr.p).magnitude > .1 then
  1340. 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)
  1341. if a then game.Debris:AddItem(a,1) end
  1342. if b then game.Debris:AddItem(b,1) end
  1343. 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)
  1344. if a then game.Debris:AddItem(a,1) end
  1345. if b then game.Debris:AddItem(b,1) end
  1346. scfr = blcf
  1347. elseif not scfr then
  1348. scfr = blcf
  1349. end
  1350. fat.Event:wait()
  1351. end
  1352. scfr=nil
  1353. end)
  1354. end
  1355. --trail(char.Sword.Blade,1e1000,5)
  1356. ----------------------------------------------------
  1357. function Dmg()
  1358. local partofdeath = rarm.Zyrodoxa.Hitbox
  1359. local function CreateRegion3FromLocAndSize(Position, Size)
  1360. local SizeOffset = Size/2
  1361. local Point1 = Position - SizeOffset
  1362. local Point2 = Position + SizeOffset
  1363. return Region3.new(Point1, Point2)
  1364. end
  1365. local reg = CreateRegion3FromLocAndSize(partofdeath.Position, partofdeath.Size)
  1366. for i, v in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(reg, char:GetChildren(), 100)) do
  1367. Spawn(function()
  1368. if Debounces.Slashing == true and Debounces.Slashed == false then
  1369. Debounces.Slashed = true
  1370. ypcall(function()
  1371. local humanoid = v.Parent:FindFirstChild("Humanoid") or v.Parent.Parent:FindFirstChild("Humanoid")
  1372. humanoid:TakeDamage(math.random(10,18))
  1373. end)
  1374. wait(.4)
  1375. Debounces.Slashed = false
  1376. end
  1377. end)
  1378. end
  1379. end
  1380. ----------------------------------------------------
  1381. pts = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  1382. ptz = {0.7, 0.8, 0.9, 1}
  1383. idz = {"161006212", "161006195"}
  1384. function attackone()
  1385. for i = 1, 13 do
  1386. 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)
  1387. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(20), math.rad(30), math.rad(0)), 0.8)
  1388. 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)
  1389. 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)
  1390. 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)
  1391. 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)
  1392. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(0),math.rad(-50),0), 0.5)
  1393. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.5)
  1394. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.7)
  1395. 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)
  1396. 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)
  1397. 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)
  1398. 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)
  1399. 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)
  1400. if Debounces.on == false then
  1401. break
  1402. end
  1403. fat.Event:wait()
  1404. end
  1405. trail(rarm.Zyrodoxa.Hitbox,20,2)
  1406. Debounces.Slashing = true
  1407. wait(0.2)
  1408. --[[z = Instance.new("Sound", hed)
  1409. z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
  1410. z.Pitch = ptz[math.random(1,#ptz)]
  1411. z.Volume = 1
  1412. wait(.01)
  1413. z:Play()]]--
  1414. for i = 1, 14 do
  1415. Dmg()
  1416. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0.2) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), 0.8)
  1417. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-40), math.rad(30), math.rad(0)), 0.8)
  1418. 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)
  1419. 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)
  1420. 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)
  1421. 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)
  1422. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(0),math.rad(40),0), 0.7)
  1423. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  1424. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -1) * CFrame.Angles(math.rad(-10), math.rad(-40), 0), 0.4)
  1425. 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)
  1426. 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)
  1427. 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)
  1428. 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)
  1429. 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)
  1430. if Debounces.on == false then break end
  1431. rs:wait()
  1432. end
  1433. Debounces.Slashing = false
  1434. end
  1435. function attacktwo()
  1436. Debounces.Slashing = true
  1437. for i = 1, 14 do
  1438. Dmg()
  1439. corw8.C0 = Lerp(corw8.C0, CFrame.new(-0.37, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), 0.4)
  1440. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)), 0.4)
  1441. 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)
  1442. 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)
  1443. 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)
  1444. 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)
  1445. 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)
  1446. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  1447. 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)
  1448. 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)
  1449. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.5)
  1450. 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)
  1451. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.5)
  1452. 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)
  1453. if Debounces.on == false then
  1454. break
  1455. end
  1456. rs:wait()
  1457. end
  1458. end
  1459. ----------------------------------------------------
  1460.  
  1461. ----------------------------------------------------
  1462. definition = 5
  1463. bc = {}
  1464. bezierparts = {}
  1465. function NoOutline(Part)
  1466. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1467. end
  1468. function draw(p,d)
  1469. for i=1,d do
  1470. local t = i/d
  1471. bc[i] = p[1]*(1-t)^2+2*p[2]*(1-t)*t+p[3]*t^2
  1472. end
  1473.  
  1474. Spawn(function() fat.Event:wait()
  1475. for i,v in pairs(bezierparts) do
  1476. v.Transparency = 1
  1477. end
  1478. end)
  1479. end
  1480. --local points = {larm.Position,rarn.Position,invisipart.Position}
  1481. --draw(points,definition)
  1482.  
  1483. fat.Event:wait()
  1484.  
  1485. rpart = Instance.new("Part",rarm)
  1486. NoOutline(rpart)
  1487. rpart.Anchored = false
  1488. rpart.Size = Vector3.new(1,1,1)
  1489. rpart.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  1490. rpart.Transparency = 1
  1491. newWeld(rarm, rpart, 0, 0, 0)
  1492. rpart.Weld.C1 = CFrame.new(0, 1.1, 0)
  1493. lpart = Instance.new("Part",larm)
  1494. NoOutline(lpart)
  1495. lpart.Anchored = false
  1496. lpart.Size = Vector3.new(1,1,1)
  1497. lpart.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  1498. lpart.Transparency = 1
  1499. newWeld(larm, lpart, 0, 0, 0)
  1500. lpart.Weld.C1 = CFrame.new(0, 1.1, 0)
  1501. invisipart = Instance.new("Part",torso)
  1502. NoOutline(invisipart)
  1503. invisipart.Anchored = false
  1504. invisipart.Size = Vector3.new(1,1,1)
  1505. invisipart.Transparency = 1
  1506. invisipart.CFrame = torso.CFrame
  1507. newWeld(torso, invisipart, 0, 0, 0)
  1508. invisipart.Weld.C1 = CFrame.new(0, 0, 6)
  1509. table.insert(bezierparts, rpart)
  1510. table.insert(bezierparts, lpart)
  1511. table.insert(bezierparts, invisipart)
  1512. for i = 1, 40 do
  1513. local points = {lpart.Position,invisipart.Position,rpart.Position}
  1514. draw(points,definition)
  1515. --invisipart.Weld.C1 = invisipart.Weld.C1 + Vector3.new(0,0,0.6)
  1516. 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)
  1517. 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)
  1518. 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)
  1519. 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)
  1520. 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)
  1521. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  1522. 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)
  1523. 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)
  1524. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(0), 0, math.rad(-10)), 0.2)
  1525. 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)
  1526. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(0), 0, math.rad(10)), 0.2)
  1527. 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)
  1528. if Debounces.on == false then
  1529. break
  1530. end
  1531. fat.Event:wait()
  1532. end
  1533. for i,v in pairs(bezierparts) do
  1534. v:Destroy()
  1535. end
  1536. --draw(points,definition)
  1537. if Debounces.CanAttack == false then
  1538. Debounces.CanAttack = true
  1539. Debounces.NoIdl = false
  1540. Debounces.on = false
  1541. end
  1542.  
  1543. ----------------------------------------------------
  1544. ----------------------------------------------------
  1545. pt = {6.6, 6.8, 7, 7.2, 7.4}
  1546. mouse.KeyDown:connect(function(key)
  1547. if key == "q" then
  1548. if Debounces.CanJoke == true then
  1549. Debounces.CanJoke = false
  1550. u = Instance.new("Sound",char)
  1551. u.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1552. u.Pitch = pt[math.random(1,#pt)]
  1553. u.Volume = 0.3
  1554. u2 = Instance.new("Sound",char)
  1555. u2.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1556. u2.Pitch = u.Pitch
  1557. u2.Volume = 0.3
  1558. u3 = Instance.new("Sound",char)
  1559. u3.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1560. u3.Pitch = u.Pitch
  1561. u3.Volume = 0.3
  1562. wait(.01)
  1563. u:Play()
  1564. u2:Play()
  1565. u3:Play()
  1566. wait(1.5)
  1567. u:Destroy()
  1568. u2:Destroy()
  1569. u3:Destroy()
  1570. if Debounces.CanJoke == false then
  1571. Debounces.CanJoke = true
  1572. end
  1573. end
  1574. end
  1575. end)
  1576. -----------------------------------------------------
  1577. mouse.KeyDown:connect(function(key)
  1578. if key == "l" then
  1579. Debounces.on = true
  1580. Debounces.NoIdl = true
  1581. Debounces.ks = true
  1582. for i = 1, 20 do
  1583. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(3.,0,0), 0.2)
  1584. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(0,0,0), 0.5)
  1585. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0,-0.5,0),0.2)
  1586. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(0,0,0), 0.5)
  1587. if Debounces.on == false then break end
  1588. fat.Event:wait()
  1589. end
  1590. handleweld:remove()
  1591. local Weld = Instance.new("Weld",handle)
  1592. Weld.Part0 = Character["Right Arm"]
  1593. Weld.Part1 = handle
  1594. Weld.C0 = CFrame.new(0,-1,-0.2)*CFrame.Angles(-1.55,1.55,0)
  1595. Debounces.on = false
  1596. Debounces.NoIdl = false
  1597. Debounces.ks = false
  1598. WOW:disconnect()
  1599. WOW2:disconnect()
  1600. WOW3:disconnect()
  1601. WOW4:disconnect()
  1602. mouse.Button1Down:connect(function()
  1603. print("IT WORKS LAZY")
  1604. end)
  1605. end
  1606. end)
  1607. ----------------------------------------------------
  1608. WOW = mouse.KeyDown:connect(function(key)
  1609. if key == "x" then
  1610. Character.Humanoid.WalkSpeed = 50
  1611. Debounces.on = true
  1612. Debounces.NoIdl = true
  1613. Debounces.ks = true
  1614. for i = 1, 20 do
  1615. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(2.5,0,1.3), 0.2)
  1616. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(0,0,0), 0.5)
  1617. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0,-1,0),0.2)
  1618. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(0,0,0), 0.5)
  1619. if Debounces.on == false then break end
  1620. fat.Event:wait()
  1621. end
  1622. local HitBox = Instance.new("Part",Character["Right Arm"])
  1623. HitBox.Size = Vector3.new(3,3,3)
  1624. HitBox.Transparency = 1
  1625. HitBox.CanCollide = false
  1626. local HitBox2 = Instance.new("Weld",HitBox)
  1627. HitBox2.Part0 = Character["Right Arm"]
  1628. HitBox2.Part1 = HitBox
  1629. HitBox2.C0 = CFrame.new(0,-1.1,0)
  1630. HitBox.Touched:connect(function(hit)
  1631. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil then
  1632. HitBox:remove()
  1633. hit.Parent.Head.Transparency = 1e9
  1634. local SFXZ = Instance.new("Sound",hit.Parent.Torso)
  1635. SFXZ.SoundId = "rbxassetid://206082273"
  1636. SFXZ.Volume = 1
  1637. SFXZ.Pitch = 1
  1638. SFXZ.Looped = false
  1639. wait(0.01)
  1640. SFXZ:Play()
  1641. local HitBox = Instance.new("Part",Character["Right Arm"])
  1642. HitBox.Transparency = 0
  1643. HitBox.Size = Vector3.new(1,1,1)
  1644. HitBox.BrickColor = hit.Parent.Head.BrickColor
  1645. HitBox.CanCollide = false
  1646. local HitBoxM = Instance.new("SpecialMesh",HitBox)
  1647. HitBoxM.MeshType = "Head"
  1648. HitBoxM.Scale = Vector3.new(1.25,1.25,1.25)
  1649. local HitBox2 = Instance.new("Weld",HitBox)
  1650. HitBox2.Part0 = Character["Right Arm"]
  1651. HitBox2.Part1 = HitBox
  1652. HitBox2.C0 = CFrame.new(0,-1.1,0)
  1653. local D = Instance.new("Decal",HitBox)
  1654. D.Face = "Front"
  1655. D.Texture = hit.Parent.Head.face.Texture
  1656. hit.Parent.Head.face:remove()
  1657. local partasdeff = Instance.new("ParticleEmitter",hit.Parent.Torso)
  1658. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1659. partasdeff.LightEmission = .1
  1660. partasdeff.Size = NumberSequence.new(0.2)
  1661. partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224"
  1662. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1663. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1664. partasdeff.Transparency = bbb
  1665. partasdeff.Size = aaa
  1666. partasdeff.ZOffset = .9
  1667. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  1668. partasdeff.LockedToPart = false
  1669. partasdeff.EmissionDirection = "Top"
  1670. partasdeff.Lifetime = NumberRange.new(1, 2)
  1671. partasdeff.Rate = 1000
  1672. partasdeff.Rotation = NumberRange.new(-100, 100)
  1673. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  1674. partasdeff.Speed = NumberRange.new(10)
  1675. partasdeff.VelocitySpread = 20
  1676. partasdeff.Enabled=true
  1677. hit.Parent.Head:remove()
  1678. wait(1)
  1679. for i = 1, 20 do
  1680. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(1.66,0,-1), 0.2)
  1681. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(0,0,0), 0.5)
  1682. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0,0,0),0.2)
  1683. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(0,0,0), 0.5)
  1684. if Debounces.on == false then break end
  1685. fat.Event:wait()
  1686. end
  1687. chatfunc("Yummy.")
  1688. for i = 1,14 do
  1689. HitBoxM.Scale = HitBoxM.Scale - Vector3.new(0.1,0.1,0.1)
  1690. game:GetService("RunService").RenderStepped:wait()
  1691. end
  1692. HitBox:remove()
  1693. wait(0.5)
  1694. partasdeff.Enabled = false
  1695. HitBox:remove()
  1696. Debounces.on = false
  1697. Debounces.NoIdl = false
  1698. Debounces.ks = false
  1699. Character.Humanoid.WalkSpeed = 50
  1700. local a = Instance.new("Part",game.Players.LocalPlayer.Character.Head)
  1701. a.Transparency = 1
  1702. a.Size = Vector3.new(.2,.2,.2)
  1703. local b = Instance.new("Weld",a.Parent.Parent)
  1704. b.Part0 = a
  1705. b.Part1 = a.Parent
  1706. b.C0 = CFrame.new(0,.3,0.65)
  1707. local p2mit = Instance.new("ParticleEmitter",a)
  1708. p2mit.Texture = "http://www.roblox.com/asset/?id=243132757"
  1709. p2mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(.6,0,0)),ColorSequenceKeypoint.new(1,Color3.new(.6,0,0))})
  1710. p2mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2),NumberSequenceKeypoint.new(1,.2)})
  1711. p2mit.Lifetime = NumberRange.new(1)
  1712. p2mit.Rate = 10
  1713. p2mit.VelocitySpread = 10
  1714. p2mit.Acceleration = Vector3.new(0,-10,0)
  1715. p2mit.Speed = NumberRange.new(0)
  1716. coroutine.wrap(function()
  1717. wait(15)
  1718. p2mit.Enabled=false
  1719. game:service'Debris':AddItem(a,2)
  1720. end)()
  1721. end
  1722. end)
  1723. for i = 1, 20 do
  1724. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(2.9,0,0), 0.2)
  1725. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(0,0,0), 0.5)
  1726. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0,1,0),0.2)
  1727. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(0,0,0), 0.5)
  1728. if Debounces.on == false then break end
  1729. fat.Event:wait()
  1730. end
  1731. wait(0.5)
  1732. HitBox:remove()
  1733. wait(3)
  1734. Debounces.on = false
  1735. Debounces.NoIdl = false
  1736. Debounces.ks = false
  1737. Character.Humanoid.WalkSpeed = 50
  1738. end
  1739. end)
  1740. ----------------------------------------------------
  1741. WOW2 = mouse.KeyDown:connect(function(key)
  1742. if key == "z" then
  1743. Character.Humanoid.WalkSpeed = 50
  1744. Debounces.on = true
  1745. Debounces.NoIdl = true
  1746. Debounces.ks = true
  1747. for i = 1, 20 do
  1748. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(2.5,0,1.3), 0.2)
  1749. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(0,0,0), 0.5)
  1750. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0,-1,0),0.2)
  1751. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(0,0,0), 0.5)
  1752. if Debounces.on == false then break end
  1753. fat.Event:wait()
  1754. end
  1755. local HitBox = Instance.new("Part",Character["Right Arm"])
  1756. HitBox.Size = Vector3.new(3,3,3)
  1757. HitBox.Transparency = 1
  1758. HitBox.CanCollide = false
  1759. local HitBox2 = Instance.new("Weld",HitBox)
  1760. HitBox2.Part0 = Character["Right Arm"]
  1761. HitBox2.Part1 = HitBox
  1762. HitBox2.C0 = CFrame.new(0,-1.1,0)
  1763. HitBox.Touched:connect(function(hit)
  1764. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil then
  1765. HitBox:remove()
  1766. local SFXZ = Instance.new("Sound",hit.Parent.Torso)
  1767. SFXZ.SoundId = "rbxassetid://743886825"
  1768. SFXZ.Volume = 1
  1769. SFXZ.Pitch = 1
  1770. SFXZ.Looped = false
  1771. SFXZ:Play()
  1772. hit.Parent.Torso.CFrame = hit.Parent.Torso.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(1.56,0,0)
  1773. wait(1.5)
  1774. hit.Parent.Torso.Anchored = true
  1775. torso.CFrame = hit.Parent.Torso.CFrame*CFrame.new(0,0,-2)*CFrame.Angles(-1.55,1.55,0)
  1776. Head.Anchored = true
  1777. hit.Parent.Head.Anchored = true
  1778. wait(0.01)
  1779. for i = 1, 20 do
  1780. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(2.4,0,0.5), 0.2)
  1781. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(0,0,0), 0.5)
  1782. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(0.8,0,0), 0.2)
  1783. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(0,0,0), 0.5)
  1784. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0.3,0,0),0.2)
  1785. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-0.5,0)*CFrame.Angles(0,0,0), 0.5)
  1786. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1.3, 0) * CFrame.Angles(-1.56,0,-0.5), 0.2)
  1787. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(0,0,0), 0.4)
  1788. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1.3, 0) * CFrame.Angles(-1.56,0,0.5), 0.2)
  1789. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(0,0,0), 0.4)
  1790. if Debounces.on == false then break end
  1791. fat.Event:wait()
  1792. end
  1793. wait(1.2)
  1794. chatfunc("OOF'ed")
  1795. for i = 1, 20 do
  1796. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(0.5,-0.2,-0.8)*CFrame.Angles(0.4,0,-0.5), 0.2)
  1797. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(0,0,0), 0.5)
  1798. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(0.8,0,0), 0.2)
  1799. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(0,0,0), 0.5)
  1800. if Debounces.on == false then break end
  1801. fat.Event:wait()
  1802. end
  1803. wait(2.5)
  1804. hit.Parent:BreakJoints()
  1805. wait(2.5)
  1806. Head.Anchored = false
  1807. Debounces.on = false
  1808. Debounces.NoIdl = false
  1809. Debounces.ks = false
  1810. Character.Humanoid.WalkSpeed = 50
  1811. end
  1812. end)
  1813. for i = 1, 20 do
  1814. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(1,0,-0.4), 0.2)
  1815. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(0,0,0), 0.5)
  1816. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0,1.4,0),0.2)
  1817. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(0,0,0), 0.5)
  1818. if Debounces.on == false then break end
  1819. fat.Event:wait()
  1820. end
  1821. end
  1822. end)
  1823. ----------------------------------------------------
  1824. WOW3 = mouse.KeyDown:connect(function(key)
  1825. if key == "r" then
  1826. Debounces.on = true
  1827. Debounces.NoIdl = true
  1828. Debounces.ks = true
  1829. for i = 1, 20 do
  1830. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(1.55,0,1.3), 0.2)
  1831. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(0,0,0), 0.5)
  1832. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0,-1,0),0.2)
  1833. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(0,0,0), 0.5)
  1834. if Debounces.on == false then break end
  1835. fat.Event:wait()
  1836. end
  1837. local HitBox = Instance.new("Part",Character["Right Arm"])
  1838. HitBox.Size = Vector3.new(3,3,3)
  1839. HitBox.Transparency = 1
  1840. HitBox.CanCollide = false
  1841. local HitBox2 = Instance.new("Weld",HitBox)
  1842. HitBox2.Part0 = Character["Right Arm"]
  1843. HitBox2.Part1 = HitBox
  1844. HitBox2.C0 = CFrame.new(0,-1.1,0)
  1845. HitBox.Touched:connect(function(hit)
  1846. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= Character.Name then
  1847. local SFXZ = Instance.new("Sound",hit.Parent.Torso)
  1848. SFXZ.SoundId = "rbxassetid://283674624"
  1849. SFXZ.Volume = 1
  1850. SFXZ.Pitch = 1
  1851. SFXZ.Looped = false
  1852. SFXZ:Play()
  1853. HitBox:remove()
  1854. hit.Parent.Humanoid:TakeDamage(math.huge)
  1855. local Fl = Instance.new("BodyVelocity",hit.Parent.Torso)
  1856. Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1857. Fl.velocity = Character.Torso.CFrame.lookVector*350
  1858. wait(0.1)
  1859. Fl:remove()
  1860. coroutine.resume(coroutine.create(function()
  1861. for i = 1,30 do
  1862. local H = Instance.new("Part",hit.Parent.Head)
  1863. H.Size = Vector3.new(1,1,1)
  1864. H.BrickColor = BrickColor.new("Really Black")
  1865. H.CanCollide = false
  1866. H.Anchored = true
  1867. H.CFrame = hit.Parent.Torso.CFrame*CFrame.new(0,0,1)*CFrame.Angles(0,0,0)
  1868. local H2 = Instance.new("SpecialMesh",H)
  1869. H2.MeshId = "rbxassetid://0"
  1870. coroutine.resume(coroutine.create(function()
  1871. for i = 1,200 do
  1872. H2.Scale = H2.Scale + Vector3.new(4,4,4)
  1873. H.Transparency = H.Transparency + 0.09
  1874. wait(0.00000000001)
  1875. end
  1876. end))
  1877. wait(0.0000000000001)
  1878. end
  1879. end))
  1880. end
  1881. end)
  1882. for i = 1, 20 do
  1883. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(1.55,0,-0.4), 0.2)
  1884. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(0,0,0), 0.5)
  1885. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0,1.4,0),0.2)
  1886. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(0,0,0), 0.5)
  1887. if Debounces.on == false then break end
  1888. fat.Event:wait()
  1889. end
  1890. HitBox:remove()
  1891. Debounces.on = false
  1892. Debounces.NoIdl = false
  1893. Debounces.ks = false
  1894.  
  1895. end
  1896. end)
  1897. ----------------------------------------------------
  1898. mouse.KeyDown:connect(function(key)
  1899. if key == "c" then
  1900. if Debounces.CanJoke == true then
  1901. Debounces.CanJoke = false
  1902. z = Instance.new("Sound",hed)
  1903. z.SoundId = "rbxassetid://153317147"
  1904. z.Pitch = 1
  1905. z.Volume = 50
  1906. wait()
  1907. z:Play()
  1908. wait(5.5)
  1909. z:Destroy()
  1910. if Debounces.CanJoke == false then
  1911. Debounces.CanJoke = true
  1912. end
  1913. end
  1914. end
  1915. end)
  1916. ----------------------------------------------------
  1917. Grab = false
  1918. WOW4 = mouse.KeyDown:connect(function(key)
  1919. if key == "e" then
  1920. Debounces.on = true
  1921. Debounces.NoIdl = true
  1922. Debounces.ks = true
  1923. if Grab == false then
  1924. gp = nil
  1925. for i = 1, 20 do
  1926. 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)
  1927. 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)
  1928. 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)
  1929. 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)
  1930. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2)
  1931. 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)
  1932. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2)
  1933. 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)
  1934. 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)
  1935. 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)
  1936. 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)
  1937. 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)
  1938. if Debounces.on == false then break end
  1939. fat.Event:wait()
  1940. end
  1941. con1=larm.LeftArm.LeftArmPlate.Touched:connect(function(hit)
  1942. ht = hit.Parent
  1943. for i,v in pairs(ht:GetChildren()) do
  1944. if v:IsA("Part") then
  1945. v.CanCollide = false
  1946. v.CustomPhysicalProperties = PhysicalProperties.new(0.001,0.001,0.001,0.001,0.001)
  1947. end
  1948. end
  1949. hum1=ht:FindFirstChild('Humanoid')
  1950. if hum1 ~= nil then
  1951. if Debounces.ks==true then
  1952. z = Instance.new("Sound",hed)
  1953. z.SoundId = "rbxassetid://169380525"
  1954. z.Volume = 1
  1955. z:Play()
  1956. Debounces.ks=false
  1957. end
  1958. hum1.PlatformStand=true
  1959. hum1:ChangeState'Physics'
  1960. gp = ht
  1961. Grab = true
  1962. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,0.6),CFrame.new(0,0,0))
  1963. asd.Parent = larm
  1964. asd.Name = "asd"
  1965. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0)
  1966. stanceToggle = "Grabbed"
  1967. --[[elseif hum1 == nil then
  1968. con1:disconnect()
  1969. wait() return]]--
  1970. end
  1971. end)
  1972. for i = 1, 20 do
  1973. 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)
  1974. 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)
  1975. 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)
  1976. 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)
  1977. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.2)
  1978. 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)
  1979. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2)
  1980. 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)
  1981. 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)
  1982. 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)
  1983. 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)
  1984. 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)
  1985. if Debounces.on == false then break end
  1986. fat.Event:wait()
  1987. end
  1988. con1:disconnect()
  1989. Debounces.on = false
  1990. Debounces.NoIdl = false
  1991. elseif Grab == true then
  1992. Grab = false
  1993. for i = 1, 16 do
  1994. 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)
  1995. 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)
  1996. 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)
  1997. 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)
  1998. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3)
  1999. 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)
  2000. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.3)
  2001. 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)
  2002. 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)
  2003. 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)
  2004. 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)
  2005. 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)
  2006. if Debounces.on == false then end
  2007. rs:wait()
  2008. end
  2009. for i = 1, 12 do
  2010. 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)
  2011. 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)
  2012. 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)
  2013. 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)
  2014. 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)
  2015. 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)
  2016. 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)
  2017. 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)
  2018. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.6)
  2019. 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)
  2020. 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)
  2021. 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)
  2022. if Debounces.on == false then end
  2023. rs:wait()
  2024. end
  2025. Slam()
  2026. if gp ~= nil then
  2027. for i,v in pairs(larm:GetChildren()) do
  2028. if v.Name == "asd" and v:IsA("Weld") then
  2029. v:Remove()
  2030. end
  2031. if v:IsA("Part") then
  2032. v.CanCollide = true
  2033. v.CustomPhysicalProperties = PhysicalProperties.new(1,1,1,1,1)
  2034. end
  2035. end
  2036. end
  2037. stanceToggle = "Idle1"
  2038. Debounces.on = false
  2039. Debounces.NoIdl = false
  2040. elseif ht == nil then wait()
  2041. Grab = false
  2042. Debounces.on = false
  2043. Debounces.NoIdl = false
  2044. end
  2045. end
  2046. end)
  2047. ----------------------------------------------------
  2048. Change = false
  2049. mouse.KeyDown:connect(function(key)
  2050. if key == "n" then
  2051. if Change == false then
  2052. Change = true
  2053. stanceToggle = "Idle2"
  2054. elseif Change == true then
  2055. Change = false
  2056. stanceToggle = "Idle1"
  2057. end
  2058. end
  2059. end)
  2060. ----------------------------------------------------
  2061. mouse.KeyDown:connect(function(key)
  2062. if string.byte(key) == 48 then
  2063. Swing = 2
  2064. char.Humanoid.WalkSpeed = 200
  2065. end
  2066. end)
  2067. mouse.KeyUp:connect(function(key)
  2068. if string.byte(key) == 48 then
  2069. Swing = 1
  2070. char.Humanoid.WalkSpeed = 50
  2071. end
  2072. end)
  2073. ----------------------------------------------------
  2074.  
  2075. jump = false
  2076. rs:connect(function()
  2077. if char.Humanoid.Jump == true then
  2078. jump = true
  2079. else
  2080. jump = false
  2081. end
  2082. char.Humanoid.FreeFalling:connect(function(f)
  2083. if f then
  2084. ffing = true
  2085. else
  2086. ffing = false
  2087. end
  2088. end)
  2089. sine = sine + change
  2090. if jump == true then
  2091. animpose = "Jumping"
  2092. elseif ffing == true then
  2093. animpose = "Freefalling"
  2094. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  2095. animpose = "Idle"
  2096. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  2097. animpose = "Walking"
  2098. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  2099. animpose = "Running"
  2100. end
  2101. RightLeg = CFrame.new(0.5,-1,0)
  2102. LeftLeg = CFrame.new(-0.5,-1,0)
  2103.  
  2104. lefth = (torso.CFrame*LeftLeg)
  2105. righth = (torso.CFrame*RightLeg)
  2106.  
  2107. speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z)
  2108.  
  2109. TiltOnAxis = (torso.CFrame-torso.CFrame.p):vectorToObjectSpace(speed/100)
  2110.  
  2111. local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
  2112. local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
  2113. if animpose ~= lastanimpose then
  2114. sine = 0
  2115. if Debounces.NoIdl == false then
  2116. if stanceToggle == "Idle1" then
  2117. 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)
  2118. 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)
  2119. 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)
  2120. 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)
  2121. 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)
  2122. 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)
  2123. elseif stanceToggle == "Idle2" then
  2124. 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)
  2125. 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)
  2126. 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)
  2127. 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)
  2128. 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)
  2129. 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)
  2130. end
  2131. fat.Event:wait()
  2132. end
  2133. else
  2134. end
  2135. lastanimpose = animpose
  2136. if Debounces.NoIdl == false then
  2137. if animpose == "Idle" then
  2138. change = 0.5
  2139. if stanceToggle == "Idle1" then
  2140. 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)
  2141. 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)
  2142.  
  2143. 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)
  2144. 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)
  2145. 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)
  2146. 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)
  2147. 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)
  2148. 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)
  2149. 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)
  2150. 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)
  2151. 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)
  2152. 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)
  2153. 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)
  2154. 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)
  2155. elseif stanceToggle == "Idle2" then
  2156.  
  2157. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2158. 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)
  2159. 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)
  2160. 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)
  2161. 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)
  2162. 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)
  2163. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
  2164. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  2165. --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)
  2166. 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)
  2167. 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)
  2168. 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)
  2169. 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)
  2170. 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)
  2171. elseif stanceToggle == "Grabbed" then
  2172. grab = true
  2173. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2174. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2175. 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)
  2176. 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)
  2177. 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)
  2178. 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)
  2179. 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)
  2180. 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)
  2181. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  2182. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
  2183. 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)
  2184. 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)
  2185. 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)
  2186. 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)
  2187. end
  2188. elseif animpose == "Walking" then
  2189. if stanceToggle == "Grabbed" then
  2190. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2191. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2192. 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)
  2193. 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)
  2194. 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)
  2195. 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)
  2196. 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)
  2197. 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)
  2198. 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)
  2199. --rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1)
  2200. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
  2201. 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)
  2202. 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)
  2203. 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)
  2204. 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)
  2205. elseif stanceToggle ~= "Grabbed" then
  2206. change = 1
  2207. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2208. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2209.  
  2210. 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)
  2211. 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)
  2212. 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)
  2213. 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)
  2214. 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)
  2215. 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)
  2216. 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)
  2217. --rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1)
  2218. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
  2219. --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)
  2220. 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)
  2221. 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)
  2222. --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)
  2223. 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)
  2224. 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)
  2225. end
  2226. elseif animpose == "Running" then
  2227. change = 1
  2228. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2229. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2230.  
  2231. 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)
  2232. 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)
  2233. 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)
  2234. 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)
  2235. 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)
  2236. 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)
  2237. 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)
  2238. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  2239. 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)
  2240. 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)
  2241. 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)
  2242. 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)
  2243. elseif animpose == "Jumping" then
  2244.  
  2245. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2246. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2247. 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)
  2248. 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)
  2249. 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)
  2250. 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)
  2251. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(30),math.rad(0),0), 0.2)
  2252. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  2253. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  2254. 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)
  2255. 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)
  2256. 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)
  2257. 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)
  2258. elseif animpose == "Freefalling" then
  2259.  
  2260. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2261. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2262. 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)
  2263. 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)
  2264. 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)
  2265. 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)
  2266. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),math.rad(0),0), 0.2)
  2267. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.2)
  2268. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  2269. 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)
  2270. 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)
  2271. 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)
  2272. 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)
  2273. end
  2274. end
  2275. end)
  2276. hum.MaxHealth = math.huge
  2277. wait(3)
  2278. hum.Health = math.huge
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement