Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- rplaysoundlolhehehahaw
- local UserInputService = game:GetService("UserInputService")
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local ReplicatedFirst = game:GetService("ReplicatedFirst")
- local ME = ReplicatedStorage.Events.ME
- local Ambassador = require(ReplicatedFirst.Ambassador)
- local Variables = require(ReplicatedFirst.Variables)
- local SoundModule = require(ReplicatedStorage.Modules.Sound)
- local function PlaySound(SoundName) -- rplaysound
- SoundModule.playsound(ReplicatedStorage.Sounds[SoundName], Variables.hrp, nil, nil, true)
- ME:FireServer({"repsound", SoundName})
- end
- local function play_ingamesound(sfxname)
- local v = game.ReplicatedStorage.Sounds:FindFirstChild(sfxname)
- local sfx = Instance.new("Sound", nil)
- local id = v.Value
- sfx.SoundId = id
- for i,v in v:GetChildren() do
- sfx[v.Name] = v.Value
- end
- game.SoundService:PlayLocalSound(sfx)
- task.delay(15, function()
- sfx:Destroy()
- end)
- end
- -- name and speed
- if game.ReplicatedStorage.Styles:FindFirstChild("Brawler") then
- v = game.ReplicatedStorage.Styles["Brawler"]
- else
- v = Instance.new("Folder", game.ReplicatedStorage.Styles)
- end
- v.Name = "Brawler"
- if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("VisualName") then
- end
- if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("Speed") then
- v = game.ReplicatedStorage.Styles.Brawler["Speed"]
- else
- v = Instance.new("NumberValue", game.ReplicatedStorage.Styles.Brawler)
- end
- v.Value = 1.5
- v.Name = "Speed"
- if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("Color") then
- v = game.ReplicatedStorage.Styles.Brawler["Color"]
- else
- v = Instance.new("Color3Value", game.ReplicatedStorage.Styles.Brawler)
- end
- v.Value = Color3.fromRGB(255,0,0)
- v.Name = "Color"
- if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("VisualName") then
- v = game.ReplicatedStorage.Styles.Brawler["VisualName"]
- else
- v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
- end
- v.Value = '堂島の龍'
- v.Name = "VisualName"
- if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("RedHeat") then
- v = game.ReplicatedStorage.Styles.Brawler["RedHeat"]
- else
- v = Instance.new("Folder", game.ReplicatedStorage.Styles.Brawler)
- end
- v.Name = "RedHeat"
- -- rush combos
- if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("Rush1") then
- v = game.ReplicatedStorage.Styles.Brawler["Rush1"]
- else
- v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
- end
- v.Value = '龍Attack1'
- v.Name = "Rush1"
- if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("Rush2") then
- v = game.ReplicatedStorage.Styles.Brawler["Rush2"]
- else
- v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
- end
- v.Value = '龍Attack2'
- v.Name = "Rush2"
- if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("Rush3") then
- v = game.ReplicatedStorage.Styles.Brawler["Rush3"]
- else
- v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
- end
- v.Value = '龍Attack3'
- v.Name = "Rush3"
- if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("Rush4") then
- v = game.ReplicatedStorage.Styles.Brawler["Rush4"]
- else
- v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
- end
- v.Value = '龍Attack4'
- v.Name = "Rush4"
- if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("Strike1") then
- v = game.ReplicatedStorage.Styles.Brawler["Strike1"]
- else
- v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
- end
- -- strike1
- v.Value = '龍Strike1'
- v.Name = "Strike1"
- if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("Strike2") then
- v = game.ReplicatedStorage.Styles.Brawler["Strike2"]
- else
- v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
- end
- -- combo strikes
- v.Value = 'BStrike2'
- v.Name = "Strike2"
- if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("Strike3") then
- v = game.ReplicatedStorage.Styles.Brawler["Strike3"]
- else
- v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
- end
- v.Value = 'BStrike3'
- v.Name = "Strike3"
- if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("Strike4") then
- v = game.ReplicatedStorage.Styles.Brawler["Strike4"]
- else
- v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
- end
- v.Value = 'BStrike5'
- v.Name = "Strike4"
- if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("Strike5") then
- v = game.ReplicatedStorage.Styles.Brawler["Strike5"]
- else
- v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
- end
- v.Value = '龍Strike5'
- v.Name = "Strike5"
- -- magic animation changing stuff
- if game.ReplicatedStorage.Moves:FindFirstChild("龍Strike5") and game.ReplicatedStorage.Moves["龍Strike5"]:FindFirstChild("Anim") then
- game.ReplicatedStorage.Moves["龍Strike5"].Anim.AnimationId = "rbxassetid://13785065919"
- game.ReplicatedStorage.Moves["龍Strike5"].Anim.AnimationId = "rbxassetid://13785065919"
- game.ReplicatedStorage.Moves["龍Strike5"].Anim.AnimationId = "rbxassetid://13785065919"
- game.ReplicatedStorage.Moves["龍Strike5"].Anim.AnimationId = "rbxassetid://13785065919"
- end
- -- idle
- if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("Idle") then
- game.ReplicatedStorage.Styles.Brawler.Idle.AnimationId = "rbxassetid://12120045620"
- end
- -- tiger drop
- if game.ReplicatedStorage.Moves["龍TigerDrop"]:FindFirstChild("Anim") then
- v = game.ReplicatedStorage.Moves["龍TigerDrop"]["Anim"]
- else
- v = Instance.new("Animation", game.ReplicatedStorage.Moves["龍TigerDrop"])
- end
- v.AnimationId = "rbxassetid://12338275115"
- v.Name = "Anim"
- if game.ReplicatedStorage.Moves["龍TigerDrop"]:FindFirstChild("ForceSF") then
- v = game.ReplicatedStorage.Moves["龍TigerDrop"]["ForceSF"]
- else
- v = Instance.new("StringValue", game.ReplicatedStorage.Moves["龍TigerDrop"])
- end
- v.Value = '0.1'
- v.Name = "ForceSF"
- if game.ReplicatedStorage.Moves["TigerDrop"]:FindFirstChild("Anim") then
- v = game.ReplicatedStorage.Moves["TigerDrop"]["Anim"]
- else
- v = Instance.new("Animation", game.ReplicatedStorage.Moves["TigerDrop"])
- end
- v.AnimationId = "rbxassetid://12338275115"
- v.Name = "Anim"
- if game.ReplicatedStorage.Moves["TigerDrop"]:FindFirstChild("HitDur") then
- v = game.ReplicatedStorage.Moves["TigerDrop"]["HitDur"]
- else
- v = Instance.new("NumberValue", game.ReplicatedStorage.Moves["TigerDrop"])
- end
- v.Value = 0.3
- v.Name = "HitDur"
- if game.ReplicatedStorage.Moves["TigerDrop"]:FindFirstChild("AniSpeed") then
- v = game.ReplicatedStorage.Moves["TigerDrop"]["AniSpeed"]
- else
- v = Instance.new("NumberValue", game.ReplicatedStorage.Moves["TigerDrop"])
- end
- v.Value = 1
- v.Name = "AniSpeed"
- local moves = game.ReplicatedStorage.Moves
- if moves:FindFirstChild("龍TigerDrop") then
- moves:FindFirstChild("BRCounter2").Name = "FakeCounter2"
- moves:FindFirstChild("龍TigerDrop").Name = "BRCounter2"
- moves:FindFirstChild("BRCounter1").Name = "FakeCounter1"
- moves:FindFirstChild("BRGrab").Name = "FakeGrab"
- local ignore = Instance.new("Folder")
- ignore.Name = "IgnoreDmg"
- ignore.Parent = moves:FindFirstChild("BRCounter2")
- if not moves:FindFirstChild("BRCounter2"):FindFirstChild("HSize") then
- local n = Instance.new("NumberValue")
- n.Name = "HSize"
- n.Value = 2
- n.Parent = moves:FindFirstChild("BRCounter2")
- end
- end
- game.ReplicatedStorage.Styles.Brawler.StanceStrike.Value = 'BRCounter2'
- -- komaki parry
- if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("GrabStrike") then
- v = game.ReplicatedStorage.Styles.Brawler["GrabStrike"]
- else
- v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
- end
- v.Value = 'T_龍GParry'
- v.Name = "GrabStrike"
- -- some changes to the style
- local Player = game.Players.LocalPlayer
- local Rep = game.ReplicatedStorage
- local Char = Player.Character
- local Main = Player.PlayerGui.Interface.Battle.Main
- local moves = game.ReplicatedStorage.Moves
- local status = game:GetService("Players").LocalPlayer.Status
- -- style icon change
- Main.GUY.GUY.Image = "rbxassetid://10164279039"
- Main.GUY.GUY.BackgroundTransparency = 1
- if status.Style.Value == "Brawler" then
- Main.MainLeft.ImageColor3 = Color3.new(1, 0, 0)
- elseif status.Style.Value == "Rush" then
- Main.MainLeft.ImageColor3 = Color3.fromRGB(255,0,255)
- elseif status.Style.Value == "Beast" then
- Main.MainLeft.ImageColor3 = Color3.fromRGB(255,211,50)
- end
- -- font change
- Main.HeatMove.TextLabel.Font = "Merriweather"
- Main.HeatMove.stale.Font = "SciFi"
- Main.Health.Label.Font = "Merriweather"
- Main.StyleBar.amount.Font = "Merriweather"
- Main.MoneyBar.amount.Font = "Merriweather"
- Main.XP.Label.Font = "Merriweather"
- -- animation change
- local plr = game.Players.LocalPlayer
- local pgui = plr.PlayerGui
- local interf = pgui.Interface
- local bt = interf.Battle
- local main = bt.Main
- interf.Client.Disabled = true
- task.wait(1)
- interf.Client.Disabled = false
- task.wait(0.1)
- -- double combo strikes
- if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("2Strike2") then
- v = game.ReplicatedStorage.Styles.Brawler["2Strike2"]
- else
- v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
- end
- v.Value = '龍2Strike1'
- v.Name = "2Strike2"
- if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("2Strike3") then
- v = game.ReplicatedStorage.Styles.Brawler["2Strike3"]
- else
- v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
- end
- v.Value = '龍2Strike2'
- v.Name = "2Strike3"
- if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("2Strike4") then
- v = game.ReplicatedStorage.Styles.Brawler["2Strike4"]
- else
- v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
- end
- v.Value = 'B2Strike4'
- v.Name = "2Strike4"
- if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("2Strike5") then
- v = game.ReplicatedStorage.Styles.Brawler["2Strike5"]
- else
- v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
- end
- v.Value = 'B2Strike3'
- v.Name = "2Strike5"
- if game.ReplicatedStorage.Moves.B2Strike3:FindFirstChild("Reaction") then
- game.ReplicatedStorage.Moves.B2Strike3.Reaction.Value = "Fly"
- end
- -- sumo slap script
- if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("H_Distanced") then
- v = game.ReplicatedStorage.Styles.Brawler["H_Distanced"]
- else
- v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
- end
- v.Value = 'H_FastFootworkBack'
- v.Name = "H_Distanced"
- if game.ReplicatedStorage.Moves.H_FastFootworkBack:FindFirstChild("Closest") then
- v = game.ReplicatedStorage.Moves.H_FastFootworkBack["Closest"]
- else
- v = Instance.new("StringValue", game.ReplicatedStorage.Moves.H_FastFootworkBack)
- end
- v.Value = '50'
- v.Name = "Closest"
- if game.ReplicatedStorage.Moves.H_FastFootworkBack:FindFirstChild("Distance") then
- v = game.ReplicatedStorage.Moves.H_FastFootworkBack["Distance"]
- else
- v = Instance.new("StringValue", game.ReplicatedStorage.Moves.H_FastFootworkBack)
- end
- v.Value = '50'
- v.Name = "Distance"
- if game.ReplicatedStorage.Moves.H_FastFootworkBack:FindFirstChild("Within") then
- v = game.ReplicatedStorage.Moves.H_FastFootworkBack["Within"]
- else
- v = Instance.new("StringValue", game.ReplicatedStorage.Moves.H_FastFootworkBack)
- end
- v.Value = '15'
- v.Name = "Within"
- if game.ReplicatedStorage.Moves.H_FastFootworkBack:FindFirstChild("HeatUse") then
- v = game.ReplicatedStorage.Moves.H_FastFootworkBack["HeatUse"]
- else
- v = Instance.new("IntValue", game.ReplicatedStorage.Moves.H_FastFootworkBack)
- end
- v.Value = 50
- v.Name = "HeatUse"
- if game.ReplicatedStorage.Moves.H_FastFootworkBack:FindFirstChild("HeatNeeded") then
- v = game.ReplicatedStorage.Moves.H_FastFootworkBack["HeatNeeded"]
- else
- v = Instance.new("StringValue", game.ReplicatedStorage.Moves.H_FastFootworkBack)
- end
- v.Value = 'Normal'
- v.Name = "HeatNeeded"
- local Player = game.Players.LocalPlayer
- local Rep = game.ReplicatedStorage
- local Char = Player.Character
- local Main = Player.PlayerGui.Interface.Battle.Main
- Main.HeatMove.TextLabel:GetPropertyChangedSignal("Text"):Connect(function()
- if Main.HeatMove.TextLabel.Text == "Essence of Fast Footwork [Back]" then
- Main.HeatMove.TextLabel.Text = Rep.Moves.H_SumoSlap.MoveName.Value
- local Anim = Char.Humanoid:LoadAnimation(Rep.Moves.H_SumoSlap.Anim)
- Anim.Priority = Enum.AnimationPriority.Action4
- Anim:AdjustSpeed(0.9)
- Anim:Play()
- play_ingamesound("Teleport")
- PlaySound("Slap")
- task.wait(0.55)
- PlaySound("Slap")
- task.wait(0.45)
- PlaySound("Slap")
- task.wait(0.9)
- PlaySound("MassiveSlap")
- Anim:Destroy()
- end
- end)
- -- essence of slapper
- local Player = game.Players.LocalPlayer
- local Rep = game.ReplicatedStorage
- local Char = Player.Character
- local Main = Player.PlayerGui.Interface.Battle.Main
- -- ultimate essence scripts and stuff
- if game.ReplicatedStorage.Moves.H_UltimateEssence:FindFirstChild("MoveName") then
- v = game.ReplicatedStorage.Moves.H_UltimateEssence["MoveName"]
- else
- v = Instance.new("StringValue", game.ReplicatedStorage.Moves.H_UltimateEssence)
- end
- if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("H_FullHeat") then
- v = game.ReplicatedStorage.Styles.Brawler["H_FullHeat"]
- else
- v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
- end
- v.Value = 'H_GUltimateEssence'
- v.Name = "H_FullHeat"
- v.Value = 'Ultimate Essence '
- v.Name = "MoveName"
- Main.HeatMove.TextLabel:GetPropertyChangedSignal("Text"):Connect(function()
- if Main.HeatMove.TextLabel.Text == "Ultimate Essence" then
- Main.HeatMove.TextLabel.Text = Rep.Moves.H_UltimateEssence.MoveName.Value
- local Anim = Char.Humanoid:LoadAnimation(Rep.Moves.H_UltimateEssence.Anim)
- Anim.Priority = Enum.AnimationPriority.Action4
- Anim:AdjustSpeed(0.9)
- Anim:Play()
- PlaySound("Ignite")
- task.wait(0.4)
- PlaySound("TigerSwing")
- task.wait(0.6)
- PlaySound("MassiveSlap")
- task.wait(0.3)
- Anim:Destroy()
- end
- end)
- if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("H_CounterSolo") then
- v = game.ReplicatedStorage.Styles.Brawler["H_CounterSolo"]
- else
- v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
- end
- v.Value = 'H_Escape'
- v.Name = "H_CounterSolo"
- -- teleport
- local function add_forcefield(duration)
- local p = game.Players.LocalPlayer
- local Status = p.Status
- local invun = game.ReplicatedStorage.Invulnerable:Clone()
- invun.Parent = Status
- if duration then
- spawn(function()
- task.wait(duration)
- invun:Destroy()
- end)
- end
- return invun
- end
- local ti = TweenInfo.new(0.9, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut, 0, true, 0)
- local ti2 = TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut, 0, true, 0)
- local color = Instance.new("ColorCorrectionEffect", game:GetService("Lighting"))
- local ts = game:GetService("TweenService")
- local ctween = ts:Create(color, ti, {Saturation = -2, Brightness = -0.1})
- local ctween2 = ts:Create(color, ti2, {Saturation = -2, Brightness = -0.1})
- local dashcooldown = false
- local plr = game:GetService("Players").LocalPlayer
- local status = plr.Status
- status.ChildAdded:Connect(function(childd)
- if childd.Name == "ANGRY" then
- PlaySound("Yell")
- PlaySound("Bass")
- add_forcefield(15)
- end
- end)
- status.ChildAdded:Connect(function(child)
- if child.Name == "Evading" and status:FindFirstChild("ANGRY") then
- if not dashcooldown then
- --playvoiceline("Taunt")
- local lookvector = workspace.CurrentCamera.CFrame.LookVector * Vector3.new(1, 0, 1)
- local root = game.Players.LocalPlayer.Character.PrimaryPart
- local lock = game.Players.LocalPlayer.Character.LockedOn.Value
- if lock and lock:IsDescendantOf(workspace) and lock.Parent.Health.Value > 0 then
- local id = "rbxassetid://10928237540"
- local anim = Instance.new("Animation")
- anim.AnimationId = id
- local v = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(anim)
- v:Play()
- v:AdjustSpeed(8)
- ctween2:Play()
- dashcooldown = false
- root.Anchored = true
- add_forcefield(0.32)
- root.Anchored = false
- root.CFrame = CFrame.new(lock.Position - (lock.CFrame.LookVector * Vector3.new(1, 0, 1).Unit * 3), lock.Position)
- play_ingamesound("Teleport")
- task.wait(0.6)
- return
- end
- dashcooldown = false
- local id = "rbxassetid://10928237540"
- local anim = Instance.new("Animation")
- anim.AnimationId = id
- local v = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(anim)
- v:Play()
- root.Anchored = true
- ctween:Play()
- task.wait(0.3)
- task.wait(0.4)
- play_ingamesound("Teleport")
- root.Anchored = false
- root.CFrame = CFrame.new(root.Position, root.Position + lookvector)
- --local rp = RaycastParams.new()
- --rp.FilterDescendantsInstances = {root.Parent}
- --rp.FilterType = Enum.RaycastFilterType.Blacklist
- --rp.IgnoreWater = true
- --local ray = workspace:Raycast(root.Position, lookvector * 50, rp)
- --local cf
- --if ray then
- -- cf = CFrame.new(ray.Position - lookvector * 6, ray.Position + lookvector)
- --else
- -- cf = root.CFrame + lookvector * 50
- --end
- --local ti = TweenInfo.new(v.Length*0.5, Enum.EasingStyle.Linear)
- --local t = tweenserive:Create(root, ti, {CFrame = cf})
- --t:Play()
- --t.Completed:Once(function()
- -- root.Anchored = false
- -- v:Stop()
- --end)
- local bodyvel = Instance.new("BodyVelocity", root)
- bodyvel.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- bodyvel.Velocity = lookvector * 90
- local hitbox = Instance.new("Part", bodyvel)
- hitbox.CanCollide = false
- hitbox.CanQuery = false
- hitbox.Transparency = 1
- hitbox.Size = Vector3.new(1, 1, 5)
- local w = Instance.new("Weld", hitbox)
- w.Part0 = hitbox
- w.Part1 = root
- local b2 = game:GetService("RunService").Heartbeat:Connect(function(d)
- root.CFrame = root.CFrame + (bodyvel.Velocity*d)*4
- end)
- local b = hitbox.Touched:Connect(function(part)
- if part.CanCollide then
- local vel = -bodyvel.Velocity
- bodyvel:Destroy()
- v:Stop()
- --local id = "rbxassetid://"..getrandom_array(hurtanims)
- --local anim = Instance.new("Animation")
- --anim.AnimationId = id
- --local v = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(anim)
- --v:Play()
- --local b = game:GetService("RunService").Heartbeat:Connect(function(d)
- -- root.CFrame += (vel * d) * 0.5
- --end)
- --v.Ended:Once(function()
- -- b:Disconnect()
- -- v:Destroy()
- --end)
- end
- end)
- bodyvel.Destroying:Once(function()
- b:Disconnect()
- b2:Disconnect()
- hitbox:Destroy()
- end)
- v.Ended:wait()
- if bodyvel then
- bodyvel:Destroy()
- end
- task.wait(0.05)
- dashcooldown = false
- end
- end
- end)
- local plr = game.Players.LocalPlayer
- local status = plr.Status
- local styles = game.ReplicatedStorage.Styles
- local DragonText = "Dragon"
- local DragonColor = Color3.new(0, 1, 0.5)
- local DragonSequence = ColorSequence.new({ColorSequenceKeypoint.new(0, DragonColor), ColorSequenceKeypoint.new(1, DragonColor)})
- function isInBattle()
- return (plr:FindFirstChild("InBattle") and true or false)
- end
- function isDungeon()
- return game.ReplicatedStorage.Dungeon.Value
- end
- function doingHact()
- return (plr.Character:FindFirstChild("Heated") and true or false)
- end
- function showMaxHeatEffect()
- return (isInBattle() and not doingHact() and plr.Status.Heat.Value >= 100) and true or false
- end
- function hasWeaponInHand()
- return (plr.Character:FindFirstChild("Holding") and true or false)
- end
- local function change_color()
- if status.Style.Value == "Brawler" then
- local DragonSequence = ColorSequence.new{ColorSequenceKeypoint.new(0, styles.Brawler.Color.Value), ColorSequenceKeypoint.new(1, styles.Brawler.Color.Value)}
- local char = plr.Character
- char.HumanoidRootPart.Fire_Main.Color = DragonSequence
- char.HumanoidRootPart.Fire_Secondary.Color = DragonSequence
- char.HumanoidRootPart.Fire_Main.Rate = status.Heat.Value >= 100 and 115 or status.Heat.Value >= 75 and 85 or 80
- char.HumanoidRootPart.Fire_Secondary.Rate = status.Heat.Value >= 100 and 90 or status.Heat.Value >= 75 and 80 or 70
- char.HumanoidRootPart.Lines1.Color = DragonSequence
- char.HumanoidRootPart.Lines1.Rate = status.Heat.Value >= 100 and 60 or status.Heat.Value >= 75 and 40 or 20
- char.HumanoidRootPart.Lines2.Color = DragonSequence
- char.HumanoidRootPart.Lines2.Rate = status.Heat.Value >= 100 and 60 or status.Heat.Value >= 75 and 40 or 20
- char.HumanoidRootPart.Sparks.Color = DragonSequence
- if not char.HumanoidRootPart.TimeFor.Enabled then
- char.HumanoidRootPart.TimeFor.Color = DragonSequence
- end
- char.UpperTorso["r2f_aura_burst"].Lines1.Color = DragonSequence
- char.UpperTorso["r2f_aura_burst"].Lines2.Color = DragonSequence
- char.UpperTorso["r2f_aura_burst"].Flare.Color = DragonSequence
- char.UpperTorso["r2f_aura_burst"].Lines1.Enabled = showMaxHeatEffect()
- char.UpperTorso["r2f_aura_burst"].Flare.Enabled = showMaxHeatEffect()
- char.UpperTorso["r2f_aura_burst"].Smoke.Color = DragonSequence
- char.UpperTorso.Evading.Color = DragonSequence
- end
- end
- local function FillHeat()
- local Event = game:GetService("ReplicatedStorage").Events.ME
- for i=1,6 do
- local A_1 = {
- [1] = "heat",
- [2] = game:GetService("ReplicatedStorage").Moves.Taunt
- }
- Event:FireServer(A_1)
- end
- end
- game:GetService("RunService").RenderStepped:Connect(change_color)
- _G.voicepack = "Kiryu" -- Current available voices: "Kiryu", "Akiyama", "Majima" and "Vulcan"
- local player = game.Players.LocalPlayer
- local character = player.Character
- local pgui = player.PlayerGui
- local status = player.Status
- local RPS = game.ReplicatedStorage
- _G.voice = RPS.Voices:FindFirstChild(_G.voicepack)
- print(_G.voice.Name)
- local function playSound(sound)
- local soundclone = Instance.new("Sound")
- soundclone.Parent = character.Head
- soundclone.Name = sound.Name
- soundclone.SoundId = sound.Value
- soundclone.Volume = 0.35
- soundclone:Play()
- soundclone.Ended:Connect(function()
- game:GetService("Debris"):AddItem(soundclone)
- end)
- end
- local function fetchRandom(instance)
- local instancechildren = instance:GetChildren()
- local random = instancechildren[math.random(1, #instancechildren)]
- return random
- end
- local plr = game.Players.LocalPlayer
- local pgui = plr.PlayerGui
- local interf = pgui.Interface
- local bt = interf.Battle
- local main = bt.Main
- local notifyevent
- for i,v in pairs (pgui:GetChildren()) do
- if v:IsA("BindableEvent") then
- notifyevent = v
- end
- end
- local function sendNotification(text, color, sound)
- if not color then color = Color3.new(1, 1, 1) end
- pgui.NotifyUI.Awards.ChildAdded:Once(function(c)
- if c.Text == text then
- c.TextColor3 = color
- coroutine.wrap(function()
- local con;
- con = game:GetService("RunService").RenderStepped:Connect(function()
- if not c then
- con:Disconnect()
- return
- end
- c.TextColor3 = color
- end)()
- end)()
- end
- end)
- notifyevent:Fire(text, sound or nil)
- end
- local alreadyRunning = RPS:FindFirstChild("VoiceMod")
- if alreadyRunning then
- sendNotification("Selected voice: ".._G.voice.Name, Color3.fromRGB(255, 255, 255))
- return
- end
- alreadyRunning = Instance.new("BoolValue")
- alreadyRunning.Parent = RPS
- alreadyRunning.Value = true
- alreadyRunning.Name = "VoiceMod"
- sendNotification("Voice Mod loaded", Color3.fromRGB(255, 255, 255))
- sendNotification("Selected voice: ".._G.voice.Name, Color3.fromRGB(255, 255, 255))
- local receivedsound
- player.ChildAdded:Connect(function(child)
- if child.Name == "InBattle" then
- receivedsound = fetchRandom(_G.voice.BattleStart)
- playSound(receivedsound)
- end
- end)
- local hitCD = false
- character.ChildAdded:Connect(function(child)
- if child.Name == "Heated" and child:WaitForChild("Heating",0.5).Value ~= character then
- local isThrowing = child:WaitForChild("Throwing",0.5)
- if not isThrowing then
- receivedsound = fetchRandom(_G.voice.HeatAction)
- playSound(receivedsound)
- end
- end
- if child.Name == "Hitstunned" and not character:FindFirstChild("Ragdolled") then
- if hitCD == false then
- hitCD = true
- receivedsound = fetchRandom(_G.voice.Pain)
- playSound(receivedsound)
- delay(2,function()
- hitCD = false
- end)
- end
- end
- if child.Name == "Ragdolled" then
- receivedsound = fetchRandom(_G.voice.Knockdown)
- playSound(receivedsound)
- end
- if child.Name == "ImaDea" then
- receivedsound = fetchRandom(_G.voice.Death)
- playSound(receivedsound)
- end
- if child.Name == "Stunned" then
- receivedsound = fetchRandom(_G.voice.Stun)
- playSound(receivedsound)
- end
- end)
- character.ChildRemoved:Connect(function(child)
- if child.Name == "Ragdolled" then
- wait(0.1)
- if not string.match(status.CurrentMove.Value.Name, "Getup") then
- receivedsound = fetchRandom(_G.voice.Recover)
- playSound(receivedsound)
- end
- end
- end)
- character.HumanoidRootPart.ChildAdded:Connect(function(child)
- if child.Name == "KnockOut" or child.Name == "KnockOutRare" then
- child.Volume = 0
- end
- end)
- local dodgeCD = false
- status.FFC.Evading.Changed:Connect(function()
- if status.FFC.Evading.Value == true and character:FindFirstChild("BeingHacked") and not dodgeCD then
- dodgeCD = true
- receivedsound = fetchRandom(_G.voice.Dodge)
- playSound(receivedsound)
- delay(10,function()
- dodgeCD = false
- end)
- end
- end)
- local fakeTauntSound = RPS.Sounds:FindFirstChild("Laugh"):Clone()
- fakeTauntSound.Parent = RPS.Sounds
- fakeTauntSound.Name = "FakeLaugh"
- fakeTauntSound.Volume.Value = 0
- RPS.Moves.Taunt.Sound.Value = "FakeLaugh"
- RPS.Moves.RushTaunt.Sound.Value = "FakeLaugh"
- RPS.Moves.GoonTaunt.Sound.Value = "FakeLaugh"
- status.Taunting.Changed:Connect(function()
- if status.Taunting.Value == true and status.CurrentMove.Value.Name ~= "BeastTaunt" then
- receivedsound = fetchRandom(_G.voice.Taunt)
- playSound(receivedsound)
- end
- end)
- local lattackCD = false
- status.CurrentMove.Changed:Connect(function()
- if string.match(status.CurrentMove.Value.Name, "Attack") or string.match(status.CurrentMove.Value.Name, "Punch") then
- if lattackCD == false then
- lattackCD = true
- receivedsound = fetchRandom(_G.voice.LightAttack)
- playSound(receivedsound)
- delay(0.35, function()
- lattackCD = false
- end)
- end
- else
- if not string.match(status.CurrentMove.Value.Name, "Taunt") and not string.match(status.CurrentMove.Value.Name, "Grab") then
- receivedsound = fetchRandom(_G.voice.HeavyAttack)
- playSound(receivedsound)
- end
- end
- end)
- game.UserInputService.InputBegan:Connect(function(key)
- if game.UserInputService:GetFocusedTextBox() == nil then
- if key.KeyCode == Enum.KeyCode.H then
- if _G.voicepack == "Kiryu" then
- _G.voicepack = "Akiyama"
- elseif _G.voicepack == "Akiyama" then
- _G.voicepack = "Majima"
- elseif _G.voicepack == "Majima" then
- _G.voicepack = "Vulcan"
- elseif _G.voicepack == "Vulcan" then
- _G.voicepack = "Kiryu"
- end
- _G.voice = RPS.Voices:FindFirstChild(_G.voicepack)
- sendNotification("Selected voice: ".._G.voice.Name, Color3.fromRGB(255, 255, 255))
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement