AgentVK

Jeff

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