kaualima12

Untitled

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