Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local TweenS = game:GetService("TweenService")
- local ContentProvider = game:GetService("ContentProvider")
- local RunService = game:GetService("RunService")
- game.Lighting.ColorCorrection.Contrast = 0.1
- function AddCommas(str)
- return #str % 3 == 0 and str:reverse():gsub("(%d%d%d)", "%1,"):reverse():sub(2) or str:reverse():gsub("(%d%d%d)", "%1,"):reverse()
- end
- local Camera = workspace.CurrentCamera
- local Player = game.Players.LocalPlayer
- local PlayerName = Player.Name
- local Character = script.Parent
- local PlayerFolder = Player:WaitForChild("PlayerFolder")
- local HRP = Character.HumanoidRootPart
- local HRPPosition1 = HRP.Position
- HRPPosition1 = "\230\147\141\228\189\160\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\230\147\141\228\189\160\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140"
- local CHumanoid = Character.Humanoid
- CHumanoid.DisplayDistanceType = 2
- local Mouse = Player:GetMouse()
- Mouse.TargetFilter = workspace.Hitboxes
- Player.PlayerGui.FadeToBlack.Fade:TweenPosition(UDim2.new(-0.5, 0, -3, 0), 1, 4, 0.5, true)
- if RunService:IsStudio() then
- Player.CameraMaxZoomDistance = 400
- end
- Camera.CameraType = "Custom"
- Camera.CameraSubject = CHumanoid
- local WS = 16
- local CanJump = true
- local CanDash = true
- local RunTransition = false
- local SpeedStat = 0
- local PhysStat = 0
- local DAToggle = false
- local CDFrame = Player.PlayerGui:WaitForChild("HUD"):WaitForChild("MainFrame"):WaitForChild("CDBack")
- local Remotes = Character:WaitForChild("Remotes")
- if CHumanoid.HipHeight > 8 or CHumanoid.HipHeight < 0.25 or CHumanoid.WalkSpeed > 44 or 1 > CHumanoid.WalkSpeed or CHumanoid.JumpPower > 75 then
- while true do
- end
- end
- local function OperateCD(Desc, V1, V2)
- local Op = V1
- local CD = V2
- local OpGui = CDFrame:FindFirstChild(Op)
- local Indicator = OpGui.Indicator
- if Desc == "DownTime" then
- Indicator.Size = UDim2.new(1, 0, 1, 0)
- Indicator.Position = UDim2.new(0, 0, 0, 0)
- elseif Desc == "Recharge" then
- Indicator:TweenSize(UDim2.new(1, 0, 0, 0), 0, 0, CD, true)
- Indicator:TweenPosition(UDim2.new(0, 0, 1, 0), 0, 0, CD, true)
- if CD ~= 0 then
- wait(CD)
- end
- if V1 == "S" then
- CanJump = true
- end
- elseif Desc == "Reset" then
- Indicator:TweenSize(UDim2.new(1, 0, 0, 0), 0, 0, 0, true)
- Indicator:TweenPosition(UDim2.new(0, 0, 1, 0), 0, 0, 0, true)
- end
- end
- local CanAct = PlayerFolder.CanAct
- local CurrentWeapon = PlayerFolder.Customization.Weapon.Value
- local function WeaponUpdate()
- CurrentWeapon = PlayerFolder.Customization.Weapon.Value
- CDFrame.C.Visible = false
- if CurrentWeapon == "Touka Kirishima" or CurrentWeapon == "Clipped Wing" or CurrentWeapon == "13's Jason" or CurrentWeapon == "IXA" or CurrentWeapon == "Narukami" or CurrentWeapon == "Seidou Takizawa" or CurrentWeapon == "Kura" or CurrentWeapon == "Owl" or CurrentWeapon == "Kosshi" or CurrentWeapon == "Ginkui" then
- CDFrame.C.Visible = true
- end
- local EquippedWepStr = Character.ServerControl.CurrentWep.Value
- if EquippedWepStr == "Tatara2" or EquippedWepStr == "ReKura1" or EquippedWepStr == "Noro2" then
- CDFrame.C.Visible = true
- end
- local InfoNickname, InfoModes, InfoRCCells, InfoDescription = game.ReplicatedStorage.Remotes:WaitForChild("Evolutions"):WaitForChild("GetInfo"):InvokeServer()
- local EInfoScroll = Player.PlayerGui.HUD.StagesFrame.InfoScroll
- for i, v in pairs(EInfoScroll:GetChildren()) do
- if v:IsA("Frame") and v.Name ~= "Example" then
- v:Destroy()
- end
- end
- for i = 1, #InfoNickname do
- local InfoFrame = EInfoScroll.Example:Clone()
- InfoFrame.LayoutOrder = i
- InfoFrame.Name = CurrentWeapon .. i
- InfoFrame.NicknameLabel.Text = "NICKNAME: " .. InfoNickname[i]
- InfoFrame.StageLabel.Text = "STAGE: " .. i
- InfoFrame.ModesLabel.Text = "MODE(S): " .. InfoModes[i]
- InfoFrame.RCLabel.Text = "RC CELLS: " .. AddCommas(InfoRCCells[i])
- InfoFrame.DescriptionLabel.Text = InfoDescription[i]
- InfoFrame.Visible = true
- InfoFrame.Parent = EInfoScroll
- end
- EInfoScroll.CanvasSize = UDim2.new(0, 0, 0, #InfoNickname * 125)
- end
- WeaponUpdate()
- PlayerFolder.Customization.Weapon.Changed:connect(function()
- WeaponUpdate()
- end)
- coroutine.wrap(function()
- Character:WaitForChild("ServerControl"):WaitForChild("CurrentWep").Changed:connect(function()
- WeaponUpdate()
- end)
- end)()
- coroutine.wrap(function()
- Character:WaitForChild("ServerControl"):WaitForChild("CameraOffset").Changed:connect(function()
- CHumanoid.CameraOffset = Character.ServerControl.CameraOffset.Value
- end)
- end)()
- local ClickCD = PlayerFolder.ClickCD
- ClickCD.Changed:connect(function(p)
- OperateCD(ClickCD.Value, "Click", ClickCD.CD.Value)
- end)
- local Special1CD = PlayerFolder.Special1CD
- Special1CD.Changed:connect(function(p)
- OperateCD(Special1CD.Value, "E", Special1CD.CD.Value)
- end)
- local Special2CD = PlayerFolder.Special2CD
- Special2CD.Changed:connect(function(p)
- OperateCD(Special2CD.Value, "R", Special2CD.CD.Value)
- end)
- local Special3CD = PlayerFolder.Special3CD
- Special3CD.Changed:connect(function(p)
- OperateCD(Special3CD.Value, "F", Special3CD.CD.Value)
- end)
- local SpecialBonusCD = PlayerFolder.SpecialBonusCD
- SpecialBonusCD.Changed:connect(function(p)
- OperateCD(SpecialBonusCD.Value, "C", SpecialBonusCD.CD.Value)
- end)
- AnimFolder = Instance.new("Folder")
- AnimFolder.Name = math.random(10000, 99999)
- local RunAnimToUse = "Run"
- local JumpAnimToUse = "Jump"
- local FallingAnimToUse = "Falling"
- local FDashAnimToUse = "ForwardDash"
- local LDashAnimToUse = "LeftDash"
- local BDashAnimToUse = "BackwardDash"
- local RDashAnimToUse = "RightDash"
- local AnimIds = {
- Idle = "rbxassetid://1470575511",
- Run = "rbxassetid://1470523115",
- Jump = "rbxassetid://1470577614",
- Falling = "rbxassetid://1470579701",
- Climb = "rbxassetid://1701465618",
- ForwardDash = "rbxassetid://1477689589",
- LeftDash = "rbxassetid://1478060554",
- BackwardDash = "rbxassetid://1477973731",
- RightDash = "rbxassetid://1478092550",
- HForwardDash = "rbxassetid://1899909382",
- HLeftDash = "rbxassetid://1899942860",
- HBackwardDash = "rbxassetid://1899933749",
- HRightDash = "rbxassetid://1899938804",
- SuperJump = "rbxassetid://1478349414",
- Eat = "rbxassetid://1488553212",
- Attack1 = "rbxassetid://1614139328",
- Attack2 = "rbxassetid://1614216233",
- Attack3 = "rbxassetid://1614402297",
- IdleKakuja = "rbxassetid://1721110508",
- RunKakuja = "rbxassetid://1721055773",
- JumpKakuja = "rbxassetid://1721210372",
- FallingKakuja = "rbxassetid://1721231025",
- RunEtoK3 = "rbxassetid://1832237879",
- JumpEtoK3 = "rbxassetid://1832324940",
- FallingEtoK3 = "rbxassetid://1832331426",
- ForwardDashEtoK3 = "rbxassetid://1832402544",
- LeftDashEtoK3 = "rbxassetid://1832476593",
- BackwardDashEtoK3 = "rbxassetid://1832549584",
- RightDashEtoK3 = "rbxassetid://1832447005",
- IdleYamoK1 = "rbxassetid://1954822799",
- RunYamoK1 = "rbxassetid://1963637151",
- JumpYamoK1 = "rbxassetid://1963836201",
- FallingYamoK1 = "rbxassetid://1963858971",
- ForwardDashYamoK1 = "rbxassetid://1963935952",
- LeftDashYamoK1 = "rbxassetid://1964083432",
- BackwardDashYamoK1 = "rbxassetid://1964426755",
- RightDashYamoK1 = "rbxassetid://1964254767",
- IdleTaki1 = "rbxassetid://1954822799",
- RunTaki1 = "rbxassetid://1992834276",
- JumpTaki1 = "rbxassetid://1992872654",
- FallingTaki1 = "rbxassetid://1992885870",
- ForwardDashTsu1 = "rbxassetid://2045857668",
- LeftDashTsu1 = "rbxassetid://2045884783",
- BackwardDashTsu1 = "rbxassetid://2045894636",
- RightDashTsu1 = "rbxassetid://2045966233",
- IdleOwl1 = "rbxassetid://2157828504",
- RunOwl1 = "rbxassetid://2160348024",
- JumpOwl1 = "rbxassetid://2160595432",
- FallingOwl1 = "rbxassetid://2160606136",
- ForwardDashOwl1 = "rbxassetid://2160942450",
- LeftDashOwl1 = "rbxassetid://2161087473",
- BackwardDashOwl1 = "rbxassetid://2161106514",
- RightDashOwl1 = "rbxassetid://2161142497",
- IdlePKKen1 = "rbxassetid://2198275340",
- RunPKKen1 = "rbxassetid://2203430331",
- JumpPKKen1 = "rbxassetid://2203561327",
- FallingPKKen1 = "rbxassetid://2203564491",
- ForwardDashPKKen1 = "rbxassetid://2206535651",
- LeftDashPKKen1 = "rbxassetid://2206701733",
- BackwardDashPKKen1 = "rbxassetid://2207081710",
- RightDashPKKen1 = "rbxassetid://2206983786",
- IdleKosshi1 = "rbxassetid://2497037355",
- RunKosshi1 = "rbxassetid://2497061759",
- JumpKosshi1 = "rbxassetid://2497083745",
- FallingKosshi1 = "rbxassetid://2497086128",
- IdleGinkui1 = "rbxassetid://2552711688",
- RunGinkui1 = "rbxassetid://2552742355",
- JumpGinkui1 = "rbxassetid://2160595432",
- FallingGinkui1 = "rbxassetid://2160606136",
- ForwardDashGinkui1 = "rbxassetid://2160942450",
- LeftDashGinkui1 = "rbxassetid://2161087473",
- BackwardDashGinkui1 = "rbxassetid://2161106514",
- RightDashGinkui1 = "rbxassetid://2161142497",
- IdleTataraK1 = "rbxassetid://2625316903",
- RunTataraK1 = "rbxassetid://2625650452",
- JumpTataraK1 = "rbxassetid://2626305214",
- FallingTataraK1 = "rbxassetid://2626320135",
- ForwardDashTataraK1 = "rbxassetid://2629801747",
- LeftDashTataraK1 = "rbxassetid://2630196584",
- BackwardDashTataraK1 = "rbxassetid://2630524431",
- RightDashTataraK1 = "rbxassetid://2630198075",
- IdleTakiK1 = "rbxassetid://2804942479",
- RunTakiK1 = "rbxassetid://2805044368",
- JumpTakiK1 = "rbxassetid://2805051725",
- FallingTakiK1 = "rbxassetid://2805055450",
- ForwardDashTakiK1 = "rbxassetid://2805382055",
- LeftDashTakiK1 = "rbxassetid://2805439157",
- BackwardDashTakiK1 = "rbxassetid://2805537565",
- RightDashTakiK1 = "rbxassetid://2805539497",
- IdleTakiK2 = "rbxassetid://2878127504",
- RunTakiK2 = "rbxassetid://2878349631",
- JumpTakiK2 = "rbxassetid://2878411805",
- FallingTakiK2 = "rbxassetid://2878420066",
- ForwardDashTakiK2 = "rbxassetid://2881558870",
- LeftDashTakiK2 = "rbxassetid://2882420923",
- BackwardDashTakiK2 = "rbxassetid://2882567085",
- RightDashTakiK2 = "rbxassetid://2882490734",
- IdleNoroK1 = "rbxassetid://3074711698",
- RunNoroK1 = "rbxassetid://3075322559",
- IdleIXA1 = "rbxassetid://3149941164",
- IdleReEto1 = "rbxassetid://3242795494"
- }
- local AnimInstances = {}
- local function AnimationInstancer(Anim, Saved)
- if AnimIds[Anim] then
- local AnimInstance = Instance.new("Animation")
- AnimInstance.AnimationId = AnimIds[Anim]
- AnimInstance.Name = Anim
- if not Saved then
- game.Debris:AddItem(AnimInstance, 0.25)
- end
- return AnimInstance
- else
- return nil
- end
- end
- for i, v in pairs(AnimIds) do
- table.insert(AnimInstances, AnimationInstancer(i, true))
- end
- game:GetService("ContentProvider"):PreloadAsync(AnimInstances)
- local IdleAnimation = CHumanoid:LoadAnimation(AnimationInstancer("Idle"))
- IdleAnimation:Play(0)
- local ClimbAnim
- CHumanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown, false)
- CHumanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll, false)
- local CHumanoidStateChange = CHumanoid.StateChanged:connect(function(Old, New)
- if New == Enum.HumanoidStateType.StrafingNoPhysics then
- while true do
- end
- end
- if Old == Enum.HumanoidStateType.Climbing and ClimbAnim then
- ClimbAnim:Stop()
- ClimbAnim = nil
- end
- if New == Enum.HumanoidStateType.Jumping and JumpAnimToUse ~= "JumpNo" then
- Airborne = true
- CanJump = false
- do
- local JumpAnimationInstance = AnimationInstancer(JumpAnimToUse, true)
- JumpAnimation = CHumanoid:LoadAnimation(JumpAnimationInstance)
- JumpAnimation:Play(0.1)
- JumpAnimation.Stopped:connect(function()
- JumpAnimation = nil
- JumpAnimationInstance:Destroy()
- end)
- OperateCD("DownTime", "S")
- end
- elseif New == Enum.HumanoidStateType.Running then
- Airborne = false
- elseif New == Enum.HumanoidStateType.Freefall then
- if FallAnimation == nil and CHumanoid:FindFirstChild("NoFallAnim") == nil then
- do
- local FallAnimationInstance = AnimationInstancer(FallingAnimToUse, true)
- FallAnimation = CHumanoid:LoadAnimation(FallAnimationInstance)
- FallAnimation:Play(0.5)
- FallAnimation.Stopped:connect(function()
- FallAnimation = nil
- FallAnimationInstance:Destroy()
- end)
- if RunAnimation then
- RunAnimation:Stop(RunAnimation.Length / 4)
- RunAnimation = nil
- end
- end
- end
- Airborne = true
- elseif New == Enum.HumanoidStateType.Landed then
- for i, v in pairs(CHumanoid:GetPlayingAnimationTracks()) do
- if string.sub(v.Name, 1, 7) == "Falling" then
- v:Stop(0.25)
- FallAnimation = nil
- elseif string.sub(v.Name, 1, 4) == "Jump" then
- v:Stop()
- JumpAnimation = nil
- end
- end
- if RunAnimation then
- RunAnimation:Stop(RunAnimation.Length / 4)
- RunAnimation = nil
- end
- Airborne = false
- local JumpCDReduce = SpeedStat / 100
- if JumpCDReduce > 1 then
- JumpCDReduce = 1
- end
- if DAToggle == true then
- JumpCDReduce = 1
- end
- if CDFrame.S.Indicator.Size == UDim2.new(1, 0, 1, 0) then
- OperateCD("Recharge", "S", 0.5 - 0.25 * JumpCDReduce)
- end
- elseif New == Enum.HumanoidStateType.Climbing and ClimbAnim == nil then
- ClimbAnim = CHumanoid:LoadAnimation(AnimationInstancer("Climb"))
- ClimbAnim:Play(ClimbAnim.Length / 4)
- ClimbAnim:AdjustSpeed(WS / 16)
- end
- end)
- local RunningAnimation = CHumanoid.Running:connect(function(Speed)
- for i, v in pairs(CHumanoid:GetPlayingAnimationTracks()) do
- if string.sub(v.Name, 1, 7) == "Falling" then
- v:Stop(0.25)
- FallAnimation = nil
- elseif string.sub(v.Name, 1, 4) == "Jump" then
- v:Stop()
- JumpAnimation = nil
- end
- end
- Airborne = false
- local JumpCDReduce = SpeedStat / 100
- if JumpCDReduce > 1 then
- JumpCDReduce = 1
- end
- if DAToggle == true then
- JumpCDReduce = 1
- end
- if CDFrame.S.Indicator.Size == UDim2.new(1, 0, 1, 0) then
- OperateCD("Recharge", "S", 0.5 - 0.25 * JumpCDReduce)
- end
- Airborne = false
- if Speed > WS / 5 then
- local SpeedAlter = 0.8
- local WeightAlter = 1
- if PlayerFolder.IsSprinting.Value == false then
- SpeedAlter = 1.5
- WeightAlter = 0.7
- end
- if RunAnimation then
- if 1 * (Speed / WS) < 4 then
- RunAnimation:AdjustSpeed(1 * (Speed * 0.8 / WS))
- if RunTransition == false then
- RunAnimation:AdjustWeight(WeightAlter)
- end
- end
- elseif RunAnimation == nil and HRP.Velocity ~= Vector3.new(0, 0, 0) then
- RunAnimation = CHumanoid:LoadAnimation(AnimationInstancer(RunAnimToUse))
- RunAnimation:Play(RunAnimation.Length / 4)
- if 1 * (Speed / WS) < 4 then
- RunAnimation:AdjustSpeed(1 * (Speed * 0.8 / WS))
- if RunTransition == false then
- RunAnimation:AdjustWeight(WeightAlter)
- end
- end
- end
- elseif (Speed < WS / 5 or 1 * (Speed / WS) >= 2.5) and RunAnimation then
- RunAnimation:Stop(RunAnimation.Length / 4)
- RunAnimation = nil
- end
- end)
- CHumanoid.Climbing:connect(function(Speed)
- if ClimbAnim then
- ClimbAnim:AdjustSpeed(Speed / 16)
- end
- end)
- CHumanoid.AncestryChanged:connect(function(Child, Parent)
- if Parent ~= Character then
- while true do
- end
- end
- end)
- CHumanoid.Changed:connect(function(Property)
- if CHumanoid.Jump == true and CanJump == false or CHumanoid.Jump == true and CanAct.Value == false or JumpAnimToUse == "JumpNo" then
- CHumanoid.Jump = false
- elseif Property == "HipHeight" then
- if CHumanoid.HipHeight > 8 or CHumanoid.HipHeight < 0.25 then
- while true do
- end
- end
- elseif Property == "WalkSpeed" then
- if CHumanoid.WalkSpeed > 44 then
- while true do
- end
- end
- elseif Property == "JumpPower" and CHumanoid.JumpPower ~= 50 then
- while true do
- end
- end
- end)
- CHumanoid.Died:connect(function()
- wait(3)
- Player.PlayerGui.FadeToBlack.Fade.Position = UDim2.new(-0.5, 0, 1, 0)
- Player.PlayerGui.FadeToBlack.Fade:TweenPosition(UDim2.new(-0.5, 0, -1, 0), 1, 4, 1.5, true)
- end)
- local UserInputService = game:GetService("UserInputService")
- local LastKey
- local LastTick = tick()
- UserInputService.InputBegan:Connect(function(Input, GameProcessed)
- if Input.UserInputType == Enum.UserInputType.MouseButton1 and Mouse.Target and Mouse.Target.Name == "ClickPart" then
- if (HRP.Position - Mouse.Target.Position).magnitude < 6 then
- GameProcessed = true
- elseif (HRP.Position - Mouse.Target.Position).magnitude >= 6 then
- CHumanoid:MoveTo(Mouse.Target.Position + CFrame.new(HRP.Position, Vector3.new(Mouse.Target.Position.X, HRP.Position.Y, Mouse.Target.Position.Z)).lookVector * -3)
- GameProcessed = false
- end
- elseif Input.UserInputType == Enum.UserInputType.MouseButton1 and Mouse.Target and Mouse.Target:FindFirstChildOfClass("ClickDetector") then
- GameProcessed = true
- end
- if not GameProcessed then
- local InputSend, IsDouble
- if Input.UserInputType == Enum.UserInputType.Keyboard then
- local Key = string.sub(tostring(Input.KeyCode), 14, string.len(tostring(Input.KeyCode)))
- InputSend = Key
- if LastKey == Key and tick() - LastTick <= 0.2 then
- IsDouble = true
- end
- LastKey, LastTick = Key, tick()
- elseif Input.UserInputType == Enum.UserInputType.MouseButton1 then
- InputSend = "Mouse1"
- elseif Input.UserInputType == Enum.UserInputType.MouseButton2 then
- InputSend = "Mouse2"
- end
- local CamSpot = Camera.CFrame
- if InputSend then
- if InputSend == "V" then
- local HUD = Player.PlayerGui:WaitForChild("HUD")
- local MainFrame = HUD:WaitForChild("MainFrame")
- local ShowMore = MainFrame:WaitForChild("ShowMoreButton")
- MainFrame:TweenPosition(UDim2.new(0.5, -271, 1, -230), 2, 4, 0.1, true)
- ShowMore.TextStrokeTransparency = 1
- elseif InputSend == "W" or InputSend == "A" or InputSend == "S" or InputSend == "D" then
- local NoDashBool = false
- if InputSend == "W" then
- if string.sub(FDashAnimToUse, string.len(FDashAnimToUse) - 1) == "No" then
- NoDashBool = true
- end
- elseif InputSend == "A" then
- if string.sub(LDashAnimToUse, string.len(LDashAnimToUse) - 1) == "No" then
- NoDashBool = true
- end
- elseif InputSend == "S" then
- if string.sub(BDashAnimToUse, string.len(BDashAnimToUse) - 1) == "No" then
- NoDashBool = true
- end
- elseif InputSend == "D" and string.sub(RDashAnimToUse, string.len(RDashAnimToUse) - 1) == "No" then
- NoDashBool = true
- end
- if IsDouble == true and CanDash == true and CanAct.Value == true and CHumanoid:FindFirstChild("DisabledByCC") == nil and NoDashBool == false then
- CanDash = false
- CHumanoid.AutoRotate = false
- do
- local LookDirection = Camera.CFrame
- LookDirection = HRP.CFrame + LookDirection.lookVector * 10000
- HRP.CFrame = CFrame.new(HRP.Position, Vector3.new(LookDirection.X, HRP.Position.Y, LookDirection.Z))
- local Dir = HRP.CFrame
- local AnimToPlay = FDashAnimToUse
- if InputSend == "A" then
- Dir = Dir * CFrame.Angles(0, math.rad(90), 0)
- AnimToPlay = LDashAnimToUse
- elseif InputSend == "S" then
- Dir = Dir * CFrame.Angles(0, math.rad(180), 0)
- AnimToPlay = BDashAnimToUse
- elseif InputSend == "D" then
- Dir = Dir * CFrame.Angles(0, math.rad(-90), 0)
- AnimToPlay = RDashAnimToUse
- end
- local FollowCamera = RunService.RenderStepped:connect(function()
- local LookDirection = Camera.CFrame
- LookDirection = HRP.CFrame + LookDirection.lookVector * 10000
- HRP.CFrame = CFrame.new(HRP.Position, Vector3.new(LookDirection.X, HRP.Position.Y, LookDirection.Z))
- end)
- local DashAnim = CHumanoid:LoadAnimation(AnimationInstancer(AnimToPlay))
- DashAnim:Play()
- DashAnim.Stopped:connect(function()
- FollowCamera:Disconnect()
- if CHumanoid.WalkSpeed ~= 0 then
- CHumanoid.AutoRotate = true
- end
- local DashCD = SpeedStat / 100
- if DAToggle == true then
- DashCD = 2
- end
- wait(2 - DashCD)
- CanDash = true
- end)
- local DashDistance = PhysStat / 4
- if DashDistance > 25 then
- DashDistance = 25
- end
- local DashSpeed = SpeedStat / 0.1
- if DashSpeed > 2000 then
- DashSpeed = 2000
- end
- if DAToggle == true then
- DashDistance = 25
- DashSpeed = 2000
- end
- local MF = Vector3.new(500000, 0, 500000)
- if string.sub(AnimToPlay, string.len(AnimToPlay) - 4, string.len(AnimToPlay)) == "EtoK3" then
- DashDistance = DashDistance * 1.5
- elseif string.sub(AnimToPlay, string.len(AnimToPlay) - 5, string.len(AnimToPlay)) == "PKKen1" then
- DashDistance = DashDistance * 1.4
- DashSpeed = DashSpeed * 1.25
- elseif string.sub(AnimToPlay, string.len(AnimToPlay) - 7, string.len(AnimToPlay)) == "TataraK1" then
- DashDistance = DashDistance * 1.66
- elseif string.sub(AnimToPlay, string.len(AnimToPlay) - 5, string.len(AnimToPlay)) == "TakiK1" then
- DashDistance = DashDistance * 1.4
- DashSpeed = DashSpeed * 1.25
- elseif string.sub(AnimToPlay, string.len(AnimToPlay) - 5, string.len(AnimToPlay)) == "TakiK2" then
- DashDistance = DashDistance * 1.5
- DashSpeed = DashSpeed * 1.33
- end
- local BP = Instance.new("BodyPosition")
- game.Debris:AddItem(BP, 0.4)
- BP.Position = HRP.Position + Dir.lookVector * (25 + DashDistance)
- BP.D = 500
- BP.P = 1750 + DashSpeed
- BP.MaxForce = MF
- BP.Name = "Dash"
- BP.Parent = HRP
- wait(0.4)
- DashAnim:Stop(0.2)
- end
- end
- end
- local MouseHit = Mouse.Hit
- if UserInputService.MouseBehavior == Enum.MouseBehavior.LockCenter then
- MouseHit = "ShiftLock"
- end
- Remotes.KeyEvent:FireServer(HRPPosition1, InputSend, "Down", MouseHit, IsDouble, CamSpot)
- end
- end
- end)
- UserInputService.InputEnded:Connect(function(Input, GameProcessed)
- local InputSend
- if Input.UserInputType == Enum.UserInputType.Keyboard then
- local Key = string.sub(tostring(Input.KeyCode), 14, string.len(tostring(Input.KeyCode)))
- InputSend = Key
- elseif Input.UserInputType == Enum.UserInputType.MouseButton1 then
- InputSend = "Mouse1"
- elseif Input.UserInputType == Enum.UserInputType.MouseButton2 then
- InputSend = "Mouse2"
- end
- local CamSpot = Camera.CFrame
- if InputSend then
- if InputSend == "V" then
- local HUD = Player.PlayerGui:WaitForChild("HUD")
- local MainFrame = HUD:WaitForChild("MainFrame")
- local ShowMore = MainFrame:WaitForChild("ShowMoreButton")
- MainFrame:TweenPosition(UDim2.new(0.5, -271, 1, -134), 2, 4, 0.1, true)
- ShowMore.TextStrokeTransparency = 1
- end
- Remotes.KeyEvent:FireServer(HRPPosition1, InputSend, "Up", Mouse.Hit, nil, CamSpot)
- end
- end)
- if Remotes:FindFirstChild("GetPos") and Remotes.GetPos:IsA("RemoteFunction") then
- function Remotes.GetPos.OnClientInvoke(LocalPart)
- return LocalPart.CFrame
- end
- else
- while true do
- end
- end
- if Remotes:FindFirstChild("RemDash") and Remotes.RemDash:IsA("RemoteEvent") then
- Remotes.RemDash.OnClientEvent:connect(function()
- if HRP:FindFirstChild("Dash") then
- HRP.Dash:Destroy()
- end
- end)
- else
- while true do
- end
- end
- if Remotes:FindFirstChild("StatUpdate") and Remotes.RemDash:IsA("RemoteEvent") then
- Remotes.StatUpdate.OnClientEvent:connect(function(V1, V2, V3)
- SpeedStat = V1
- PhysStat = V2
- DAToggle = V3
- end)
- else
- while true do
- end
- end
- if game.ReplicatedStorage.Remotes:FindFirstChild("Notif") and game.ReplicatedStorage.Remotes.Notif:IsA("RemoteEvent") then
- game.ReplicatedStorage.Remotes.Notif.OnClientEvent:connect(function(T, Txt, Dur)
- game.StarterGui:SetCore("SendNotification", {
- Title = T,
- Text = Txt,
- Icon = "",
- Duration = Dur,
- Callback = nil,
- Button1 = nil,
- Button2 = nil
- })
- end)
- else
- while true do
- end
- end
- if game.ReplicatedStorage.Remotes:FindFirstChild("ServerMessages") and game.ReplicatedStorage.Remotes.ServerMessages:IsA("RemoteEvent") then
- game.ReplicatedStorage.Remotes.ServerMessages.OnClientEvent:connect(function(T)
- game.StarterGui:SetCore("ChatMakeSystemMessage", T)
- end)
- else
- while true do
- end
- end
- local CamShakeToggle = false
- if Remotes:FindFirstChild("CamShake") and Remotes.CamShake:IsA("RemoteEvent") then
- Remotes.CamShake.OnClientEvent:connect(function(Type, ShakeTime, ShakeLimit, FilterTime, FilterMin, FilterMax, Intensity)
- if Intensity == nil then
- Intensity = 1
- end
- if Type == "None" then
- CamShakeToggle = false
- coroutine.wrap(function()
- local SL = ShakeLimit
- for i = 1, 4 do
- local CO = Character.ServerControl.CameraOffset.Value
- local SL1 = math.random(-SL, SL) / 20 * Intensity
- local SL2 = math.random(-SL, SL) / 20 * Intensity
- local SL3 = math.random(-SL, SL) / 20 * Intensity
- SL1 = math.random(-SL, SL) / 20 - SL1 / 5 * i
- SL2 = math.random(-SL, SL) / 20 - SL2 / 5 * i
- SL3 = math.random(-SL, SL) / 20 - SL3 / 5 * i
- TweenS:Create(CHumanoid, TweenInfo.new(ShakeTime / 5, 0, 1), {
- CameraOffset = Vector3.new(CO.X + SL1, CO.Y + SL2, CO.Z + SL3)
- }):Play()
- wait(ShakeTime / 5)
- end
- TweenS:Create(CHumanoid, TweenInfo.new(ShakeTime / 5, 0, 1), {
- CameraOffset = Vector3.new(0, -1, 0)
- }):Play()
- end)()
- coroutine.wrap(function()
- wait(FilterTime + 0.1)
- TweenS:Create(game.Lighting.ColorCorrection, TweenInfo.new(FilterTime, 0, 1), {Contrast = 0.1}):Play()
- end)()
- elseif Type == "Kakuja1" then
- CamShakeToggle = true
- coroutine.wrap(function()
- repeat
- wait(ShakeTime)
- if CamShakeToggle == true then
- local SL = ShakeLimit
- local CO = Character.ServerControl.CameraOffset.Value
- local SL1 = math.random(-SL, SL) / 20 * Intensity
- local SL2 = math.random(-SL, SL) / 20 * Intensity
- local SL3 = math.random(-SL, SL) / 20 * Intensity
- TweenS:Create(CHumanoid, TweenInfo.new(ShakeTime, 0, 1), {
- CameraOffset = Vector3.new(CO.X + SL1, CO.Y + SL2, CO.Z + SL3)
- }):Play()
- end
- until CamShakeToggle == false
- end)()
- coroutine.wrap(function()
- repeat
- wait(FilterTime)
- if CamShakeToggle == true then
- local ChosenContrast = math.random(FilterMin, FilterMax) / 100
- TweenS:Create(game.Lighting.ColorCorrection, TweenInfo.new(FilterTime, 4, 0), {
- Contrast = ChosenContrast * Intensity
- }):Play()
- end
- until CamShakeToggle == false
- end)()
- end
- end)
- else
- while true do
- end
- end
- InsanityGUI = nil
- if Remotes:FindFirstChild("InsanityText") and Remotes.InsanityText:IsA("RemoteEvent") then
- Remotes.InsanityText.OnClientEvent:connect(function(Type, Intensity)
- if Intensity == nil then
- Intensity = 1
- end
- if Type == "None" then
- if InsanityGUI then
- game.Debris:AddItem(InsanityGUI, 1)
- InsanityGUI = nil
- end
- elseif Type == "KenK2" or Type == "NishK1" or Type == "TakiK1" then
- InsanityGUI = Instance.new("ScreenGui")
- InsanityGUI.DisplayOrder = 100
- InsanityGUI.Name = ""
- do
- local InsanityFrame = Instance.new("Frame")
- InsanityFrame.BackgroundTransparency = 1
- InsanityFrame.Size = UDim2.new(1, 0, 1, 0)
- InsanityFrame.Parent = InsanityGUI
- coroutine.wrap(function()
- local Texts
- if Type == "KenK2" then
- Texts = {
- "FINGERS",
- "BENCH",
- "CENTIPEDES",
- "CRAWLING",
- "INSIDE",
- "MY HEAD",
- "1000 MINUS 7",
- "KODWQWDQKOC",
- "YAMORI",
- "JASON",
- "KILL",
- "DEATH",
- "EATING",
- "ANTEIKU",
- "PROTECT",
- "MYNAMEJEFF",
- "ZTQIDJZCM",
- "EYEPATCH",
- "TOUKA",
- "HIDE",
- "NISHIO",
- "RUNRUNRUN",
- "HUNGER",
- "STARVATION",
- "WHY",
- "BLOOD",
- "BIG GREEN",
- "SALAZAR",
- "ARROGANCE"
- }
- elseif Type == "NishK1" then
- Texts = {
- "LOSS",
- "HURT",
- "AHAHAHAHAH",
- "INSANE",
- "I'M DYING",
- "OROCHI",
- "SISTER",
- "KIMI",
- "KODWQWDQKOC",
- "KILL",
- "DEATH",
- "EATING",
- "ANTEIKU",
- "SERPENT",
- "ZTQIDJZCM",
- "KICKING",
- "HUNGER",
- "STARVATION",
- "WHY",
- "BLOOD",
- "SERIOUS",
- "WATCHING",
- "SCARS",
- "WEAKENED",
- "WHAT ARE YOU DOING",
- "RIZE",
- "FEEDING GROUNDS"
- }
- elseif Type == "TakiK1" then
- Texts = {
- "AKIRA",
- "HURT",
- "AHAHAHAHAH",
- "INSANE",
- "ABANDONED",
- "MASSACRE",
- "CCG",
- "MADO",
- "KODWQWDQKOC",
- "KILL",
- "DEATH",
- "EATING",
- "TASTY",
- "MONSTER",
- "ZTQIDJZCM",
- "STABSTABSTAB",
- "HUNGER",
- "STARVATION",
- "WHY AM I ALIVE",
- "BLOOD",
- "MOM",
- "DAD",
- "DIDN'T EAT YET",
- "ROCKY",
- "WEAK",
- "WEAKENED",
- "TATARA",
- "NORO",
- "I AM HUMAN",
- "I AM A GHOUL",
- "AOGIRI"
- }
- end
- while wait(0.15 / Intensity) and InsanityGUI do
- for i = 1, 2 do
- local Time = 0.6 + math.random(-2, 2) * 0.1
- local TextChosen = Texts[math.random(1, #Texts)]
- local TextLength = string.len(TextChosen)
- local InsanityTextFrame = Instance.new("Frame")
- game.Debris:AddItem(InsanityTextFrame, Time)
- InsanityTextFrame.BackgroundTransparency = 1
- InsanityTextFrame.Position = UDim2.new(0.5 - TextLength * 0.025 + math.random(-14, 14) * 0.025, 0, 0.4 + math.random(-14, 14) * 0.025, 0)
- InsanityTextFrame.Rotation = math.random(-30, 30)
- InsanityTextFrame.Size = UDim2.new(TextLength * 0.05, 0, math.random(2, 4) * 0.035, 0)
- InsanityTextFrame.Parent = InsanityFrame
- TweenS:Create(InsanityTextFrame, TweenInfo.new(Time, 4, 1), {
- Rotation = math.random(-15 * Intensity, 15 * Intensity)
- }):Play()
- for i = 1, TextLength do
- local TextLabelWidth = 1 / TextLength
- local InsanityTextLabel = Instance.new("TextLabel")
- InsanityTextLabel.BackgroundTransparency = 1
- InsanityTextLabel.Position = UDim2.new(TextLabelWidth * (i - 1), 0, math.random(-6, 6) / 80, 0)
- InsanityTextLabel.Size = UDim2.new(TextLabelWidth, 0, 1, 0)
- InsanityTextLabel.Text = string.sub(TextChosen, i, i)
- InsanityTextLabel.TextStrokeTransparency = 1
- InsanityTextLabel.TextTransparency = 1
- InsanityTextLabel.TextStrokeColor3 = BrickColor.new(PlayerFolder.Customization.WeaponPrimaryColor.Value).Color
- InsanityTextLabel.TextColor3 = Color3.new(0, 0, 0)
- InsanityTextLabel.TextScaled = true
- InsanityTextLabel.Parent = InsanityTextFrame
- if math.random(1, 4) == 1 then
- InsanityTextLabel.Text = string.lower(string.sub(TextChosen, i, i))
- end
- TweenS:Create(InsanityTextLabel, TweenInfo.new(Time / 2, 1, 0, 0, true), {
- Position = UDim2.new(TextLabelWidth * (i - 1), 0, math.random(-6, 6) / 80, 0),
- TextTransparency = 0.3 + math.random(-3, 3) * 0.05,
- TextStrokeTransparency = 0.5 + math.random(-4, 4) * 0.05
- }):Play()
- end
- end
- repeat
- do break end
- break
- until true
- end
- end)()
- InsanityGUI.Parent = Player.PlayerGui
- end
- end
- end)
- else
- while true do
- end
- end
- if Remotes:FindFirstChild("AnimUpdate") and Remotes.AnimUpdate:IsA("RemoteEvent") then
- Remotes.AnimUpdate.OnClientEvent:connect(function(Transition, IdleType, RunType, JumpType, FallType, FDashType, LDashType, BDashType, RDashType)
- IdleAnimation:Stop(Transition)
- IdleAnimation = CHumanoid:LoadAnimation(AnimationInstancer(IdleType))
- IdleAnimation:Play(Transition)
- local function AnimTransfer(A1, A2)
- if A1 ~= RunAnimation then
- local SaveTimePos = A1.TimePosition
- local SaveSpeed = A1.Speed
- A1:Stop(Transition)
- local NewAnim = CHumanoid:LoadAnimation(AnimationInstancer(A2))
- NewAnim:Play(Transition)
- NewAnim.TimePosition = SaveTimePos
- NewAnim:AdjustSpeed(SaveSpeed)
- return NewAnim
- elseif A1 == RunAnimation and FallAnimation == nil then
- local SaveTimePos = A1.TimePosition
- local SaveSpeed = A1.Speed
- A1:Stop(Transition)
- local NewAnim = CHumanoid:LoadAnimation(AnimationInstancer(A2))
- NewAnim:Play(Transition)
- NewAnim.TimePosition = SaveTimePos
- NewAnim:AdjustSpeed(SaveSpeed)
- coroutine.wrap(function()
- RunTransition = true
- wait(Transition)
- RunTransition = false
- end)()
- return NewAnim
- elseif A1 == RunningAnimation and FallAnimation then
- RunAnimation:Stop(0.25)
- RunAnimation = nil
- end
- end
- RunAnimToUse = RunType
- if RunAnimation then
- RunAnimation = AnimTransfer(RunAnimation, RunAnimToUse)
- end
- JumpAnimToUse = JumpType
- if JumpAnimation and JumpAnimToUse ~= "JumpNo" then
- JumpAnimation = AnimTransfer(JumpAnimation, JumpAnimToUse)
- end
- FallingAnimToUse = FallType
- if FallAnimation then
- FallAnimation = AnimTransfer(FallAnimation, FallingAnimToUse)
- end
- if FDashType then
- FDashAnimToUse = FDashType
- end
- if LDashType then
- LDashAnimToUse = LDashType
- end
- if BDashType then
- BDashAnimToUse = BDashType
- end
- if RDashType then
- RDashAnimToUse = RDashType
- end
- end)
- else
- while true do
- end
- end
- coroutine.wrap(function()
- if workspace:FindFirstChild("Buildings") then
- local BuildingParts = workspace.Buildings:GetChildren()
- while true do
- for i, v in pairs(BuildingParts) do
- if v and v.CanCollide == true and v.CollisionGroupId == 0 and v.Parent ~= nil then
- else
- while true do
- end
- end
- wait(5)
- end
- end
- else
- while true do
- end
- end
- end)()
- repeat
- wait()
- until HRP.Anchored == false
- local LAM = PlayerFolder:FindFirstChild("LookAtMouse")
- local TerminalVelocityRenderStepped
- TerminalVelocityRenderStepped = RunService.RenderStepped:connect(function()
- if HRP.Velocity.Y < -125 then
- HRP.Velocity = Vector3.new(HRP.Velocity.X, -125, HRP.Velocity.Z)
- end
- if LAM and LAM.Parent == PlayerFolder and LAM.Value ~= Vector3.new(0, 0, 0) then
- HRP.CFrame = CFrame.new(HRP.Position, Vector3.new(LAM.Value.X, HRP.Position.Y, LAM.Value.Z))
- end
- end)
- local plsscript = Character:FindFirstChild("hakai")
- if plsscript == nil or plsscript and not plsscript:IsA("LocalScript") then
- while true do
- end
- else
- local SavedParent
- plsscript.Disabled = false
- wait(0.1)
- if plsscript.Parent == nil then
- while true do
- end
- end
- plsscript.Parent = nil
- plsscript.AncestryChanged:connect(function()
- if plsscript.Parent == nil then
- while true do
- end
- end
- end)
- plsscript.Changed:connect(function()
- while true do
- end
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement