Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game.Players.LocalPlayer.Backpack.StarPlatinumOVA:Destroy()
- --Events
- local replicatedstorage = game:GetService("ReplicatedStorage")
- local standevent = replicatedstorage.Stand
- local damageevent = replicatedstorage.Damage
- local blockevent = replicatedstorage.Block
- local timestopevent = replicatedstorage.Timestop
- local untimestopevent = replicatedstorage.Untimestop
- local transparencyevent = replicatedstorage.Transparency
- local strongpunchevent = replicatedstorage.StrongPunch
- local dodgeevent = replicatedstorage.Dodge
- local donutevent = replicatedstorage.SPDonut
- local anchorevent = replicatedstorage.Anchor
- local trailevent = replicatedstorage.Trail
- local starfingerevent = replicatedstorage.StarFinger
- local bearingshotevent = replicatedstorage.BearingShot
- local iggyevent = replicatedstorage.Iggy
- local jumpevent = replicatedstorage.Jump
- local velocityevent = replicatedstorage.Velocity
- local poseevent = replicatedstorage.Menacing
- local tauntevent = replicatedstorage.Taunt
- local knockevent = replicatedstorage.Knock
- local knockclientevent = replicatedstorage.KnockClient
- local knockedevent = replicatedstorage.Knocked
- local getupevent = replicatedstorage.GetUp
- local berserkclientevent = replicatedstorage.BerserkClient
- local 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("StarPlatinumOVAStand", 25, 200)
- --Values
- local activu = false
- local appeared = false
- local timestopper = false
- local length = 2
- local disabled = chr:WaitForChild("Disabled")
- local pt = 0
- local stand = chr:WaitForChild("Stand")
- local rot = stand:WaitForChild("StandHumanoidRootPart")
- local hed = stand:WaitForChild("Stand Head")
- local face = hed:WaitForChild("face")
- local tors = stand:WaitForChild("Stand Torso")
- local rarm = stand:WaitForChild("Stand Right Arm")
- local larm = stand:WaitForChild("Stand Left Arm")
- local rleg = stand:WaitForChild("Stand Right Leg")
- local lleg = stand:WaitForChild("Stand Left Leg")
- local finger = stand:WaitForChild("StarFinger")
- local fingerhitbox = stand:WaitForChild("StarFingerHitBox")
- local fingerhitbox2 = stand:WaitForChild("StarFingerHitBox2")
- local fingerhitbox3 = stand:WaitForChild("StarFingerHitBox3")
- local fingerhitbox4 = stand:WaitForChild("StarFingerHitBox4")
- local fingerhitbox5 = stand:WaitForChild("StarFingerHitBox5")
- 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"]
- --Animation
- local nothinganim = human:LoadAnimation(rot.Nothing)
- local idleanim = human:LoadAnimation(rot.Idle)
- local barrageanim = human:LoadAnimation(rot.PunchBarrage)
- local blockanim = human:LoadAnimation(rot.Block)
- local leftpunchanim = human:LoadAnimation(rot.LeftPunch)
- local rightpunchanim = human:LoadAnimation(rot.RightPunch)
- local strongpunchanim = human:LoadAnimation(rot.StrongPunch)
- local timestopanim = human:LoadAnimation(rot.TS)
- local starfingeranim = human:LoadAnimation(rot.SF)
- local standjumpanim = human:LoadAnimation(rot.StandJump)
- local iggythrowanim = human:LoadAnimation(rot.IggyThrow)
- local shootanim = human:LoadAnimation(rot.Shoot)
- local pose1 = human:LoadAnimation(rot.Pose1)
- local pose2 = human:LoadAnimation(rot.Pose2)
- local attackpose = human:LoadAnimation(rot.AttackPose)
- local rollanim = human:LoadAnimation(rot.Roll)
- --Sound
- local dodgesfx = rot.Dodge
- local diesfx = rot.Die
- local blocksfx = rot.Guard
- local punchsfx = rot.Punch
- local heavypunchsfx = rot.HeavyPunch
- local rushsfx = rot.Rush
- local shootsfx = rot.Fire
- local standappearsfx = rot.StandAppear
- local starfingersfx = rot.StarFinger
- local jumpsfx = rot.StandJumpSFX
- local tsmsfx = rot.TSMovement
- local standappearcooldown = false
- function standappear(stand)
- if activu == true then return end
- if standappearcooldown == true then return end
- standappearcooldown = true
- if appeared == false then
- appeared = true
- nothinganim:Stop()
- idleanim:Play(0.2, 1, 1)
- standappearsfx:Play()
- for _, n in pairs(stand:GetChildren()) do
- coroutine.resume(coroutine.create(function()
- for _ = 1, 5 do
- if n ~= rot and n.ClassName ~= "Sound" and n ~= finger and n ~= fingerhitbox and n ~= fingerhitbox2 and n ~= fingerhitbox3 and n ~= fingerhitbox4 and n ~= fingerhitbox5 then
- wait()
- transparencyevent:FireServer(n, n.Transparency - 0.2)
- transparencyevent:FireServer(face, n.Transparency - 0.2)
- end
- end
- if n ~= rot and n ~= finger and n ~= fingerhitbox and n ~= fingerhitbox2 and n ~= fingerhitbox3 and n ~= fingerhitbox4 and n ~= fingerhitbox5 then
- transparencyevent:FireServer(n, 0)
- transparencyevent:FireServer(face, 0)
- end
- end))
- end
- elseif appeared == true then
- appeared = false
- idleanim:Stop()
- nothinganim:Play(0.2, 1, 1)
- for _, n in pairs(stand:GetChildren()) do
- coroutine.resume(coroutine.create(function()
- for _ = 1, 5 do
- if n ~= rot and n.ClassName ~= "Sound" and n ~= finger and n ~= fingerhitbox and n ~= fingerhitbox2 and n ~= fingerhitbox3 and n ~= fingerhitbox4 and n ~= fingerhitbox5 then
- wait()
- transparencyevent:FireServer(n, n.Transparency + 0.2)
- transparencyevent:FireServer(face, n.Transparency + 0.2)
- end
- end
- if n ~= rot and n ~= finger and n ~= fingerhitbox and n ~= fingerhitbox2 and n ~= fingerhitbox3 and n ~= fingerhitbox4 and n ~= fingerhitbox5 then
- transparencyevent:FireServer(n, 1)
- transparencyevent:FireServer(face, 1)
- end
- end))
- end
- end
- wait(0.5)
- standappearcooldown = false
- end
- local EHMMM = 0
- local barragecooldown = false
- function barrage()
- if activu == true then return end
- if barragecooldown == true then return end
- if appeared == false 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(rarm.Trail, true)
- trailevent:FireServer(larm.Trail, true)
- barrageanim:Play(0.1, 1, 1.5)
- tauntevent:FireServer(head, "rbxassetid://397874147", 0.5, 0)
- attackpose:Play()
- human.JumpPower = 0
- repeat
- EHMMM = EHMMM + 1
- hito(rarm, rarm.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, 0.1, 0.25, rot.CFrame.lookVector * 2.5, "rbxassetid://241837157", 0.075, Color3.new(255, 255, 255),"rbxassetid://260430079", math.random(9, 11) / 10, math.random(9, 11) / 50)
- hito(larm, larm.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, 0.1, 0.25, rot.CFrame.lookVector * 2.5, "rbxassetid://241837157", 0.075, Color3.new(255, 255, 255),"rbxassetid://260430079", math.random(9, 11) / 10, math.random(9, 11) / 50)
- wait(0.1)
- until bep == false or disabled.Value == true or EHMMM >= 400000000
- EHMMM = 0
- tauntevent:FireServer(head, "rbxassetid://679798810", 10, 0)
- attackpose:Stop()
- human.JumpPower = 50
- barrageanim:Stop(0.1)
- trailevent:FireServer(rarm.Trail, false)
- trailevent:FireServer(larm.Trail, false)
- activu = false
- barragecooldown = false
- end
- local donutcooldown = false
- function donut()
- if activu == true then return end
- if donutcooldown == true then return end
- if appeared == false 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 math.huge > magnitude then
- donutcooldown = true
- local char = mouse.Target.Parent
- donutevent:FireServer(char, math.huge)
- local getdied = math.random(1,7)
- if getdied == 1 then
- tauntevent:FireServer(head, "rbxassetid://1080611063", 10, 0)
- elseif getdied == 2 then
- tauntevent:FireServer(head, "rbxassetid://1080610583", 10, 0)
- elseif getdied == 3 then
- tauntevent:FireServer(head, "rbxassetid://565424701", 10, 0)
- elseif getdied == 4 then
- tauntevent:FireServer(head, "rbxassetid://565424468", 10, 0)
- elseif getdied == 5 then
- tauntevent:FireServer(head, "rbxassetid://565423860", 10, 0)
- elseif getdied == 6 then
- tauntevent:FireServer(head, "rbxassetid://571884894", 10, 0)
- elseif getdied == 7 then
- tauntevent:FireServer(head, "rbxassetid://565424177", 10, 0)
- end
- donutcooldown = false
- end
- end
- end
- function block()
- if activu == true then return end
- if appeared == false 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()
- attackpose:Play()
- human.JumpPower = 0
- repeat
- wait()
- until bep == false
- blockevent:FireServer(false)
- blockanim:Stop(0.1)
- attackpose:Stop()
- human.JumpPower = 50
- activu = false
- end
- local leftorright = false
- function punch()
- if activu == true then return end
- if appeared == false then
- return
- end
- activu = true
- punchsfx:Play()
- attackpose:Play()
- human.JumpPower = 0
- if leftorright == false then
- leftorright = true
- rightpunchanim:Play(0.1, 1, 1)
- trailevent:FireServer(rarm.Trail, true)
- wait(0.2)
- coroutine.resume(coroutine.create(function()
- for _ = 1, 5 do
- wait()
- hito(rarm, rarm.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, 10, 0.5, 0.25, rot.CFrame.lookVector * 10, "rbxassetid://241837157", 0.075, Color3.new(255, 255, 255),"rbxassetid://260430079", math.random(9, 11) / 10, math.random(9, 11) / 25)
- end
- end))
- elseif leftorright == true then
- leftorright = false
- leftpunchanim:Play(0.1, 1, 1)
- trailevent:FireServer(larm.Trail, true)
- wait(0.2)
- coroutine.resume(coroutine.create(function()
- for _ = 1, 5 do
- wait()
- hito(larm, larm.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, 10, 0.5, 0.25, rot.CFrame.lookVector * 10, "rbxassetid://241837157", 0.075, Color3.new(255, 255, 255),"rbxassetid://260430079", math.random(9, 11) / 10, math.random(9, 11) / 25)
- end
- end))
- end
- wait(0.3)
- attackpose:Stop()
- human.JumpPower = 50
- activu = false
- trailevent:FireServer(rarm.Trail, false)
- trailevent:FireServer(larm.Trail, false)
- end
- local strongpunchcooldown = false
- function strongpunch()
- if activu == true then return end
- if strongpunchcooldown == true then return end
- if appeared == false then
- return
- end
- activu = true
- strongpunchcooldown = true
- tauntevent:FireServer(head, "rbxassetid://679798995", 10, 0)
- attackpose:Play()
- human.JumpPower = 0
- strongpunchanim:Play(0.1, 1, 1)
- trailevent:FireServer(rarm.Trail, true)
- wait(0.5)
- strongpunchevent:FireServer(Vector3.new(1, 0.5, 1), Vector3.new(0.3, 0.15, 0.3), BrickColor.new("Institutional white"))
- coroutine.resume(coroutine.create(function()
- for _ = 1, 15 do
- wait()
- hito2(rarm, rarm.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)) ,3, 30, 0.75, 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.65)
- trailevent:FireServer(rarm.Trail, false)
- attackpose:Stop()
- human.JumpPower = 50
- activu = false
- strongpunchcooldown = false
- end
- local starfingercooldown = false
- function starfinger()
- if activu == true then return end
- if starfingercooldown == true then return end
- if appeared == false then
- return
- end
- activu = true
- starfingercooldown = true
- tauntevent:FireServer(head, "rbxassetid://866176890", 10, 0)
- attackpose:Play()
- human.JumpPower = 0
- starfingeranim:Play(0.1, 1, 1)
- wait(0.5)
- starfingerevent:FireServer()
- coroutine.resume(coroutine.create(function()
- for _ = 1, 25 do
- wait()
- hito2(fingerhitbox, fingerhitbox.CFrame * CFrame.new(0, 0, 0) * CFrame.new(math.random(-0.25, 0.25), math.random(-0.25, 0.25), math.random(-0.25, 0.25)) ,3, 25, 1, 0.1, rot.CFrame.lookVector * 25, "rbxassetid://241837157", 0.05, Color3.new(255, 255, 255),"rbxassetid://260430079", math.random(9, 11) / 10, math.random(9, 11) / 50)
- hito2(fingerhitbox2, fingerhitbox2.CFrame * CFrame.new(0, 0, 0) * CFrame.new(math.random(-0.25, 0.25), math.random(-0.25, 0.25), math.random(-0.25, 0.25)) ,3, 25, 1, 0.1, rot.CFrame.lookVector * 25, "rbxassetid://241837157", 0.05, Color3.new(255, 255, 255),"rbxassetid://260430079", math.random(9, 11) / 10, math.random(9, 11) / 50)
- hito2(fingerhitbox3, fingerhitbox3.CFrame * CFrame.new(0, 0, 0) * CFrame.new(math.random(-0.25, 0.25), math.random(-0.25, 0.25), math.random(-0.25, 0.25)) ,3, 25, 1, 0.1, rot.CFrame.lookVector * 25, "rbxassetid://241837157", 0.05, Color3.new(255, 255, 255),"rbxassetid://260430079", math.random(9, 11) / 10, math.random(9, 11) / 50)
- hito2(fingerhitbox4, fingerhitbox4.CFrame * CFrame.new(0, 0, 0) * CFrame.new(math.random(-0.25, 0.25), math.random(-0.25, 0.25), math.random(-0.25, 0.25)) ,3, 25, 1, 0.1, rot.CFrame.lookVector * 25, "rbxassetid://241837157", 0.05, Color3.new(255, 255, 255),"rbxassetid://260430079", math.random(9, 11) / 10, math.random(9, 11) / 50)
- hito2(fingerhitbox5, fingerhitbox5.CFrame * CFrame.new(0, 0, 0) * CFrame.new(math.random(-0.25, 0.25), math.random(-0.25, 0.25), math.random(-0.25, 0.25)) ,3, 25, 1, 0.1, rot.CFrame.lookVector * 25, "rbxassetid://241837157", 0.05, Color3.new(255, 255, 255),"rbxassetid://260430079", math.random(9, 11) / 10, math.random(9, 11) / 50)
- end
- end))
- wait(0.65)
- activu = false
- attackpose:Stop()
- human.JumpPower = 50
- starfingercooldown = false
- end
- local iggycooldown = false
- function iggypitch()
- if activu == true then return end
- if iggycooldown == true then return end
- if appeared == false then
- return
- end
- activu = true
- iggycooldown = true
- tauntevent:FireServer(head, "rbxassetid://1278697569", 10, 0)
- iggythrowanim:Play(0.1, 1, 1)
- trailevent:FireServer(rarm.Trail, true)
- iggyevent:FireServer()
- attackpose:Play()
- human.JumpPower = 0
- wait(0.75)
- strongpunchevent:FireServer(Vector3.new(1, 0.5, 1), Vector3.new(0.3, 0.15, 0.3), BrickColor.new("Institutional white"))
- wait(0.75)
- trailevent:FireServer(rarm.Trail, false)
- attackpose:Stop()
- human.JumpPower = 50
- activu = false
- iggycooldown = false
- end
- local movementcooldown = false
- function movement()
- if activu == true then return end
- if movementcooldown == true then return end
- if appeared == false then
- return
- end
- movementcooldown = true
- activu = true
- standjumpanim:Play(0.1, 1, 1)
- jumpsfx:Play()
- jumpevent:FireServer(BrickColor.new("Institutional white"))
- local Bod = Instance.new("BodyPosition", hrp)
- Bod.maxForce = Vector3.new(100000, 100000, 100000)
- Bod.Position = hrp.CFrame*CFrame.new(0, 50, -75).p
- game.Debris:AddItem(Bod, 1)
- activu = false
- movementcooldown = false
- end
- local timestopping = false
- local timestopcooldown = true
- local timestopmoving = false
- function timestop()
- if activu == true then return end
- if timestopcooldown == true then return end
- if timestopmoving == true then return end
- if timestopping == true then return end
- if game.Lighting.TS.Value == true then return end
- if game.Lighting.TE.Value == true then return end
- if game.Lighting.TSing.Value == true then return end
- if chr.TS.Value == true then return end
- if appeared == false then
- return
- end
- activu = true
- timestopcooldown = true
- timestopanim:Play(0.1, 1, 1)
- human.WalkSpeed = 0
- human.JumpPower = 0
- timestopping = true
- wait(1.5)
- timestopevent:FireServer(length, "jotaroova")
- human.WalkSpeed = 16
- human.JumpPower = 50
- activu = false
- wait(6)
- timestopping = false
- timestopcooldown = false
- untimestop()
- end
- function untimestop()
- untimestopevent:FireServer()
- end
- local aaa = 0
- local tsmcooldown = false
- function timestopmovement()
- if tsmcooldown == true then return end
- if timestopping == true then return end
- if game.Lighting.TS.Value == false then return end
- if chr.TS.Value == true then return end
- if appeared == false then
- return
- end
- tsmsfx:Play()
- timestopmoving = true
- tsmcooldown = true
- anchorevent:FireServer(tors ,false)
- anchorevent:FireServer(rarm ,false)
- anchorevent:FireServer(larm ,false)
- anchorevent:FireServer(rleg ,false)
- anchorevent:FireServer(lleg ,false)
- anchorevent:FireServer(hed ,false)
- anchorevent:FireServer(ntorso ,false)
- anchorevent:FireServer(rightarm ,false)
- anchorevent:FireServer(leftarm ,false)
- anchorevent:FireServer(rightleg ,false)
- anchorevent:FireServer(leftleg ,false)
- anchorevent:FireServer(head ,false)
- repeat
- aaa = aaa + 1
- wait(0.1)
- until aaa == 30
- timestopmoving = false
- coroutine.resume(coroutine.create(function()
- if game.Lighting.TS.Value == false then return end
- anchorevent:FireServer(tors ,true)
- anchorevent:FireServer(rarm ,true)
- anchorevent:FireServer(larm ,true)
- anchorevent:FireServer(rleg ,true)
- anchorevent:FireServer(lleg ,true)
- anchorevent:FireServer(hed ,true)
- 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))
- aaa = 0
- tsmcooldown = false
- end
- local posing = false
- function posefunc()
- if activu == false and posing == false then
- if appeared == false then
- return
- end
- if posing == false then do
- activu = true
- posing = true
- pose1:Play(0.1, 1, 1)
- human.WalkSpeed = 0
- human.JumpPower = 0
- poseevent:FireServer(true)
- tauntevent:FireServer(head, "rbxassetid://875922141", 3, 0)
- end
- end
- elseif posing == true then
- pose1:Stop(0.3)
- pose2:Stop(0.3)
- tauntevent:FireServer(head, "rbxassetid://679798995", 3, 0)
- 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
- dodgecooldown = false
- function dodge()
- if activu == true then return end
- if dodgecooldown == true then return end
- activu = true
- dodgecooldown = true
- rollanim:Play()
- dodgesfx:Play()
- dodgeevent:FireServer()
- local boopyve = Instance.new("BodyVelocity")
- boopyve.MaxForce = Vector3.new(100000, 0, 100000)
- boopyve.P = math.huge
- boopyve.Velocity = hrp.CFrame.lookVector * 100
- boopyve.Parent = chr.HumanoidRootPart
- game.Debris:AddItem(boopyve, 0.25)
- wait(0.4)
- activu = false
- dodgecooldown = false
- end
- function music()
- local musicline = math.random(1,3)
- if musicline == 1 then
- tauntevent:FireServer(head, "rbxassetid://397874147", 3, 0)
- elseif musicline == 2 then
- tauntevent:FireServer(head, "rbxassetid://297343361", 3, 0)
- elseif musicline == 3 then
- tauntevent:FireServer(head, "rbxassetid://875922141", 3, 0)
- end
- end
- local tauntcd = false
- function taunt()
- tauntevent:FireServer(head, "rbxassetid://3682670235", 10, 0)
- 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 key == "h" then
- timestopmovement()
- end
- if ntorso.Anchored == true then return end
- if disabled.Value == true then return end
- if key == "q" then
- standappear(stand)
- end
- if key == "e" then
- barrage()
- end
- if key == "r" then
- strongpunch()
- end
- if key == "t" then
- starfinger()
- end
- if key == "y" then
- iggypitch()
- end
- if key == "x" then
- block()
- end
- if key == "u" then
- taunt()
- end
- if key == "l" then
- music()
- end
- if key == "f" then
- if game.Lighting.TS.Value == false then
- timestop()
- elseif game.Lighting.TS.Value == true then
- untimestop()
- end
- end
- if key == "z" then
- movement()
- end
- if key == "c" then
- dodge()
- end
- if key == "g" then
- posefunc()
- end
- if key == "n" then
- taunt()
- end
- end)
- function hito(partoz, partcfr, magn, dmg, debtim, debtime, bodyfdire, effect, grow, color, sound, pitch, volume)
- if disabled.Value == true then return end
- 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, 3455144981, pitch, 1)
- local db = Instance.new("StringValue")
- db.Name = "alabo"
- db.Parent = horp
- delay(debtim, function()
- db:Destroy()
- end)
- end
- end
- if guy:FindFirstChild("Stand") and guy["Stand"]:FindFirstChild("Stand Torso") and guy ~= chr and guy ~= chr[stand.Name] and magn > (guy["Stand"]:FindFirstChild("Stand Torso").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, 3455144981, pitch, 1)
- 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)
- if disabled.Value == true then return end
- 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, 3455144981, pitch, volume)
- knockevent:FireServer(humz)
- local db = Instance.new("StringValue")
- db.Name = "alabo"
- db.Parent = horp
- delay(debtim, function()
- db:Destroy()
- end)
- end
- end
- if guy:FindFirstChild("Stand") and guy["Stand"]:FindFirstChild("Stand Torso") and guy ~= chr and guy ~= chr[stand.Name] and magn > (guy["Stand"]:FindFirstChild("Stand Torso").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, 3455144981, 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
- if timestopping == true then return end
- anchorevent:FireServer(tors ,true)
- anchorevent:FireServer(rarm ,true)
- anchorevent:FireServer(larm ,true)
- anchorevent:FireServer(rleg ,true)
- anchorevent:FireServer(lleg ,true)
- anchorevent:FireServer(hed ,true)
- 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(tors ,false)
- anchorevent:FireServer(rarm ,false)
- anchorevent:FireServer(larm ,false)
- anchorevent:FireServer(rleg ,false)
- anchorevent:FireServer(lleg ,false)
- anchorevent:FireServer(hed ,false)
- 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(tors ,true)
- anchorevent:FireServer(rarm ,true)
- anchorevent:FireServer(larm ,true)
- anchorevent:FireServer(rleg ,true)
- anchorevent:FireServer(lleg ,true)
- anchorevent:FireServer(hed ,true)
- 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)
- tauntevent:FireServer(head, "rbxassetid://130774824", 10, 0)
- 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
- for _, n in pairs(stand:GetChildren()) do
- coroutine.resume(coroutine.create(function()
- for _ = 1, 5 do
- if n ~= rot and n.ClassName ~= "Sound" and n ~= finger and n ~= fingerhitbox and n ~= fingerhitbox2 and n ~= fingerhitbox3 and n ~= fingerhitbox4 and n ~= fingerhitbox5 then
- wait()
- transparencyevent:FireServer(n, n.Transparency + 0.2)
- transparencyevent:FireServer(face, n.Transparency + 0.2)
- end
- end
- if n ~= rot and n ~= finger and n ~= fingerhitbox and n ~= fingerhitbox2 and n ~= fingerhitbox3 and n ~= fingerhitbox4 and n ~= fingerhitbox5 then
- transparencyevent:FireServer(n, 1)
- transparencyevent:FireServer(face, 1)
- end
- end))
- end
- human:SetStateEnabled(3, false)
- human:SetStateEnabled(15, false)
- local deathsoundmeme = math.random(1,2)
- if deathsoundmeme == 1 then
- tauntevent:FireServer(head, "rbxassetid://1080625252", 3, 0)
- elseif deathsoundmeme == 2 then
- tauntevent:FireServer(head, "rbxassetid://1080610827", 3, 0)
- end
- deathevent:FireServer(false)
- end
- end)
- knockclientevent.OnClientEvent:connect(function(enemyplr)
- if chr.Block.Value == true then return end
- knockedevent:FireServer()
- tauntevent:FireServer(head, "rbxassetid://296102734", 10, 0)
- human:SetStateEnabled(3, false)
- wait(1.25)
- if human.Health >= 1 then
- getupevent:FireServer()
- human:SetStateEnabled(3, true)
- end
- end)
- tauntevent.OnClientEvent:Connect(function()
- tauntcd = false
- end)
- timestopcooldown = false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement