LOl2x234

Untitled

Jul 26th, 2017
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 89.84 KB | None | 0 0
  1. Player=game:GetService("Players").LocalPlayer
  2. Character=Player.Character
  3. PlayerGui=Player.PlayerGui
  4. Backpack=Player.Backpack
  5. Torso=Character.Torso
  6. Head=Character.Head
  7. Humanoid=Character.Humanoid
  8. m=Instance.new('Model',Character)
  9. LeftArm=Character["Left Arm"]
  10. LeftLeg=Character["Left Leg"]
  11. RightArm=Character["Right Arm"]
  12. RightLeg=Character["Right Leg"]
  13. LS=Torso["Left Shoulder"]
  14. LH=Torso["Left Hip"]
  15. RS=Torso["Right Shoulder"]
  16. RH=Torso["Right Hip"]
  17. Face = Head.face
  18. Neck=Torso.Neck
  19. it=Instance.new
  20. attacktype=1
  21. vt=Vector3.new
  22. cf=CFrame.new
  23. euler=CFrame.fromEulerAnglesXYZ
  24. angles=CFrame.Angles
  25. cloaked=false
  26. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  27. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  28. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  29. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  30. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  31. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  32. RootPart=Character.HumanoidRootPart
  33. RootJoint=RootPart.RootJoint
  34. RootCF=euler(-1.57,0,3.14)
  35. attack = false
  36. attackdebounce = false
  37. deb=false
  38. equipped=true
  39. hand=false
  40. MMouse=nil
  41. combo=0
  42. mana=0
  43. trispeed=1
  44. pathtrans=.7
  45. attackmode='none'
  46. local idle=0
  47. local Anim="Idle"
  48. local Effects={}
  49. local gun=false
  50. local shoot=false
  51. player=nil
  52. cloak=false
  53. lightcolor='Bright blue'
  54.  
  55. local Color1=Torso.BrickColor
  56.  
  57.  
  58. mouse=Player:GetMouse()
  59. --save shoulders
  60. RSH, LSH=nil, nil
  61. --welds
  62. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  63. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  64. LH=Torso["Left Hip"]
  65. RH=Torso["Right Hip"]
  66. TorsoColor=Torso.BrickColor
  67. function NoOutline(Part)
  68. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  69. end
  70.  
  71.  
  72.  
  73. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  74. local fp=it("Part")
  75. fp.formFactor=formfactor
  76. fp.Parent=parent
  77. fp.Reflectance=reflectance
  78. fp.Transparency=transparency
  79. fp.CanCollide=false
  80. fp.Locked=true
  81. fp.BrickColor=brickcolor
  82. fp.Name=name
  83. fp.Size=size
  84. fp.Position=Torso.Position
  85. NoOutline(fp)
  86. fp.Material="SmoothPlastic"
  87. fp:BreakJoints()
  88. return fp
  89. end
  90.  
  91. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  92. local mesh=it(Mesh)
  93. mesh.Parent=part
  94. if Mesh=="SpecialMesh" then
  95. mesh.MeshType=meshtype
  96. if meshid~="nil" then
  97. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  98. end
  99. end
  100. mesh.Offset=offset
  101. mesh.Scale=scale
  102. return mesh
  103. end
  104.  
  105. function weld(parent,part0,part1,c0)
  106. local weld=it("Weld")
  107. weld.Parent=parent
  108. weld.Part0=part0
  109. weld.Part1=part1
  110. weld.C0=c0
  111. return weld
  112. end
  113.  
  114. local Color1=Torso.BrickColor
  115.  
  116.  
  117.  
  118.  
  119.  
  120. Player=game:GetService('Players').LocalPlayer
  121. Character=Player.Character
  122. Mouse=Player:GetMouse()
  123. m=Instance.new('Model',Character)
  124.  
  125.  
  126. local function weldBetween(a, b)
  127. local weldd = Instance.new("ManualWeld")
  128. weldd.Part0 = a
  129. weldd.Part1 = b
  130. weldd.C0 = CFrame.new()
  131. weldd.C1 = b.CFrame:inverse() * a.CFrame
  132. weldd.Parent = a
  133. return weldd
  134. end
  135.  
  136. it=Instance.new
  137.  
  138. function nooutline(part)
  139. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  140. end
  141.  
  142. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  143. local fp=it("Part")
  144. fp.formFactor=formfactor
  145. fp.Parent=parent
  146. fp.Reflectance=reflectance
  147. fp.Transparency=transparency
  148. fp.CanCollide=false
  149. fp.Locked=true
  150. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  151. fp.Name=name
  152. fp.Size=size
  153. fp.Position=Character.Torso.Position
  154. nooutline(fp)
  155. fp.Material=material
  156. fp:BreakJoints()
  157. return fp
  158. end
  159.  
  160. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  161. local mesh=it(Mesh)
  162. mesh.Parent=part
  163. if Mesh=="SpecialMesh" then
  164. mesh.MeshType=meshtype
  165. mesh.MeshId=meshid
  166. end
  167. mesh.Offset=offset
  168. mesh.Scale=scale
  169. return mesh
  170. end
  171.  
  172. function weld(parent,part0,part1,c0,c1)
  173. local weld=it("Weld")
  174. weld.Parent=parent
  175. weld.Part0=part0
  176. weld.Part1=part1
  177. weld.C0=c0
  178. weld.C1=c1
  179. return weld
  180. end
  181.  
  182.  
  183.  
  184. local modelzorz2=Instance.new("Model")
  185. modelzorz2.Parent=Character
  186. modelzorz2.Name="Claw2"
  187.  
  188. Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  189. Handle2weld=weld(m,Character["Torso"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.65693045, 1.66835713, 2.9684639, 0.866025746, 0.129405379, 0.482963592, -3.67555799e-006, -0.965926409, 0.258817136, 0.499999553, -0.224144042, -0.836516559))
  190. mesh("SpecialMesh",Handle2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1.3, 1.3, 1.3))
  191. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  192. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.66774845, 0.445008755, 1.50737095, 0.749997497, 0.500002265, -0.433014721, -0.433012635, 0.866024196, 0.250004709, 0.500004232, -2.02655792e-006, 0.866023183))
  193. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  194. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.70916891, 0.288796425, 1.12511444, 0.424947768, 0.836517453, -0.34591651, -0.870010257, 0.482961774, 0.0991482884, 0.250003695, 0.25881803, 0.933012009))
  195. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  196. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.24143982, 0.288818121, 3.98402214, 0.123706907, 0.408494055, -0.904339194, -0.870007515, 0.482966691, 0.0991476029, 0.477266878, 0.774516642, 0.415139139))
  197. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  198. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.288883209, 4.34139919, -3.98407936, -0.870006502, 0.482969046, 0.099145025, 0.123710275, 0.408492953, -0.904339135, -0.477267861, -0.774515808, -0.415139765))
  199. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  200. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  201. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.377311707, 3.81443644, -4.17874861, 1.43051147e-006, 1.00000012, 5.58793545e-006, 0.258813858, 5.02169132e-006, -0.965927303, -0.965927362, 2.82377005e-006, -0.258813858))
  202. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  203. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  204. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.11095357, 0.452475548, 3.33581829, 0.214266971, -0.258726388, -0.941886604, 0.124996454, -0.949091196, 0.289140463, -0.968744338, -0.179685742, -0.171018958))
  205. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  206. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.445028067, 4.04179811, -4.22505188, -0.433007121, 0.86602807, 0.250001073, 0.176776409, 0.353552371, -0.918559194, -0.883886516, -0.353548348, -0.306183964))
  207. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  208. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  209. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.71447492, 0.377288342, 4.1787672, 0.258815825, 7.89761543e-007, -0.965926647, 2.11596489e-006, 1.00000012, 1.35600567e-006, 0.965926886, -2.41398811e-006, 0.258815885))
  210. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  211. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.452456236, 4.21090841, 3.33576679, -0.124996543, 0.949091196, -0.289140046, 0.214267105, -0.25872606, -0.941886783, -0.968744338, -0.179685771, -0.171019137))
  212. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  213. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  214. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.94182658, 0.445016861, 4.22507095, 0.176774979, 0.353554398, -0.918558657, -0.433007926, 0.866026998, 0.250003278, 0.883886337, 0.353548825, 0.306183696))
  215. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  216. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.256506443, 3.92671657, -4.59811449, -1.00000024, 2.62260437e-006, 1.4603138e-006, -7.4505806e-007, 0.258819073, -0.965925872, -2.89268792e-006, -0.965925932, -0.258819073))
  217. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  218. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  219. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.4743073, 0.377253056, 1.63544273, 0.866023183, -4.61935997e-007, -0.500004172, 1.52736902e-006, 1.00000012, 1.65402889e-006, 0.500004232, -2.21282244e-006, 0.866023183))
  220. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  221. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15870619, 0.452619314, 0.758959055, -0.533491194, -0.310006529, -0.786945462, 0.124997422, -0.949090362, 0.289142251, -0.836518347, 0.0558886975, 0.545081377))
  222. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  223. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.84976673, 0.256440639, 1.85214663, 6.2584877e-007, 0.866025329, -0.500000298, -1.00000024, 1.72108412e-006, 1.7285347e-006, 2.38418579e-006, 0.500000298, 0.866025329))
  224. Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  225. Gear2weld=weld(m,Handle2,Gear2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.049841404, 0.049908638, 2.78949738e-005, 0.999990344, -5.01424074e-006, -1.49011612e-007, 5.28991222e-006, 0.999994934, 2.98023224e-008, 2.38418579e-007, -1.63912773e-007, 0.999994636))
  226. mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  227. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  228. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.82676554, 0.256523609, 4.598104, -1.1920929e-006, 0.258818835, -0.965925872, -1.00000012, 1.46776438e-006, 1.63912773e-006, 1.83098018e-006, 0.965925872, 0.258818835))
  229.  
  230.  
  231.  
  232.  
  233.  
  234. --------------------------------
  235. local p = game.Players.LocalPlayer
  236. local char = p.Character
  237. local mouse = p:GetMouse()
  238. local larm = char["Left Arm"]
  239. local rarm = char["Right Arm"]
  240. local lleg = char["Left Leg"]
  241. local rleg = char["Right Leg"]
  242. local hed = char.Head
  243. local torso = char.Torso
  244. local hum = char.Humanoid
  245. local cam = game.Workspace.CurrentCamera
  246. local root = char.HumanoidRootPart
  247. local deb = false
  248. local shot = 0
  249. local debris=game:service"Debris"
  250. local l = game:GetService("Lighting")
  251. local rs = game:GetService("RunService").RenderStepped
  252. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  253. math.randomseed(os.time())
  254. for i,v in pairs(char:children()) do
  255. if v:IsA("Hat") then
  256. v:Destroy()
  257. end
  258. end
  259. for i,v in pairs (hed:GetChildren()) do
  260. if v:IsA("Sound") then
  261. v:Destroy()
  262. end
  263. end
  264. ----------------------------------------------------
  265. z = Instance.new("Sound", torso)
  266. z.SoundId = "rbxassetid://270661913" -- Put Music ID Here.
  267. z.Looped = true
  268. z.Volume = 1
  269. wait(.1)
  270. z:Play()
  271. -----------------------------------------------------
  272. Debounces = {
  273. CanAttack = true;
  274. NoIdl = false;
  275. Slashing = false;
  276. Slashed = false;
  277. RPunch = false;
  278. RPunched = false;
  279. LPunch = false;
  280. LPunched = false;
  281. }
  282. local Touche = {char.Name, }
  283. ----------------------------------------------------
  284. hed.face.Texture = "rbxassetid://0"
  285. char["Body Colors"].HeadColor = BrickColor.new("Really black")
  286. char["Body Colors"].TorsoColor = BrickColor.new("Really black")
  287. char["Body Colors"].LeftArmColor = BrickColor.new("Really black")
  288. char["Body Colors"].RightArmColor = BrickColor.new("Really black")
  289. char["Body Colors"].LeftLegColor = BrickColor.new("Really black")
  290. char["Body Colors"].RightLegColor = BrickColor.new("Really black")
  291. ----------------------------------------------------
  292. ypcall(function()
  293. char.Shirt:Destroy()
  294. char.Pants:Destroy()
  295. shirt = Instance.new("Shirt", char)
  296. shirt.Name = "Shirt"
  297. pants = Instance.new("Pants", char)
  298. pants.Name = "Pants"
  299. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=0"
  300. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=0"
  301. end)
  302. ----------------------------------------------------
  303. local LocalPlayer = game:GetService("Players").LocalPlayer
  304. local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:wait()
  305.  
  306. Character.Head.Transparency = 1
  307.  
  308. local Orb = Instance.new("Part", Character)
  309. Orb.Name = "Orb"
  310.  
  311. Orb.CanCollide = false
  312. Orb.BrickColor = BrickColor.new("Really black")
  313. Orb.Transparency = 0
  314. Orb.Material = "Plastic"
  315. Orb.Size = Vector3.new(1, 1, 1)
  316.  
  317.  
  318. local M = Instance.new("SpecialMesh")
  319. M.Parent = Orb
  320. M.MeshId = "http://www.roblox.com/asset/?id=1033714"
  321. M.Scale = Vector3.new(0.8, 3, 0.8)
  322.  
  323.  
  324. local Weld = Instance.new("Weld", Orb)
  325. Weld.Part0 = Character.Head
  326. Weld.Part1 = Orb
  327. Weld.C1 = CFrame.new(0, -0.5, 0)
  328. ------------------------------------------------------
  329. CV="Really black"
  330.  
  331. local txt = Instance.new("BillboardGui", char)
  332. txt.Adornee = char .Orb
  333. txt.Name = "_status"
  334. txt.Size = UDim2.new(2, 0, 1.2, 0)
  335. txt.StudsOffset = Vector3.new(-2, 1.5, 0)
  336. local text = Instance.new("TextLabel", txt)
  337. text.Size = UDim2.new(3, 0, 0.5, 0)
  338. text.FontSize = "Size8"
  339. text.TextScaled = true
  340. text.TextTransparency = 0
  341. text.BackgroundTransparency = 1
  342. text.TextTransparency = 0
  343. text.TextStrokeTransparency = 0
  344. text.Font = "Arial"
  345. text.TextStrokeColor3 = Color3.new(0,0,0)
  346.  
  347. v=Instance.new("Part")
  348. v.Name = "ColorBrick"
  349. v.Parent=p.Character
  350. v.FormFactor="Symmetric"
  351. v.Anchored=true
  352. v.CanCollide=false
  353. v.BottomSurface="Smooth"
  354. v.TopSurface="Smooth"
  355. v.Size=Vector3.new(10,5,3)
  356. v.Transparency=0.7
  357. v.CFrame=char.Torso.CFrame
  358. v.BrickColor=BrickColor.new(CV)
  359. v.Transparency=1
  360. text.TextColor3 = v.BrickColor.Color
  361. v.Shape="Block"
  362. text.Text = "Black Death"
  363.  
  364.  
  365.  
  366.  
  367. --------------------------------------------------------
  368. local Orbd = Instance.new("Part", Character)
  369. Orbd.Name = "Orbd"
  370. Orbd.Shape = Enum.PartType.Ball
  371. Orbd.CanCollide = false
  372. Orbd.BrickColor = BrickColor.new("Institutional white")
  373. Orbd.Transparency = 0
  374. Orbd.Material = "Neon"
  375. Orbd.Size = Vector3.new(0.1, 0.1, 0.1)
  376. Orbd.TopSurface = Enum.SurfaceType.Smooth
  377. Orbd.BottomSurface = Enum.SurfaceType.Smooth
  378.  
  379. local Weld = Instance.new("Weld", Orbd)
  380. Weld.Part0 = Character.Head
  381. Weld.Part1 = Orbd
  382. Weld.C1 = CFrame.new(-0.2, -0.2, 0.5)
  383.  
  384. --------------------------------------------------------
  385. local Orbvc = Instance.new("Part", Character)
  386. Orbvc.Name = "Orbvc"
  387. Orbvc.Shape = Enum.PartType.Ball
  388. Orbvc.CanCollide = false
  389. Orbvc.BrickColor = BrickColor.new("Institutional white")
  390. Orbvc.Transparency = 0
  391. Orbvc.Material = "Neon"
  392. Orbvc.Size = Vector3.new(0.1, 0.1, 0.1)
  393. Orbvc.TopSurface = Enum.SurfaceType.Smooth
  394. Orbvc.BottomSurface = Enum.SurfaceType.Smooth
  395.  
  396. local Weld = Instance.new("Weld", Orbvc)
  397. Weld.Part0 = Character.Head
  398. Weld.Part1 = Orbvc
  399. Weld.C1 = CFrame.new(0.2, -0.2, 0.5)
  400. ---------------------
  401. local LocalPlayer = game:GetService("Players").LocalPlayer
  402. local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:wait()
  403.  
  404. Character.Head.Transparency = 1
  405.  
  406. local Camisa = Instance.new("Part", Character)
  407. Camisa.Name = "Camisa"
  408.  
  409. Camisa.CanCollide = false
  410. Camisa.BrickColor = BrickColor.new("Really black")
  411. Camisa.Transparency = 1
  412. Camisa.Material = "Plastic"
  413. Camisa.Size = Vector3.new(1.5, 1.5, 1)
  414.  
  415. local Weld = Instance.new("Weld", Camisa)
  416. Weld.Part0 = Character.Torso
  417. Weld.Part1 = Camisa
  418. Weld.C1 = CFrame.new(0, 0, 0)
  419. ----------------------------------------
  420. local p = game.Players.LocalPlayer
  421. local char = p.Character
  422. local mouse = p:GetMouse()
  423. local larm = char["Left Arm"]
  424. local rarm = char["Right Arm"]
  425. local lleg = char["Left Leg"]
  426. local rleg = char["Right Leg"]
  427. local hed = char.Head
  428. local torso = char.Torso
  429. local hum = char.Humanoid
  430. local cam = game.Workspace.CurrentCamera
  431. local root = char.HumanoidRootPart
  432. local rj = root.RootJoint
  433. local deb = false
  434. local shot = 0
  435. local stanceToggle = "Idle1"
  436. local l = game:GetService("Lighting")
  437. local rs = game:GetService("RunService").RenderStepped
  438. local hb = game:GetService("RunService").Heartbeat
  439. local Stepped = game:GetService("RunService").Stepped
  440. math.randomseed(os.time())
  441. hum.JumpPower = 100
  442. hed.face:Remove()
  443. ----------------------------------------------------
  444. fat = Instance.new("BindableEvent",script)
  445. fat.Name = "Heartbeat"
  446.  
  447. script:WaitForChild("Heartbeat")
  448.  
  449. frame = 1/30
  450. tf = 0
  451. 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.
  452. tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
  453. lastframe = tick()
  454. script.Heartbeat:Fire() --ayy lmao
  455.  
  456. game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
  457. tf = tf + s
  458. if tf >= frame then
  459. if allowframeloss then
  460. script.Heartbeat:Fire()
  461. lastframe=tick()
  462. else
  463. --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
  464. for i=1, math.floor(tf/frame) do
  465. script.Heartbeat:Fire()
  466. end
  467. lastframe=tick()
  468. end
  469. if tossremainder then
  470. tf = 0
  471. else
  472. tf = tf - frame * math.floor(tf/frame)
  473. end
  474. end
  475. end)
  476. ----------------------------------------------------
  477. for i,v in pairs(char:children()) do
  478. if v:IsA("Hat") then
  479. v:Destroy()
  480. end
  481. end
  482. for i,v in pairs (hed:GetChildren()) do
  483. if v:IsA("Sound") then
  484. v:Destroy()
  485. end
  486. end
  487. ----------------------------------------------------
  488. Debounces = {
  489. CanAttack = true;
  490. CanJoke = true;
  491. NoIdl = false;
  492. Slashing = false;
  493. Slashed = false;
  494. ks = false;
  495. }
  496. ----------------------------------------------------
  497. function weld5(part0, part1, c0, c1)
  498. weeld=Instance.new("Weld", part0)
  499. weeld.Part0=part0
  500. weeld.Part1=part1
  501. weeld.C0=c0
  502. weeld.C1=c1
  503. return weeld
  504. end
  505. ----------------------------------------------------
  506. function NewPart(prnt,siz,cf,trans,anc,mat,col)
  507. local prt=Instance.new("Part")
  508. prt.Parent=prnt
  509. prt.Name="Part"
  510. prt.Size=siz
  511. prt.CanCollide=false
  512. prt.Anchored=anc
  513. prt.Locked=true
  514. prt.Transparency = trans
  515. prt.TopSurface=10
  516. prt.BottomSurface=10
  517. prt.FrontSurface=10
  518. prt.BackSurface=10
  519. prt.LeftSurface=10
  520. prt.RightSurface=10
  521. prt:BreakJoints()
  522. prt.CFrame=cf or CFrame.new(30,10,30)
  523. prt.Material=mat
  524. prt.BrickColor=BrickColor.new(col)
  525. m=Instance.new("SpecialMesh",prt)
  526. m.MeshType=6
  527. return prt
  528. end
  529. ----------------------------------------------------
  530. function lerp(a, b, t) -- Linear interpolation
  531. return a + (b - a)*t
  532. end
  533.  
  534. function slerp(a, b, t) --Spherical interpolation
  535. dot = a:Dot(b)
  536. if dot > 0.99999 or dot < -0.99999 then
  537. return t <= 0.5 and a or b
  538. else
  539. r = math.acos(dot)
  540. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  541. end
  542. end
  543.  
  544. function matrixInterpolate(a, b, t)
  545. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  546. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  547. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  548. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  549. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  550. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  551. local t = v1:Dot(v2)
  552. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  553. return CFrame.new()
  554. end
  555. return CFrame.new(
  556. v0.x, v0.y, v0.z,
  557. v1.x, v1.y, v1.z,
  558. v2.x, v2.y, v2.z,
  559. v3.x, v3.y, v3.z)
  560. end
  561. ----------------------------------------------------
  562. function genWeld(a,b)
  563. local w = Instance.new("Weld",a)
  564. w.Part0 = a
  565. w.Part1 = b
  566. return w
  567. end
  568. function weld(a, b)
  569. local weld = Instance.new("Weld")
  570. weld.Name = "W"
  571. weld.Part0 = a
  572. weld.Part1 = b
  573. weld.C0 = a.CFrame:inverse() * b.CFrame
  574. weld.Parent = a
  575. return weld;
  576. end
  577. ----------------------------------------------------
  578. function Lerp(c1,c2,al)
  579. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  580. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  581. for i,v in pairs(com1) do
  582. com1[i] = v+(com2[i]-v)*al
  583. end
  584. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  585. end
  586. ----------------------------------------------------
  587. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  588. local wld = Instance.new("Weld", wp1)
  589. wld.Part0 = wp0
  590. wld.Part1 = wp1
  591. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  592. end
  593. ----------------------------------------------------
  594. newWeld(torso, larm, -1.5, 0.5, 0)
  595. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  596. newWeld(torso, rarm, 1.5, 0.5, 0)
  597. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  598. newWeld(torso, hed, 0, 1.5, 0)
  599. newWeld(torso, lleg, -0.5, -1, 0)
  600. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  601. newWeld(torso, rleg, 0.5, -1, 0)
  602. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  603. newWeld(root, torso, 0, -1, 0)
  604. torso.Weld.C1 = CFrame.new(0, -1, 0)
  605. ----------------------------------------------------
  606. z = Instance.new("Sound",char) --Smile: print("â?º")
  607. z.SoundId = "rbxassetid://0"--410761150, 411368002
  608. z.Looped = true
  609. z.Pitch = 1
  610. z.Volume = 1
  611. wait(0.1)
  612. z:Play()
  613. ----------------------------------------------------
  614. New = function(Object, Parent, Name, Data)
  615. local Object = Instance.new(Object)
  616. for Index, Value in pairs(Data or {}) do
  617. Object[Index] = Value
  618. end
  619. Object.Parent = Parent
  620. Object.Name = Name
  621. return Object
  622. end
  623. ----------------------------------------------------
  624. --Left Arm
  625. m = Instance.new("Model")
  626. m.Name = "LeftArm"
  627.  
  628. p4 = Instance.new("Part", m)
  629. p4.BrickColor = BrickColor.new("Really black")
  630. p4.Material = Enum.Material.SmoothPlastic
  631. p4.Name = "LeftArmPlate"
  632. p4.Size = Vector3.new(1, 2, 1)
  633. p4.Transparency = 1
  634. p4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  635. p4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  636. p4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  637. p4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  638. p4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  639. p4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  640. b4 = Instance.new("SpecialMesh", p4)
  641. b4.MeshType = Enum.MeshType.Brick
  642. b4.Name = "Mesh"
  643. b4.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
  644.  
  645.  
  646.  
  647.  
  648.  
  649. w1 = Instance.new("Weld", p1)
  650. w1.Name = "Part_Weld"
  651. w1.Part0 = p1
  652. w1.C0 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  653. w1.Part1 = p2
  654. w1.C1 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  655. w2 = Instance.new("Weld", p2)
  656. w2.Name = "Part_Weld"
  657. w2.Part0 = p2
  658. w2.C0 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  659. w2.Part1 = p3
  660. w2.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  661. w3 = Instance.new("Weld", p3)
  662. w3.Name = "LeftArmPlate_Weld"
  663. w3.Part0 = p3
  664. w3.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  665. w3.Part1 = p4
  666. w3.C1 = CFrame.new(1.5, -18.1000156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  667. w4 = Instance.new("Weld", p4)
  668. w4.Name = "Part_Weld"
  669. w4.Part0 = p4
  670. w4.C0 = CFrame.new(1.5, -18.1000156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  671. w4.Part1 = p5
  672. w4.C1 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  673. w5 = Instance.new("Weld", p5)
  674. w5.Name = "Part_Weld"
  675. w5.Part0 = p5
  676. w5.C0 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  677. w5.Part1 = p6
  678. w5.C1 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  679. w6 = Instance.new("Weld", p6)
  680. w6.Name = "Part_Weld"
  681. w6.Part0 = p6
  682. w6.C0 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  683. w6.Part1 = p7
  684. w6.C1 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  685. w7 = Instance.new("Weld", p7)
  686. w7.Name = "Part_Weld"
  687. w7.Part0 = p7
  688. w7.C0 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  689. w7.Part1 = p8
  690. w7.C1 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  691. w8 = Instance.new("Weld", p8)
  692. w8.Name = "Part_Weld"
  693. w8.Part0 = p8
  694. w8.C0 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  695. w8.Part1 = p9
  696. w8.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  697. w9 = Instance.new("Weld", p9)
  698. w9.Name = "Part_Weld"
  699. w9.Part0 = p9
  700. w9.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  701. w9.Part1 = p10
  702. w9.C1 = CFrame.new(1.5, -18.950016, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  703. w10 = Instance.new("Weld", p10)
  704. w10.Name = "Part_Weld"
  705. w10.Part0 = p10
  706. w10.C0 = CFrame.new(1.5, -18.950016, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  707. w10.Part1 = p11
  708. w10.C1 = CFrame.new(1.5, -18.6500149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  709. w11 = Instance.new("Weld", p11)
  710. w11.Name = "Part_Weld"
  711. w11.Part0 = p11
  712. w11.C0 = CFrame.new(1.5, -18.6500149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  713. w11.Part1 = p12
  714. w11.C1 = CFrame.new(1.5, -18.3500156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  715. w12 = Instance.new("Weld", p12)
  716. w12.Name = "Part_Weld"
  717. w12.Part0 = p12
  718. w12.C0 = CFrame.new(1.5, -18.3500156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  719. w12.Part1 = p13
  720. w12.C1 = CFrame.new(1.5, -18.0500126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  721. w13 = Instance.new("Weld", p13)
  722. w13.Name = "Part_Weld"
  723. w13.Part0 = p13
  724. w13.C0 = CFrame.new(1.5, -18.0500126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  725. w13.Part1 = p14
  726. w13.C1 = CFrame.new(1.5, -17.7500172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  727. w14 = Instance.new("Weld", p14)
  728. w14.Name = "Part_Weld"
  729. w14.Part0 = p14
  730. w14.C0 = CFrame.new(1.5, -17.7500172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  731. w14.Part1 = p15
  732. w14.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  733. w15 = Instance.new("Weld", p15)
  734. w15.Name = "Part_Weld"
  735. w15.Part0 = p15
  736. w15.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  737. w15.Part1 = p16
  738. 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)
  739.  
  740. m.Parent = larm
  741. m:MakeJoints()
  742. ----------------------------------------------------
  743. local cor = Instance.new("Part", larm.LeftArm)
  744. cor.Name = "Thingy"
  745. cor.Locked = true
  746. cor.BottomSurface = 0
  747. cor.CanCollide = false
  748. cor.Size = Vector3.new(1, 1, 1)
  749. cor.Transparency = 1
  750. cor.TopSurface = 0
  751. corw = Instance.new("Weld", cor)
  752. corw.Part0 = larm
  753. corw.Part1 = cor
  754. corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  755. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  756. weld1 = Instance.new("Weld", larm.LeftArm)
  757. weld1.Part0 = cor
  758. weld1.Part1 = larm.LeftArm.LeftArmPlate
  759. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  760. --Right Arm
  761. m2 = Instance.new("Model")
  762. m2.Name = "RightArm"
  763.  
  764. p7 = Instance.new("Part", m2)
  765. p7.BrickColor = BrickColor.new("Really black")
  766. p7.Material = Enum.Material.SmoothPlastic
  767. p7.Transparency = 1
  768. p7.Name = "RightArmPlate"
  769. p7.CFrame = CFrame.new(3.5, -9.54201603, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  770. p7.FormFactor = Enum.FormFactor.Symmetric
  771. p7.Size = Vector3.new(1, 2, 1)
  772. p7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  773. p7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  774. p7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  775. p7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  776. p7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  777. p7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  778. b7 = Instance.new("SpecialMesh", p7)
  779. b7.MeshType = Enum.MeshType.Brick
  780. b7.Name = "Mesh"
  781. b7.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
  782.  
  783.  
  784. w1 = Instance.new("Weld", p1)
  785. w1.Name = "Part_Weld"
  786. w1.Part0 = p1
  787. w1.C0 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  788. w1.Part1 = p2
  789. w1.C1 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  790. w2 = Instance.new("Weld", p2)
  791. w2.Name = "Part_Weld"
  792. w2.Part0 = p2
  793. w2.C0 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  794. w2.Part1 = p3
  795. w2.C1 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  796. w3 = Instance.new("Weld", p3)
  797. w3.Name = "Part_Weld"
  798. w3.Part0 = p3
  799. w3.C0 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  800. w3.Part1 = p4
  801. w3.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  802. w4 = Instance.new("Weld", p4)
  803. w4.Name = "Part_Weld"
  804. w4.Part0 = p4
  805. w4.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  806. w4.Part1 = p5
  807. w4.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  808. w5 = Instance.new("Weld", p5)
  809. w5.Name = "Part_Weld"
  810. w5.Part0 = p5
  811. w5.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  812. w5.Part1 = p6
  813. w5.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  814. w6 = Instance.new("Weld", p6)
  815. w6.Name = "RightArmPlate_Weld"
  816. w6.Part0 = p6
  817. w6.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  818. w6.Part1 = p7
  819. w6.C1 = CFrame.new(-3.5, -4.10001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  820. w7 = Instance.new("Weld", p7)
  821. w7.Name = "Part_Weld"
  822. w7.Part0 = p7
  823. w7.C0 = CFrame.new(-3.5, -4.10001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  824. w7.Part1 = p8
  825. w7.C1 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  826. w8 = Instance.new("Weld", p8)
  827. w8.Name = "Part_Weld"
  828. w8.Part0 = p8
  829. w8.C0 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  830. w8.Part1 = p9
  831. w8.C1 = CFrame.new(-3.5, -4.95002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  832. w9 = Instance.new("Weld", p9)
  833. w9.Name = "Part_Weld"
  834. w9.Part0 = p9
  835. w9.C0 = CFrame.new(-3.5, -4.95002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  836. w9.Part1 = p10
  837. w9.C1 = CFrame.new(-3.5, -4.65001678, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  838. w10 = Instance.new("Weld", p10)
  839. w10.Name = "Part_Weld"
  840. w10.Part0 = p10
  841. w10.C0 = CFrame.new(-3.5, -4.65001678, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  842. w10.Part1 = p11
  843. w10.C1 = CFrame.new(-3.5, -4.35001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  844. w11 = Instance.new("Weld", p11)
  845. w11.Name = "Part_Weld"
  846. w11.Part0 = p11
  847. w11.C0 = CFrame.new(-3.5, -4.35001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  848. w11.Part1 = p12
  849. w11.C1 = CFrame.new(-3.5, -4.05001783, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  850. w12 = Instance.new("Weld", p12)
  851. w12.Name = "Part_Weld"
  852. w12.Part0 = p12
  853. w12.C0 = CFrame.new(-3.5, -4.05001783, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  854. w12.Part1 = p13
  855. w12.C1 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  856. w13 = Instance.new("Weld", p13)
  857. w13.Name = "Part_Weld"
  858. w13.Part0 = p13
  859. w13.C0 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  860. w13.Part1 = p14
  861. w13.C1 = CFrame.new(-3.5, -3.75002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  862. w14 = Instance.new("Weld", p14)
  863. w14.Name = "Part_Weld"
  864. w14.Part0 = p14
  865. w14.C0 = CFrame.new(-3.5, -3.75002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  866. w14.Part1 = p15
  867. w14.C1 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  868. w15 = Instance.new("Weld", p15)
  869. w15.Name = "Part_Weld"
  870. w15.Part0 = p15
  871. w15.C0 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  872. w15.Part1 = p16
  873. w15.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  874. w16 = Instance.new("Weld", p16)
  875. w16.Name = "Part_Weld"
  876. w16.Part0 = p16
  877. w16.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  878. w16.Part1 = p17
  879. w16.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  880. w17 = Instance.new("Weld", p17)
  881. w17.Name = "Part_Weld"
  882. w17.Part0 = p17
  883. w17.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  884. w17.Part1 = p18
  885. w17.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  886. w18 = Instance.new("Weld", p18)
  887. w18.Name = "Part_Weld"
  888. w18.Part0 = p18
  889. w18.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  890. w18.Part1 = p19
  891. w18.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  892. m2.Parent = rarm
  893. m2:MakeJoints()
  894. ----------------------------------------------------
  895. local cor2 = Instance.new("Part", rarm.RightArm)
  896. cor2.Name = "Thingy"
  897. cor2.Locked = true
  898. cor2.BottomSurface = 0
  899. cor2.CanCollide = false
  900. cor2.Size = Vector3.new(1, 1, 1)
  901. cor2.Transparency = 1
  902. cor2.TopSurface = 0
  903. corw2 = Instance.new("Weld", cor2)
  904. corw2.Part0 = rarm
  905. corw2.Part1 = cor2
  906. corw2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  907. corw2.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  908. weld2 = Instance.new("Weld", rarm.RightArm)
  909. weld2.Part0 = cor2
  910. weld2.Part1 = rarm.RightArm.RightArmPlate
  911. weld2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  912.  
  913.  
  914. --Zyrodoxa
  915. m8 = Instance.new("Model")
  916. m8.Name = "Zyrodoxa"
  917.  
  918. p16 = Instance.new("Part", m8)
  919. p16.BrickColor = BrickColor.new("Instutional white")
  920. p16.Material = Enum.Material.Metal
  921. p16.Name = "Handle"
  922. 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)
  923. p16.CanCollide = false
  924. p16.Locked = true
  925. p16.FormFactor = Enum.FormFactor.Custom
  926. p16.Size = Vector3.new(0, 0, 0)
  927. p16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  928. p16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  929. p16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  930. p16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  931. p16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  932. p16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  933. b16 = Instance.new("BlockMesh", p16)
  934. b16.Name = "Mesh"
  935. b16.Scale = Vector3.new(0, 0, 0)
  936.  
  937. w16 = Instance.new("Weld", p16)
  938. w16.Name = "Block_Weld"
  939. w16.Part0 = p16
  940. 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)
  941. w16.Part1 = p17
  942. 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)
  943.  
  944. m8.Parent = rarm
  945. m8:MakeJoints()
  946. ----------------------------------------------------
  947. local cor8 = Instance.new("Part", rarm.Zyrodoxa)
  948. cor8.Name = "Thingy"
  949. cor8.Locked = true
  950. cor8.BottomSurface = 0
  951. cor8.CanCollide = false
  952. cor8.Size = Vector3.new(1, 1, 1)
  953. cor8.Transparency = 1
  954. cor8.TopSurface = 0
  955. corw8 = Instance.new("Weld", cor8)
  956. corw8.Part0 = rarm
  957. corw8.Part1 = cor8
  958. corw8.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180))
  959. corw8.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  960. weld8 = Instance.new("Weld", rarm.Zyrodoxa)
  961. weld8.Part0 = cor8
  962. weld8.Part1 = rarm.Zyrodoxa.Handle
  963. weld8.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  964. ----------------------------------------------------
  965. models = {m,m2,m3,m4,m5,m6,m7,m8}
  966. parts = {}
  967. Stepped:connect(function()
  968. for i,v in pairs(models) do
  969. for _, a in pairs(v:GetChildren()) do
  970. if v:IsA("Part") and v.Name ~= "Thingy" then
  971. table.insert(parts, a)
  972. for i,v in pairs(parts) do
  973. v.CanCollide = false
  974. end
  975. end
  976. end
  977. end
  978. end)
  979. ----------------------------------------------------
  980. local animpose = "Idle1"
  981. local lastanimpose = "Idle1"
  982. local grab = false
  983. local Smooth = 1
  984. local sine = 0
  985. local change = 1
  986. local val = 0
  987. local ffing = false
  988. ----------------------------------------------------
  989. --[[local hitbox = rarm.Zyrodoxa.Hitbox--Zyrodoxa is the name of the dagger k
  990.  
  991. function FindHumanoids()
  992. local function c_region(Position, Size)
  993. local SizeOffset = Size/2
  994. local Point1 = Position - SizeOffset
  995. local Point2 = Position + SizeOffset
  996. local a = Instance.new("Part", workspace)
  997. a.Anchored = true
  998. a.Size = Size
  999. a.Position = Position
  1000. print("Hey!, I'm making a part!")
  1001. return Region3.new(Point1, Point2)
  1002. end
  1003.  
  1004. local a = c_region((hitbox.CFrame * CFrame.new(0, -1.285, 0)), Vector3.new(0.22, 0.6425, 1.22))
  1005. local b = c_region((hitbox.CFrame * CFrame.new(0, -0.6425, 0)), Vector3.new(0.22, 0.6425, 1.22))
  1006. local c = c_region((hitbox.CFrame * CFrame.new(0, 0.6425, 0)), Vector3.new(0.22, 0.6425, 1.22))
  1007. local d = c_region((hitbox.CFrame * CFrame.new(0, 1.285, 0)), Vector3.new(0.22, 0.6425, 1.22))
  1008.  
  1009. local regions = {a, b, c, d}
  1010.  
  1011. local found_humanoids = {}
  1012. local already_found = {char.Name}
  1013.  
  1014. for _, region in pairs(regions) do
  1015. for _, part in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(region, rarm.Zyrodoxa:GetChildren(), 100)) do
  1016. print(part, part.Parent, part.Name) ---nope
  1017. if part.Parent:FindFirstChild("Humanoid") ~= nil and part.Parent.ClassName == "Model" and not part:isDescendantOf(char) then
  1018. local humanoid = part.Parent:FindFirstChild("Humanoid")
  1019. local name = humanoid.Parent.Name
  1020. local exists = false
  1021. for _, n in pairs(already_found) do
  1022. if n == name then
  1023. exists = true
  1024. end
  1025. end
  1026. if not exists then
  1027. table.insert(already_found, name)
  1028. table.insert(found_humanoids, humanoid)
  1029. end
  1030. elseif part.Parent.Parent:FindFirstChild("Humanoid") ~= nil and part.Parent.Parent.ClassName == "Model" and not part:isDescendantOf(char) then
  1031. local humanoid = part.Parent.Parent:FindFirstChild("Humanoid")
  1032. local name = humanoid.Parent.Parent.Name
  1033. local exists = false
  1034. for _, n in pairs(already_found) do
  1035. if n == name then
  1036. exists = true
  1037. end
  1038. end
  1039. if not exists then
  1040. table.insert(already_found, name)
  1041. table.insert(found_humanoids, humanoid)
  1042. end
  1043. end
  1044. end
  1045. end
  1046. return found_humanoids
  1047. end
  1048.  
  1049. local humanoids = FindHumanoids()
  1050. if #humanoids == 0 then
  1051. for i, v in pairs(humanoids) do
  1052. print(v.Parent.Name)
  1053. if Debounces.Slashing == true then
  1054. v:TakeDamage(math.random(10,20) * math.random(1,3)) --max 60 damage?
  1055. elseif Debounces.Slashing == false then
  1056. wait()
  1057. end
  1058. end
  1059. wait(0.3)
  1060. end]]--
  1061. ----------------------------------------------------
  1062. --[[mouse.KeyDown:connect(function(key)
  1063. if key == "f" then
  1064. if Debounces.CanAttack == true then
  1065. Debounces.CanAttack = false
  1066. Debounces.NoIdl = true
  1067. Debounces.on = true
  1068. for i = 1, 20 do
  1069. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1.05, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1070. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1071. CR.Joint.C1 = Lerp(CR.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(-4),0,0),0.1)
  1072. CR2.Joint.C1 = Lerp(CR2.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1073. CR3.Joint.C1 = Lerp(CR3.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1074. CR4.Joint.C1 = Lerp(CR4.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1075. CR5.Joint.C1 = Lerp(CR5.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1076. 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)
  1077. 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)
  1078. 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)
  1079. 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)
  1080. 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)
  1081. 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)
  1082. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-6), math.rad(0), 0), 0.1)
  1083. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20), 0), 0.1)
  1084. 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)
  1085. 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)
  1086. 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)
  1087. 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)
  1088. if Debounces.on == false then
  1089. break
  1090. end
  1091. fat.Event:wait()
  1092. end
  1093. end
  1094. end
  1095. end)]]--
  1096. ----------------------------------------------------
  1097. mod4 = Instance.new("Model",char)
  1098.  
  1099. ptez = {0.7, 0.8, 0.9, 1}
  1100.  
  1101. function FindNearestTorso(Position,Distance,SinglePlayer)
  1102. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1103. local List = {}
  1104. for i,v in pairs(workspace:GetChildren())do
  1105. if v:IsA("Model")then
  1106. if v:findFirstChild("Torso")then
  1107. if v ~= char then
  1108. if(v.Torso.Position -Position).magnitude <= Distance then
  1109. table.insert(List,v)
  1110. end
  1111. end
  1112. end
  1113. end
  1114. end
  1115. return List
  1116. end
  1117.  
  1118. function Slam()
  1119. local part=Instance.new('Part',mod4)
  1120. part.Anchored=true
  1121. part.CanCollide=false
  1122. part.FormFactor='Custom'
  1123. part.Size=Vector3.new(.2,.2,.2)
  1124. part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0)
  1125. part.Transparency=.7
  1126. part.BrickColor=BrickColor.new('Really black')
  1127. mesh=Instance.new('SpecialMesh',part)
  1128. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  1129. mesh.Scale=Vector3.new(3,3,3)
  1130. local part2=Instance.new('Part',mod4)
  1131. part2.Anchored=true
  1132. part2.CanCollide=false
  1133. part2.FormFactor='Custom'
  1134. part2.Size=Vector3.new(.2,.2,.2)
  1135. part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6)
  1136. part2.Transparency=.7
  1137. part2.BrickColor=BrickColor.new('Institutional white')
  1138. mesh2=Instance.new('SpecialMesh',part2)
  1139. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  1140. mesh2.Scale=Vector3.new(3,1.5,3)
  1141. x = Instance.new("Sound",larm)
  1142. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  1143. x.Pitch = ptez[math.random(1,#ptez)]
  1144. x.Volume = 1
  1145. wait(.1)
  1146. x1 = Instance.new("Sound",larm)
  1147. x1.SoundId = "http://www.roblox.com/asset/?id=206082327"
  1148. x1.Pitch = ptez[math.random(1,#ptez)]
  1149. x1.Volume = 1
  1150. wait(.1)
  1151. x:Play()
  1152. x1:Play()
  1153. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  1154. if v:FindFirstChild('Humanoid') then
  1155. v.Humanoid:TakeDamage(math.random(30,45))
  1156. end
  1157. end
  1158. coroutine.resume(coroutine.create(function()
  1159. for i=0,0.62,0.13 do
  1160. wait()
  1161. part.CFrame=part.CFrame
  1162. part.Transparency=i
  1163. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  1164. part2.CFrame=part2.CFrame
  1165. part2.Transparency=i
  1166. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  1167. end
  1168. part.Parent=nil
  1169. part2.Parent=nil
  1170. x:Destroy()
  1171. end))
  1172. end
  1173. ----------------------------------------------------
  1174. wPart = function(x,y,z,color,tr,cc,an,parent)
  1175. local wp = Instance.new('WedgePart',parent or Weapon)
  1176. wp.formFactor = 'Custom'
  1177. wp.Size = Vector3.new(x,y,z)
  1178. wp.BrickColor = BrickColor.new(color)
  1179. wp.CanCollide = cc
  1180. wp.Transparency = tr
  1181. wp.Anchored = an
  1182. wp.TopSurface,wp.BottomSurface = 0,0
  1183. return wp
  1184. end
  1185.  
  1186. Mesh = function(par,num,x,y,z)
  1187. local msh = _
  1188. if num == 1 then
  1189. msh = Instance.new("CylinderMesh",par)
  1190. elseif num == 2 then
  1191. msh = Instance.new("SpecialMesh",par)
  1192. msh.MeshType = 3
  1193. elseif num == 3 then
  1194. msh = Instance.new("BlockMesh",par)
  1195. elseif num == 4 then
  1196. msh = Instance.new("SpecialMesh",par)
  1197. msh.MeshType = "Torso"
  1198. elseif type(num) == 'string' then
  1199. msh = Instance.new("SpecialMesh",par)
  1200. msh.MeshId = num
  1201. end
  1202. msh.Scale = Vector3.new(x,y,z)
  1203. return msh
  1204. end
  1205.  
  1206. local function CFrameFromTopBack(at, top, back)
  1207. local right = top:Cross(back)
  1208. return CFrame.new(at.x, at.y, at.z,
  1209. right.x, top.x, back.x,
  1210. right.y, top.y, back.y,
  1211. right.z, top.z, back.z)
  1212. end
  1213.  
  1214. function Triangle(a, b, c)
  1215. local edg1 = (c-a):Dot((b-a).unit)
  1216. local edg2 = (a-b):Dot((c-b).unit)
  1217. local edg3 = (b-c):Dot((a-c).unit)
  1218. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1219. a, b, c = a, b, c
  1220. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1221. a, b, c = b, c, a
  1222. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1223. a, b, c = c, a, b
  1224. else
  1225. print("unreachable")
  1226. end
  1227. local len1 = (c-a):Dot((b-a).unit)
  1228. local len2 = (b-a).magnitude - len1
  1229. local width = (a + (b-a).unit*len1 - c).magnitude
  1230. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1231. local list = {}
  1232. if len1 > 0.01 then
  1233. local w1 = wPart(0,0,0,'Institutional white',0.5,false,true,char)
  1234. local sz = Vector3.new(0.2, width, len1)
  1235. w1.Size = sz
  1236. local sp = Mesh(w1,2,0,0,0)
  1237. sp.MeshType='Wedge'
  1238. sp.Scale=Vector3.new(0,1,1)*sz/w1.Size
  1239. w1:BreakJoints()
  1240. w1.Anchored = true
  1241. w1.Transparency = 0.7
  1242. Spawn(function()
  1243. for i=0,1,0.1 do
  1244. fat.Event:wait()
  1245. w1.Transparency=w1.Transparency+0.03
  1246. end
  1247. end)
  1248. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1249. table.insert(list,w1)
  1250. end
  1251. if len2 > 0.01 then
  1252. local w2 = wPart(0,0,0,'Institutional white',0.5,false,true,char)
  1253. local sz = Vector3.new(0.2, width, len2)
  1254. w2.Size = sz
  1255. local sp = Mesh(w2,2,0,0,0)
  1256. sp.MeshType='Wedge'
  1257. sp.Scale=Vector3.new(0,1,1)*sz/w2.Size
  1258. w2:BreakJoints()
  1259. w2.Anchored = true
  1260. w2.Transparency = 0.7
  1261. Spawn(function()
  1262. for i=0,1,0.1 do
  1263. fat.Event:wait()
  1264. w2.Transparency=w2.Transparency+0.03
  1265. end
  1266. end)
  1267. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1268. table.insert(list,w2)
  1269. end
  1270. return unpack(list)
  1271. end
  1272.  
  1273. function trail(p,t,h)
  1274. Spawn(function()
  1275. local blcf = p.CFrame
  1276. local scfr = blcf
  1277. for i=1,t do
  1278. local blcf = p.CFrame
  1279. if scfr and (p.Position-scfr.p).magnitude > .1 then
  1280. 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)
  1281. if a then game.Debris:AddItem(a,1) end
  1282. if b then game.Debris:AddItem(b,1) end
  1283. 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)
  1284. if a then game.Debris:AddItem(a,1) end
  1285. if b then game.Debris:AddItem(b,1) end
  1286. scfr = blcf
  1287. elseif not scfr then
  1288. scfr = blcf
  1289. end
  1290. fat.Event:wait()
  1291. end
  1292. scfr=nil
  1293. end)
  1294. end
  1295. --trail(char.Sword.Blade,1e1000,5)
  1296. ----------------------------------------------------
  1297. function Dmg()
  1298. local partofdeath = rarm.Zyrodoxa.Hitbox
  1299. local function CreateRegion3FromLocAndSize(Position, Size)
  1300. local SizeOffset = Size/2
  1301. local Point1 = Position - SizeOffset
  1302. local Point2 = Position + SizeOffset
  1303. return Region3.new(Point1, Point2)
  1304. end
  1305. local reg = CreateRegion3FromLocAndSize(partofdeath.Position, partofdeath.Size)
  1306. for i, v in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(reg, char:GetChildren(), 100)) do
  1307. Spawn(function()
  1308. if Debounces.Slashing == true and Debounces.Slashed == false then
  1309. Debounces.Slashed = true
  1310. ypcall(function()
  1311. local humanoid = v.Parent:FindFirstChild("Humanoid") or v.Parent.Parent:FindFirstChild("Humanoid")
  1312. humanoid:TakeDamage(math.random(10,18))
  1313. end)
  1314. wait(.4)
  1315. Debounces.Slashed = false
  1316. end
  1317. end)
  1318. end
  1319. end
  1320. ----------------------------------------------------
  1321. pts = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  1322. ptz = {0.7, 0.8, 0.9, 1}
  1323. idz = {"161006212", "161006195"}
  1324. function attackone()
  1325. for i = 1, 13 do
  1326. 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)
  1327. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(20), math.rad(30), math.rad(0)), 0.8)
  1328. 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)
  1329. 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)
  1330. 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)
  1331. 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)
  1332. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(0),math.rad(-50),0), 0.5)
  1333. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.5)
  1334. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.7)
  1335. 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)
  1336. 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)
  1337. 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)
  1338. 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)
  1339. 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)
  1340. if Debounces.on == false then
  1341. break
  1342. end
  1343. fat.Event:wait()
  1344. end
  1345. trail(rarm.Zyrodoxa.Hitbox,20,2)
  1346. Debounces.Slashing = true
  1347. wait(0.2)
  1348. --[[z = Instance.new("Sound", hed)
  1349. z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
  1350. z.Pitch = ptz[math.random(1,#ptz)]
  1351. z.Volume = 1
  1352. wait(.01)
  1353. z:Play()]]--
  1354. for i = 1, 14 do
  1355. Dmg()
  1356. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0.2) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), 0.8)
  1357. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-40), math.rad(30), math.rad(0)), 0.8)
  1358. 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)
  1359. 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)
  1360. 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)
  1361. 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)
  1362. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(0),math.rad(40),0), 0.7)
  1363. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  1364. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -1) * CFrame.Angles(math.rad(-10), math.rad(-40), 0), 0.4)
  1365. 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)
  1366. 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)
  1367. 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)
  1368. 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)
  1369. 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)
  1370. if Debounces.on == false then break end
  1371. rs:wait()
  1372. end
  1373. Debounces.Slashing = false
  1374. end
  1375. function attacktwo()
  1376. Debounces.Slashing = true
  1377. for i = 1, 14 do
  1378. Dmg()
  1379. corw8.C0 = Lerp(corw8.C0, CFrame.new(-0.37, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), 0.4)
  1380. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)), 0.4)
  1381. 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)
  1382. 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)
  1383. 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)
  1384. 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)
  1385. 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)
  1386. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  1387. 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)
  1388. 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)
  1389. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.5)
  1390. 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)
  1391. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.5)
  1392. 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)
  1393. if Debounces.on == false then
  1394. break
  1395. end
  1396. rs:wait()
  1397. end
  1398. end
  1399. ----------------------------------------------------
  1400.  
  1401. ----------------------------------------------------
  1402. definition = 5
  1403. bc = {}
  1404. bezierparts = {}
  1405. function NoOutline(Part)
  1406. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1407. end
  1408. function draw(p,d)
  1409. for i=1,d do
  1410. local t = i/d
  1411. bc[i] = p[1]*(1-t)^2+2*p[2]*(1-t)*t+p[3]*t^2
  1412. end
  1413.  
  1414. Spawn(function() fat.Event:wait()
  1415. for i,v in pairs(bezierparts) do
  1416. v.Transparency = 1
  1417. end
  1418. end)
  1419. end
  1420. --local points = {larm.Position,rarn.Position,invisipart.Position}
  1421. --draw(points,definition)
  1422.  
  1423. fat.Event:wait()
  1424.  
  1425. rpart = Instance.new("Part",rarm)
  1426. NoOutline(rpart)
  1427. rpart.Anchored = false
  1428. rpart.Size = Vector3.new(1,1,1)
  1429. rpart.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  1430. rpart.Transparency = 1
  1431. newWeld(rarm, rpart, 0, 0, 0)
  1432. rpart.Weld.C1 = CFrame.new(0, 1.1, 0)
  1433. lpart = Instance.new("Part",larm)
  1434. NoOutline(lpart)
  1435. lpart.Anchored = false
  1436. lpart.Size = Vector3.new(1,1,1)
  1437. lpart.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  1438. lpart.Transparency = 1
  1439. newWeld(larm, lpart, 0, 0, 0)
  1440. lpart.Weld.C1 = CFrame.new(0, 1.1, 0)
  1441. invisipart = Instance.new("Part",torso)
  1442. NoOutline(invisipart)
  1443. invisipart.Anchored = false
  1444. invisipart.Size = Vector3.new(1,1,1)
  1445. invisipart.Transparency = 1
  1446. invisipart.CFrame = torso.CFrame
  1447. newWeld(torso, invisipart, 0, 0, 0)
  1448. invisipart.Weld.C1 = CFrame.new(0, 0, 6)
  1449. table.insert(bezierparts, rpart)
  1450. table.insert(bezierparts, lpart)
  1451. table.insert(bezierparts, invisipart)
  1452. for i = 1, 40 do
  1453. local points = {lpart.Position,invisipart.Position,rpart.Position}
  1454. draw(points,definition)
  1455. --invisipart.Weld.C1 = invisipart.Weld.C1 + Vector3.new(0,0,0.6)
  1456. 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)
  1457. 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)
  1458. 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)
  1459. 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)
  1460. 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)
  1461. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  1462. 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)
  1463. 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)
  1464. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(0), 0, math.rad(-10)), 0.2)
  1465. 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)
  1466. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(0), 0, math.rad(10)), 0.2)
  1467. 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)
  1468. if Debounces.on == false then
  1469. break
  1470. end
  1471. fat.Event:wait()
  1472. end
  1473. for i,v in pairs(bezierparts) do
  1474. v:Destroy()
  1475. end
  1476. --draw(points,definition)
  1477. if Debounces.CanAttack == false then
  1478. Debounces.CanAttack = true
  1479. Debounces.NoIdl = false
  1480. Debounces.on = false
  1481. end
  1482.  
  1483. ----------------------------------------------------
  1484. ----------------------------------------------------
  1485. pt = {6.6, 6.8, 7, 7.2, 7.4}
  1486. mouse.KeyDown:connect(function(key)
  1487. if key == "q" then
  1488. if Debounces.CanJoke == true then
  1489. Debounces.CanJoke = false
  1490. u = Instance.new("Sound",char)
  1491. u.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1492. u.Pitch = pt[math.random(1,#pt)]
  1493. u.Volume = 0.3
  1494. u2 = Instance.new("Sound",char)
  1495. u2.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1496. u2.Pitch = u.Pitch
  1497. u2.Volume = 0.3
  1498. u3 = Instance.new("Sound",char)
  1499. u3.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1500. u3.Pitch = u.Pitch
  1501. u3.Volume = 0.3
  1502. wait(.01)
  1503. u:Play()
  1504. u2:Play()
  1505. u3:Play()
  1506. wait(1.5)
  1507. u:Destroy()
  1508. u2:Destroy()
  1509. u3:Destroy()
  1510. if Debounces.CanJoke == false then
  1511. Debounces.CanJoke = true
  1512. end
  1513. end
  1514. end
  1515. end)
  1516. ----------------------------------------------------
  1517. ----------------------------------------------------
  1518. mouse.KeyDown:connect(function(key)
  1519. if key == "j" then
  1520. if Debounces.CanJoke == true then
  1521. Debounces.CanJoke = false
  1522. z = Instance.new("Sound",hed)
  1523. z.SoundId = "rbxassetid://415859013"
  1524. z.Pitch = pitches[math.random(1,#pitches)]
  1525. z.Volume = 1
  1526. wait()
  1527. z:Play()
  1528. wait(2)
  1529. z:Destroy()
  1530. if Debounces.CanJoke == false then
  1531. Debounces.CanJoke = true
  1532. end
  1533. end
  1534. end
  1535. end)
  1536.  
  1537. ----------------------------------------------------
  1538. Grab = false
  1539. mouse.KeyDown:connect(function(key)
  1540. if key == "e" then
  1541. Debounces.on = true
  1542. Debounces.NoIdl = true
  1543. Debounces.ks = true
  1544. if Grab == false then
  1545. gp = nil
  1546. for i = 1, 20 do
  1547. 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)
  1548. 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)
  1549. 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)
  1550. 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)
  1551. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2)
  1552. 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)
  1553. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2)
  1554. 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)
  1555. 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)
  1556. 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)
  1557. 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)
  1558. 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)
  1559. if Debounces.on == false then break end
  1560. fat.Event:wait()
  1561. end
  1562. con1=larm.LeftArm.LeftArmPlate.Touched:connect(function(hit)
  1563. ht = hit.Parent
  1564. for i,v in pairs(ht:GetChildren()) do
  1565. if v:IsA("Part") then
  1566. v.CanCollide = false
  1567. v.CustomPhysicalProperties = PhysicalProperties.new(0.001,0.001,0.001,0.001,0.001)
  1568. end
  1569. end
  1570. hum1=ht:FindFirstChild('Humanoid')
  1571. if hum1 ~= nil then
  1572. if Debounces.ks==true then
  1573. z = Instance.new("Sound",hed)
  1574. z.SoundId = "rbxassetid://169380525"
  1575. z.Volume = 1
  1576. z:Play()
  1577. Debounces.ks=false
  1578. end
  1579. hum1.PlatformStand=true
  1580. hum1:ChangeState'Physics'
  1581. gp = ht
  1582. Grab = true
  1583. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,0.6),CFrame.new(0,0,0))
  1584. asd.Parent = larm
  1585. asd.Name = "asd"
  1586. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0)
  1587. stanceToggle = "Grabbed"
  1588. --[[elseif hum1 == nil then
  1589. con1:disconnect()
  1590. wait() return]]--
  1591. end
  1592. end)
  1593. for i = 1, 20 do
  1594. 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)
  1595. 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)
  1596. 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)
  1597. 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)
  1598. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.2)
  1599. 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)
  1600. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2)
  1601. 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)
  1602. 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)
  1603. 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)
  1604. 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)
  1605. 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)
  1606. if Debounces.on == false then break end
  1607. fat.Event:wait()
  1608. end
  1609. con1:disconnect()
  1610. Debounces.on = false
  1611. Debounces.NoIdl = false
  1612. elseif Grab == true then
  1613. Grab = false
  1614. --[[for i = 1, 16 do
  1615. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(60)), 0.3)
  1616. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.5)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-60)), 0.3)
  1617. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3)
  1618. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  1619. 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)
  1620. 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)
  1621. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3)
  1622. if Debounces.on == false then end
  1623. rs:wait()
  1624. end]]--
  1625. for i = 1, 16 do
  1626. 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)
  1627. 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)
  1628. 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)
  1629. 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)
  1630. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3)
  1631. 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)
  1632. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.3)
  1633. 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)
  1634. 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)
  1635. 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)
  1636. 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)
  1637. 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)
  1638. if Debounces.on == false then end
  1639. rs:wait()
  1640. end
  1641. for i = 1, 12 do
  1642. 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)
  1643. 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)
  1644. 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)
  1645. 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)
  1646. 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)
  1647. 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)
  1648. 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)
  1649. 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)
  1650. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.6)
  1651. 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)
  1652. 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)
  1653. 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)
  1654. if Debounces.on == false then end
  1655. rs:wait()
  1656. end
  1657. Slam()
  1658. if gp ~= nil then
  1659. for i,v in pairs(larm:GetChildren()) do
  1660. if v.Name == "asd" and v:IsA("Weld") then
  1661. v:Remove()
  1662. end
  1663. if v:IsA("Part") then
  1664. v.CanCollide = true
  1665. v.CustomPhysicalProperties = PhysicalProperties.new(1,1,1,1,1)
  1666. end
  1667. end
  1668. end
  1669. stanceToggle = "Idle1"
  1670. --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  1671. bv.maxForce = Vector3.new(400000, 400000, 400000)
  1672. bv.P = 125000
  1673. bv.velocity = char.Head.CFrame.lookVector * 200]]--
  1674. ht=nil
  1675. Debounces.on = false
  1676. Debounces.NoIdl = false
  1677. elseif ht == nil then wait()
  1678. Grab = false
  1679. Debounces.on = false
  1680. Debounces.NoIdl = false
  1681. end
  1682. end
  1683. end)
  1684. ----------------------------------------------------
  1685. Change = false
  1686. mouse.KeyDown:connect(function(key)
  1687. if key == "n" then
  1688. if Change == false then
  1689. Change = true
  1690. stanceToggle = "Idle2"
  1691. elseif Change == true then
  1692. Change = false
  1693. stanceToggle = "Idle1"
  1694. end
  1695. end
  1696. end)
  1697. ----------------------------------------------------
  1698. mouse.KeyDown:connect(function(key)
  1699. if string.byte(key) == 52 then
  1700. Swing = 2
  1701. char.Humanoid.WalkSpeed = 28
  1702. end
  1703. end)
  1704. mouse.KeyUp:connect(function(key)
  1705. if string.byte(key) == 52 then
  1706. Swing = 1
  1707. char.Humanoid.WalkSpeed = 16
  1708. end
  1709. end)
  1710. ----------------------------------------------------
  1711.  
  1712. jump = false
  1713. rs:connect(function()
  1714. if char.Humanoid.Jump == true then
  1715. jump = true
  1716. else
  1717. jump = false
  1718. end
  1719. char.Humanoid.FreeFalling:connect(function(f)
  1720. if f then
  1721. ffing = true
  1722. else
  1723. ffing = false
  1724. end
  1725. end)
  1726. sine = sine + change
  1727. if jump == true then
  1728. animpose = "Jumping"
  1729. elseif ffing == true then
  1730. animpose = "Freefalling"
  1731. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  1732. animpose = "Idle"
  1733. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  1734. animpose = "Walking"
  1735. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  1736. animpose = "Running"
  1737. end
  1738. RightLeg = CFrame.new(0.5,-1,0)
  1739. LeftLeg = CFrame.new(-0.5,-1,0)
  1740.  
  1741. lefth = (torso.CFrame*LeftLeg)
  1742. righth = (torso.CFrame*RightLeg)
  1743.  
  1744. speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z)
  1745.  
  1746. TiltOnAxis = (torso.CFrame-torso.CFrame.p):vectorToObjectSpace(speed/100)
  1747.  
  1748. local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
  1749. local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
  1750. if animpose ~= lastanimpose then
  1751. sine = 0
  1752. if Debounces.NoIdl == false then
  1753. if stanceToggle == "Idle1" then
  1754. 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)
  1755. 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)
  1756. 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)
  1757. 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)
  1758. 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)
  1759. 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)
  1760. elseif stanceToggle == "Idle2" then
  1761. 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)
  1762. 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)
  1763. 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)
  1764. 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)
  1765. 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)
  1766. 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)
  1767. end
  1768. fat.Event:wait()
  1769. end
  1770. else
  1771. end
  1772. lastanimpose = animpose
  1773. if Debounces.NoIdl == false then
  1774. if animpose == "Idle" then
  1775. change = 0.5
  1776. if stanceToggle == "Idle1" then
  1777. 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)
  1778. 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)
  1779.  
  1780. 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)
  1781. 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)
  1782. 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)
  1783. 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)
  1784. 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)
  1785. 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)
  1786. 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)
  1787. 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)
  1788. 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)
  1789. 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)
  1790. 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)
  1791. 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)
  1792. elseif stanceToggle == "Idle2" then
  1793.  
  1794. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1795. 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)
  1796. 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)
  1797. 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)
  1798. 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)
  1799. 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)
  1800. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
  1801. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  1802. --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)
  1803. 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)
  1804. 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)
  1805. 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)
  1806. 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)
  1807. 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)
  1808. elseif stanceToggle == "Grabbed" then
  1809. grab = true
  1810. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1811. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1812. 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)
  1813. 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)
  1814. 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)
  1815. 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)
  1816. 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)
  1817. 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)
  1818. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  1819. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
  1820. 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)
  1821. 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)
  1822. 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)
  1823. 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)
  1824. end
  1825. elseif animpose == "Walking" then
  1826. if stanceToggle == "Grabbed" then
  1827. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1828. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1829. 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)
  1830. 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)
  1831. 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)
  1832. 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)
  1833. 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)
  1834. 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)
  1835. 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)
  1836. --rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1)
  1837. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
  1838. 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)
  1839. 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)
  1840. 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)
  1841. 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)
  1842. elseif stanceToggle ~= "Grabbed" then
  1843. change = 1
  1844. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1845. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1846.  
  1847. 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)
  1848. 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)
  1849. 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)
  1850. 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)
  1851. 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)
  1852. 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)
  1853. 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)
  1854. --rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1)
  1855. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
  1856. --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)
  1857. 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)
  1858. 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)
  1859. --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)
  1860. 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)
  1861. 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)
  1862. end
  1863. elseif animpose == "Running" then
  1864. change = 1
  1865. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1866. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1867.  
  1868. 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)
  1869. 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)
  1870. 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)
  1871. 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)
  1872. 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)
  1873. 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)
  1874. 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)
  1875. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  1876. 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)
  1877. 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)
  1878. 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)
  1879. 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)
  1880. elseif animpose == "Jumping" then
  1881.  
  1882. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1883. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1884. 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)
  1885. 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)
  1886. 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)
  1887. 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)
  1888. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(30),math.rad(0),0), 0.2)
  1889. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  1890. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  1891. 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)
  1892. 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)
  1893. 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)
  1894. 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)
  1895. elseif animpose == "Freefalling" then
  1896.  
  1897. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1898. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1899. 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)
  1900. 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)
  1901. 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)
  1902. 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)
  1903. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),math.rad(0),0), 0.2)
  1904. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.2)
  1905. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  1906. 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)
  1907. 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)
  1908. 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)
  1909. 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)
  1910. end
  1911. end
  1912. end)
  1913. hum.MaxHealth = math.huge
  1914. wait(3)
  1915. hum.Health = math.huge
Add Comment
Please, Sign In to add comment