Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- loadstring(game:HttpGet(("https://pastebin.com/raw/PtmpPbV2"),true))()
- --[[Name:The Jully Of Death]]--
- --[[Create:KingAbsalom]]--
- --[[Edit:Skrubl0rdzI]]--
- local p = game.Players.LocalPlayer
- 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 rj = root.RootJoint
- local deb = false
- local shot = 0
- local stanceToggle = "Idle1"
- local l = game:GetService("Lighting")
- local rs = game:GetService("RunService").RenderStepped
- local hb = game:GetService("RunService").Heartbeat
- local Stepped = game:GetService("RunService").Stepped
- TorsoColor = torso.BrickColor
- hum.JumpPower = 360
- hum.WalkSpeed = 1000
- Debounces = {
- CanAttack = true;
- NoIdl = false;
- Slashing = false;
- Slashed = false;
- RPunch = false;
- RPunched = false;
- LPunch = false;
- LPunched = false;
- }
- local Touche = {char.Name, }
- for i,v in pairs(char:children()) do
- if v:IsA("Shirt") then
- v:Destroy()
- end
- end
- for i,v in pairs(char:children()) do
- if v:IsA("Pants") then
- v:Destroy()
- end
- end
- fat = Instance.new("BindableEvent", script)
- fat.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 0.013333333333333
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- local ss = Instance.new("Sound",char)
- ss.Volume = 1.6
- ss.Looped = true
- ss.Pitch = 1
- ss.SoundId = "rbxassetid://536812365"
- ss:Play()
- function sbchat(msg,displayname)
- if not displayname then
- displayname = 'bela'
- end
- for i,v in pairs(game:GetService('Players'):GetChildren()) do
- local st = Instance.new('StringValue')
- st.Name = 'SB_Chat'
- st.Value = displayname..'/'..msg
- delay(0.2,function() st.Parent = v end)
- end
- end
- sbchat("EIGHT GATES!!",'[Might Guy]')
- local runServ = game:GetService("RunService").RenderStepped
- runServ:connect(function()
- HHealth.Text = "["..math.floor(game.Players.LocalPlayer.Character.Humanoid.Health).."]"
- HBar:TweenSize(UDim2.new((game.Players.LocalPlayer.Character.Humanoid.Health/game.Players.LocalPlayer.Character.Humanoid.MaxHealth),0,1,0), _, "Linear", .4)
- end)
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if frame <= tf then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end
- )
- for i,v in pairs(hed:GetChildren()) do
- if v:IsA("Sound") then
- v:Destroy()
- end
- end
- Debounces = {CanAttack = true, CanJoke = true, NoIdl = false, RPunch = false, RPunched = false, LPunch = false, LPunched = false, Slashing = false, Slashed = false, ks = false, ks2 = false}
- weld5 = function(part0, part1, c0, c1)
- weeld = Instance.new("Weld", part0)
- weeld.Part0 = part0
- weeld.Part1 = part1
- weeld.C0 = c0
- weeld.C1 = c1
- return weeld
- end
- NewPart = function(prnt, siz, cf, trans, anc, mat, col)
- local prt = Instance.new("Part")
- prt.Parent = prnt
- prt.Name = "Part"
- prt.Size = siz
- prt.CanCollide = false
- prt.Anchored = anc
- prt.Locked = true
- prt.Transparency = trans
- prt.TopSurface = 10
- prt.BottomSurface = 10
- prt.FrontSurface = 10
- prt.BackSurface = 10
- prt.LeftSurface = 10
- prt.RightSurface = 10
- prt:BreakJoints()
- if not cf then
- prt.CFrame = CFrame.new(30, 10, 30)
- prt.Material = mat
- prt.BrickColor = BrickColor.new(col)
- m = Instance.new("SpecialMesh", prt)
- m.MeshType = 6
- return prt
- end
- end
- lerp = function(a, b, t)
- return a + (b - a) * t
- end
- slerp = function(a, b, t)
- dot = a:Dot(b)
- if t > 0.5 or not a then
- do return dot <= 0.99999 and dot >= -0.99999 or b end
- r = math.acos(dot)
- do return (a * math.sin((1 - t) * r) + b * math.sin(t * r)) / math.sin(r) end
- end
- end
- matrixInterpolate = function(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)
- local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t)
- local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t)
- local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t)
- local t = v1:Dot(v2)
- if t >= 0 and t ~= 0 and t <= 0 then
- 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
- genWeld = function(a, b)
- local w = Instance.new("Weld", a)
- w.Part0 = a
- w.Part1 = b
- return w
- end
- weld = function(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
- Lerp = function(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
- 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)
- pr = Instance.new("Part",hed)
- pr.BrickColor = BrickColor.new("Dark red")
- pr.Material = "Neon"
- pr.Reflectance = 0
- pr.Anchored = false
- pr.CanCollide = false
- pr.Archivable = false
- pr.Locked = true
- pr.Size = Vector3.new(1,1,1)
- prm = Instance.new("SpecialMesh",pr)
- prm.MeshType = "FileMesh"
- prm.MeshId = "rbxassetid://560718478"
- prm.Scale = Vector3.new(6,6,6)
- newWeld(hed, pr, 0, 0, 0)
- pr.Weld.C1 = CFrame.new(0,-.8,-.43) * CFrame.Angles(0,0,0)
- New = function(Object, Parent, Name, Data)
- local Object = Instance.new(Object)
- if not Data then
- for Index,Value in pairs({}) do
- Object[Index] = Value
- end
- Object.Parent = Parent
- Object.Name = Name
- return Object
- end
- end
- local animpose = "Idle1"
- local lastanimpose = "Idle1"
- local grab = false
- local Smooth = 0.5
- local sine = 0
- local change = 0.5
- local val = 0
- local ffing = false
- mod4 = Instance.new("Model", char)
- ptez = {0.7, 0.8, 0.9, 1}
- FindNearestTorso = function(Position, Distance, SinglePlayer)
- if SinglePlayer.Torso.CFrame.p - Position.magnitude >= Distance then
- do return not SinglePlayer end
- do
- local List = {}
- for i,v in pairs(workspace:GetChildren()) do
- if v:IsA("Model") and v:findFirstChild("Torso") and v ~= char and v.Torso.Position - Position.magnitude <= Distance then
- table.insert(List, v)
- end
- end
- do return List end
- -- DECOMPILER ERROR: 3 unprocessed JMP targets
- end
- end
- end
- Slam = function()
- local part = Instance.new("Part", mod4)
- part.Anchored = true
- part.CanCollide = false
- part.FormFactor = "Custom"
- part.Size = Vector3.new(0.2, 0.2, 0.2)
- part.CFrame = root.CFrame * CFrame.new(0, -2.8, -1.4) * CFrame.Angles(math.rad(90), 0, 0)
- part.Transparency = 0.7
- part.BrickColor = BrickColor.new("Really black")
- mesh = Instance.new("SpecialMesh", part)
- mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
- mesh.Scale = Vector3.new(3, 3, 3)
- local part2 = Instance.new("Part", mod4)
- part2.Anchored = true
- part2.CanCollide = false
- part2.FormFactor = "Custom"
- part2.Size = Vector3.new(0.2, 0.2, 0.2)
- part2.CFrame = root.CFrame * CFrame.new(0, -2.4, -1.6)
- part2.Transparency = 0.7
- part2.BrickColor = BrickColor.new("Lime green")
- mesh2 = Instance.new("SpecialMesh", part2)
- mesh2.MeshId = "http://www.roblox.com/asset/?id=20329976"
- mesh2.Scale = Vector3.new(3, 1.5, 3)
- x = Instance.new("Sound", larm)
- x.SoundId = "http://www.roblox.com/asset/?id=142070127"
- x.Pitch = ptez[math.random(1, #ptez)]
- x.Volume = 1
- x1 = Instance.new("Sound", larm)
- x1.SoundId = "http://www.roblox.com/asset/?id=206082327"
- x1.Pitch = ptez[math.random(1, #ptez)]
- x1.Volume = 1
- x:Play()
- x1:Play()
- for i,v in pairs(FindNearestTorso(torso.CFrame.p, 4)) do
- if v:FindFirstChild("Humanoid") then
- v.Humanoid.Health = 100
- end
- end
- coroutine.resume(coroutine.create(function()
- for i = 0, 0.62, 0.13 do
- fat.Event:wait()
- part.CFrame = part.CFrame
- part.Transparency = i
- mesh.Scale = mesh.Scale + Vector3.new(0.4, 0.4, 0.4)
- part2.CFrame = part2.CFrame
- part2.Transparency = i
- mesh2.Scale = mesh2.Scale + Vector3.new(0.4, 0.2, 0.4)
- end
- part.Parent = nil
- part2.Parent = nil
- x:Destroy()
- end
- ))
- end
- wPart = function(x, y, z, color, tr, cc, an, parent)
- local wp = Instance.new("WedgePart", parent or Weapon)
- wp.formFactor = "Custom"
- wp.Size = Vector3.new(x, y, z)
- wp.BrickColor = BrickColor.new(color)
- wp.CanCollide = cc
- wp.Transparency = tr
- wp.Anchored = an
- wp.TopSurface = 0
- return wp
- end
- Mesh = function(par, num, x, y, z)
- local msh = _
- if num == 1 then
- msh = Instance.new("CylinderMesh", par)
- else
- if num == 2 then
- msh = Instance.new("SpecialMesh", par)
- msh.MeshType = 3
- else
- if num == 3 then
- msh = Instance.new("BlockMesh", par)
- else
- if num == 4 then
- msh = Instance.new("SpecialMesh", par)
- msh.MeshType = "Torso"
- else
- if type(num) == "string" then
- msh = Instance.new("SpecialMesh", par)
- msh.MeshId = num
- end
- end
- end
- end
- end
- msh.Scale = Vector3.new(x, y, z)
- return msh
- end
- local CFrameFromTopBack = function(at, top, back)
- local right = top:Cross(back)
- return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
- end
- Triangle = function(a, b, c)
- local edg1 = c - a:Dot(b - a.unit)
- local edg2 = a - b:Dot(c - b.unit)
- local edg3 = b - c:Dot(a - c.unit)
- if edg1 <= b - a.magnitude and edg1 >= 0 then
- a = a
- else
- -- DECOMPILER ERROR at PC35: Overwrote pending register: R1 in 'AssignReg'
- if edg2 <= c - b.magnitude and edg2 >= 0 then
- a = b
- else
- -- DECOMPILER ERROR at PC46: Overwrote pending register: R2 in 'AssignReg'
- -- DECOMPILER ERROR at PC47: Overwrote pending register: R1 in 'AssignReg'
- if edg3 <= a - c.magnitude and edg3 >= 0 then
- a = c
- else
- print("unreachable")
- end
- end
- end
- local len1 = c - a:Dot(b - a.unit)
- local len2 = b - a.magnitude - len1
- local width = a + b - a.unit * len1 - c.magnitude
- local maincf = CFrameFromTopBack(a, b - a:Cross(c - b).unit, -b - a.unit)
- local list = {}
- if len1 > 0.01 then
- local w1 = wPart(0, 0, 0, "Lime green", 0.5, false, true, char)
- do
- local sz = Vector3.new(0.2, width, len1)
- w1.Size = sz
- local sp = Mesh(w1, 2, 0, 0, 0)
- sp.MeshType = "Wedge"
- sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size
- w1:BreakJoints()
- w1.Anchored = true
- w1.Transparency = 0.7
- Spawn(function()
- for i = 0, 1, 0.1 do
- fat.Event:wait()
- w1.Transparency = w1.Transparency + 0.03
- end
- end
- )
- w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
- table.insert(list, w1)
- end
- end
- do
- if len2 > 0.01 then
- local w2 = wPart(0, 0, 0, "Lime green", 0.5, false, true, char)
- local sz = Vector3.new(0.2, width, len2)
- w2.Size = sz
- local sp = Mesh(w2, 2, 0, 0, 0)
- sp.MeshType = "Wedge"
- sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size
- w2:BreakJoints()
- w2.Anchored = true
- w2.Transparency = 0.7
- Spawn(function()
- for i = 0, 1, 0.1 do
- fat.Event:wait()
- w2.Transparency = w2.Transparency + 0.03
- end
- end
- )
- w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
- table.insert(list, w2)
- end
- do
- return unpack(list)
- end
- end
- end
- trail = function(p, t, h)
- Spawn(function()
- local blcf = p.CFrame
- local scfr = blcf
- for i = 1, t do
- local blcf = p.CFrame
- if scfr and p.Position - scfr.p.magnitude > 0.1 then
- 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)
- if a then
- game.Debris:AddItem(a, 1)
- end
- if b then
- game.Debris:AddItem(b, 1)
- end
- 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)
- if a then
- game.Debris:AddItem(a, 1)
- end
- if b then
- game.Debris:AddItem(b, 1)
- end
- scfr = blcf
- else
- do
- do
- if not scfr then
- scfr = blcf
- end
- fat.Event:wait()
- -- DECOMPILER ERROR at PC120: LeaveBlock: unexpected jumping out DO_STMT
- -- DECOMPILER ERROR at PC120: LeaveBlock: unexpected jumping out IF_ELSE_STMT
- -- DECOMPILER ERROR at PC120: LeaveBlock: unexpected jumping out IF_STMT
- end
- end
- end
- end
- scfr = nil
- end
- )
- end
- rarm.Touched:connect(function(ht)
- hit = ht.Parent
- if ht and hit:IsA("Model") and hit:FindFirstChild("Humanoid") and hit.Name ~= p.Name and Debounces.RPunch == true and Debounces.RPunched == false then
- Debounces.RPunched = true
- if Debounces.ks == true then
- z = Instance.new("Sound", hed)
- z.SoundId = "rbxassetid://169380525"
- z.Pitch = ptz[math.random(1, #ptz)]
- z.Volume = 1
- z:Play()
- end
- wait(0.4)
- Debounces.RPunched = false
- end
- if ht and hit:IsA("Hat") and hit.Parent.Name ~= p.Name and hit.Parent:FindFirstChild("Humanoid") and Debounces.RPunch == true and Debounces.RPunched == false then
- Debounces.RPunched = true
- if Debounces.ks == true then
- z = Instance.new("Sound", hed)
- z.SoundId = "rbxassetid://169380525"
- z.Pitch = ptz[math.random(1, #ptz)]
- z.Volume = 1
- z:Play()
- end
- wait(0.4)
- Debounces.RPunched = false
- end
- end
- )
- larm.Touched:connect(function(ht)
- hit = ht.Parent
- if ht and hit:IsA("Model") and hit:FindFirstChild("Humanoid") and hit.Name ~= p.Name and Debounces.LPunch == true and Debounces.LPunched == false then
- Debounces.LPunched = true
- hit:FindFirstChild("Humanoid").Health = 100
- hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -160
- if Debounces.ks2 == true then
- z = Instance.new("Sound", hed)
- z.SoundId = "rbxassetid://169380525"
- z.Pitch = ptz[math.random(1, #ptz)]
- z.Volume = 1
- z:Play()
- end
- wait(0.4)
- Debounces.LPunched = false
- end
- if ht and hit:IsA("Hat") and hit.Parent.Name ~= p.Name and hit.Parent:FindFirstChild("Humanoid") and Debounces.LPunch == true and Debounces.LPunched == false then
- Debounces.LPunched = true
- hit.Parent:FindFirstChild("Humanoid").Health = 100
- if Debounces.ks2 == true then
- z = Instance.new("Sound", hed)
- z.SoundId = "rbxassetid://169380525"
- z.Pitch = ptz[math.random(1, #ptz)]
- z.Volume = 1
- z:Play()
- end
- wait(0.4)
- Debounces.LPunched = false
- end
- end
- )
- local acos = math.acos
- local sqrt = math.sqrt
- local Vec3 = Vector3.new
- local fromAxisAngle = CFrame.fromAxisAngle
- local toAxisAngle = function(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
- if A ~= 0 or not 1e-05 then
- local B = R21 - R12 ^ 2 + R02 - R20 ^ 2 + R10 - R01 ^ 2
- if B ~= 0 or not 1e-05 then
- local C = R21 - R12 ^ 2 + R02 - R20 ^ 2 + R10 - R01 ^ 2
- if C ~= 0 or not 1e-05 then
- 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
- end
- end
- end
- ApplyTrig = function(Num, Func)
- local Min, Max = Func(0), Func(1)
- local i = Func(Num)
- return (i - Min) / (Max - Min)
- end
- LerpCFrame = function(CFrame1, CFrame2, Num)
- local Vec, Ang = toAxisAngle(CFrame1:inverse() * CFrame2)
- return CFrame1 * fromAxisAngle(Vec, Ang * Num) + (CFrame2.p - CFrame1.p) * Num
- end
- Crater = function(Torso, Radius)
- Spawn(function()
- local Ray = Ray.new(Torso.Position, Vector3.new(0, -1, 0) * 10)
- local Ignore = {}
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- if v.Character ~= nil then
- Ignore[#Ignore + 1] = v.Character
- end
- end
- local Hit, Pos, SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray, Ignore)
- if Hit == nil then
- return
- end
- local Parts = {}
- for i = 1, 360, 10 do
- local P = Instance.new("Part", Torso.Parent)
- P.Anchored = true
- P.FormFactor = "Custom"
- P.BrickColor = Hit.BrickColor
- P.Material = Hit.Material
- P.TopSurface = "Smooth"
- P.BottomSurface = "Smooth"
- P.Size = Vector3.new(5, 10, 10) * (math.random(80, 100) / 100)
- P.CFrame = (CFrame.new(Pos, Pos + SurfaceNorm) * CFrame.Angles(math.rad(90), 0, 0) - Vector3.new(0, 7, 0)) * CFrame.Angles(math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)))
- Parts[#Parts + 1] = {P, P.CFrame, (CFrame.new(Pos, Pos + SurfaceNorm) * CFrame.Angles(math.rad(90), 0, 0) - Vector3.new(0, 1, 0)) * CFrame.Angles(0, math.rad(i), 0) * CFrame.new(0, 0, -Radius) * CFrame.Angles(math.rad(math.random(-50, -20)), math.rad(math.random(-15, 15)), math.rad(math.random(-15, 15))), P.Size}
- if math.random(0, 5) == 0 then
- local P = Instance.new("Part", Torso.Parent)
- P.Anchored = true
- P.FormFactor = "Custom"
- P.BrickColor = Hit.BrickColor
- P.Material = Hit.Material
- P.TopSurface = "Smooth"
- P.BottomSurface = "Smooth"
- P.Size = Vector3.new(2, 2, 2) * (math.random(80, 100) / 100)
- P.CFrame = (CFrame.new(Pos, Pos + SurfaceNorm) * CFrame.Angles(math.rad(90), 0, 0) - Vector3.new(0, 2.5, 0)) * CFrame.Angles(math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)))
- Parts[#Parts + 1] = {P, P.CFrame, CFrame.new(Pos, Pos + SurfaceNorm) * CFrame.Angles(math.rad(90), 0, 0) * CFrame.Angles(0, math.rad(i), 0) * CFrame.new(0, 0, -Radius - 8) * CFrame.Angles(math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90))), P.Size}
- end
- end
- for i = 0, 1, 0.05 do
- for i2,v in pairs(Parts) do
- v[1].CFrame = LerpCFrame(v[2], v[3], ApplyTrig(i, math.cos))
- end
- wait(0.02)
- end
- for i,v in pairs(Parts) do
- if v[1].Size.X > 2.1 then
- v[1].CFrame = v[1].CFrame + Vector3.new(0, 2, 0)
- end
- v[1].Anchored = false
- end
- for i = 0, 1, 0.05 do
- for i2,v in pairs(Parts) do
- v[1].Transparency = i
- if i == 1 then
- v[1]:Destroy()
- else
- if i >= 0.25 then
- v[1].CanCollide = false
- end
- end
- end
- wait(0.02)
- end
- Parts = nil
- end
- )
- end
- --------------------------------------------------
- function Dmg()
- local partofdeath = hitb
- local function CreateRegion3FromLocAndSize(Position, Size)
- local SizeOffset = Size/2
- local Point1 = Position - SizeOffset
- local Point2 = Position + SizeOffset
- return Region3.new(Point1, Point2)
- end
- local reg = CreateRegion3FromLocAndSize(partofdeath.Position, partofdeath.Size)
- for i, v in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(reg, char:GetChildren(), 100)) do
- Spawn(function()
- if Debounces.Slashing == true and Debounces.Slashed == false then
- Debounces.Slashed = true
- ypcall(function()
- local humanoid = v.Parent:FindFirstChild("Humanoid") or v.Parent.Parent:FindFirstChild("Humanoid")
- humanoid.Health = 100
- end)
- wait(.4)
- Debounces.Slashed = false
- end
- end)
- end
- end
- pts = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
- ptz = {0.7, 0.8, 0.9, 1, 1.1}
- mouse.KeyDown:connect(function(key)
- if key == "q" then
- if Debounces.CanAttack == true then
- Debounces.CanAttack = false
- Debounces.on = true
- Debounces.NoIdl = true
- sbchat("PHANTOM FIST!!!",'[Might Guy]')
- for i = 1, 25 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2)
- if Debounces.on == false then break end
- rs:wait()
- end
- Spawn(function()
- local Parts = {}
- for Y = 1,1 do
- local P = Instance.new("Part",char)
- P.Anchored = true
- P.FormFactor = "Custom"
- P.CanCollide = false
- P.Size = Vector3.new(20,20,999)
- P.TopSurface = "SmoothNoOutlines"
- P.BottomSurface = "SmoothNoOutlines"
- P.Transparency = 0.5
- P.Material = "Neon"
- P.BrickColor = BrickColor.new("Really black")
- P.Name = tostring(Y)
- local Emitter = Instance.new("ParticleEmitter", P)
- local color1 = Color3.new(1, 0, 0)
- local color2 = Color3.new(0, 0, 0)
- Emitter.Color = ColorSequence.new(color1, color2)
- Emitter.Size = NumberSequence.new(20)
- Emitter.Texture = "rbxassetid://243098098"
- Emitter.Lifetime = NumberRange.new(1)
- Emitter.Rate = 1000
- Emitter.Rotation = NumberRange.new(720)
- Emitter.RotSpeed = NumberRange.new(140)
- Emitter.Speed = NumberRange.new(100)
- Emitter.VelocitySpread = 360
- local Emitter = Instance.new("ParticleEmitter", P)
- local color1 = Color3.new(1, 0, 0)
- local color2 = Color3.new(0, 0, 0)
- Emitter.Color = ColorSequence.new(color1, color2)
- Emitter.Size = NumberSequence.new(20)
- Emitter.Texture = "rbxassetid://243098098"
- Emitter.Lifetime = NumberRange.new(1)
- Emitter.Rate = 1000
- Emitter.Rotation = NumberRange.new(720)
- Emitter.RotSpeed = NumberRange.new(140)
- Emitter.Speed = NumberRange.new(100)
- Emitter.VelocitySpread = 360
- local Emitter = Instance.new("ParticleEmitter", P)
- local color1 = Color3.new(1, 0, 0)
- local color2 = Color3.new(0, 0, 0)
- Emitter.Color = ColorSequence.new(color1, color2)
- Emitter.Size = NumberSequence.new(20)
- Emitter.Texture = "rbxassetid://243098098"
- Emitter.Lifetime = NumberRange.new(1)
- Emitter.Rate = 1000
- Emitter.Rotation = NumberRange.new(720)
- Emitter.RotSpeed = NumberRange.new(140)
- Emitter.Speed = NumberRange.new(100)
- Emitter.VelocitySpread = 360
- local i = (Y+5)/(10)
- i = 0-math.cos(math.pi*i-(math.pi/10))
- P.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,Y,-15+(i*5))*CFrame.Angles(math.rad(Y*1),0,math.rad(180))
- --[[P.Touched:connect(function(ht)
- local hit = ht.Parent
- if hit:FindFirstChild("Humanoid") then
- end
- end)]]--
- s = Instance.new("Sound",P)
- s.SoundId = "rbxassetid://228343271"
- s.Volume = 1
- s.Pitch = 0.9
- s:Play()
- sa = Instance.new("Sound",P)
- sa.SoundId = "rbxassetid://419447292"
- sa.Volume = 1
- sa.Pitch = 1
- sa:Play()
- P.Touched:connect(function(ht)
- hit = ht.Parent
- if ht and hit:IsA("Model") then
- if hit:FindFirstChild("Humanoid") then
- if hit.Name ~= p.Name then
- --[[if Debounces.Slashing == true and Debounces.Slashed == false then
- Debounces.Slashed = true]]--
- hit:FindFirstChild("Humanoid").Health = 100
- hit:FindFirstChild("Humanoid").PlatformStand = true
- wait()
- --Debounces.Slashed = false
- --end
- end
- end
- elseif ht and hit:IsA("Hat") then
- if hit.Parent.Name ~= p.Name then
- if hit.Parent:FindFirstChild("Humanoid") then
- if Debounces.Slashing == true and Debounces.Slashed == false then
- Debounces.Slashed = true
- hit.Parent:FindFirstChild("Humanoid").Health = 100
- hit:FindFirstChild("Humanoid").PlatformStand = true
- wait()
- Debounces.Slashed = false
- end
- end
- end
- end
- end)
- Parts[#Parts+1] = P
- end
- local BREAKIT = false
- local CParts = {}
- local Rocks = {}
- local LastPos = nil
- for i = 1,100 do
- for i2,v in pairs(Parts) do
- v.CFrame = v.CFrame*CFrame.new(0,0,0)
- local cf = v.CFrame
- v.Size = v.Size+Vector3.new(0.1,0.1,10)
- v.CFrame = cf
- v.Transparency = v.Transparency+0.01
- if v.Transparency >= 0.975 then BREAKIT = true end
- if v.Name == "0" then
- local Ignore = {}
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- if v.Character ~= nil then
- Ignore[#Ignore+1] = v.Character
- end
- end
- local ray = Ray.new(v.Position+Vector3.new(0,20,0),Vector3.new(0,-500,0))
- local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(ray,Ignore)
- if Hit ~= nil then
- if #Rocks == 1 then
- for i = 1,5 do
- local P = Instance.new("Part",char)
- Rocks[#Rocks+1] = P
- P.Anchored = true
- P.FormFactor = "Custom"
- P.BrickColor = BrickColor.new("Dark red")
- P.Material = "Grass"
- P.Transparency = 0
- P.TopSurface = "Smooth"
- P.BottomSurface = "Smooth"
- P.Size = Vector3.new(3,3,3)*(math.random(500,900)/100)
- end
- end
- for i,P in pairs(Rocks) do
- P.CFrame = ((CFrame.new(Pos)*(v.CFrame-v.Position))*CFrame.new(math.random(-math.ceil(v.Size.X/2),math.ceil(v.Size.X/2)),0,-math.random(5,8))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50)))
- end
- local P = Instance.new("Part",char)
- CParts[#CParts+1] = {P,tick()}
- P.Anchored = true
- P.FormFactor = "Custom"
- P.BrickColor = BrickColor.new("Dark red")
- P.Material = "Grass"
- P.Transparency = 0
- P.TopSurface = "Smooth"
- P.BottomSurface = "Smooth"
- P.Size = Vector3.new(2,2,2)*(math.random(100,300)/100)
- Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
- Pos = Pos.p
- P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50)))
- local P = P:Clone()
- CParts[#CParts+1] = {P,tick()}
- P.Parent = char
- Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(-v.Size.X,0,0)
- Pos = Pos.p
- P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,-20)))
- if LastPos ~= nil then
- local P = P:Clone()
- CParts[#CParts+1] = {P,tick()}
- P.Parent = char
- P.BrickColor = BrickColor.new("Dark red")
- P.Material = "Grass"
- P.Transparency = 0
- Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
- Pos = Pos.p
- local CFr = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
- P.Size = Vector3.new(v.Size.X-0.25,1,(CFr.p-LastPos.p).Magnitude+0.25)
- --P.Velocity = Vector3.new(0,-1000,0)
- P.CFrame = CFrame.new(CFr.p,LastPos.p)*CFrame.new(0,0,-((CFr.p-LastPos.p).Magnitude+0.25)/2)
- end
- LastPos = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
- end
- end
- end
- if BREAKIT then break end
- wait()
- end
- for i,v in pairs(Rocks) do
- CParts[#CParts+1] = {v,tick()}
- end
- for i,v in pairs(Parts) do
- v:Destroy()
- end
- Parts = nil
- while true do
- local t = tick()
- local p = nil
- for i,v in pairs(CParts) do
- if t-v[2] > 4 then
- v[1].Transparency = v[1].Transparency+0.05
- if v[1].Transparency >= 1 then
- v[1]:Destroy()
- CParts[i] = nil
- end
- end
- p = v
- end
- if p == nil then break end
- wait()
- end
- for i,v in pairs(CParts) do
- v:Destroy()
- end
- CParts = {}
- end)
- for i = 1, 20 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2)
- if Debounces.on == false then break end
- rs:wait()
- end
- 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 == "e" then
- if Debounces.CanAttack == true then
- Debounces.CanAttack = false
- Debounces.on = true
- Debounces.NoIdl = true
- pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
- z = Instance.new("Sound", rarm)
- z.SoundId = "http://www.roblox.com/asset/?id=200633148"--160867463, 161006212
- z.Volume = 1.25
- z.Pitch = pt[math.random(1,#pt)]
- z.Looped = false
- z:Play()
- Debounces.RPunch = true
- Debounces.LPunch = true
- Debounces.ks = true
- Debounces.ks2 = true
- for i = 1, 1 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z2 = Instance.new("Sound", larm)
- z2.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z2.Volume = 1.25
- z2.Pitch = pt[math.random(1,#pt)]
- z2.Looped = false
- z2:Play()
- for i = 1, 1 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z3 = Instance.new("Sound", rarm)
- z3.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z3.Volume = 1.25
- z3.Pitch = pt[math.random(1,#pt)]
- z3.Looped = false
- z3:Play()
- for i = 1, 1 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z4 = Instance.new("Sound", larm)
- z4.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z4.Volume = 1.25
- z4.Pitch = pt[math.random(1,#pt)]
- z4.Looped = false
- z4:Play()
- for i = 1, 1 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z5 = Instance.new("Sound", rarm)
- z5.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z5.Volume = 1.25
- z5.Pitch = pt[math.random(1,#pt)]
- z5.Looped = false
- z5:Play()
- for i = 1, 1 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
- if Debounces.on == false then break end
- wait()
- end
- z6 = Instance.new("Sound", larm)
- z6.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z6.Volume = 1.25
- z6.Pitch = pt[math.random(1,#pt)]
- z6.Looped = false
- z6:Play()
- for i = 1, 1 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z7 = Instance.new("Sound", rarm)
- z7.SoundId = "http://www.roblox.com/asset/?id=200633148"--160867463, 161006212
- z7.Volume = 1.25
- z7.Pitch = pt[math.random(1,#pt)]
- z7.Looped = false
- z7:Play()
- for i = 1, 1 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z8 = Instance.new("Sound", larm)
- z8.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z8.Volume = 1.25
- z8.Pitch = pt[math.random(1,#pt)]
- z8.Looped = false
- z8:Play()
- for i = 1, 1 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z9 = Instance.new("Sound", rarm)
- z9.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z9.Volume = 1.25
- z9.Pitch = pt[math.random(1,#pt)]
- z9.Looped = false
- z9:Play()
- for i = 1, 1 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z10 = Instance.new("Sound", larm)
- z10.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z10.Volume = 1.25
- z10.Pitch = pt[math.random(1,#pt)]
- z10.Looped = false
- z10:Play()
- for i = 1, 1 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z11 = Instance.new("Sound", rarm)
- z11.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z11.Volume = 1.25
- z11.Pitch = pt[math.random(1,#pt)]
- z11.Looped = false
- z11:Play()
- for i = 1, 1 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
- if Debounces.on == false then break end
- wait()
- end
- z12 = Instance.new("Sound", larm)
- z12.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z12.Volume = 1.25
- z12.Pitch = pt[math.random(1,#pt)]
- z12.Looped = false
- z12:Play()
- for i = 1, 1 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z13 = Instance.new("Sound", rarm)
- z13.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z13.Volume = 1.25
- z13.Pitch = pt[math.random(1,#pt)]
- z13.Looped = false
- z13:Play()
- for i = 1, 1 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z14 = Instance.new("Sound", larm)
- z14.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z14.Volume = 1.25
- z14.Pitch = pt[math.random(1,#pt)]
- z14.Looped = false
- z14:Play()
- for i = 1, 1 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z15 = Instance.new("Sound", rarm)
- z15.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z15.Volume = 1.25
- z15.Pitch = pt[math.random(1,#pt)]
- z15.Looped = false
- z15:Play()
- for i = 1, 1 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
- if Debounces.on == false then break end
- wait()
- end
- z16 = Instance.new("Sound", larm)
- z16.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z16.Volume = 1.25
- z16.Pitch = pt[math.random(1,#pt)]
- z16.Looped = false
- z16:Play()
- for i = 1, 1 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z17 = Instance.new("Sound", rarm)
- z17.SoundId = "http://www.roblox.com/asset/?id=200633148"--160867463, 161006212
- z17.Volume = 1.25
- z17.Pitch = pt[math.random(1,#pt)]
- z17.Looped = false
- z17:Play()
- for i = 1, 1 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z18 = Instance.new("Sound", larm)
- z18.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z18.Volume = 1.25
- z18.Pitch = pt[math.random(1,#pt)]
- z18.Looped = false
- z18:Play()
- for i = 1, 1 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z19 = Instance.new("Sound", rarm)
- z19.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z19.Volume = 1.25
- z19.Pitch = pt[math.random(1,#pt)]
- z19.Looped = false
- z19:Play()
- for i = 1, 1 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z20 = Instance.new("Sound", larm)
- z20.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z20.Volume = 1.25
- z20.Pitch = pt[math.random(1,#pt)]
- z20.Looped = false
- z20:Play()
- for i = 1, 1 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z:Destroy()
- z2:Destroy()
- z3:Destroy()
- z4:Destroy()
- z5:Destroy()
- z6:Destroy()
- z7:Destroy()
- z8:Destroy()
- z9:Destroy()
- z10:Destroy()
- z11:Destroy()
- z12:Destroy()
- z13:Destroy()
- z14:Destroy()
- z15:Destroy()
- z16:Destroy()
- z17:Destroy()
- z18:Destroy()
- z19:Destroy()
- z20:Destroy()
- Debounces.LPunch = false
- Debounces.RPunch = false
- Debounces.ks = false
- Debounces.ks2 = false
- if Debounces.CanAttack == false then
- Debounces.CanAttack = true
- Debounces.on = false
- Debounces.NoIdl = false
- end
- end
- end
- end)
- mouse.KeyDown:connect(function(key)
- if string.byte(key) == 52 then
- Swing = 2
- char.Humanoid.WalkSpeed = 28
- end
- end
- )
- mouse.KeyUp:connect(function(key)
- if string.byte(key) == 52 then
- Swing = 1
- char.Humanoid.WalkSpeed = 16
- end
- end
- )
- jump = false
- rs:connect(function()
- 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 jump == true then
- animpose = "Jumping"
- else
- if ffing == true then
- animpose = "Freefalling"
- else
- if (torso.Velocity * Vector3.new(1, 0, 1)).magnitude < 2 then
- animpose = "Idle"
- else
- if (torso.Velocity * Vector3.new(1, 0, 1)).magnitude < 20 then
- animpose = "Walking"
- else
- if (torso.Velocity * Vector3.new(1, 0, 1)).magnitude > 20 then
- animpose = "Running"
- end
- end
- end
- end
- end
- RightLeg = CFrame.new(0.5, -1, 0)
- LeftLeg = CFrame.new(-0.5, -1, 0)
- lefth = (torso.CFrame*LeftLeg)
- righth = (torso.CFrame*RightLeg)
- speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z)
- TiltOnAxis = (torso.CFrame-torso.CFrame.p):vectorToObjectSpace(speed/100)
- local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
- local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
- if animpose ~= lastanimpose then
- sine = 0
- if Debounces.NoIdl == false then
- if stanceToggle == "Idle1" then
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- else
- if stanceToggle == "Idle2" then
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- end
- end
- fat.Event:wait()
- end
- end
- lastanimpose = animpose
- if Debounces.NoIdl == false then
- if animpose == "Idle" then
- change = 0.2
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/10),0)*CFrame.Angles(math.rad(0),math.rad(40),math.rad(20+10*math.cos(sine/10))), 0.4)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/10),0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(-40-20*math.cos(sine/10))), 0.4)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/10)),math.rad(20),0), 0.2)
- hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.16*math.cos(sine/10), 0) * CFrame.Angles(0, math.rad(-20), math.rad(0)), 0.05)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0-0.1*math.cos(sine/10), -0.55) * CFrame.Angles(math.rad(-10+1*math.cos(sine/10)), math.rad(30), math.rad(-10-2*math.cos(sine/10))), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1-0.1*math.cos(sine/10), 0) * CFrame.Angles(0, math.rad(-10), math.rad(0+2*math.cos(sine/10))), 0.4)
- else
- if animpose == "Walking" then
- change = 0.5
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5 + 0.05 * math.cos(sine / -4), -math.sin(sine / -4) / -4) * CFrame.Angles(math.sin(sine / -4) / -2.8, -math.sin(sine / -4) / -3, math.rad(5 - -7 * math.cos(sine / -2)) + root.RotVelocity.Y / -15), 0.4)
- 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)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5 + 0.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)
- 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)
- 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)
- 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)
- 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)
- torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
- lleg.Weld.C0 = lleg.Weld.C0:lerp(CFrame.new(-0.5, -1 - math.cos(sine / 4) * 0.2, 0 + math.sin(sine / 4) * 0.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)
- 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)
- rleg.Weld.C0 = rleg.Weld.C0:lerp(CFrame.new(0.5, -1 + math.cos(sine / 4) * 0.2, 0 - math.sin(sine / 4) * 0.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)
- 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)
- else
- if animpose == "Running" then
- change = 1.1
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4, 0.54, 0) * CFrame.Angles(math.rad(-34), math.rad(-15), math.rad(26)), 0.2)
- 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)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.24 + 0.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(90), math.rad(20 + 70 * math.cos(sine / 4))), 0.2)
- 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)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.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)
- 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)
- 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)
- torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.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), 0.8)
- 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)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.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), 0.8)
- 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)
- else
- if animpose == "Jumping" then
- change = 1
- 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)
- 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)
- 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)
- 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)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
- torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
- 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)
- lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4)
- 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)
- 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)
- else
- if animpose == "Freefalling" then
- change = 1
- 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)
- 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)
- 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)
- 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)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(10), math.rad(0), 0), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.2)
- torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.5, -0.5) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
- 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)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, 0, 0.5) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.2)
- 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)
- end
- end
- end
- end
- end
- end
- end
- )
- while true do wait()
- hum.MaxHealth = 1e+173
- wait(0.5)
- hum.Health = 1e+173
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement