Advertisement
Guest User

Untitled

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