Advertisement
coolgoldboy166

runa

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