Advertisement
OofNoob

nup edit

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