0% found this document useful (0 votes)
2 views40 pages

Message

Uploaded by

stefkalizme
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views40 pages

Message

Uploaded by

stefkalizme
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 40

local cooldown = true

local ss = game:GetService("ServerStorage")
--Animations
local FistAnis =
ss:FindFirstChild("Animations"):FindFirstChild("CombatAnimations"):FindFirstChild("
RegularPunch"):GetChildren()
local WOLVERINE =
ss:FindFirstChild("Animations"):FindFirstChild("CombatAnimations"):FindFirstChild("
WOLVERINE"):GetChildren()
local HookAnis =
ss:FindFirstChild("Animations"):FindFirstChild("CombatAnimations"):FindFirstChild("
Hook"):GetChildren()
local AirKickAnis =
ss:FindFirstChild("Animations"):FindFirstChild("CombatAnimations"):FindFirstChild("
AirKick"):GetChildren()
local RunKickAnis =
ss:FindFirstChild("Animations"):FindFirstChild("CombatAnimations"):FindFirstChild("
RunKick"):GetChildren()
local ChargeAnis =
ss:FindFirstChild("Animations"):FindFirstChild("CombatAnimations"):FindFirstChild("
HoldCharge"):GetChildren()
local WeaveAni =
ss:FindFirstChild("Animations"):FindFirstChild("CombatAnimations"):FindFirstChild("
Weave"):GetChildren()
local BlockAnis =
ss:FindFirstChild("Animations"):FindFirstChild("CombatAnimations"):FindFirstChild("
Block").Block
local Faces_ = {"Left","Right","Back","Front"}
local Decals = {"247766282","631849221","154750258","890286383"}
local BodyParts =
{"RightLowerArm","RightUpperArm","RightHand","LeftUpperArm","LeftLowerArm","LeftHan
d","Head",'UpperTorso',"LowerTorso","RightLowerLeg","RightUpperLeg","RightFoot","Le
ftLowerLeg","LeftUpperLeg","LeftFoot"}
local Avii = BodyParts
--Normal Fist
local AttackDamageMin = 14
local AttackDamageMax = 25
--Wolverine
local WolverineDMGMin = 15
local WolverineDMGMax = 30

--Air kick
local AirKickDamageMin = 14
local AirKickDamageMax = 22

--Run kick
local AirKickDamageMin = 14
local AirKickDamageMax = 22

--Charge Damage
local ChargeDamageMin = 100
local ChargeDamageMax = 150

--Block Damage
local BlockChargeDamageMin = 20
local BlockChargeDamageMax = 28
local BlockFistDamage = 9
local BlockRunKickDamage = 7.5
local BlockAirKickDamage = 7.5
--Charge Duration
local ChargeTime = 1.6

--Cooldown Time
local DamagedHumanoids = {}
local ChargeCooldownTime = 2.2
local AirKickCooldownTime = 1.2
local tweenS = game:GetService("TweenService")
local info = TweenInfo.new(.4)
local Charging = false
local ChargAni = false
local CHARGGGEEE
local Char
local SpeedE
local Blockani
local equip = false
local TGELOTE = false
local MainModule = require(game.ReplicatedStorage.MainModule)
local DBGUIEOIASDWAE = game.ServerStorage.DefenseBBGUI:Clone()
local Backpack = script.Parent.Parent
local plr = Backpack.Parent
Char = plr.Character
script.TrailEffects.Parent = Char.Humanoid
local BodyEffects = Char:WaitForChild("BodyEffects")
local Human = Char:WaitForChild("Humanoid")
wait(0.5)
local TrailEffects = Char.Humanoid:WaitForChild("TrailEffects")
Blockani = Human:LoadAnimation(BlockAnis)
spawn(function()
while wait() do
if Char then
if Char:FindFirstChildOfClass("Humanoid") and SpeedE == nil then

Char:FindFirstChildOfClass("Humanoid").Running:Connect(function(Speed)
SpeedE = Speed
end)
break
end
end
end
end)

script.Parent.Deactivated:Connect(function()
if Charging then
Charging = false
end
end)

script.Parent.Equipped:Connect(function()
equip = true
end)

script.Parent.Unequipped:Connect(function()

if Char then
if equip == true and Charging then
Char.Humanoid:EquipTool(script.Parent)
else
equip = false
end
end
end)

script.Parent.Activated:Connect(function()
if Char then
if Char.BodyEffects:FindFirstChild("Block") then
return
end
end
if plr.Character.BodyEffects["K.O"].Value == true then
return
end
if plr.Character.BodyEffects["CANBATTLE"].Value == true then
return
end
if plr.Character:FindFirstChild("GRABBING_CONSTRAINT") then
return
end

if cooldown then
cooldown = false
if script.Parent.Parent:IsA("Model") then
local Human = Char:FindFirstChild("Humanoid")
if Human then
Charging = true
ChargAni = false
for i = 0,15 do
if Charging then
task.wait(ChargeTime/15)
if i >= 0.003 and not ChargAni then
ChargAni = true

MainModule.MovementChange(BodyEffects.Movement, "NoJumping", 0)

MainModule.MovementChange(BodyEffects.Movement, "NoWalkSpeed", 0)

CHARGGGEEE =
Human:LoadAnimation(ChargeAnis[math.random(1,#ChargeAnis)])
CHARGGGEEE:Play()
end
else
if
BodyEffects.Movement:FindFirstChild("NoJumping") then

BodyEffects.Movement:FindFirstChild("NoJumping"):Destroy()
end
if
BodyEffects.Movement:FindFirstChild("NoWalkSpeed") then

BodyEffects.Movement:FindFirstChild("NoWalkSpeed"):Destroy()
end
if CHARGGGEEE then
CHARGGGEEE:Stop()
CHARGGGEEE = nil
end
break
end
end

if not Charging then


if Human:GetState() ==
Enum.HumanoidStateType.Freefall then
spawn(function()
task.wait(AirKickCooldownTime)
cooldown = true
end)
local DMG =
math.random(AirKickDamageMin,AirKickDamageMax)

Human:LoadAnimation(AirKickAnis[math.random(1,#AirKickAnis)]):Play()
task.wait(.2)
local CN1
local CN2
local NoJumping = Instance.new("StringValue")
NoJumping.Name = "NoJumping"
NoJumping.Parent =
Char:WaitForChild("BodyEffects").Movement
delay(.7, function()
if
Char:WaitForChild("BodyEffects").Movement:FindFirstChild("NoWalkSpeed") then

Char:WaitForChild("BodyEffects").Movement:FindFirstChild("NoWalkSpeed"):Destroy()
end
if
Char:WaitForChild("BodyEffects").Movement:FindFirstChild("NoJumping") then

Char:WaitForChild("BodyEffects").Movement:FindFirstChild("NoJumping"):Destroy()
end
end)
MainModule.MovementChange(BodyEffects.Movement,
"NoSprint")
CN1 =
Char.LeftLowerLeg.Touched:Connect(function(hit)
if hit then
if hit.Parent and not
hit.Parent:GetAttribute("Attacked") then
if
hit.Parent:FindFirstChild("Humanoid") then
if
hit.Parent:FindFirstChild("BodyEffects") then
if
hit.Parent.BodyEffects:FindFirstChild("Block") then

hit.Parent.Humanoid.Health = (math.clamp(hit.Parent.Humanoid.Health -
BlockAirKickDamage, 0.5, hit.Parent.Humanoid.MaxHealth))

hit.Parent.BodyEffects.Defense.Value -= 9
local Effect
= DBGUIEOIASDWAE:Clone()

local hp =
math.clamp(1000/ math.clamp(hit.Parent.BodyEffects.Defense.Value,1,100),1,10)
Effect.ImageLabel.ImageColor3 = Color3.new(( hp*12 )/255,
math.clamp(hit.Parent.BodyEffects.Defense.Value, 0.1,100)/100,
((math.clamp(hit.Parent.BodyEffects.Defense.Value, 0,100)/100)*58)/255)

Effect.Size
= UDim2.new(0,0,0,0)

Effect.Parent = hit.Parent.HumanoidRootPart
--
local Decal
= Decals[math.random(1,#Decals)]
local Face =
Faces_[math.random(1,#Faces_)]
local
BodyPart = BodyParts[math.random(1,#BodyParts)]
local
DecalObj = Instance.new("Decal")

DecalObj.Face = Face

DecalObj.Texture = "rbxassetid://"..Decal

DecalObj.Parent = hit.Parent:FindFirstChild(BodyPart)

game.Debris:AddItem(DecalObj,12)

tweenS:Create(Effect,TweenInfo.new(.3,Enum.EasingStyle.Linear,Enum.EasingDirection.
In,0,true),{Size = UDim2.new(5.5,0,5.5,0)}):Play()

game.Debris:AddItem(Effect,1)

else

hit.Parent.Humanoid.Health = (math.clamp(hit.Parent.Humanoid.Health - DMG,


0.5, hit.Parent.Humanoid.MaxHealth))
end

local SD =
ss.Storage.Misc:FindFirstChild("Sounds").NormalHit:GetChildren()
[math.random(1,#ss.Storage.Misc:FindFirstChild("Sounds").NormalHit:GetChildren())]:
Clone()
SD.Parent = hit
SD:Play()

game.Debris:AddItem(SD,5)

hit.Parent:SetAttribute("Attacked",true)
spawn(function()

task.wait(.7)

hit.Parent:SetAttribute("Attacked",false)
end)
else
if
plr.DataFolder.Officer.Value == 1 then
--
humanoid:TakeDamage(6.5)
else
if
table.find(DamagedHumanoids, hit) then
return
end
if
hit.Parent.Parent == game.Workspace.Cashiers then
if
hit.Parent.Humanoid.Health <= 0.5 then

return
end

table.insert(DamagedHumanoids,hit)

plr.leaderstats.Wanted.Value += 5

hit.Parent.Humanoid:TakeDamage(70)
--
Humanoid.Health = math.clamp(Humanoid.Health - 125 / 2, 0.5, Humanoid.MaxHealth)
if
hit.Parent.Humanoid.Health <= 0.5 then

hit.Parent.Head.Crash:Play()
else

hit.Parent.Head.Punch:Play()
end
return
end
end

hit.Parent:SetAttribute("Attacked",true)
spawn(function()
task.wait(1)

table.clear(DamagedHumanoids)

hit.Parent:SetAttribute("Attacked",false)
end)
end
end
end
end
end)
CN2 =
Char.RightLowerLeg.Touched:Connect(function(hit)
if hit then
if hit.Parent and not
hit.Parent:GetAttribute("Attacked") then
if
hit.Parent:FindFirstChild("Humanoid") then
if
hit.Parent:FindFirstChild("BodyEffects") then
if
hit.Parent.BodyEffects:FindFirstChild("Block") then
hit.Parent.Humanoid.Health = (math.clamp(hit.Parent.Humanoid.Health -
BlockAirKickDamage, 0.5, hit.Parent.Humanoid.MaxHealth))

hit.Parent.BodyEffects.Defense.Value -= 9
local Effect
= DBGUIEOIASDWAE:Clone()

local hp =
math.clamp(1000/ math.clamp(hit.Parent.BodyEffects.Defense.Value,1,1000),1,10)

Effect.ImageLabel.ImageColor3 = Color3.new(( hp*12 )/255,


math.clamp(hit.Parent.BodyEffects.Defense.Value, 0.1,100)/100,
((math.clamp(hit.Parent.BodyEffects.Defense.Value, 0,100)/100)*58)/255)
Effect.Size
= UDim2.new(0,0,0,0)

Effect.Parent = hit.Parent.HumanoidRootPart
--
local Decal
= Decals[math.random(1,#Decals)]
local Face =
Faces_[math.random(1,#Faces_)]
local
BodyPart = BodyParts[math.random(1,#BodyParts)]
local
DecalObj = Instance.new("Decal")

DecalObj.Face = Face

DecalObj.Texture = "rbxassetid://"..Decal

DecalObj.Parent = hit.Parent:FindFirstChild(BodyPart)

game.Debris:AddItem(DecalObj,12)

tweenS:Create(Effect,TweenInfo.new(.3,Enum.EasingStyle.Linear,Enum.EasingDirection.
In,0,true),{Size = UDim2.new(5.5,0,5.5,0)}):Play()

game.Debris:AddItem(Effect,1)
else

hit.Parent.Humanoid.Health = (math.clamp(hit.Parent.Humanoid.Health - DMG,


0.5, hit.Parent.Humanoid.MaxHealth))
end
local SD =
ss.Storage.Misc:FindFirstChild("Sounds").NormalHit:GetChildren()
[math.random(1,#ss.Storage.Misc:FindFirstChild("Sounds").NormalHit:GetChildren())]:
Clone()
SD.Parent = hit
SD:Play()

game.Debris:AddItem(SD,5)
hit.Parent:SetAttribute("Attacked",true)
spawn(function()
wait(.5)

hit.Parent:SetAttribute("Attacked",false)
end)
else
local humanoid =
hit.Parent.Humanoid
if
plr.DataFolder.Officer.Value == 1 then
--
humanoid:TakeDamage(6.5)
else
if
table.find(DamagedHumanoids, hit) then
return
end
if
hit.Parent.Parent == game.Workspace.Cashiers then
if
hit.Parent.Humanoid.Health <= 0.5 then

return
end

table.insert(DamagedHumanoids,hit)

plr.leaderstats.Wanted.Value += 5

hit.Parent.Humanoid:TakeDamage(70)
--
Humanoid.Health = math.clamp(Humanoid.Health - 125 / 2, 0.5, Humanoid.MaxHealth)
if
hit.Parent.Humanoid.Health <= 0.5 then

hit.Parent.Head.Crash:Play()
else

hit.Parent.Head.Punch:Play()
end
return
end
end
spawn(function()
task.wait(1)

table.clear(DamagedHumanoids)

hit.Parent:SetAttribute("Attacked",false)
end)
--local Player =
game.Players:GetPlayerFromCharacter(Char)
--
Player:WaitForChild("leaderstats").Wanted.Value += 2
end
end
end
end
end)
task.wait(.5)
CN1:Disconnect()
CN2:Disconnect()
task.wait(1.2)
if
BodyEffects.Movement:FindFirstChild("NoSprint") then

BodyEffects.Movement:FindFirstChild("NoSprint"):Destroy()
end
elseif SpeedE > 4 then
if math.random(1,3) >= 2 then
spawn(function()
if
Char.HumanoidRootPart:FindFirstChild("Claw1") and
Char.HumanoidRootPart:FindFirstChild("Claw2") then
task.wait(.3)
cooldown = true
else
task.wait(.65)
cooldown = true
end
end)
local DMG
if
Char.HumanoidRootPart:FindFirstChild("Claw1") and
Char.HumanoidRootPart:FindFirstChild("Claw2") then

Human:LoadAnimation(WOLVERINE[math.random(1,#WOLVERINE)]):Play(0.1000001, 1,
1.6)
DMG =
math.random(WolverineDMGMin,WolverineDMGMax)
local Swing =
game.ServerStorage.Swing:Clone()
Swing.Parent =
Char.HumanoidRootPart
Swing:Play()
else

Human:LoadAnimation(FistAnis[math.random(1,#FistAnis)]):Play(0.1000001, 1,
1.1)
DMG =
math.random(AttackDamageMin,AttackDamageMax)
task.wait(.2)
local ReduceWalk =
Instance.new("StringValue")
ReduceWalk.Name = "ReduceWalk"
ReduceWalk.Parent =
Char:WaitForChild("BodyEffects").Movement
local NoJumping =
Instance.new("StringValue")
NoJumping.Name = "NoJumping"
NoJumping.Parent =
Char:WaitForChild("BodyEffects").Movement
end
task.wait(.2)
local CN1
local CN2
delay(.7, function()
if
Char:WaitForChild("BodyEffects").Movement:FindFirstChild("ReduceWalk") then

Char:WaitForChild("BodyEffects").Movement:FindFirstChild("ReduceWalk"):Destroy()
end
if
Char:WaitForChild("BodyEffects").Movement:FindFirstChild("NoJumping") then

Char:WaitForChild("BodyEffects").Movement:FindFirstChild("NoJumping"):Destroy()
end
end)
CN1 =
Char.RightHand.Touched:Connect(function(hit)
if hit then
if hit.Parent and not
hit.Parent:GetAttribute("Attacked") then
if
hit.Parent:FindFirstChild("Humanoid") then
if
hit.Parent:FindFirstChild("BodyEffects") then

if
hit.Parent.BodyEffects:FindFirstChild("Block") then

hit.Parent.Humanoid.Health = (math.clamp(hit.Parent.Humanoid.Health -
BlockFistDamage, 0.5, hit.Parent.Humanoid.MaxHealth))

hit.Parent.BodyEffects.Defense.Value -= 12
local
Effect = DBGUIEOIASDWAE:Clone()

local
hp = math.clamp(1000/ math.clamp(hit.Parent.BodyEffects.Defense.Value,1,100),1,10)

Effect.ImageLabel.ImageColor3 = Color3.new(( hp*12 )/255,


math.clamp(hit.Parent.BodyEffects.Defense.Value, 0.1,100)/100,
((math.clamp(hit.Parent.BodyEffects.Defense.Value, 0,100)/100)*58)/255)

Effect.Size = UDim2.new(0,0,0,0)

Effect.Parent = hit.Parent.HumanoidRootPart
--

tweenS:Create(Effect,TweenInfo.new(.3,Enum.EasingStyle.Linear,Enum.EasingDirection.
In,0,true),{Size = UDim2.new(5.5,0,5.5,0)}):Play()
local
Decal = Decals[math.random(1,#Decals)]
local
Face = Faces_[math.random(1,#Faces_)]
local
BodyPart = BodyParts[math.random(1,#BodyParts)]
local
DecalObj = Instance.new("Decal")

DecalObj.Face = Face
DecalObj.Texture = "rbxassetid://"..Decal

DecalObj.Parent = hit.Parent:FindFirstChild(BodyPart)

game.Debris:AddItem(DecalObj,12)

game.Debris:AddItem(Effect,1)
--
local SD = script.Sounds.Weave.Sound:Clone()
--
SD.Parent = hit
--
SD:Play()
else

hit.Parent.Humanoid.Health = (math.clamp(hit.Parent.Humanoid.Health - DMG,


0.5, hit.Parent.Humanoid.MaxHealth))
end
if
Char.HumanoidRootPart:FindFirstChild("Claw1") and
Char.HumanoidRootPart:FindFirstChild("Claw2") then
local
SD = ss.Storage.Misc:FindFirstChild("Sounds").WOLVERINEhit:GetChildren()
[math.random(1,#ss.Storage.Misc:FindFirstChild("Sounds").NormalHit:GetChildren())]:
Clone()

SD.Parent = hit

SD:Play()

game.Debris:AddItem(SD,5)
else
local
SD = ss.Storage.Misc:FindFirstChild("Sounds").NormalHit:GetChildren()
[math.random(1,#ss.Storage.Misc:FindFirstChild("Sounds").NormalHit:GetChildren())]:
Clone()

SD.Parent = hit

SD:Play()

game.Debris:AddItem(SD,5)
end

hit.Parent:SetAttribute("Attacked",true)

spawn(function()

task.wait(1)

hit.Parent:SetAttribute("Attacked",false)
end)

else
if
plr.DataFolder.Officer.Value == 1 then
--
humanoid:TakeDamage(6.5)
else
if
table.find(DamagedHumanoids, hit) then

return
end
if
hit.Parent.Parent == game.Workspace.Cashiers then

if hit.Parent.Humanoid.Health <= 0.5 then

return

end

table.insert(DamagedHumanoids,hit)

plr.leaderstats.Wanted.Value += 5

hit.Parent.Humanoid:TakeDamage(70)

--Humanoid.Health = math.clamp(Humanoid.Health - 125 / 2, 0.5, Humanoid.MaxHealth)

if hit.Parent.Humanoid.Health <= 0.5 then

hit.Parent.Head.Crash:Play()

else

hit.Parent.Head.Punch:Play()

end

return
end
end

hit.Parent:SetAttribute("Attacked",true)

spawn(function()

task.wait(.7)

table.clear(DamagedHumanoids)

hit.Parent:SetAttribute("Attacked",false)
end)
--local
Player = game.Players:GetPlayerFromCharacter(Char)
--
Player:WaitForChild("leaderstats").Wanted.Value += 2
end
end
end
end
end)
CN2 =
Char.LeftHand.Touched:Connect(function(hit)
if hit then
if hit.Parent and not
hit.Parent:GetAttribute("Attacked") then
if
hit.Parent:FindFirstChild("Humanoid") then
if
hit.Parent:FindFirstChild("BodyEffects") then
if
hit.Parent.BodyEffects:FindFirstChild("Block") then

hit.Parent.Humanoid.Health = (math.clamp(hit.Parent.Humanoid.Health -
BlockFistDamage, 0.5, hit.Parent.Humanoid.MaxHealth))

hit.Parent.BodyEffects.Defense.Value -= 6

local
Effect = DBGUIEOIASDWAE:Clone()

local
hp = math.clamp(1000/ math.clamp(hit.Parent.BodyEffects.Defense.Value,1,100),1,10)

Effect.ImageLabel.ImageColor3 = Color3.new(( hp*12 )/255,


math.clamp(hit.Parent.BodyEffects.Defense.Value, 0.1,100)/100,
((math.clamp(hit.Parent.BodyEffects.Defense.Value, 0,100)/100)*58)/255)

Effect.Size = UDim2.new(0,0,0,0)

Effect.Parent = hit.Parent.HumanoidRootPart
--

tweenS:Create(Effect,TweenInfo.new(.3,Enum.EasingStyle.Linear,Enum.EasingDirection.
In,0,true),{Size = UDim2.new(5.5,0,5.5,0)}):Play()
local
Decal = Decals[math.random(1,#Decals)]
local
Face = Faces_[math.random(1,#Faces_)]
local
BodyPart = BodyParts[math.random(1,#BodyParts)]
local
DecalObj = Instance.new("Decal")

DecalObj.Face = Face

DecalObj.Texture = "rbxassetid://"..Decal

DecalObj.Parent = hit.Parent:FindFirstChild(BodyPart)

game.Debris:AddItem(DecalObj,12)

game.Debris:AddItem(Effect,1)
--
local SD = script.Sounds.Weave.Sound:Clone()
--
SD.Parent = hit
--
SD:Play()
else
hit.Parent.Humanoid.Health = (math.clamp(hit.Parent.Humanoid.Health - DMG,
0.5, hit.Parent.Humanoid.MaxHealth))
end
if
Char.HumanoidRootPart:FindFirstChild("Claw1") and
Char.HumanoidRootPart:FindFirstChild("Claw2") then
local
SD = ss.Storage.Misc:FindFirstChild("Sounds").WOLVERINEhit:GetChildren()
[math.random(1,#ss.Storage.Misc:FindFirstChild("Sounds").NormalHit:GetChildren())]:
Clone()

SD.Parent = hit

SD:Play()

game.Debris:AddItem(SD,5)
else
local
SD = ss.Storage.Misc:FindFirstChild("Sounds").NormalHit:GetChildren()
[math.random(1,#ss.Storage.Misc:FindFirstChild("Sounds").NormalHit:GetChildren())]:
Clone()

SD.Parent = hit

SD:Play()

game.Debris:AddItem(SD,5)
end

hit.Parent:SetAttribute("Attacked",true)

spawn(function()

task.wait(1)

hit.Parent:SetAttribute("Attacked",false)
end)
else
if
plr.DataFolder.Officer.Value == 1 then
--
humanoid:TakeDamage(6.5)
else
if
table.find(DamagedHumanoids, hit) then

return
end
if
hit.Parent.Parent == game.Workspace.Cashiers then

if hit.Parent.Humanoid.Health <= 0.5 then

return

end

table.insert(DamagedHumanoids,hit)
plr.leaderstats.Wanted.Value += 5

hit.Parent.Humanoid:TakeDamage(70)

--Humanoid.Health = math.clamp(Humanoid.Health - 125 / 2, 0.5, Humanoid.MaxHealth)

if hit.Parent.Humanoid.Health <= 0.5 then

hit.Parent.Head.Crash:Play()

else

hit.Parent.Head.Punch:Play()

end

return
end
end

hit.Parent:SetAttribute("Attacked",true)

spawn(function()

task.wait(.7)

table.clear(DamagedHumanoids)

hit.Parent:SetAttribute("Attacked",false)
end)
--local
Player = game.Players:GetPlayerFromCharacter(Char)
--
Player:WaitForChild("leaderstats").Wanted.Value += 2
end
end
end
end
end)
task.wait(.5)
CN1:Disconnect()
CN2:Disconnect()
else
if
Char.HumanoidRootPart:FindFirstChild("Claw1") and
Char.HumanoidRootPart:FindFirstChild("Claw2") then
spawn(function()
if
Char.HumanoidRootPart:FindFirstChild("Claw1") and
Char.HumanoidRootPart:FindFirstChild("Claw2") then
task.wait(.3)
cooldown = true
else
task.wait(.65)
cooldown = true
end
end)
local DMG
if
Char.HumanoidRootPart:FindFirstChild("Claw1") and
Char.HumanoidRootPart:FindFirstChild("Claw2") then

Human:LoadAnimation(WOLVERINE[math.random(1,#WOLVERINE)]):Play(0.1000001, 1,
1.6)
DMG =
math.random(WolverineDMGMin,WolverineDMGMax)
local Swing =
game.ServerStorage.Swing:Clone()
Swing.Parent =
Char.HumanoidRootPart
Swing:Play()
else

Human:LoadAnimation(FistAnis[math.random(1,#FistAnis)]):Play(0.1000001, 1,
1.1)
DMG =
math.random(AttackDamageMin,AttackDamageMax)
task.wait(.2)
local ReduceWalk =
Instance.new("StringValue")
ReduceWalk.Name =
"ReduceWalk"
ReduceWalk.Parent =
Char:WaitForChild("BodyEffects").Movement
local NoJumping =
Instance.new("StringValue")
NoJumping.Name = "NoJumping"
NoJumping.Parent =
Char:WaitForChild("BodyEffects").Movement
end
task.wait(.2)
local CN1
local CN2
delay(.7, function()
if
Char:WaitForChild("BodyEffects").Movement:FindFirstChild("ReduceWalk") then

Char:WaitForChild("BodyEffects").Movement:FindFirstChild("ReduceWalk"):Destroy()
end
if
Char:WaitForChild("BodyEffects").Movement:FindFirstChild("NoJumping") then

Char:WaitForChild("BodyEffects").Movement:FindFirstChild("NoJumping"):Destroy()
end
end)
CN1 =
Char.RightHand.Touched:Connect(function(hit)
if hit then
if hit.Parent and not
hit.Parent:GetAttribute("Attacked") then
if
hit.Parent:FindFirstChild("Humanoid") then
if
hit.Parent:FindFirstChild("BodyEffects") then
if
hit.Parent.BodyEffects:FindFirstChild("Block") then

hit.Parent.Humanoid.Health = (math.clamp(hit.Parent.Humanoid.Health -
BlockFistDamage, 0.5, hit.Parent.Humanoid.MaxHealth))

hit.Parent.BodyEffects.Defense.Value -= 12

local Effect = DBGUIEOIASDWAE:Clone()

local hp = math.clamp(1000/
math.clamp(hit.Parent.BodyEffects.Defense.Value,1,100),1,10)

Effect.ImageLabel.ImageColor3 = Color3.new(( hp*12 )/255,


math.clamp(hit.Parent.BodyEffects.Defense.Value, 0.1,100)/100,
((math.clamp(hit.Parent.BodyEffects.Defense.Value, 0,100)/100)*58)/255)

Effect.Size = UDim2.new(0,0,0,0)

Effect.Parent = hit.Parent.HumanoidRootPart

--

tweenS:Create(Effect,TweenInfo.new(.3,Enum.EasingStyle.Linear,Enum.EasingDirection.
In,0,true),{Size = UDim2.new(5.5,0,5.5,0)}):Play()

local Decal = Decals[math.random(1,#Decals)]

local Face = Faces_[math.random(1,#Faces_)]

local BodyPart = BodyParts[math.random(1,#BodyParts)]

local DecalObj = Instance.new("Decal")

DecalObj.Face = Face

DecalObj.Texture = "rbxassetid://"..Decal

DecalObj.Parent = hit.Parent:FindFirstChild(BodyPart)

game.Debris:AddItem(DecalObj,12)

game.Debris:AddItem(Effect,1)
else

hit.Parent.Humanoid.Health = (math.clamp(hit.Parent.Humanoid.Health - DMG,


0.5, hit.Parent.Humanoid.MaxHealth))
end
if
Char.HumanoidRootPart:FindFirstChild("Claw1") and
Char.HumanoidRootPart:FindFirstChild("Claw2") then

local SD =
ss.Storage.Misc:FindFirstChild("Sounds").WOLVERINEhit:GetChildren()
[math.random(1,#ss.Storage.Misc:FindFirstChild("Sounds").NormalHit:GetChildren())]:
Clone()
SD.Parent = hit

SD:Play()

game.Debris:AddItem(SD,5)
else

local SD = ss.Storage.Misc:FindFirstChild("Sounds").NormalHit:GetChildren()
[math.random(1,#ss.Storage.Misc:FindFirstChild("Sounds").NormalHit:GetChildren())]:
Clone()

SD.Parent = hit

SD:Play()

game.Debris:AddItem(SD,5)
end

hit.Parent:SetAttribute("Attacked",true)

spawn(function()

task.wait(.7)

hit.Parent:SetAttribute("Attacked",false)
end)
else
if
plr.DataFolder.Officer.Value == 1 then

--humanoid:TakeDamage(6.5)
else

if table.find(DamagedHumanoids, hit) then

return

end

if hit.Parent.Parent == game.Workspace.Cashiers then

if hit.Parent.Humanoid.Health <= 0.5 then

return

end

table.insert(DamagedHumanoids,hit)

plr.leaderstats.Wanted.Value += 5

hit.Parent.Humanoid:TakeDamage(70)

--Humanoid.Health = math.clamp(Humanoid.Health - 125 / 2, 0.5,


Humanoid.MaxHealth)

if hit.Parent.Humanoid.Health <= 0.5 then

hit.Parent.Head.Crash:Play()
else

hit.Parent.Head.Punch:Play()

end

return

end
end

hit.Parent:SetAttribute("Attacked",true)

spawn(function()

task.wait(1)

table.clear(DamagedHumanoids)

hit.Parent:SetAttribute("Attacked",false)
end)
--
local Player = game.Players:GetPlayerFromCharacter(Char)
--
Player:WaitForChild("leaderstats").Wanted.Value += 2
end
end
end
end
end)
CN2 =
Char.LeftHand.Touched:Connect(function(hit)
if hit then
if hit.Parent and not
hit.Parent:GetAttribute("Attacked") then
if
hit.Parent:FindFirstChild("Humanoid") then
if
hit.Parent:FindFirstChild("BodyEffects") then
if
hit.Parent.BodyEffects:FindFirstChild("Block") then

hit.Parent.Humanoid.Health = (math.clamp(hit.Parent.Humanoid.Health -
BlockFistDamage, 0.5, hit.Parent.Humanoid.MaxHealth))

hit.Parent.BodyEffects.Defense.Value -= 6

local Effect = DBGUIEOIASDWAE:Clone()

local hp = math.clamp(1000/
math.clamp(hit.Parent.BodyEffects.Defense.Value,1,100),1,10)

Effect.ImageLabel.ImageColor3 = Color3.new(( hp*12 )/255,


math.clamp(hit.Parent.BodyEffects.Defense.Value, 0.1,100)/100,
((math.clamp(hit.Parent.BodyEffects.Defense.Value, 0,100)/100)*58)/255)

Effect.Size = UDim2.new(0,0,0,0)

Effect.Parent = hit.Parent.HumanoidRootPart

--

local Decal = Decals[math.random(1,#Decals)]

local Face = Faces_[math.random(1,#Faces_)]

local BodyPart = BodyParts[math.random(1,#BodyParts)]

local DecalObj = Instance.new("Decal")

DecalObj.Face = Face

DecalObj.Texture = "rbxassetid://"..Decal

DecalObj.Parent = hit.Parent:FindFirstChild(BodyPart)

game.Debris:AddItem(DecalObj,12)

tweenS:Create(Effect,TweenInfo.new(.3,Enum.EasingStyle.Linear,Enum.EasingDirection.
In,0,true),{Size = UDim2.new(5.5,0,5.5,0)}):Play()

game.Debris:AddItem(Effect,1)

--local SD = script.Sounds.Weave.Sound:Clone()

--SD.Parent = hit

--SD:Play()
else

hit.Parent.Humanoid.Health = (math.clamp(hit.Parent.Humanoid.Health - DMG,


0.5, hit.Parent.Humanoid.MaxHealth))
end
if
Char.HumanoidRootPart:FindFirstChild("Claw1") and
Char.HumanoidRootPart:FindFirstChild("Claw2") then

local SD =
ss.Storage.Misc:FindFirstChild("Sounds").WOLVERINEhit:GetChildren()
[math.random(1,#ss.Storage.Misc:FindFirstChild("Sounds").NormalHit:GetChildren())]:
Clone()

SD.Parent = hit

SD:Play()

game.Debris:AddItem(SD,5)
else

local SD = ss.Storage.Misc:FindFirstChild("Sounds").NormalHit:GetChildren()
[math.random(1,#ss.Storage.Misc:FindFirstChild("Sounds").NormalHit:GetChildren())]:
Clone()

SD.Parent = hit

SD:Play()

game.Debris:AddItem(SD,5)
end

hit.Parent:SetAttribute("Attacked",true)

spawn(function()

task.wait(.7)

hit.Parent:SetAttribute("Attacked",false)
end)
else
if
plr.DataFolder.Officer.Value == 1 then

--humanoid:TakeDamage(6.5)
else

if table.find(DamagedHumanoids, hit) then

return

end

if hit.Parent.Parent == game.Workspace.Cashiers then

if hit.Parent.Humanoid.Health <= 0.5 then

return

end

table.insert(DamagedHumanoids,hit)

plr.leaderstats.Wanted.Value += 5

hit.Parent.Humanoid:TakeDamage(70)

--Humanoid.Health = math.clamp(Humanoid.Health - 125 / 2, 0.5,


Humanoid.MaxHealth)

if hit.Parent.Humanoid.Health <= 0.5 then

hit.Parent.Head.Crash:Play()

else

hit.Parent.Head.Punch:Play()

end

return
end
end

hit.Parent:SetAttribute("Attacked",true)

spawn(function()

task.wait(1)

table.clear(DamagedHumanoids)

hit.Parent:SetAttribute("Attacked",false)
end)

--
local Player = game.Players:GetPlayerFromCharacter(Char)
--
Player:WaitForChild("leaderstats").Wanted.Value += 2
end
end
end
end
end)
spawn(function()
task.wait(.7)
CN1:Disconnect()
CN2:Disconnect()
end)
else
spawn(function()

task.wait(AirKickCooldownTime)
cooldown = true
end)
local DMG =
math.random(AirKickDamageMin,AirKickDamageMax)

Human:LoadAnimation(RunKickAnis[math.random(1,#RunKickAnis)]):Play(0.1000001,
1, 1.2)
task.wait(.2)
local CN1
local CN2
local ReduceWalk =
Instance.new("StringValue")
ReduceWalk.Name = "ReduceWalk"
ReduceWalk.Parent =
Char:WaitForChild("BodyEffects").Movement
local NoJumping =
Instance.new("StringValue")
NoJumping.Name = "NoJumping"
NoJumping.Parent =
Char:WaitForChild("BodyEffects").Movement
delay(1.2, function()
if
Char:WaitForChild("BodyEffects").Movement:FindFirstChild("ReduceWalk") then

Char:WaitForChild("BodyEffects").Movement:FindFirstChild("ReduceWalk"):Destroy()
end
if
Char:WaitForChild("BodyEffects").Movement:FindFirstChild("NoJumping") then

Char:WaitForChild("BodyEffects").Movement:FindFirstChild("NoJumping"):Destroy()
end
end)
CN1 =
Char.LeftLowerLeg.Touched:Connect(function(hit)
if hit then
if hit.Parent and not
hit.Parent:GetAttribute("Attacked") then
if
hit.Parent:FindFirstChild("Humanoid") then
if
hit.Parent:FindFirstChild("BodyEffects") then
if
hit.Parent.BodyEffects:FindFirstChild("Block") then

hit.Parent.Humanoid.Health = (math.clamp(hit.Parent.Humanoid.Health -
BlockRunKickDamage , 0.5, hit.Parent.Humanoid.MaxHealth))

hit.Parent.BodyEffects.Defense.Value -= 7

local Effect = DBGUIEOIASDWAE:Clone()

local hp = math.clamp(1000/
math.clamp(hit.Parent.BodyEffects.Defense.Value,1,100),1,10)

Effect.ImageLabel.ImageColor3 = Color3.new(( hp*12 )/255,


math.clamp(hit.Parent.BodyEffects.Defense.Value, 0.1,100)/100,
((math.clamp(hit.Parent.BodyEffects.Defense.Value, 0,100)/100)*58)/255)

Effect.Size = UDim2.new(0,0,0,0)

Effect.Parent = hit.Parent.HumanoidRootPart

--

tweenS:Create(Effect,TweenInfo.new(.3,Enum.EasingStyle.Linear,Enum.EasingDirection.
In,0,true),{Size = UDim2.new(5.5,0,5.5,0)}):Play()

local Decal = Decals[math.random(1,#Decals)]

local Face = Faces_[math.random(1,#Faces_)]

local BodyPart = BodyParts[math.random(1,#BodyParts)]

local DecalObj = Instance.new("Decal")

DecalObj.Face = Face

DecalObj.Texture = "rbxassetid://"..Decal

DecalObj.Parent = hit.Parent:FindFirstChild(BodyPart)
game.Debris:AddItem(DecalObj,12)

game.Debris:AddItem(Effect,1)
else

hit.Parent.Humanoid.Health = (math.clamp(hit.Parent.Humanoid.Health - DMG,


0.5, hit.Parent.Humanoid.MaxHealth))
end
local
SD = ss.Storage.Misc:FindFirstChild("Sounds").NormalHit:GetChildren()
[math.random(1,#ss.Storage.Misc:FindFirstChild("Sounds").NormalHit:GetChildren())]:
Clone()

SD.Parent = hit

SD:Play()

game.Debris:AddItem(SD,5)

hit.Parent:SetAttribute("Attacked",true)

spawn(function()

task.wait(1)

hit.Parent:SetAttribute("Attacked",false)

end)
else
if
plr.DataFolder.Officer.Value == 1 then

--humanoid:TakeDamage(6.5)
else

if table.find(DamagedHumanoids, hit) then

return

end

if hit.Parent.Parent == game.Workspace.Cashiers then

if hit.Parent.Humanoid.Health <= 0.5 then

return

end

table.insert(DamagedHumanoids,hit)

plr.leaderstats.Wanted.Value += 5

hit.Parent.Humanoid:TakeDamage(70)

--Humanoid.Health = math.clamp(Humanoid.Health - 125 / 2, 0.5,


Humanoid.MaxHealth)

if hit.Parent.Humanoid.Health <= 0.5 then

hit.Parent.Head.Crash:Play()

else

hit.Parent.Head.Punch:Play()

end

return

end
end

hit.Parent:SetAttribute("Attacked",true)

spawn(function()

task.wait(1)

table.clear(DamagedHumanoids)

hit.Parent:SetAttribute("Attacked",false)
end)
--
local Player = game.Players:GetPlayerFromCharacter(Char)
--
Player:WaitForChild("leaderstats").Wanted.Value += 2
end
end
end
end
end)
CN2 =
Char.RightLowerLeg.Touched:Connect(function(hit)
if hit then
if hit.Parent and not
hit.Parent:GetAttribute("Attacked") then
if
hit.Parent:FindFirstChild("Humanoid") then
if
hit.Parent:FindFirstChild("BodyEffects") then
if
hit.Parent.BodyEffects:FindFirstChild("Block") then

hit.Parent.Humanoid.Health = (math.clamp(hit.Parent.Humanoid.Health -
BlockAirKickDamage, 0.5, hit.Parent.Humanoid.MaxHealth))

hit.Parent.BodyEffects.Defense.Value -= 7

local Effect = DBGUIEOIASDWAE:Clone()

local hp = math.clamp(1000/
math.clamp(hit.Parent.BodyEffects.Defense.Value,1,100),1,10)
Effect.ImageLabel.ImageColor3 = Color3.new(( hp*12 )/255,
math.clamp(hit.Parent.BodyEffects.Defense.Value, 0.1,100)/100,
((math.clamp(hit.Parent.BodyEffects.Defense.Value, 0,100)/100)*58)/255)

Effect.Size = UDim2.new(0,0,0,0)

Effect.Parent = hit.Parent.HumanoidRootPart

--

local Decal = Decals[math.random(1,#Decals)]

local Face = Faces_[math.random(1,#Faces_)]

local BodyPart = BodyParts[math.random(1,#BodyParts)]

local DecalObj = Instance.new("Decal")

DecalObj.Face = Face

DecalObj.Texture = "rbxassetid://"..Decal

DecalObj.Parent = hit.Parent:FindFirstChild(BodyPart)

game.Debris:AddItem(DecalObj,12)

tweenS:Create(Effect,TweenInfo.new(.3,Enum.EasingStyle.Linear,Enum.EasingDirection.
In,0,true),{Size = UDim2.new(5.5,0,5.5,0)}):Play()

game.Debris:AddItem(Effect,1)
else

hit.Parent.Humanoid.Health = (math.clamp(hit.Parent.Humanoid.Health - DMG,


0.5, hit.Parent.Humanoid.MaxHealth))
end
local
SD = ss.Storage.Misc:FindFirstChild("Sounds").NormalHit:GetChildren()
[math.random(1,#ss.Storage.Misc:FindFirstChild("Sounds").NormalHit:GetChildren())]:
Clone()

SD.Parent = hit

SD:Play()

game.Debris:AddItem(SD,5)

hit.Parent:SetAttribute("Attacked",true)

spawn(function()

wait(1)

hit.Parent:SetAttribute("Attacked",false)
end)
else
if
plr.DataFolder.Officer.Value == 1 then

--humanoid:TakeDamage(6.5)
else

if table.find(DamagedHumanoids, hit) then

return

end

if hit.Parent.Parent == game.Workspace.Cashiers then

if hit.Parent.Humanoid.Health <= 0.5 then

return

end

table.insert(DamagedHumanoids,hit)

plr.leaderstats.Wanted.Value += 5

hit.Parent.Humanoid:TakeDamage(70)

--Humanoid.Health = math.clamp(Humanoid.Health - 125 / 2, 0.5,


Humanoid.MaxHealth)

if hit.Parent.Humanoid.Health <= 0.5 then

hit.Parent.Head.Crash:Play()

else

hit.Parent.Head.Punch:Play()

end

return

end
end

hit.Parent:SetAttribute("Attacked",true)

spawn(function()

task.wait(1)

table.clear(DamagedHumanoids)

hit.Parent:SetAttribute("Attacked",false)
end)
--
local Player = game.Players:GetPlayerFromCharacter(Char)
--
Player:WaitForChild("leaderstats").Wanted.Value += 2
end
end
end
end
end)
spawn(function()
task.wait(.7)
CN1:Disconnect()
CN2:Disconnect()
task.wait(1.2)
end)
end
end
else
spawn(function()
if
Char.HumanoidRootPart:FindFirstChild("Claw1") and
Char.HumanoidRootPart:FindFirstChild("Claw2") then
task.wait(.3)
cooldown = true
else
task.wait(.65)
cooldown = true
end
end)
local DMG
if
Char.HumanoidRootPart:FindFirstChild("Claw1") and
Char.HumanoidRootPart:FindFirstChild("Claw2") then

Human:LoadAnimation(WOLVERINE[math.random(1,#WOLVERINE)]):Play(0.1000001, 1,
1.6)
DMG =
math.random(WolverineDMGMin,WolverineDMGMax)
local Swing =
game.ServerStorage.Swing:Clone()
Swing.Parent = Char.HumanoidRootPart
Swing:Play()
else

Human:LoadAnimation(FistAnis[math.random(1,#FistAnis)]):Play(0.1000001, 1,
1.1)
DMG =
math.random(AttackDamageMin,AttackDamageMax)
task.wait(.2)
local ReduceWalk =
Instance.new("StringValue")
ReduceWalk.Name = "ReduceWalk"
ReduceWalk.Parent =
Char:WaitForChild("BodyEffects").Movement
local NoJumping =
Instance.new("StringValue")
NoJumping.Name = "NoJumping"
NoJumping.Parent =
Char:WaitForChild("BodyEffects").Movement
end
task.wait(.2)
local CN1
local CN2
delay(.7, function()
if
Char:WaitForChild("BodyEffects").Movement:FindFirstChild("ReduceWalk") then

Char:WaitForChild("BodyEffects").Movement:FindFirstChild("ReduceWalk"):Destroy()
end
if
Char:WaitForChild("BodyEffects").Movement:FindFirstChild("NoJumping") then

Char:WaitForChild("BodyEffects").Movement:FindFirstChild("NoJumping"):Destroy()
end
end)
CN1 =
Char.RightHand.Touched:Connect(function(hit)
if hit then
if hit.Parent and not
hit.Parent:GetAttribute("Attacked") then
if
hit.Parent:FindFirstChild("Humanoid") then
if
hit.Parent:FindFirstChild("BodyEffects") then
if
hit.Parent.BodyEffects:FindFirstChild("Block") then

hit.Parent.Humanoid.Health = (math.clamp(hit.Parent.Humanoid.Health -
BlockFistDamage, 0.5, hit.Parent.Humanoid.MaxHealth))

hit.Parent.BodyEffects.Defense.Value -= 12
local Effect
= DBGUIEOIASDWAE:Clone()

local hp =
math.clamp(1000/ math.clamp(hit.Parent.BodyEffects.Defense.Value,1,100),1,10)

Effect.ImageLabel.ImageColor3 = Color3.new(( hp*12 )/255,


math.clamp(hit.Parent.BodyEffects.Defense.Value, 0.1,100)/100,
((math.clamp(hit.Parent.BodyEffects.Defense.Value, 0,100)/100)*58)/255)
Effect.Size
= UDim2.new(0,0,0,0)

Effect.Parent = hit.Parent.HumanoidRootPart
--

tweenS:Create(Effect,TweenInfo.new(.3,Enum.EasingStyle.Linear,Enum.EasingDirection.
In,0,true),{Size = UDim2.new(5.5,0,5.5,0)}):Play()
local Decal
= Decals[math.random(1,#Decals)]
local Face =
Faces_[math.random(1,#Faces_)]
local
BodyPart = BodyParts[math.random(1,#BodyParts)]
local
DecalObj = Instance.new("Decal")

DecalObj.Face = Face
DecalObj.Texture = "rbxassetid://"..Decal

DecalObj.Parent = hit.Parent:FindFirstChild(BodyPart)

game.Debris:AddItem(DecalObj,12)

game.Debris:AddItem(Effect,1)
else

hit.Parent.Humanoid.Health = (math.clamp(hit.Parent.Humanoid.Health - DMG,


0.5, hit.Parent.Humanoid.MaxHealth))
end
if
Char.HumanoidRootPart:FindFirstChild("Claw1") and
Char.HumanoidRootPart:FindFirstChild("Claw2") then
local SD =
ss.Storage.Misc:FindFirstChild("Sounds").WOLVERINEhit:GetChildren()
[math.random(1,#ss.Storage.Misc:FindFirstChild("Sounds").NormalHit:GetChildren())]:
Clone()
SD.Parent =
hit
SD:Play()

game.Debris:AddItem(SD,5)
else
local SD =
ss.Storage.Misc:FindFirstChild("Sounds").NormalHit:GetChildren()
[math.random(1,#ss.Storage.Misc:FindFirstChild("Sounds").NormalHit:GetChildren())]:
Clone()
SD.Parent =
hit
SD:Play()

game.Debris:AddItem(SD,5)
end

hit.Parent:SetAttribute("Attacked",true)
spawn(function()

task.wait(.7)

hit.Parent:SetAttribute("Attacked",false)
end)
else
if
plr.DataFolder.Officer.Value == 1 then
--
humanoid:TakeDamage(6.5)
else
if
table.find(DamagedHumanoids, hit) then
return
end
if
hit.Parent.Parent == game.Workspace.Cashiers then
if
hit.Parent.Humanoid.Health <= 0.5 then
return
end

table.insert(DamagedHumanoids,hit)

plr.leaderstats.Wanted.Value += 5

hit.Parent.Humanoid:TakeDamage(70)
--
Humanoid.Health = math.clamp(Humanoid.Health - 125 / 2, 0.5, Humanoid.MaxHealth)
if
hit.Parent.Humanoid.Health <= 0.5 then

hit.Parent.Head.Crash:Play()
else

hit.Parent.Head.Punch:Play()
end
return
end
end

hit.Parent:SetAttribute("Attacked",true)
spawn(function()
task.wait(1)

table.clear(DamagedHumanoids)

hit.Parent:SetAttribute("Attacked",false)
end)
--local Player =
game.Players:GetPlayerFromCharacter(Char)
--
Player:WaitForChild("leaderstats").Wanted.Value += 2
end
end
end
end
end)
CN2 =
Char.LeftHand.Touched:Connect(function(hit)
if hit then
if hit.Parent and not
hit.Parent:GetAttribute("Attacked") then
if
hit.Parent:FindFirstChild("Humanoid") then
if
hit.Parent:FindFirstChild("BodyEffects") then
if
hit.Parent.BodyEffects:FindFirstChild("Block") then

hit.Parent.Humanoid.Health = (math.clamp(hit.Parent.Humanoid.Health -
BlockFistDamage, 0.5, hit.Parent.Humanoid.MaxHealth))

hit.Parent.BodyEffects.Defense.Value -= 6

local Effect
= DBGUIEOIASDWAE:Clone()
local hp =
math.clamp(1000/ math.clamp(hit.Parent.BodyEffects.Defense.Value,1,100),1,10)

Effect.ImageLabel.ImageColor3 = Color3.new(( hp*12 )/255,


math.clamp(hit.Parent.BodyEffects.Defense.Value, 0.1,100)/100,
((math.clamp(hit.Parent.BodyEffects.Defense.Value, 0,100)/100)*58)/255)
Effect.Size
= UDim2.new(0,0,0,0)

Effect.Parent = hit.Parent.HumanoidRootPart
--
local Decal
= Decals[math.random(1,#Decals)]
local Face =
Faces_[math.random(1,#Faces_)]
local
BodyPart = BodyParts[math.random(1,#BodyParts)]
local
DecalObj = Instance.new("Decal")

DecalObj.Face = Face

DecalObj.Texture = "rbxassetid://"..Decal

DecalObj.Parent = hit.Parent:FindFirstChild(BodyPart)

game.Debris:AddItem(DecalObj,12)

tweenS:Create(Effect,TweenInfo.new(.3,Enum.EasingStyle.Linear,Enum.EasingDirection.
In,0,true),{Size = UDim2.new(5.5,0,5.5,0)}):Play()

game.Debris:AddItem(Effect,1)
--local SD =
script.Sounds.Weave.Sound:Clone()
--SD.Parent
= hit
--SD:Play()
else

hit.Parent.Humanoid.Health = (math.clamp(hit.Parent.Humanoid.Health - DMG,


0.5, hit.Parent.Humanoid.MaxHealth))
end
if
Char.HumanoidRootPart:FindFirstChild("Claw1") and
Char.HumanoidRootPart:FindFirstChild("Claw2") then
local SD =
ss.Storage.Misc:FindFirstChild("Sounds").WOLVERINEhit:GetChildren()
[math.random(1,#ss.Storage.Misc:FindFirstChild("Sounds").NormalHit:GetChildren())]:
Clone()
SD.Parent =
hit
SD:Play()

game.Debris:AddItem(SD,5)
else
local SD =
ss.Storage.Misc:FindFirstChild("Sounds").NormalHit:GetChildren()
[math.random(1,#ss.Storage.Misc:FindFirstChild("Sounds").NormalHit:GetChildren())]:
Clone()
SD.Parent =
hit
SD:Play()

game.Debris:AddItem(SD,5)
end

hit.Parent:SetAttribute("Attacked",true)
spawn(function()

task.wait(.7)

hit.Parent:SetAttribute("Attacked",false)
end)
else
if
plr.DataFolder.Officer.Value == 1 then
--
humanoid:TakeDamage(6.5)
else
if
table.find(DamagedHumanoids, hit) then
return
end
if
hit.Parent.Parent == game.Workspace.Cashiers then
if
hit.Parent.Humanoid.Health <= 0.5 then

return
end

table.insert(DamagedHumanoids,hit)

plr.leaderstats.Wanted.Value += 5

hit.Parent.Humanoid:TakeDamage(70)
--
Humanoid.Health = math.clamp(Humanoid.Health - 125 / 2, 0.5, Humanoid.MaxHealth)
if
hit.Parent.Humanoid.Health <= 0.5 then

hit.Parent.Head.Crash:Play()
else

hit.Parent.Head.Punch:Play()
end
return
end
end

hit.Parent:SetAttribute("Attacked",true)
spawn(function()
task.wait(1)
table.clear(DamagedHumanoids)

hit.Parent:SetAttribute("Attacked",false)
end)

--local Player =
game.Players:GetPlayerFromCharacter(Char)
--
Player:WaitForChild("leaderstats").Wanted.Value += 2
end
end
end
end
end)
spawn(function()
task.wait(.7)
CN1:Disconnect()
CN2:Disconnect()
end)
end
else
spawn(function()
task.wait(ChargeCooldownTime)
cooldown = true
end)
for i,v in
pairs(Char:WaitForChild("BodyEffects").SpecialParts:GetChildren())do
v.Transparency = 0
local tw = tweenS:Create(v,info,{Transparency =
1})
spawn(function()
task.wait(.2)
tw:Play()
tw.Completed:Wait()
end)
end
TrailEffects.Attachment0 =
Char.RightUpperArm.RightShoulderAttachment
TrailEffects.Attachment1 =
Char.RightHand.RightGripAttachment
TrailEffects.Enabled = true
local DMG =
math.random(ChargeDamageMin,ChargeDamageMax)
local DMG2 =
math.random(BlockChargeDamageMin,BlockChargeDamageMax)

Human:LoadAnimation(HookAnis[math.random(1,#HookAnis)]):Play(0.100000001, 1,
1.5)
task.wait(.2)
local CN1
local CN2
local NoWalkSpeed = Instance.new("StringValue")
NoWalkSpeed.Name = "NoWalkSpeed"
NoWalkSpeed.Parent =
Char:WaitForChild("BodyEffects").Movement
local NoJumping = Instance.new("StringValue")
NoJumping.Name = "NoJumping"
NoJumping.Parent =
Char:WaitForChild("BodyEffects").Movement
delay(1.2, function()
if
Char:WaitForChild("BodyEffects").Movement:FindFirstChild("NoWalkSpeed") then

Char:WaitForChild("BodyEffects").Movement:FindFirstChild("NoWalkSpeed"):Destroy()
end
if
Char:WaitForChild("BodyEffects").Movement:FindFirstChild("NoJumping") then

Char:WaitForChild("BodyEffects").Movement:FindFirstChild("NoJumping"):Destroy()
end
end)
CN1 = Char.RightHand.Touched:Connect(function(hit)
local dodged = false
if hit then
if hit.Parent and not
hit.Parent:GetAttribute("Attacked") then
if
hit.Parent:FindFirstChild("Humanoid") then
if
hit.Parent:FindFirstChild("BodyEffects") then
if
hit.Parent.BodyEffects:FindFirstChild("Block") then
if
hit.Parent.BodyEffects.Defense.Value < 60 then

hit.Parent.Humanoid.Health = (math.clamp(hit.Parent.Humanoid.Health - DMG2,


0.5, hit.Parent.Humanoid.MaxHealth))
local Effect
= DBGUIEOIASDWAE:Clone()

local hp =
math.clamp(1000/ math.clamp(hit.Parent.BodyEffects.Defense.Value,1,100),1,10)

Effect.ImageLabel.ImageColor3 = Color3.new(( hp*12 )/255,


math.clamp(hit.Parent.BodyEffects.Defense.Value, 0.1,100)/100,
((math.clamp(hit.Parent.BodyEffects.Defense.Value, 0,100)/100)*58)/255)
Effect.Size
= UDim2.new(0,0,0,0)

Effect.Parent = hit.Parent.HumanoidRootPart
--

tweenS:Create(Effect,TweenInfo.new(.3,Enum.EasingStyle.Linear,Enum.EasingDirection.
In,0,true),{Size = UDim2.new(5,0,5,0)}):Play()

game.Debris:AddItem(Effect,1)
else

hit.Parent:FindFirstChild("Humanoid"):LoadAnimation(WeaveAni[math.random(1,#WeaveAn
i)]):Play()
local SD =
ss.Storage.Misc:FindFirstChild("Sounds").Weave.Sound:Clone()
SD.Parent =
hit
SD:Play()
dodged =
true
end

local Decal =
Decals[math.random(1,#Decals)]
local Face =
Faces_[math.random(1,#Faces_)]
local BodyPart =
BodyParts[math.random(1,#BodyParts)]
local DecalObj =
Instance.new("Decal")
DecalObj.Face =
Face
DecalObj.Texture =
"rbxassetid://"..Decal
DecalObj.Parent =
hit.Parent:FindFirstChild(BodyPart)

game.Debris:AddItem(DecalObj,12)

hit.Parent.BodyEffects.Defense.Value -= 22

hit.Parent.BodyEffects.Defense.CurrentTimeBlock.Value+=1
if
hit.Parent.BodyEffects.Defense.Value <= 0 then

hit.Parent.BodyEffects:FindFirstChild("Block"):Destroy()
end
else
local BodyVelocity
= nil
if
hit.Parent.BodyEffects["K.O"].Value == true then

hit.Parent.Humanoid.Health = (math.clamp(hit.Parent.Humanoid.Health - DMG,


0.5, hit.Parent.Humanoid.MaxHealth))
BodyVelocity
= Instance.new("BodyVelocity")

BodyVelocity.Parent = hit.Parent.Humanoid.Parent.LowerTorso

BodyVelocity.MaxForce = Vector3.new(60000, 60000, 60000)

BodyVelocity.Velocity = Char.HumanoidRootPart.CFrame.LookVector * -5 +
Vector3.new(0,4,0)
delay(0.2,
function()

BodyVelocity:Destroy()
end)
else

hit.Parent.Humanoid.Health = (math.clamp(hit.Parent.Humanoid.Health - DMG,


0.5, hit.Parent.Humanoid.MaxHealth))
end
end
if not dodged then
local SD =
game.ServerStorage.Storage.Misc.Sounds["ChargeSound"]:Clone()
SD.Parent = hit
SD:Play()

game.Debris:AddItem(SD,5)
end

hit.Parent:SetAttribute("Attacked",true)
spawn(function()
task.wait(.7)

hit.Parent:SetAttribute("Attacked",false)
end)
else
if
plr.DataFolder.Officer.Value == 1 then
--
humanoid:TakeDamage(6.5)
else
if
table.find(DamagedHumanoids, hit) then
return
end
if
hit.Parent.Parent == game.Workspace.Cashiers then
if
hit.Parent.Humanoid.Health <= 0.5 then
return
end

table.insert(DamagedHumanoids,hit)

plr.leaderstats.Wanted.Value += 5

hit.Parent.Humanoid:TakeDamage(70)
--
Humanoid.Health = math.clamp(Humanoid.Health - 125 / 2, 0.5, Humanoid.MaxHealth)
if
hit.Parent.Humanoid.Health <= 0.5 then

hit.Parent.Head.Crash:Play()
else

hit.Parent.Head.Punch:Play()
end
return
end
end

hit.Parent:SetAttribute("Attacked",true)
spawn(function()
task.wait(.7)

table.clear(DamagedHumanoids)
hit.Parent:SetAttribute("Attacked",false)
end)
--local Player =
game.Players:GetPlayerFromCharacter(Char)
--
Player:WaitForChild("leaderstats").Wanted.Value += 2
end
end
end
end
end)
--[[CN2 = Char.LeftHand.Touched:Connect(function(hit)
if hit then
if hit.Parent and not
hit.Parent:GetAttribute("Attacked") then
if
hit.Parent:FindFirstChild("Humanoid") then
if
hit.Parent.BodyEffects.Block.Value then
if
hit.Parent.BodyEffects.Defense.Value > 60 then

hit.Parent.Humanoid.Health = (math.clamp(hit.Parent.Humanoid.Health - 25,


0.5, hit.Parent.Humanoid.MaxHealth))
else

hit.Parent:FindFirstChild("Humanoid"):LoadAnimation(WeaveAni[math.random(1,#WeaveAn
i)]):Play()
local SD =
script.Sounds.Weave.Sound:Clone()
SD.Parent = hit
SD:Play()
end
local DECAL =
Instance.new()

hit.Parent.BodyEffects.Defense.Value-=15

hit.Parent.BodyEffects.Defense.CurrentTimeBlock.Value+=1

local Effect =
DBGUIEOIASDWAE:Clone()

local hp =
math.clamp(1000/ math.clamp(hit.Parent.BodyEffects.Defense.Value,1,100),1,10)

Effect.ImageLabel.ImageColor3 = Color3.new(( hp*12 )/255,


math.clamp(hit.Parent.BodyEffects.Defense.Value, 0.1,100)/100,
((math.clamp(hit.Parent.BodyEffects.Defense.Value, 0,100)/100)*58)/255)
Effect.Size =
UDim2.new(0,0,0,0)
Effect.Parent =
hit.Parent.HumanoidRootPart
--
tweenS:Create(Effect,TweenInfo.new(.3,Enum.EasingStyle.Linear,Enum.EasingDirection.
In,0,true,true),{Size = UDim2.new(5,0,5,0)}):Play()

game.Debris:AddItem(Effect,1)
--if (100 >=
hit.Parent.BodyEffects.Defense.Value) > 50 then
--
Effect.ImageLabel.ImageColor3 = Color3.new(120/255, 255/255, 58/255)
--elseif (50 >=
hit.Parent.BodyEffects.Defense.Value) > 25 then
--end

if
hit.Parent.BodyEffects.Defense.Value <=0 then

hit.Parent.BodyEffects.Block.Value = false
end
else

hit.Parent.Humanoid.Health = (math.clamp(hit.Parent.Humanoid.Health - DMG,


0.5, hit.Parent.Humanoid.MaxHealth))
end

local SD =
script.Sounds.ChargeHit.Sound:Clone()
SD.Parent = hit
SD:Play()
game.Debris:AddItem(SD,5)

hit.Parent:SetAttribute("Attacked",true)
spawn(function()
task.wait(.5)

hit.Parent:SetAttribute("Attacked",false)
end)
end
end
end
end)]]--
task.wait(.5)
CN1:Disconnect()
--CN2:Disconnect()
task.wait(1.2)
if
Char:WaitForChild("BodyEffects").Movement:FindFirstChild("NoWalkSpeed") then

Char:WaitForChild("BodyEffects").Movement:FindFirstChild("NoWalkSpeed"):Destroy()
end
if
Char:WaitForChild("BodyEffects").Movement:FindFirstChild("NoJumping") then

Char:WaitForChild("BodyEffects").Movement:FindFirstChild("NoJumping"):Destroy()
end
--Char.BodyEffects["K.O"].Value = false
TrailEffects.Enabled = false
end

end
end
end
end)

You might also like