Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -local mystand = nil
- for i,v in pairs(game:GetService("Lighting"):GetChildren())do
- for i,v2 in pairs(game:GetService("Players").LocalPlayer.Character:GetChildren())do
- if v:IsA("LocalScript") and v2:IsA("LocalScript") then
- if v.Name == v2.Name then
- mystand = v2.Name
- end
- end
- end
- end
- game.Players.LocalPlayer.Character[mystand]:Destroy()
- --Events
- local replicatedstorage = game:GetService("ReplicatedStorage")
- local standevent = replicatedstorage.Oni
- local fireevent = replicatedstorage.FireLimb
- local damageevent = replicatedstorage.Damage
- local damageevent2 = replicatedstorage.BurnDamage
- local blockevent = replicatedstorage.Block
- local strongpunchevent = replicatedstorage.PlayerStrongPunch2
- local axekickevent = replicatedstorage.AxeKick
- local dodgeevent = replicatedstorage.Dodge2
- local dodgeevent2 = replicatedstorage.Dodge3
- local shadowevent = replicatedstorage.Shadow
- local anchorevent = replicatedstorage.Anchor
- local timestopevent = replicatedstorage.Timestop
- local untimestopevent = replicatedstorage.Untimestop
- local trailevent = replicatedstorage.Trail
- local velocityevent = replicatedstorage.Velocity
- local backwardslamevent = replicatedstorage.BackwardSlam
- local knockevent = replicatedstorage.Knock
- local knockclientevent = replicatedstorage.KnockClient
- local getupevent = replicatedstorage.GetUp
- local berserkclientevent = replicatedstorage.BerserkClient
- local jumpevent = replicatedstorage.Jump
- local poseevent = replicatedstorage.Menacing
- local blastevent = replicatedstorage.OHBlast
- local FireBallevent = replicatedstorage.FireBall
- lolocal plr = game:GetService("Players").LocalPlayer
- repeat
- wait()
- until plr.Character and plr.Character.Humanoid
- local chr = plr.Character
- local human = chr.Humanoid
- local hrp = chr.HumanoidRootPart
- mouse = plr:GetMouse()
- cam = workspace.CurrentCamera
- --standevent:FireServer()
- human.WalkSpeed = 16
- human.JumpPower = 50
- --Values
- local activu = false
- local head = chr["Head"]
- local ntorso = chr["Torso"]
- local rightarm = chr["Right Arm"]
- local leftarm = chr["Left Arm"]
- local rightleg = chr["Right Leg"]
- local leftleg = chr["Left Leg"]
- local rot = chr["HumanoidRootPart"]
- function makemotor(parent, p0, p1, c0, c1)
- local wel = Instance.new("Motor6D")
- wel.Part0 = p0
- wel.Part1 = p1
- if c0 ~= nil then
- wel.C0 = c0
- end
- if c1 ~= nil then
- wel.C1 = c1
- end
- wel.Parent = parent
- return wel
- end
- local stand = chr:WaitForChild("Stand")
- local disabled = Instance.new("BoolValue",chr)
- disabled.Value = false
- --Animation
- local anim1 = Instance.new("Animation") -- roll or dash
- anim1.AnimationId = "rbxassetid://3446222065"
- local anim6 = Instance.new("Animation") -- axe kick
- anim6.AnimationId = "rbxassetid://3445853933"
- local anim7 = Instance.new("Animation") -- barrage
- anim7.AnimationId = "rbxassetid://3445788051"
- local anim4 = Instance.new("Animation") -- right punch
- anim4.AnimationId = "rbxassetid://3445790486"
- local anim5 = Instance.new("Animation") -- left punch
- anim5.AnimationId = "rbxassetid://3445791481"
- local anim3 = Instance.new("Animation") -- strong punch
- anim3.AnimationId = "rbxassetid://3445851410"
- local anim2 = Instance.new("Animation") -- block
- anim2.AnimationId = "rbxassetid://3445824199"
- local Pose1 = Instance.new("Animation") -- pose
- Pose1.AnimationId = "rbxassetid://4860557711"
- local anim8 = Instance.new("Animation") -- kick
- anim8.AnimationId = "rbxassetid://3445855469"
- local anim9 = Instance.new("Animation") -- flip
- anim9.AnimationId = "rbxassetid://3445856941"
- local anim10 = Instance.new("Animation") -- spaceripper
- anim10.AnimationId = "rbxassetid://4817900837"
- local anim11 = Instance.new("Animation") -- shiny
- anim11.AnimationId = "rbxassetid://4857013285"
- local anim12 = Instance.new("Animation") -- standjump
- anim12.AnimationId = "rbxassetid://4810141046"
- local anim13 = Instance.new("Animation") -- slam
- anim13.AnimationId = "rbxassetid://4845818209"
- local anim14 = Instance.new("Animation") -- blastfire
- anim14.AnimationId = "rbxassetid://4554563880"
- local barrageanim = human:LoadAnimation(anim7)
- local strongpunchanim = human:LoadAnimation(anim3)
- local rightpunchanim = human:LoadAnimation(anim4)
- local leftpunchanim = human:LoadAnimation(anim5)
- local rollanim = human:LoadAnimation(anim1)
- local axekickanim = human:LoadAnimation(anim6)
- local blockanim = human:LoadAnimation(anim2)
- local pose1 = human:LoadAnimation(Pose1)
- local pose2 = human:LoadAnimation(Pose1)
- local kickanim = human:LoadAnimation(anim8)
- local flipanim = human:LoadAnimation(anim9)
- local spaceripperanim = human:LoadAnimation(anim10)
- local shinyanim = human:LoadAnimation(anim11)
- local standjumpanim = human:LoadAnimation(anim12)
- local slamanim = human:LoadAnimation(anim13)
- local blastfireanim = human:LoadAnimation(anim14)
- pose1.Looped = true
- pose1.Priority = "Idle"
- pose2.Looped = true
- pose2.Priority = "Idle"
- --Sound
- local dodgesfx
- if ntorso:FindFirstChild"Dodge" then
- dodgesfx = ntorso.Dodge
- dodgesfx.SoundId = "rbxassetid://1145251796"
- else
- dodgesfx = Instance.new("Sound",chr)
- dodgesfx.SoundId = "rbxassetid://1145251796"
- dodgesfx.Volume = 5
- end
- local punchsfx
- if ntorso:FindFirstChild"Swing" then
- punchsfx = ntorso.Swing
- punchsfx.SoundId = "rbxassetid://200632136"
- else
- punchsfx = Instance.new("Sound",chr)
- punchsfx.SoundId = "rbxassetid://200632136"
- punchsfx.Volume = 2.5
- end
- local heavypunchsfx
- if ntorso:FindFirstChild"HeavyPunch" then
- heavypunchsfx = ntorso.HeavyPunch
- heavypunchsfx.SoundId = "rbxassetid://955633944"
- else
- heavypunchsfx = Instance.new("Sound",chr)
- heavypunchsfx.SoundId = "rbxassetid://955633944"
- heavypunchsfx.Volume = 5
- end
- local blastsfx
- if ntorso:FindFirstChild"HeavyPunch" then
- blastsfx = ntorso.HeavyPunch
- blastfx.SoundId = "rbxassetid://159218913"
- else
- blastsfx = Instance.new("Sound",chr)
- blastsfx.SoundId = "rbxassetid://159218913"
- blastsfx.Volume = 3
- end
- local stingyeyesfx
- if ntorso:FindFirstChild"HeavyPunch" then
- stingyeyesfx = ntorso.HeavyPunch
- stingyeyesfx.SoundId = "rbxassetid://182755400"
- else
- stingyeyesfx= Instance.new("Sound",chr)
- stingyeyesfx.SoundId = "rbxassetid://182755400"
- stingyeyesfx.Volume = 5
- end
- local rushsfx
- if ntorso:FindFirstChild"Rush" then
- rushsfx = ntorso.Rush
- rushsfx.SoundId = "rbxassetid://1150867044"
- else
- rushsfx = Instance.new("Sound",chr)
- rushsfx.SoundId = "rbxassetid://1150867044"
- rushsfx.Volume = 2.5
- end
- local blocksfx = dodgesfx
- local posing = false
- local appeared = true
- function posefunc()
- if activu == false and posing == false then
- if appeared == false then
- return
- end
- if posing == false then do
- activu = true
- posing = true
- local cp = math.random(1, 2)
- if cp == 1 then
- pose1:Play(0.1, 1, 1)
- elseif cp == 2 then
- pose2:Play(0.1, 1, 1)
- end
- human.WalkSpeed = 0
- human.JumpPower = 0
- poseevent:FireServer(true)
- end
- end
- elseif posing == true then
- pose1:Stop(0.3)
- pose2:Stop(0.3)
- if disabled.Value == false then
- human.WalkSpeed = 16
- human.JumpPower = 50
- elseif disabled.Value == true then
- human.WalkSpeed = 4
- human.JumpPower = 10
- end
- activu = false
- posing = false
- poseevent:FireServer(false)
- end
- end
- function block()
- if activu == true then return end
- activu = true
- local bep = true
- local de = mouse.KeyUp:connect(function(key)
- if key == "x" then
- bep = false
- end
- end)
- blockanim:Play(0.1, 1,1)
- blockevent:FireServer(true)
- blocksfx:Play()
- human.JumpPower = 0
- repeat
- wait()
- until bep == false
- blockevent:FireServer(false)
- blockanim:Stop(0.1)
- human.JumpPower = 50
- activu = false
- end
- local shinybladecooldown = false
- function shinyblade()
- if activu == true then return end
- if shinybladecooldown == true then return end
- shinybladecooldown = true
- shinybladeanim:Play()
- wait(0.5)
- shinybladeanim:Stop()
- human.WalkSpeed = 43
- human.JumpPower = 70
- damagemultiplier = 2
- wait(35)
- human.WalkSpeed = 31
- human.JumpPower = 69
- damagemultiplier = 2
- wait(37)
- shinybladecooldown = false
- end
- local EHMMM = 0
- local barragecooldown = false
- function barrage()
- if activu == true then return end
- if barragecooldown == true then return end
- activu = true
- barragecooldown = true
- local bep = true
- local de = mouse.KeyUp:connect(function(key)
- if key == "e" then
- bep = false
- end
- end)
- trailevent:FireServer(stand.StandRarm.Trail, true)
- trailevent:FireServer(stand.StandLarm.Trail, true)
- barrageanim:Play(0.1, 1, 1.5)
- rushsfx:Play()
- human.JumpPower = 50
- repeat
- EHMMM = EHMMM + 0.5
- hito2(rightarm, rightarm.CFrame * CFrame.new(0, -1, 0) * CFrame.new(math.random(-0.25, 0.25), math.random(-0.25, 0.25), math.random(-0.25, 0.25)) ,2, 7, 0.05, 0.25, rot.CFrame.lookVector * 5, "rbxassetid://241837157", 0.5, Color3.fromRGB(177, 85, 255),"rbxassetid://542443306", math.random(9, 11) / 10, math.random(9, 11) / 35)
- hito2(leftarm, leftarm.CFrame * CFrame.new(0, -1, 0) * CFrame.new(math.random(-0.25, 0.25), math.random(-0.25, 0.25), math.random(-0.25, 0.25)) ,2, 7, 0.05, 0.25, rot.CFrame.lookVector * 5, "rbxassetid://241837157", 0.5, Color3.fromRGB(177, 85, 255),"rbxassetid://542443306", math.random(9, 11) / 10, math.random(9, 11) / 35)
- wait(0.05)
- until bep == false or disabled.Value == true or EHMMM >= 376
- EHMMM = 0
- rushsfx:Stop()
- human.JumpPower = 50
- barrageanim:Stop(0.1)
- trailevent:FireServer(stand.StandRarm.Trail, false)
- trailevent:FireServer(stand.StandLarm.Trail, false)
- activu = false
- wait(5)
- barragecooldown = false
- end
- local leftorright = false
- function punch()
- if activu == true then return end
- activu = true
- punchsfx:Play()
- human.JumpPower = 0
- if leftorright == false then
- leftorright = true
- rightpunchanim:Play(0.1, 1, 1.5)
- fireevent:FireServer(chr.FireRightArm, true)
- wait(0.15)
- coroutine.resume(coroutine.create(function()
- for _ = 1, 5 do
- wait()
- hito(rightarm, rightarm.CFrame * CFrame.new(0, -1, 0) * CFrame.new(math.random(-0.25, 0.25), math.random(-0.25, 0.25), math.random(-0.25, 0.25)) ,2.5, 8, 0.2, 0.25, rot.CFrame.lookVector * 10, "rbxassetid://241837157", 0.075, Color3.new(255, 255, 255),"rbxassetid://260430079", math.random(9, 11) / 10, 2)
- end
- end))
- elseif leftorright == true then
- leftorright = false
- leftpunchanim:Play(0.1, 1, 1.5)
- fireevent:FireServer(chr.FireLeftArm, true)
- wait(0.15)
- coroutine.resume(coroutine.create(function()
- for _ = 1, 5 do
- wait()
- hito(leftarm, leftarm.CFrame * CFrame.new(0, -1, 0) * CFrame.new(math.random(-0.25, 0.25), math.random(-0.25, 0.25), math.random(-0.25, 0.25)) ,2.5, 8, 0.2, 0.25, rot.CFrame.lookVector * 10, "rbxassetid://241837157", 0.075, Color3.new(255, 255, 255),"rbxassetid://260430079", math.random(9, 11) / 10, 2)
- end
- end))
- end
- wait(0.2)
- activu = false
- human.JumpPower = 50
- fireevent:FireServer(chr.FireRightArm, false)
- fireevent:FireServer(chr.FireLeftArm, false)
- end
- local legbreakercooldown = false
- function legbreaker()
- if activu == true then return end
- if legbreakercooldown == true then return end
- activu = true
- legbreakercooldown = true
- legbreakeranim:Play(0.1, 1, 1)
- fireevent:FireServer(chr.FireRightLeg, true)
- human.JumpPower = 0
- wait(0.1)
- demonsfx:Play()
- wait(0.3)
- punchsfx:Play()
- coroutine.resume(coroutine.create(function()
- for _ = 1, 10 do
- wait()
- hito2(rightleg, rightleg.CFrame * CFrame.new(0, -1, 0) * CFrame.new(math.random(-0.25, 0.25), math.random(-0.25, 0.25), math.random(-0.25, 0.25)) , 5, 39, 0.6, 0.25, rot.CFrame.lookVector * 5, "rbxassetid://241837157", 0.075, Color3.new(255, 255, 255),"rbxassetid://386946017", math.random(9, 11) / 10, math.random(9, 11) / 10)
- end
- end))
- wait(0.25)
- fireevent:FireServer(chr.FireRightLeg, false)
- human.JumpPower = 50
- activu = false
- wait(3)
- legbreakercooldown = false
- end
- local strongpunchcooldown = false
- function strongpunch()
- if activu == true then return end
- if strongpunchcooldown == true then return end
- activu = true
- strongpunchcooldown = true
- punchsfx:Play()
- human.JumpPower = 0
- strongpunchanim:Play(0.1, 1, 1)
- fireevent:FireServer(chr.FireRightArm, true)
- local boopyve = Instance.new("BodyVelocity")
- boopyve.MaxForce = Vector3.new(100000, 0, 100000)
- boopyve.P = math.huge
- boopyve.Velocity = hrp.CFrame.lookVector * 17.5
- boopyve.Parent = chr.HumanoidRootPart
- demonsfx:Play()
- local bep = true
- coroutine.resume(coroutine.create(function()
- repeat
- wait()
- boopyve.Velocity = hrp.CFrame.lookVector * 17.5
- until bep == false
- end))
- wait(0.15)
- coroutine.resume(coroutine.create(function()
- for _ = 1, 8 do
- wait()
- hito2(rightarm, rightarm.CFrame * CFrame.new(0, -1, 0) * CFrame.new(math.random(-0.25, 0.25), math.random(-0.25, 0.25), math.random(-0.25, 0.25)) ,5, 37, 0.375, 0.25, rot.CFrame.lookVector * 20, "rbxassetid://241837157", 0.075, Color3.new(255, 255, 255),"rbxassetid://260430079", math.random(9, 11) / 10, math.random(9, 11) / 10)
- end
- end))
- wait(0.35)
- strongpunchevent:FireServer(Vector3.new(1, 0.5, 1), Vector3.new(0.3, 0.15, 0.3), BrickColor.new("Black"))
- coroutine.resume(coroutine.create(function()
- for _ = 1, 8 do
- wait()
- hito3(rightarm, rightarm.CFrame * CFrame.new(0, -1, 0) * CFrame.new(math.random(-0.25, 0.25), math.random(-0.25, 0.25), math.random(-0.25, 0.25)) ,5, 37, 0.375, 0.25, Vector3.new(0, 50, 0), "rbxassetid://241837157", 0.075, Color3.new(255, 255, 255),"rbxassetid://260430079", math.random(9, 11) / 10, math.random(9, 11) / 10)
- end
- end))
- wait(0.5)
- bep = false
- boopyve:Destroy()
- fireevent:FireServer(chr.FireRightArm, false)
- activu = false
- human.JumpPower = 50
- wait(2.45)
- strongpunchcooldown = false
- end
- local axekickcooldown = false
- function axekick()
- if activu == true then return end
- if axekickcooldown == true then return end
- activu = true
- axekickcooldown = true
- punchsfx:Play()
- axekickanim:Play(0.1, 1, 1)
- fireevent:FireServer(chr.FireRightLeg, true)
- human.JumpPower = 0
- demonsfx:Play()
- wait(0.35)
- axekickevent:FireServer()
- coroutine.resume(coroutine.create(function()
- for _ = 1, 10 do
- wait()
- hito4(rightleg, rightleg.CFrame * CFrame.new(0, -1, 0) * CFrame.new(math.random(-0.25, 0.25), math.random(-0.25, 0.25), math.random(-0.25, 0.25)) , 19.5, 20, 0.4, 0.25, rot.CFrame.lookVector * 50, "rbxassetid://241837157", 0.075, Color3.new(255, 255, 255),"rbxassetid://260430079", math.random(9, 11) / 10, math.random(9, 11) / 10)
- end
- end))
- wait(0.25)
- fireevent:FireServer(chr.FireRightLeg, false)
- human.JumpPower = 50
- activu = false
- wait(2)
- axekickcooldown = false
- end
- local flipcooldown = false
- function flip()
- if activu == true then return end
- if flipcooldown == true then return end
- activu = true
- flipcooldown = true
- punchsfx:Play()
- human.JumpPower = 0
- flipanim:Play(0.1, 1, 1)
- fireevent:FireServer(chr.FireRightArm, true)
- fireevent:FireServer(chr.FireLeftArm, true)
- fireevent:FireServer(chr.FireRightLeg, true)
- fireevent:FireServer(chr.FireRightLeg, true)
- demonsfx:Play()
- shadowevent:FireServer()
- local boopyve = Instance.new("BodyVelocity")
- boopyve.MaxForce = Vector3.new(100000, 0, 100000)
- boopyve.P = math.huge
- boopyve.Velocity = hrp.CFrame.lookVector * 20
- boopyve.Parent = chr.HumanoidRootPart
- dodgeevent2:FireServer()
- local bep = true
- local damaging = true
- coroutine.resume(coroutine.create(function()
- repeat
- wait()
- boopyve.Velocity = hrp.CFrame.lookVector * 20
- until bep == false
- end))
- coroutine.resume(coroutine.create(function()
- repeat
- wait()
- hito(rightleg, rightleg.CFrame * CFrame.new(0, -1, 0) * CFrame.new(math.random(-0.25, 0.25), math.random(-0.25, 0.25), math.random(-0.25, 0.25)) ,5, 7, 0.05, 0.25, rot.CFrame.lookVector * 20, "rbxassetid://241837157", 0.075, Color3.new(255, 255, 255),"rbxassetid://260430079", math.random(9, 11) / 10, math.random(9, 11) / 10)
- until damaging == false
- end))
- wait(1)
- bep = false
- damaging = false
- boopyve:Destroy()
- fireevent:FireServer(chr.FireRightArm, false)
- fireevent:FireServer(chr.FireLeftArm, false)
- fireevent:FireServer(chr.FireRightLeg, false)
- fireevent:FireServer(chr.FireRightLeg, false)
- activu = false
- human.JumpPower = 50
- wait(2)
- flipcooldown = false
- end
- local backwardslamcooldown = false
- function slam()
- if activu == true then return end
- if backwardslamcooldown == true then return end
- if mouse.Target and mouse.Target.Parent:FindFirstChild("Humanoid") then
- local horp = mouse.Target.Parent:FindFirstChild("HumanoidRootPart")
- local magnitude = (horp.Position - hrp.Position).magnitude
- if 25 > magnitude then
- if horp.Parent.Disabled.Value == true then return end
- activu = true
- backwardslamcooldown = true
- local char = mouse.Target.Parent
- backwardslamevent:FireServer(char)
- wait(2.5)
- activu = false
- wait(15)
- backwardslamcooldown = false
- end
- end
- end
- local posing = false
- function posefunc()
- if activu == false and posing == false then
- if posing == false then do
- activu = true
- posing = true
- voice1:Play()
- local cp = math.random(1, 2)
- if cp == 1 then
- pose1:Play(0.1, 1, 1)
- elseif cp == 2 then
- pose2:Play(0.1, 1, 1)
- end
- human.WalkSpeed = 0
- human.JumpPower = 0
- poseevent:FireServer(true)
- end
- end
- elseif posing == true then
- pose1:Stop(0.3)
- pose2:Stop(0.3)
- voice1:Stop()
- if disabled.Value == false then
- human.WalkSpeed = 16
- human.JumpPower = 50
- elseif disabled.Value == true then
- human.WalkSpeed = 4
- human.JumpPower = 10
- elseif chr.TE.Value == true then
- human.WalkSpeed = 26
- human.JumpPower = 50
- end
- activu = false
- posing = false
- poseevent:FireServer(false)
- end
- end
- function dodge()
- if activu == true then return end
- activu = true
- rollanim:Play(0.1, 1,1)
- dodgesfx:Play()
- fireevent:FireServer(chr.FireRightLeg, true)
- fireevent:FireServer(chr.FireLeftLeg, true)
- dodgeevent:FireServer()
- shadowevent:FireServer()
- human.JumpPower = 0
- local boopyve = Instance.new("BodyVelocity")
- boopyve.MaxForce = Vector3.new(100000, 100000, 100000)
- boopyve.P = math.huge
- boopyve.Velocity = hrp.CFrame.lookVector * 37.5
- boopyve.Parent = hrp
- game.Debris:AddItem(boopyve, 0.5)
- bep = true
- coroutine.resume(coroutine.create(function()
- repeat
- wait()
- boopyve.Velocity = hrp.CFrame.lookVector * 37.5
- until bep == false
- end))
- wait(0.1)
- activu = false
- bep = false
- human.JumpPower = 50
- fireevent:FireServer(chr.FireRightLeg, false)
- fireevent:FireServer(chr.FireLeftLeg, false)
- end
- local projectilecd = false
- function spaceripperstingyeyes()
- if projectilecd == true then return end
- if activu == true then return end
- activu = true
- projectilecd = true
- spaceripperanim:Play(0.1, 1, 1)
- wait(0.6)
- stingyeyessfx:Play()
- FireBallevent:FireServer()
- wait(0.3)
- activu = false
- wait(7.5)
- projectilecd = false
- end
- local movementcooldown = false
- function movement()
- if activu == true then return end
- if movementcooldown == true then return end
- movementcooldown = true
- activu = true
- standjumpsfx:Play()
- standjumpanim:Play(0.1, 1, 1)
- jumpevent:FireServer(BrickColor.new("Really black"))
- local Bod = Instance.new("BodyPosition", hrp)
- Bod.maxForce = Vector3.new(100000, 100000, 100000)
- Bod.Position = hrp.CFrame*CFrame.new(0, 80, -95).p
- game.Debris:AddItem(Bod, 1)
- wait(1)
- activu = false
- wait(13)
- movementcooldown = false
- end
- mouse.Button1Down:connect(function()
- if ntorso.Anchored == true then return end
- if disabled.Value == true then return end
- punch()
- end)
- mouse.KeyDown:connect(function(key)
- if ntorso.Anchored == true then return end
- if disabled.Value == true then return end
- if key == "e" then
- barrage()
- end
- if key == "r" then
- strongpunch()
- end
- if key == "t" then
- flip()
- end
- if key == "y" then
- axekick()
- end
- if key == "h" then
- slam()
- end
- if key == "x" then
- block()
- end
- if key == "c" then
- dodge()
- end
- if key == "z" then
- movement()
- end
- if key == "q" then
- legbreaker()
- end
- if key == "g" then
- posefunc()
- end
- if key == "b" then
- spaceripperstingyeyes()
- end
- if key == "v" then
- shinyblade()
- end
- end)
- function hito(partoz, partcfr, magn, dmg, debtim, debtime, bodyfdire, effect, grow, color, sound, pitch, volume)
- for _, guy in pairs(workspace:GetChildren()) do
- if partoz.Anchored == true then return end
- if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
- do
- if partoz.Anchored then return end
- local humz = guy:FindFirstChild("Humanoid")
- local horp = guy:FindFirstChild("HumanoidRootPart")
- damageevent:FireServer(humz, partcfr, dmg, debtime, bodyfdire, effect, grow, color, sound, pitch, volume)
- local db = Instance.new("StringValue")
- db.Name = "alabo"
- db.Parent = horp
- delay(debtim, function()
- db:Destroy()
- end)
- end
- end
- end
- end
- function hito2(partoz, partcfr, magn, dmg, debtim, debtime, bodyfdire, effect, grow, color, sound, pitch, volume)
- for _, guy in pairs(workspace:GetChildren()) do
- if partoz.Anchored == true then return end
- if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
- do
- if partoz.Anchored then return end
- local humz = guy:FindFirstChild("Humanoid")
- local horp = guy:FindFirstChild("HumanoidRootPart")
- damageevent2:FireServer(humz, partcfr, dmg, debtime, bodyfdire, effect, grow, color, sound, pitch, volume)
- knockevent:FireServer(humz)
- local db = Instance.new("StringValue")
- db.Name = "alabo"
- db.Parent = horp
- delay(debtim, function()
- db:Destroy()
- end)
- end
- end
- end
- end
- function hito3(partoz, partcfr, magn, dmg, debtim, debtime, bodyfdire, effect, grow, color, sound, pitch, volume)
- for _, guy in pairs(workspace:GetChildren()) do
- if partoz.Anchored == true then return end
- if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
- do
- if partoz.Anchored then return end
- local humz = guy:FindFirstChild("Humanoid")
- local horp = guy:FindFirstChild("HumanoidRootPart")
- damageevent3:FireServer(humz, partcfr, dmg, debtime, bodyfdire, effect, grow, color, sound, pitch, volume)
- knockevent:FireServer(humz)
- local db = Instance.new("StringValue")
- db.Name = "alabo"
- db.Parent = horp
- delay(debtim, function()
- db:Destroy()
- end)
- end
- end
- end
- end
- function hito4(partoz, partcfr, magn, dmg, debtim, debtime, bodyfdire, effect, grow, color, sound, pitch, volume)
- for _, guy in pairs(workspace:GetChildren()) do
- if partoz.Anchored == true then return end
- if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
- do
- if partoz.Anchored then return end
- local humz = guy:FindFirstChild("Humanoid")
- local horp = guy:FindFirstChild("HumanoidRootPart")
- damageevent4:FireServer(humz, partcfr, dmg, debtime, bodyfdire, effect, grow, color, sound, pitch, volume)
- knockevent:FireServer(humz)
- local db = Instance.new("StringValue")
- db.Name = "alabo"
- db.Parent = horp
- delay(debtim, function()
- db:Destroy()
- end)
- end
- end
- end
- end
- game.Lighting.TS.Changed:Connect(function()
- if game.Lighting.TS.Value == true then
- anchorevent:FireServer(ntorso ,true)
- anchorevent:FireServer(rightarm ,true)
- anchorevent:FireServer(leftarm ,true)
- anchorevent:FireServer(rightleg ,true)
- anchorevent:FireServer(leftleg ,true)
- anchorevent:FireServer(head ,true)
- elseif game.Lighting.TS.Value == false then
- anchorevent:FireServer(ntorso ,false)
- anchorevent:FireServer(rightarm ,false)
- anchorevent:FireServer(leftarm ,false)
- anchorevent:FireServer(rightleg ,false)
- anchorevent:FireServer(leftleg ,false)
- anchorevent:FireServer(head ,false)
- end
- end)
- if game.Lighting.TS.Value == true then
- anchorevent:FireServer(ntorso ,true)
- anchorevent:FireServer(rightarm ,true)
- anchorevent:FireServer(leftarm ,true)
- anchorevent:FireServer(rightleg ,true)
- anchorevent:FireServer(leftleg ,true)
- anchorevent:FireServer(head ,true)
- end
- berserkclientevent.OnClientEvent:connect(function()
- game.Lighting.Ambient = Color3.fromRGB(0, 0, 122)
- game.Lighting.Berserk.Enabled = true
- human.WalkSpeed = 4
- human:SetStateEnabled(3, false)
- wait(2.5)
- human.WalkSpeed = 16
- human:SetStateEnabled(3, true)
- game.Lighting.Ambient = Color3.fromRGB(150, 150, 150)
- game.Lighting.Berserk.Enabled = false
- end)
- local deathevent = replicatedstorage.Death
- human.HealthChanged:connect(function()
- if human.Health < 1 then
- human:SetStateEnabled(3, false)
- human:SetStateEnabled(15, false)
- deathevent:FireServer(false)
- end
- end)
- knockclientevent.OnClientEvent:connect(function(enemyplr)
- if chr.Block.Value == true then return end
- replicatedstorage["Knocked"]:FireServer()
- human:SetStateEnabled(3, false)
- wait(1.25)
- if human.Health >= 1 then
- getupevent:FireServer()
- human:SetStateEnabled(3, true)
- end
- end)
- wait(30)
- timestopcooldown = false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement