Advertisement
EquinoxDiscord

eren

Feb 5th, 2018
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 45.43 KB | None | 0 0
  1. local p = game.Players.EliteGuardian68 local char = p.Character local mouse = p:GetMouse() local larm = char["Left Arm"] local rarm = char["Right Arm"] local lleg = char["Left Leg"] local rleg = char["Right Leg"] local hed = char.Head local Torso = char.Torso local hum = char.Humanoid local cam = game.Workspace.CurrentCamera local root = char.HumanoidRootPart local deb = false local shot = 0 local potential = false local debris=game:service"Debris" local l = game:GetService("Lighting") local rs = game:GetService("RunService").RenderStepped ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1} math.randomseed(os.time()) for i,v in pairs(char:children()) do if v:IsA("Accessory") then v:Destroy() end end for i,v in pairs (hed:GetChildren()) do if v:IsA("Sound") then v:Destroy() end end ---------------------------------------------------- Debounces = { CanAttack = true; NoIdl = false; Slashing = false; Slashed = false; RPunch = false; Invisible = false; RPunched = false; LPunch = false; LPunched = false; } local Touche = {char.Name, } ---------------------------------------------------- ---------------------------------------------------- -------------------------------------------------------- pls = game:GetService'Players' rs = game:GetService'RunService' uinps = game:GetService'UserInputService' lp = pls.EliteGuardian68 mouse = lp:GetMouse() c = lp.Character human = c.Humanoid critTime = .27 ------------------------------------------------------- local lp = game.Players.EliteGuardian68 local chr = lp.Character local mouse = lp:GetMouse() local euler = CFrame.fromEulerAnglesXYZ local rad = math.rad local trso = chr.Torso local ContentProvider = Game:GetService("ContentProvider") local function LoadAssets(AssetList) -- Takes an asset list and preloads it. Will not wait for them to load. for _, AssetId in pairs(AssetList) do ContentProvider:Preload("http://www.roblox.com/asset/?id=" .. AssetId) end end --- local p = game.Players.EliteGuardian68 local char = p.Character local mouse = p:GetMouse() local larm = char["Left Arm"] local rarm = char["Right Arm"] local lleg = char["Left Leg"] local rleg = char["Right Leg"] local hed = char.Head local torso = char.Torso local ASD = BrickColor.new("Pastel brown") local hum = char.Humanoid local cam = game.Workspace.CurrentCamera local root = char.HumanoidRootPart local DD = false local FA = false local deb = false local shot = 0 local l = game:GetService("Lighting") local rs = game:GetService("RunService").RenderStepped local stanceToggle = "Normal" math.randomseed(os.time()) hum.WalkSpeed = 7 char.Health:Destroy() hum.MaxHealth = 1e999 wait(0.1) hum.Health = 1e999 z = Instance.new("Sound", char.Torso) z.SoundId = "rbxassetid://174039148" z.Looped = true z.Pitch = 1 z.Volume = 19 ---------------------------------------------------- local SM = Instance.new("Smoke",torso) SM.Size = 15 local S = Instance.new("Part",char) S.Size = Vector3.new(1,1,1) S.Material = "Neon" S.BrickColor = BrickColor.new("Deep orange") S.Transparency = 0 S.Anchored = true S.CFrame = torso.CFrame*CFrame.new(0,0,0) local Ring = Instance.new("Part",S) Ring.Size = Vector3.new(1,1,1) Ring.BrickColor = BrickColor.new("Deep orange") Ring.Anchored = true Ring.CanCollide = false Ring.CFrame = S.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0) local Ring2 = Instance.new("SpecialMesh",Ring) Ring2.MeshId = "rbxassetid://3270017" Ring2.Scale = Vector3.new(0.1,0.1,0.1) local S2 = Instance.new("SpecialMesh",S) S2.MeshType = "Sphere" S2.Scale = Vector3.new(1,1,1) v = Instance.new("Sound") v.SoundId = "rbxassetid://821439273" v.Parent = char.Torso v.Looped = false v.Pitch = 1 v.Volume = 1 wait(.01) v:Play() local partasdeff = Instance.new("ParticleEmitter",S) partasdeff.Color = ColorSequence.new(Color3.new(0,0,0), Color3.new(204,130,2)) partasdeff.LightEmission = .1 partasdeff.Size = NumberSequence.new(0.2) partasdeff.Texture = "http://www.roblox.com/asset/?ID=300899516" aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) partasdeff.Transparency = bbb partasdeff.Size = aaa partasdeff.ZOffset = .9 partasdeff.Acceleration = Vector3.new(0, -5, 0) partasdeff.LockedToPart = false partasdeff.EmissionDirection = "Top" partasdeff.Lifetime = NumberRange.new(1, 2) partasdeff.Rate = 1000 partasdeff.Rotation = NumberRange.new(-100, 100) partasdeff.RotSpeed = NumberRange.new(-100, 100) partasdeff.Speed = NumberRange.new(10) partasdeff.VelocitySpread = 300 partasdeff.Enabled = true for i = 1,100 do Ring2.Scale = Ring2.Scale + Vector3.new(2,2,2) Ring.Transparency = Ring.Transparency + 0.01 S2.Scale = S2.Scale + Vector3.new(0.3,0.3,0.3) S.Transparency = S.Transparency + 0.01 game:GetService("RunService").RenderStepped:wait() end S:remove() wait(1) SM:remove() hed.face:remove() char.Shirt:remove() char.Pants:remove() v = Instance.new("Sound") v.SoundId = "rbxassetid://181384451" v.Parent = torso v.Looped = false v.Pitch = 1 v.Volume = math.huge wait(.01) v:Play() z:Play() ---------------------------------------------------- Debounces = { on = false; ks = false; CanAttack = true; CanJoke = true; NoIdl = false; Slashing = false; Slashed = false; Grabbing = false; Grabbed = false; } local Touche = {char.Name, } ---------------------------------------------------- function lerp(a, b, t) -- Linear interpolation return a + (b - a)*t end function slerp(a, b, t) --Spherical interpolation dot = a:Dot(b) if dot > 0.99999 or dot < -0.99999 then return t <= 0.5 and a or b else r = math.acos(dot) return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) end end function matrixInterpolate(a, b, t) local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back local t = v1:Dot(v2) if not (t < 0 or t == 0 or t > 0) then -- Failsafe return CFrame.new() end return CFrame.new( v0.x, v0.y, v0.z, v1.x, v1.y, v1.z, v2.x, v2.y, v2.z, v3.x, v3.y, v3.z) end ---------------------------------------------------- function genWeld(a,b) local w = Instance.new("Weld",a) w.Part0 = a w.Part1 = b return w end function weld(a, b) local weld = Instance.new("Weld") weld.Name = "W" weld.Part0 = a weld.Part1 = b weld.C0 = a.CFrame:inverse() * b.CFrame weld.Parent = a return weld; end ---------------------------------------------------- function Lerp(c1,c2,al) local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} for i,v in pairs(com1) do com1[i] = v+(com2[i]-v)*al end return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) end ---------------------------------------------------- newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) local wld = Instance.new("Weld", wp1) wld.Part0 = wp0 wld.Part1 = wp1 wld.C0 = CFrame.new(wc0x, wc0y, wc0z) end ---------------------------------------------------- for i,v in pairs(char:children()) do if v:IsA("Hat") then v:Destroy() end end for i,v in pairs(hed:children()) do if v:IsA("Sound") then v:Destroy() end end ---------------------------------------------------- function HasntTouched(plrname) local ret = true for _, v in pairs(Touche) do if v == plrname then ret = false end end return ret end ---------------------------------------------------- larm.Size = larm.Size * 5 rarm.Size = rarm.Size * 5 lleg.Size = lleg.Size * 5 rleg.Size = rleg.Size * 5 torso.Size = torso.Size * 5 hed.Size = hed.Size * 5 root.Size = root.Size * 5 ---------------------------------------------------- newWeld(torso, larm, -1.5, 0.5, 0) larm.Weld.C1 = CFrame.new(0, 0.5, 0) newWeld(torso, rarm, 1.5, 0.5, 0) rarm.Weld.C1 = CFrame.new(0, 0.5, 0) newWeld(torso, hed, 0, 1.5, 0) newWeld(torso, lleg, -0.5, -1, 0) lleg.Weld.C1 = CFrame.new(0, 1, 0) newWeld(torso, rleg, 0.5, -1, 0) rleg.Weld.C1 = CFrame.new(0, 1, 0) newWeld(root, torso, 0, -1, 0) torso.Weld.C1 = CFrame.new(0, -1, 0) ---------------------------------------------------- local Part = Instance.new("Part",hed) Part.BrickColor = BrickColor.new("Black") Part.Size = Vector3.new(1,1,1) Part.CanCollide = false Part.Material = "Neon" local M = Instance.new("SpecialMesh",Part) M.MeshId = "rbxassetid://62246019" M.Scale = Vector3.new(5,5,5) local Part2 = Instance.new("Weld",Part) Part2.Part0 = hed Part2.Part1 = Part Part2.C0 = CFrame.new(-0.2,1.5,0.8) ---------------------------------------------------- -----Armored titan parts nibs local Arm = Instance.new("Part",char) Arm.Size = Vector3.new(1,1,1) Arm.BrickColor = BrickColor.new("Pastel brown") Arm.TopSurface = 0 Arm.BottomSurface = 0 Arm.CanCollide = false local Arm2 = Instance.new("SpecialMesh",Arm) Arm2.MeshType = "Brick" Arm2.Scale = Vector3.new(5,8.5,0.3) local Arm3 = Instance.new("Weld",Arm) Arm3.Part0 = rarm Arm3.Part1 = Arm Arm3.C0 = CFrame.new(0,0,2.5) local ArmR = Instance.new("Part",char) ArmR.Size = Vector3.new(1,1,1) ArmR.BrickColor = BrickColor.new("Pastel brown") ArmR.TopSurface = 0 ArmR.BottomSurface = 0 ArmR.CanCollide = false local Arm2R = Instance.new("SpecialMesh",ArmR) Arm2R.MeshType = "Brick" Arm2R.Scale = Vector3.new(5,8.5,0.3) local Arm3R = Instance.new("Weld",ArmR) Arm3R.Part0 = rarm Arm3R.Part1 = ArmR Arm3R.C0 = CFrame.new(0,0,-2.5) local ArmRS = Instance.new("Part",char) ArmRS.Size = Vector3.new(1,1,1) ArmRS.BrickColor = BrickColor.new("Pastel brown") ArmRS.TopSurface = 0 ArmRS.BottomSurface = 0 ArmRS.CanCollide = false local Arm2RS = Instance.new("SpecialMesh",ArmRS) Arm2RS.MeshType = "Brick" Arm2RS.Scale = Vector3.new(0.3,8.5,4.5) local Arm3RS = Instance.new("Weld",ArmRS) Arm3RS.Part0 = rarm Arm3RS.Part1 = ArmRS Arm3RS.C0 = CFrame.new(2.5,0,0)*CFrame.Angles(0,0,0) local TopRS = Instance.new("Part",char) TopRS.Size = Vector3.new(1,1,1) TopRS.BrickColor = BrickColor.new("Pastel brown") TopRS.TopSurface = 0 TopRS.BottomSurface = 0 TopRS.CanCollide = false local Top2RS = Instance.new("SpecialMesh",TopRS) Top2RS.MeshType = "Brick" Top2RS.Scale = Vector3.new(4.7,0.3,4.7) local Top3RS = Instance.new("Weld",TopRS) Top3RS.Part0 = rarm Top3RS.Part1 = TopRS Top3RS.C0 = CFrame.new(0,5,0)*CFrame.Angles(0,0,0) local BotRS = Instance.new("Part",char) BotRS.Size = Vector3.new(1,1,1) BotRS.BrickColor = BrickColor.new("Pastel brown") BotRS.BottomSurface = 0 BotRS.TopSurface = 0 BotRS.CanCollide = false local Bot2RS = Instance.new("SpecialMesh",BotRS) Bot2RS.MeshType = "Brick" Bot2RS.Scale = Vector3.new(4.7,0.3,4.7) local Bot3RS = Instance.new("Weld",BotRS) Bot3RS.Part0 = rarm Bot3RS.Part1 = BotRS Bot3RS.C0 = CFrame.new(0,-5,0)*CFrame.Angles(0,0,0) ---------------------------------------------------- local Arm = Instance.new("Part",char) Arm.Size = Vector3.new(1,1,1) Arm.BrickColor = BrickColor.new("Pastel brown") Arm.TopSurface = 0 Arm.BottomSurface = 0 Arm.CanCollide = false local Arm2 = Instance.new("SpecialMesh",Arm) Arm2.MeshType = "Brick" Arm2.Scale = Vector3.new(5,8.5,0.3) local Arm3 = Instance.new("Weld",Arm) Arm3.Part0 = larm Arm3.Part1 = Arm Arm3.C0 = CFrame.new(0,0,2.5) local ArmR = Instance.new("Part",char) ArmR.Size = Vector3.new(1,1,1) ArmR.BrickColor = BrickColor.new("Pastel brown") ArmR.TopSurface = 0 ArmR.BottomSurface = 0 ArmR.CanCollide = false local Arm2R = Instance.new("SpecialMesh",ArmR) Arm2R.MeshType = "Brick" Arm2R.Scale = Vector3.new(5,8.5,0.3) local Arm3R = Instance.new("Weld",ArmR) Arm3R.Part0 = larm Arm3R.Part1 = ArmR Arm3R.C0 = CFrame.new(0,0,-2.5) local ArmRS = Instance.new("Part",char) ArmRS.Size = Vector3.new(1,1,1) ArmRS.BrickColor = BrickColor.new("Pastel brown") ArmRS.TopSurface = 0 ArmRS.BottomSurface = 0 ArmRS.CanCollide = false local Arm2RS = Instance.new("SpecialMesh",ArmRS) Arm2RS.MeshType = "Brick" Arm2RS.Scale = Vector3.new(0.3,8.5,4.5) local Arm3RS = Instance.new("Weld",ArmRS) Arm3RS.Part0 = larm Arm3RS.Part1 = ArmRS Arm3RS.C0 = CFrame.new(-2.5,0,0)*CFrame.Angles(0,0,0) local TopRS = Instance.new("Part",char) TopRS.Size = Vector3.new(1,1,1) TopRS.BrickColor = BrickColor.new("Pastel brown") TopRS.TopSurface = 0 TopRS.BottomSurface = 0 TopRS.CanCollide = false local Top2RS = Instance.new("SpecialMesh",TopRS) Top2RS.MeshType = "Brick" Top2RS.Scale = Vector3.new(4.7,0.3,4.7) local Top3RS = Instance.new("Weld",TopRS) Top3RS.Part0 = larm Top3RS.Part1 = TopRS Top3RS.C0 = CFrame.new(0,5,0)*CFrame.Angles(0,0,0) local BotRS = Instance.new("Part",char) BotRS.Size = Vector3.new(1,1,1) BotRS.BrickColor = BrickColor.new("Pastel brown") BotRS.BottomSurface = 0 BotRS.TopSurface = 0 BotRS.CanCollide = false local Bot2RS = Instance.new("SpecialMesh",BotRS) Bot2RS.MeshType = "Brick" Bot2RS.Scale = Vector3.new(4.7,0.3,4.7) local Bot3RS = Instance.new("Weld",BotRS) Bot3RS.Part0 = larm Bot3RS.Part1 = BotRS Bot3RS.C0 = CFrame.new(0,-5,0)*CFrame.Angles(0,0,0) ---------------------------------------------------- local Long = Instance.new("Part",char) Long.Size = Vector3.new(1,1,1) Long.CanCollide = false Long.BrickColor = BrickColor.new("Pastel brown") Long.TopSurface = 0 Long.BottomSurface = 0 local Long2 = Instance.new("SpecialMesh",Long) Long2.MeshType = "Brick" Long2.Scale = Vector3.new(9.5,0.3,4.5) local Long3 = Instance.new("Weld",Long) Long3.Part0 = torso Long3.Part1 = Long Long3.C0 = CFrame.new(0,4.95,0) ---------------------------------------------------- local Back = Instance.new("Part",char) Back.Size = Vector3.new(1,1,1) Back.CanCollide = false Back.BrickColor = BrickColor.new("Pastel brown") Back.TopSurface = 0 Back.BottomSurface = 0 local Back2 = Instance.new("SpecialMesh",Back) Back2.MeshType = "Brick" Back2.Scale = Vector3.new(9.5,9.3,0.3) local Back3 = Instance.new("Weld",Back) Back3.Part0 = torso Back3.Part1 = Back Back3.C0 = CFrame.new(0,0,2.5) ---------------------------------------------------- ---------------------------------------------------- local Leg = Instance.new("Part",char) Leg.Size = Vector3.new(1,1,1) Leg.BrickColor = BrickColor.new("Pastel brown") Leg.TopSurface = 0 Leg.BottomSurface = 0 Leg.CanCollide = false local Leg2 = Instance.new("SpecialMesh",Leg) Leg2.MeshType = "Brick" Leg2.Scale = Vector3.new(5,8.5,0.3) local Leg3 = Instance.new("Weld",Leg) Leg3.Part0 = rleg Leg3.Part1 = Leg Leg3.C0 = CFrame.new(0,0,2.5) local LegR = Instance.new("Part",char) LegR.Size = Vector3.new(1,1,1) LegR.BrickColor = BrickColor.new("Pastel brown") LegR.TopSurface = 0 LegR.BottomSurface = 0 LegR.CanCollide = false local Leg2R = Instance.new("SpecialMesh",LegR) Leg2R.MeshType = "Brick" Leg2R.Scale = Vector3.new(5,8.5,0.3) local Leg3R = Instance.new("Weld",LegR) Leg3R.Part0 = rleg Leg3R.Part1 = LegR Leg3R.C0 = CFrame.new(0,0,-2.5) local LegRS = Instance.new("Part",char) LegRS.Size = Vector3.new(1,1,1) LegRS.BrickColor = BrickColor.new("Pastel brown") LegRS.TopSurface = 0 LegRS.BottomSurface = 0 LegRS.CanCollide = false local Leg2RS = Instance.new("SpecialMesh",LegRS) Leg2RS.MeshType = "Brick" Leg2RS.Scale = Vector3.new(0.3,8.5,4.5) local Leg3RS = Instance.new("Weld",LegRS) Leg3RS.Part0 = rleg Leg3RS.Part1 = LegRS Leg3RS.C0 = CFrame.new(2.5,0,0)*CFrame.Angles(0,0,0) local TopRS = Instance.new("Part",char) TopRS.Size = Vector3.new(1,1,1) TopRS.BrickColor = BrickColor.new("Pastel brown") TopRS.TopSurface = 0 TopRS.BottomSurface = 0 TopRS.CanCollide = false local BotRS = Instance.new("Part",char) BotRS.Size = Vector3.new(1,1,1) BotRS.BrickColor = BrickColor.new("Pastel brown") BotRS.BottomSurface = 0 BotRS.TopSurface = 0 BotRS.CanCollide = false local Bot2RS = Instance.new("SpecialMesh",BotRS) Bot2RS.MeshType = "Brick" Bot2RS.Scale = Vector3.new(4.7,0.3,4.7) local Bot3RS = Instance.new("Weld",BotRS) Bot3RS.Part0 = rleg Bot3RS.Part1 = BotRS Bot3RS.C0 = CFrame.new(0,-5,0)*CFrame.Angles(0,0,0) ----------------------------------------------------------- local Arm = Instance.new("Part",char) Arm.Size = Vector3.new(1,1,1) Arm.BrickColor = BrickColor.new("Pastel brown") Arm.TopSurface = 0 Arm.BottomSurface = 0 Arm.CanCollide = false local Arm2 = Instance.new("SpecialMesh",Arm) Arm2.MeshType = "Brick" Arm2.Scale = Vector3.new(5,8.5,0.3) local Arm3 = Instance.new("Weld",Arm) Arm3.Part0 = lleg Arm3.Part1 = Arm Arm3.C0 = CFrame.new(0,0,2.5) local ArmR = Instance.new("Part",char) ArmR.Size = Vector3.new(1,1,1) ArmR.BrickColor = BrickColor.new("Pastel brown") ArmR.TopSurface = 0 ArmR.BottomSurface = 0 ArmR.CanCollide = false local Arm2R = Instance.new("SpecialMesh",ArmR) Arm2R.MeshType = "Brick" Arm2R.Scale = Vector3.new(5,8.5,0.3) local Arm3R = Instance.new("Weld",ArmR) Arm3R.Part0 = lleg Arm3R.Part1 = ArmR Arm3R.C0 = CFrame.new(0,0,-2.5) local ArmRS = Instance.new("Part",char) ArmRS.Size = Vector3.new(1,1,1) ArmRS.BrickColor = BrickColor.new("Pastel brown") ArmRS.TopSurface = 0 ArmRS.BottomSurface = 0 ArmRS.CanCollide = false local Arm2RS = Instance.new("SpecialMesh",ArmRS) Arm2RS.MeshType = "Brick" Arm2RS.Scale = Vector3.new(0.3,8.5,4.5) local Arm3RS = Instance.new("Weld",ArmRS) Arm3RS.Part0 = lleg Arm3RS.Part1 = ArmRS Arm3RS.C0 = CFrame.new(-2.5,0,0)*CFrame.Angles(0,0,0) local BotRS = Instance.new("Part",char) BotRS.Size = Vector3.new(1,1,1) BotRS.BrickColor = BrickColor.new("Pastel brown") BotRS.BottomSurface = 0 BotRS.TopSurface = 0 BotRS.CanCollide = false local Bot2RS = Instance.new("SpecialMesh",BotRS) Bot2RS.MeshType = "Brick" Bot2RS.Scale = Vector3.new(4.7,0.3,4.7) local Bot3RS = Instance.new("Weld",BotRS) Bot3RS.Part0 = lleg Bot3RS.Part1 = BotRS Bot3RS.C0 = CFrame.new(0,-5,0)*CFrame.Angles(0,0,0) ---------------------------------------------------- local Pec = Instance.new("Part",char) Pec.Size = Vector3.new(1,1,1) Pec.BrickColor = BrickColor.new("Pastel brown") Pec.CanCollide = false Pec.TopSurface = 0 Pec.BottomSurface = 0 local Pec2 = Instance.new("SpecialMesh",Pec) Pec2.MeshType = "Brick" Pec2.Scale = Vector3.new(5,3,0.3) local Pec3 = Instance.new("Weld",Pec) Pec3.Part0 = torso Pec3.Part1 = Pec Pec3.C0 = CFrame.new(2,2.8,-2.8)*CFrame.Angles(0,0,0.1) local PecA = Instance.new("Part",char) PecA.Size = Vector3.new(1,1,1) PecA.BrickColor = BrickColor.new("Pastel brown") PecA.CanCollide = false PecA.TopSurface = 0 PecA.BottomSurface = 0 local Pec2A = Instance.new("SpecialMesh",PecA) Pec2A.MeshType = "Brick" Pec2A.Scale = Vector3.new(5,3,0.3) local Pec3A = Instance.new("Weld",PecA) Pec3A.Part0 = torso Pec3A.Part1 = PecA Pec3A.C0 = CFrame.new(-2,2.8,-2.8)*CFrame.Angles(0,0,-0.1) --------------------------------------------------- local Abs = Instance.new("Part",char) Abs.Size = Vector3.new(1,1,1) Abs.BrickColor = BrickColor.new("Pastel brown") Abs.CanCollide = false Abs.TopSurface = 0 Abs.BottomSurface = 0 local Abs2 = Instance.new("SpecialMesh",Abs) Abs2.MeshType = "Brick" Abs2.Scale = Vector3.new(2,2,0.3) local Abs3 = Instance.new("Weld",Abs) Abs3.Part0 = torso Abs3.Part1 = Abs Abs3.C0 = CFrame.new(1.4,0,-2.8)*CFrame.Angles(0,0,0.1) local Abs = Instance.new("Part",char) Abs.Size = Vector3.new(1,1,1) Abs.BrickColor = BrickColor.new("Pastel brown") Abs.CanCollide = false Abs.TopSurface = 0 Abs.BottomSurface = 0 local Abs2 = Instance.new("SpecialMesh",Abs) Abs2.MeshType = "Brick" Abs2.Scale = Vector3.new(2,2,0.3) local Abs3 = Instance.new("Weld",Abs) Abs3.Part0 = torso Abs3.Part1 = Abs Abs3.C0 = CFrame.new(-1.4,0,-2.8)*CFrame.Angles(0,0,-0.1) local Abs = Instance.new("Part",char) Abs.Size = Vector3.new(1,1,1) Abs.BrickColor = BrickColor.new("Pastel brown") Abs.CanCollide = false Abs.TopSurface = 0 Abs.BottomSurface = 0 local Abs2 = Instance.new("SpecialMesh",Abs) Abs2.MeshType = "Brick" Abs2.Scale = Vector3.new(2,2,0.3) local Abs3 = Instance.new("Weld",Abs) Abs3.Part0 = torso Abs3.Part1 = Abs Abs3.C0 = CFrame.new(1.4,-2.1,-2.8)*CFrame.Angles(0,0,0.1) local Abs = Instance.new("Part",char) Abs.Size = Vector3.new(1,1,1) Abs.BrickColor = BrickColor.new("Pastel brown") Abs.CanCollide = false Abs.TopSurface = 0 Abs.BottomSurface = 0 local Abs2 = Instance.new("SpecialMesh",Abs) Abs2.MeshType = "Brick" Abs2.Scale = Vector3.new(2,2,0.3) local Abs3 = Instance.new("Weld",Abs) Abs3.Part0 = torso Abs3.Part1 = Abs Abs3.C0 = CFrame.new(-1.4,-2.1,-2.8)*CFrame.Angles(0,0,-0.1) local Abs = Instance.new("Part",char) Abs.Size = Vector3.new(1,1,1) Abs.BrickColor = BrickColor.new("Pastel brown") Abs.CanCollide = false Abs.TopSurface = 0 Abs.BottomSurface = 0 local Abs2 = Instance.new("SpecialMesh",Abs) Abs2.MeshType = "Brick" Abs2.Scale = Vector3.new(2,2,0.3) local Abs3 = Instance.new("Weld",Abs) Abs3.Part0 = torso Abs3.Part1 = Abs Abs3.C0 = CFrame.new(1.4,-4.1,-2.8)*CFrame.Angles(0,0,0.1) local Abs = Instance.new("Part",char) Abs.Size = Vector3.new(1,1,1) Abs.BrickColor = BrickColor.new("Pastel brown") Abs.CanCollide = false Abs.TopSurface = 0 Abs.BottomSurface = 0 local Abs2 = Instance.new("SpecialMesh",Abs) Abs2.MeshType = "Brick" Abs2.Scale = Vector3.new(2,2,0.3) local Abs3 = Instance.new("Weld",Abs) Abs3.Part0 = torso Abs3.Part1 = Abs Abs3.C0 = CFrame.new(-1.4,-4.1,-2.8)*CFrame.Angles(0,0,-0.1) ----------------------------------------------------- local Head = Instance.new("Part",char) Head.Size = Vector3.new(1,1,1) Head.BrickColor = BrickColor.new("Pastel brown") Head.CanCollide = false Head.TopSurface = 0 Head.BottomSurface = 0 local Head2 = Instance.new("SpecialMesh",Head) Head2.MeshType = "Head" Head2.Scale = Vector3.new(11.5,6.5,6.5) local Head3 = Instance.new("Weld",Head) Head3.Part0 = hed Head3.Part1 = Head Head3.C0 = CFrame.new(0,0,0) ----------------------------------------------------- local Eye2 = Instance.new("Part",char) Eye2.Size = Vector3.new(1,1,1) Eye2.BrickColor = BrickColor.new("Lime green") Eye2.CanCollide = false Eye2.TopSurface = 0 Eye2.BottomSurface = 0 local Eye22 = Instance.new("SpecialMesh",Eye2) Eye22.MeshType = "Sphere" Eye22.Scale = Vector3.new(1.2,0.6,0.1) local Eye32 = Instance.new("Weld",Eye2) Eye32.Part0 = hed Eye32.Part1 = Eye2 Eye32.C0 = CFrame.new(1.3,0.5,-3)*CFrame.Angles(0,0,0.3) local Eye = Instance.new("Part",char) Eye.Size = Vector3.new(1,1,1) Eye.BrickColor = BrickColor.new("Lime green") Eye.CanCollide = false Eye.TopSurface = 0 Eye.BottomSurface = 0 local Eye212 = Instance.new("SpecialMesh",Eye) Eye212.MeshType = "Sphere" Eye212.Scale = Vector3.new(1.2,0.6,0.1) local Eye3 = Instance.new("Weld",Eye) Eye3.Part0 = hed Eye3.Part1 = Eye Eye3.C0 = CFrame.new(-1.3,0.5,-3)*CFrame.Angles(0,0,-0.3) local Glow = Instance.new("Part",char) Glow.Size = Vector3.new(1,1,1) Glow.BrickColor = BrickColor.new("Lime green") Glow.CanCollide = false Glow.TopSurface = 0 Glow.Material = "Neon" Glow.BottomSurface = 0 local Glow2 = Instance.new("SpecialMesh",Glow) Glow2.MeshType = "Sphere" Glow2.Scale = Vector3.new(0.5,0.5,0.5) local Glow3 = Instance.new("Weld",Glow) Glow3.Part0 = Eye Glow3.Part1 = Glow Glow3.C0 = CFrame.new(0,0,-0.2)*CFrame.Angles(0,0,0) local Glow = Instance.new("Part",char) Glow.Size = Vector3.new(1,1,1) Glow.BrickColor = BrickColor.new("Lime green") Glow.CanCollide = false Glow.TopSurface = 0 Glow.Material = "Neon" Glow.BottomSurface = 0 local Glow2 = Instance.new("SpecialMesh",Glow) Glow2.MeshType = "Sphere" Glow2.Scale = Vector3.new(0.5,0.5,0.5) local Glow3 = Instance.new("Weld",Glow) Glow3.Part0 = Eye2 Glow3.Part1 = Glow Glow3.C0 = CFrame.new(0,0,-0.2)*CFrame.Angles(0,0,0) ----------------------------------------------------- function weld5(part0, part1, c0, c1) weeld=Instance.new("Weld", part0) weeld.Part0=part0 weeld.Part1=part1 weeld.C0=c0 weeld.C1=c1 return weeld end ---------------------------------------------------- function newRay(start,face,range,wat) local rey=Ray.new(start.p,(face.p-start.p).Unit*range) hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat) return rey,hit,pos end ---------------------------------------------------- mod5 = Instance.new("Model",char) function FindNearestTorso(Position,Distance,SinglePlayer) if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end local List = {} for i,v in pairs(workspace:GetChildren())do if v:IsA("Model")then if v:findFirstChild("Torso")then if v ~= char then if(v.Torso.Position -Position).magnitude <= Distance then table.insert(List,v) end end end end end return List end function Landing() part=Instance.new('Part',mod5) part.Anchored=true part.CanCollide=false part.FormFactor='Custom' part.Size=Vector3.new(.2,.2,.2) part.CFrame=root.CFrame*CFrame.new(0,-2,0) part.Transparency=.7 part.BrickColor=BrickColor.new('Really black') mesh=Instance.new('SpecialMesh',part) mesh.MeshId='http://www.roblox.com/asset/?id=20329976' mesh.Scale=Vector3.new(10,5,10) for i,v in pairs(FindNearestTorso(torso.CFrame.p,40))do if v:FindFirstChild('Humanoid') then v.Humanoid:TakeDamage(math.random(20,30)) v.Humanoid.PlatformStand = true v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100 end end coroutine.resume(coroutine.create(function() for i=0,3.8,0.05 do wait() part.CFrame=part.CFrame part.Transparency=i mesh.Scale=mesh.Scale+Vector3.new(1,0.2,1) end part.Parent = nil end)) end ---------------------------------------------------- mod4 = Instance.new("Model",char) ptez = {0.7, 0.8, 0.9, 1} function FindNearestTorso(Position,Distance,SinglePlayer) if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end local List = {} for i,v in pairs(workspace:GetChildren())do if v:IsA("Model")then if v:findFirstChild("Torso")then if v ~= char then if(v.Torso.Position -Position).magnitude <= Distance then table.insert(List,v) end end end end end return List end ---------------------------------------------------- local acos = math.acos local sqrt = math.sqrt local Vec3 = Vector3.new local fromAxisAngle = CFrame.fromAxisAngle local function toAxisAngle(CFr) local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() local Angle = math.acos((R00+R11+R22-1)/2) local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 A = A == 0 and 0.00001 or A local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 B = B == 0 and 0.00001 or B local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 C = C == 0 and 0.00001 or C local x = (R21-R12)/sqrt(A) local y = (R02-R20)/sqrt(B) local z = (R10-R01)/sqrt(C) return Vec3(x,y,z),Angle end function ApplyTrig(Num,Func) local Min,Max = Func(0),Func(1) local i = Func(Num) return (i-Min)/(Max-Min) --[[if Func == "sin" then return (math.sin((1-Num)*math.pi)+1)/2 elseif Func == "cos" then return (math.cos((1-Num)*math.pi)+1)/2 end]] end function LerpCFrame(CFrame1,CFrame2,Num) local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num end mouse.KeyDown:connect(function(key) if key == "b" then if Debounces.CanAttack == true then Debounces.CanAttack = false Debounces.on = true Debounces.NoIdl = true for i = 1,20 do rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(9,4,1) * CFrame.Angles(0.3,-0.5,1.55),.3) larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-9,4,1) * CFrame.Angles(0.3,0.5,-1.55),.3) hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(0.4,0,0),.3) torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(0.3,0,0),.3) lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8,1) *CFrame.Angles(-0.3,0,-0.1),.3) rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -8.8,1) * CFrame.Angles(-0.3,0,0.1),.3) if Debounces.on == false then break end wait() end v = Instance.new("Sound") v.SoundId = "rbxassetid://181384451" v.Parent = torso v.Looped = false v.Pitch = 1 v.Volume = math.huge wait(.01) v:Play() coroutine.resume(coroutine.create(function() for i = 1,80 do local H = Instance.new("Part",torso) H.Size = Vector3.new(1,1,1) H.BrickColor = BrickColor.new("White") H.CanCollide = false H.Anchored = true H.CFrame = torso.CFrame*CFrame.new(0,-13,0)*CFrame.Angles(1.3,0,0) local H2 = Instance.new("SpecialMesh",H) H2.MeshId = "rbxassetid://3270017" coroutine.resume(coroutine.create(function() for i = 1,200 do H2.Scale = H2.Scale + Vector3.new(5,5,5) H.Transparency = H.Transparency + 0.05 wait(0.05) end H:remove() end)) wait(0.005) end if Debounces.CanAttack == false then Debounces.CanAttack = true Debounces.on = false Debounces.NoIdl = false end end)) end end end) mouse.KeyDown:connect(function(key) if key == "z" then if Debounces.CanAttack == true then Debounces.CanAttack = false Debounces.on = true Debounces.NoIdl = true for i = 1,20 do rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,1,-3) * CFrame.Angles(1.55,0,0),.3) larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,1,-3) * CFrame.Angles(1.55,0,0),.3) hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(0,0,0),.3) torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -6, 0) * CFrame.Angles(-1.5,0,0),.3) lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -7.6,-2) *CFrame.Angles(1.55,0,0),.3) rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6,-2) * CFrame.Angles(1.55,0,0),.3) if Debounces.on == false then break end wait() end local Rock = Instance.new("Part",char) Rock.Size = Vector3.new(1,1,1) local Rock22 = Instance.new("SpecialMesh",Rock) Rock22.MeshId = "rbxassetid://433651599" Rock22.Scale = Vector3.new(0.5,0.5,0.5) local Rock2 = Instance.new("Weld",Rock) Rock2.Part0 = hed Rock2.Part1 = Rock Rock2.C0 = CFrame.new(0,40,0)*CFrame.Angles(0,-1.55,0) local PPA = Instance.new("Part",Rock) PPA.Size = Vector3.new(30,30,30) PPA.CanCollide = false local PPA2 = Instance.new("Weld",PPA) PPA2.Part0 = Rock PPA2.Part1 = PPA PPA2.C0 = CFrame.new(0,0,0) PPA.Touched:connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil then if not FA then FA = true hit.Parent.Humanoid.PlatformStand = true hit.Parent.Humanoid:TakeDamage(30) local Fly = Instance.new("BodyVelocity",hit.Parent.Torso) Fly.maxForce = Vector3.new(math.huge,math.huge,math.huge) Fly.velocity = mouse.hit.lookVector*560 wait(0.1) Fly:remove() wait(3) FA = false end end end) wait(0.5) for i = 1,20 do rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,5.5,0) * CFrame.Angles(3.1,0,0),.3) larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,5.5,0) * CFrame.Angles(3.1,0,0),.3) hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(0,0,0),.3) torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(0,0,0),.3) lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8,0) *CFrame.Angles(0,0,0),.3) rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -8.8,0) * CFrame.Angles(0,0,0),.3) if Debounces.on == false then break end wait() end Rock2:remove() local Fly = Instance.new("BodyVelocity",Rock) Fly.maxForce = Vector3.new(math.huge,math.huge,math.huge) Fly.velocity = mouse.hit.lookVector*200 for i = 1,20 do rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,1.5,-1) * CFrame.Angles(1.55,0,0),.3) larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,1.5,-1) * CFrame.Angles(1.55,0,0),.3) hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(-0.3,0,0),.3) torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(-0.3,0,0),.3) lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8,0) *CFrame.Angles(0,0,0),.3) rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -8.8,-2) * CFrame.Angles(0.5,0,0),.3) if Debounces.on == false then break end wait() end if Debounces.CanAttack == false then Debounces.CanAttack = true Debounces.on = false Debounces.NoIdl = false end wait(2) Fly:remove() local SFXZ = Instance.new("Sound",Rock) SFXZ.SoundId = "rbxassetid://134854740" SFXZ.Volume = math.huge SFXZ.Pitch = 1 SFXZ.Looped = false wait(0.01) SFXZ:Play() wait(3) Rock:remove() end end end) mouse.KeyDown:connect(function(key) if key == "e" then if Debounces.CanAttack == true then Debounces.CanAttack = false Debounces.on = true Debounces.NoIdl = true for i = 1,20 do rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,1,-3) * CFrame.Angles(1.3,0,0),.3) larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,1,0) * CFrame.Angles(-0.5,0,0),.3) hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(0,0,0),.3) torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -8, 0) * CFrame.Angles(-0.5,0,0),.3) lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -3.3,-3.5) *CFrame.Angles(0.5,0,0),.3) rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6,0.5) * CFrame.Angles(-1.1,0,0),.3) if Debounces.on == false then break end wait() end local HitBox = Instance.new("Part",char) HitBox.Size = Vector3.new(5,5,5) HitBox.CanCollide = false HitBox.Transparency = math.huge local HitBox2 = Instance.new("Weld",HitBox) HitBox2.Part0 = rarm HitBox2.Part1 = HitBox HitBox2.C0 = CFrame.new(0,-4.5,0) HitBox.Touched:connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil then if not DD then DD = true HitBox:remove() hit.Parent.Humanoid.PlatformStand = true local We = Instance.new("Weld",hit.Parent.Torso) We.Part0 = rarm We.Part1 = hit.Parent.Torso We.C0 = CFrame.new(0,-5,0)*CFrame.Angles(-1.55,0,0) wait(1) for i = 1,20 do rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,4,0) * CFrame.Angles(3.1,0,1),.3) larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,4,0) * CFrame.Angles(-3.1,0,-1),.3) hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(1,0,0),.3) torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -8, 0) * CFrame.Angles(-0.5,0,0),.3) lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -3.3,-3.5) *CFrame.Angles(0.5,0,0),.3) rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6,0.5) * CFrame.Angles(-1.1,0,0),.3) if Debounces.on == false then break end wait() end hit.Parent.Humanoid:TakeDamage(20) for i = 1,20 do rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(6,4,-1) * CFrame.Angles(1.55,0,-1),.3) larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-6,4,-1) * CFrame.Angles(1.55,0,1),.3) hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(-0.4,0,0),.3) torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -8, 0) * CFrame.Angles(-0.5,0,0),.3) lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -3.3,-3.5) *CFrame.Angles(0.5,0,0),.3) rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6,0.5) * CFrame.Angles(-1.1,0,0),.3) if Debounces.on == false then break end wait() end for i = 1,20 do rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(5,4,-1) * CFrame.Angles(1.55,0,-1.3),.3) larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-5,4,-1) * CFrame.Angles(1.55,0,1.3),.3) hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(-0.4,0,0),.3) torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -8, 0) * CFrame.Angles(-0.5,0,0),.3) lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -3.3,-3.5) *CFrame.Angles(0.5,0,0),.3) rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6,0.5) * CFrame.Angles(-1.1,0,0),.3) if Debounces.on == false then break end wait() end local partasdeff = Instance.new("ParticleEmitter",hit.Parent.Torso) partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0, 0)) partasdeff.LightEmission = .1 partasdeff.Size = NumberSequence.new(0.2) partasdeff.Texture = "http://www.roblox.com/asset/?ID=380529823" aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) partasdeff.Transparency = bbb partasdeff.Size = aaa partasdeff.ZOffset = .9 partasdeff.Acceleration = Vector3.new(0, -5, 0) partasdeff.LockedToPart = false partasdeff.EmissionDirection = "Top" partasdeff.Lifetime = NumberRange.new(1, 2) partasdeff.Rate = 1000 partasdeff.Rotation = NumberRange.new(-100, 100) partasdeff.RotSpeed = NumberRange.new(-100, 100) partasdeff.Speed = NumberRange.new(10) partasdeff.VelocitySpread = 300 partasdeff.Enabled = true wait(1.5) hit.Parent:BreakJoints() We:remove() partasdeff.Enabled = false if Debounces.CanAttack == false then Debounces.CanAttack = true Debounces.on = false Debounces.NoIdl = false end wait(3) DD = false end end end) wait(5) if Debounces.CanAttack == false then Debounces.CanAttack = true Debounces.on = false Debounces.NoIdl = false end end end end) mouse.KeyDown:connect(function(key) if key == "r" then if Debounces.CanAttack == true then Debounces.CanAttack = false Debounces.on = true Debounces.NoIdl = true for i = 1,20 do rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,1,0) * CFrame.Angles(0.5,0,0),.3) larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,1,0) * CFrame.Angles(-0.5,0,0),.3) hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(0,0,0),.3) torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(-0.5,0,0),.3) lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8, -2) *CFrame.Angles(0.5,0,0),.3) rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6, 1.2) * CFrame.Angles(-1.5,0,0),.3) if Debounces.on == false then break end wait() end local HitBox = Instance.new("Part",char) HitBox.Size = Vector3.new(5,5,5) HitBox.CanCollide = false HitBox.Transparency = math.huge local HitBox2 = Instance.new("Weld",HitBox) HitBox2.Part0 = rleg HitBox2.Part1 = HitBox HitBox2.C0 = CFrame.new(0,-1.1,0) local SFXZ = Instance.new("Sound",torso) SFXZ.SoundId = "rbxassetid://169259383" SFXZ.Volume = math.huge SFXZ.Pitch = 0.5 SFXZ.Looped = false wait(0.01) SFXZ:Play() HitBox.Touched:connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil then local SFXZ = Instance.new("Sound",torso) SFXZ.SoundId = "rbxassetid://743886825" SFXZ.Volume = 1 SFXZ.Pitch = 0.5 SFXZ.Looped = false SFXZ:Play() HitBox:remove() hit.Parent.Humanoid:TakeDamage(44) hit.Parent.Humanoid.PlatformStand = true local Fl = Instance.new("BodyVelocity",hit.Parent.Torso) Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) Fl.velocity = rleg.CFrame.lookVector*350 wait(0.1) Fl:remove() end end) for i = 1,20 do rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,1,0) * CFrame.Angles(-0.5,0,0),.3) larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,1,0) * CFrame.Angles(0.5,0,0),.3) hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(0,0,0),.3) torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(0.5,0,0),.3) lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8, 2) *CFrame.Angles(-0.5,0,0),.3) rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6, -1.2) * CFrame.Angles(1.5,0,0),.3) if Debounces.on == false then break end wait() end if Debounces.CanAttack == false then Debounces.CanAttack = true Debounces.on = false Debounces.NoIdl = false HitBox:remove() end end end end) ---------------------------------------------------- mouse.KeyDown:connect(function(key) if string.byte(key) == 48 then char.Humanoid.WalkSpeed = 34 end end) mouse.KeyUp:connect(function(key) if string.byte(key) == 48 then char.Humanoid.WalkSpeed = 5 end end) ---------------------------------------------------- local animpose = "Idle" local lastanimpose = "Idle" local sine = 0 local change = 1 local val = 0 local ffing = false ---------------------------------------------------- local x = Instance.new("Sound", char.Torso) x.SoundId = "http://www.roblox.com/asset/?id=273962540" x.Looped = true x.Volume = 1 x.Pitch = 1 local footsteps = false ------------------------------- game:GetService("RunService").RenderStepped:connect(function() rarm.BrickColor = ASD larm.BrickColor = ASD rleg.BrickColor = ASD lleg.BrickColor = ASD hed.BrickColor = ASD torso.BrickColor = ASD --[[if char.Humanoid.Jump == true then jump = true else jump = false end]] char.Humanoid.FreeFalling:connect(function(f) if f then ffing = true else ffing = false end end) sine = sine + change if jumpn == true then animpose = "Jumping" elseif ffing == true then animpose = "Freefalling" elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then animpose = "Idle" elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then animpose = "Walking" elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then animpose = "Running" end if animpose ~= lastanimpose then sine = 0 if Debounces.NoIdl == false then if animpose == "Idle" then for i = 1, 2 do rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(8,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.2) larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-8,.9,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.2) hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2) torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-3, -8.8, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(3, -8.8, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) end elseif animpose == "Walking" then for i = 1, 2 do rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.3, .9, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(20)), 0.2) larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.3, .9, 0)*CFrame.Angles(0, math.rad(1), math.rad(-10)), 0.2) hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0)*CFrame.Angles(math.rad(-8), math.rad(0), math.rad(0)),0.2) torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(0)), 0.2) lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4) rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -8.8, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4) end elseif animpose == "Running" then for i = 1, 2 do rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.8, 0.9, .5) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(50)), 0.2) larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.8, 1.2, 0-1*math.cos(sine/4)/2)*CFrame.Angles(math.rad(50-80*math.cos(sine/8)/2), math.rad(0), math.rad(0-70*math.cos(sine/8)/2)), 0.2) hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0)*CFrame.Angles(math.rad(6+8*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2) torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+4*math.cos(sine/4)/2), 0, math.rad(0)), 0.2) lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8-0.44*math.cos(sine/8)/2.4, -.15 + math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + -math.sin(sine/8)/1.7, 0, 0), .4) rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -8.8+0.44*math.cos(sine/8)/2.4, -.15 + -math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + math.sin(sine/8)/1.7, 0, 0), .4) end wait() end else end end lastanimpose = animpose if Debounces.NoIdl == false then if animpose == "Idle" then if stanceToggle == "Normal" then change = 0.5 rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(8,1,0)*CFrame.new(0,0-.3*math.sin(tick()*1),0)*CFrame.Angles(0,0,0)*CFrame.Angles(0,0,0.3),.2) larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-8,1,0)*CFrame.new(0,0-.3*math.sin(tick()*1),0)*CFrame.Angles(0,0,0)*CFrame.Angles(0,0,-0.3),.2) hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,-.2)*CFrame.Angles(0-.1*math.sin(tick()*1),0,0)*CFrame.Angles(-0.3,0,0), 0.2) torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(0, 0, 0), 0.2) lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-3, -8.8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(3, -8.8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) elseif stanceToggle == "Sitting" then rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(100-1*math.cos(sine/14)), math.rad(0), math.rad(20)), 0.2) larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2, .9, -1)*CFrame.Angles(math.rad(78+1*math.cos(sine/14)), math.rad(0), math.rad(50)), 0.2) hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.3) * CFrame.Angles(math.rad(-14+1*math.cos(sine/14)), math.rad(0), math.rad(0)),0.2) torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(-10+1*math.cos(sine/14)), 0, math.rad(0)), 0.2) lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10-1*math.cos(sine/14)), 0, 0), 0.2) rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-50-1*math.cos(sine/14)), 0, 0), 0.2) end elseif animpose == "Walking" then if stanceToggle == "Normal" then change = 1 rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,0.8,0)*CFrame.Angles(0-.2*math.sin(tick()*2.5),0,0.2),.3) larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,0.8,0)*CFrame.Angles(0+.2*math.sin(tick()*2.5),0,-0.2),.3) hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0)*CFrame.Angles(-0.2,0,0),.3) torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0,-1.8,0)*CFrame.new(0,0-.1*math.sin(tick()*2),0)*CFrame.Angles(0,0,0),.3) lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8-0.3*math.cos(sine/14)/2, -.05 + math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + -math.sin(sine/14)/2.3, 0, 0), .4) rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -8.8+0.3*math.cos(sine/14)/2, -.05 + -math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + math.sin(sine/14)/2.3, 0, 0), .4) end elseif animpose == "Running" then change = 1 rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.7,0.5,0)*CFrame.Angles(0-.5*math.sin(tick()*7),0,0),.3) larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.7,0.5,0)*CFrame.Angles(0+.5*math.sin(tick()*7),0,0),.3) hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0)*CFrame.Angles(math.rad(6+6*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2) torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+10*math.cos(sine/4)/2), 0, math.rad(0)), 0.2) lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8-0.80*math.cos(sine/6)/2.4, -.15 + math.sin(sine/6)/1.5) * CFrame.Angles(math.rad(-10) + -math.sin(sine/6)/1.7, 0, 0), .4) rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -8.8+0.80*math.cos(sine/6)/2.4, -.15 + -math.sin(sine/6)/1.5) * CFrame.Angles(math.rad(-10) + math.sin(sine/6)/1.7, 0, 0), .4) end end if animpose == "Walking" then if footsteps == false then x:Play() footsteps = true end x.Pitch = 1.1 elseif animpose == "Idle" then x:Stop() footsteps = false elseif animpose == "Running" then x.Pitch = 1.2 if footsteps == false then x:Play() footsteps = true end end end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement