Advertisement
Laksana

Untitled

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