Advertisement
cat568

Untitled

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