Advertisement
Dsaqwed123

Dragon style

Apr 25th, 2024 (edited)
689
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
LScript 26.75 KB | Gaming | 0 0
  1. -- rplaysoundlolhehehahaw
  2. local UserInputService = game:GetService("UserInputService")
  3. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  4. local ReplicatedFirst = game:GetService("ReplicatedFirst")
  5.  
  6. local ME = ReplicatedStorage.Events.ME
  7.  
  8. local Ambassador = require(ReplicatedFirst.Ambassador)
  9. local Variables = require(ReplicatedFirst.Variables)
  10. local SoundModule = require(ReplicatedStorage.Modules.Sound)
  11.  
  12. local function PlaySound(SoundName) -- rplaysound
  13.  
  14.  
  15.     SoundModule.playsound(ReplicatedStorage.Sounds[SoundName], Variables.hrp, nil, nil, true)
  16.     ME:FireServer({"repsound", SoundName})
  17. end
  18.  
  19. local function play_ingamesound(sfxname)
  20.     local v = game.ReplicatedStorage.Sounds:FindFirstChild(sfxname)
  21.     local sfx = Instance.new("Sound", nil)
  22.     local id = v.Value
  23.  
  24.     sfx.SoundId = id
  25.  
  26.     for i,v in v:GetChildren() do
  27.         sfx[v.Name] = v.Value
  28.     end
  29.  
  30.     game.SoundService:PlayLocalSound(sfx)
  31.     task.delay(15, function()
  32.         sfx:Destroy()
  33.     end)
  34. end
  35. -- name and speed
  36.  
  37. if game.ReplicatedStorage.Styles:FindFirstChild("Brawler") then
  38.     v = game.ReplicatedStorage.Styles["Brawler"]
  39. else
  40.     v = Instance.new("Folder", game.ReplicatedStorage.Styles)
  41. end
  42. v.Name = "Brawler"
  43. if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("VisualName") then
  44.  
  45. end
  46.  
  47. if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("Speed") then
  48.     v = game.ReplicatedStorage.Styles.Brawler["Speed"]
  49. else
  50.     v = Instance.new("NumberValue", game.ReplicatedStorage.Styles.Brawler)
  51. end
  52. v.Value = 1.5
  53. v.Name = "Speed"
  54. if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("Color") then
  55.     v = game.ReplicatedStorage.Styles.Brawler["Color"]
  56. else
  57.     v = Instance.new("Color3Value", game.ReplicatedStorage.Styles.Brawler)
  58. end
  59. v.Value = Color3.fromRGB(255,0,0)
  60. v.Name = "Color"
  61.  
  62. if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("VisualName") then
  63.     v = game.ReplicatedStorage.Styles.Brawler["VisualName"]
  64. else
  65.     v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
  66. end
  67. v.Value = '堂島の龍'
  68. v.Name = "VisualName"
  69.  
  70. if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("RedHeat") then
  71.     v = game.ReplicatedStorage.Styles.Brawler["RedHeat"]
  72. else
  73.     v = Instance.new("Folder", game.ReplicatedStorage.Styles.Brawler)
  74. end
  75. v.Name = "RedHeat"
  76.  
  77. -- rush combos
  78.  
  79. if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("Rush1") then
  80.     v = game.ReplicatedStorage.Styles.Brawler["Rush1"]
  81. else
  82.     v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
  83. end
  84. v.Value = '龍Attack1'
  85. v.Name = "Rush1"
  86. if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("Rush2") then
  87.     v = game.ReplicatedStorage.Styles.Brawler["Rush2"]
  88. else
  89.     v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
  90. end
  91. v.Value = '龍Attack2'
  92. v.Name = "Rush2"
  93. if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("Rush3") then
  94.     v = game.ReplicatedStorage.Styles.Brawler["Rush3"]
  95. else
  96.     v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
  97. end
  98. v.Value = '龍Attack3'
  99. v.Name = "Rush3"
  100. if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("Rush4") then
  101.     v = game.ReplicatedStorage.Styles.Brawler["Rush4"]
  102. else
  103.     v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
  104. end
  105. v.Value = '龍Attack4'
  106. v.Name = "Rush4"
  107. if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("Strike1") then
  108.     v = game.ReplicatedStorage.Styles.Brawler["Strike1"]
  109. else
  110.     v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
  111. end
  112.  
  113. -- strike1
  114. v.Value = '龍Strike1'
  115. v.Name = "Strike1"
  116. if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("Strike2") then
  117.     v = game.ReplicatedStorage.Styles.Brawler["Strike2"]
  118. else
  119.     v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
  120. end
  121. -- combo strikes
  122. v.Value = 'BStrike2'
  123. v.Name = "Strike2"
  124. if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("Strike3") then
  125.     v = game.ReplicatedStorage.Styles.Brawler["Strike3"]
  126. else
  127.     v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
  128. end
  129. v.Value = 'BStrike3'
  130. v.Name = "Strike3"
  131. if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("Strike4") then
  132.     v = game.ReplicatedStorage.Styles.Brawler["Strike4"]
  133. else
  134.     v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
  135. end
  136. v.Value = 'BStrike5'
  137. v.Name = "Strike4"
  138. if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("Strike5") then
  139.     v = game.ReplicatedStorage.Styles.Brawler["Strike5"]
  140. else
  141.     v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
  142. end
  143. v.Value = '龍Strike5'
  144. v.Name = "Strike5"
  145. -- magic animation changing stuff
  146. if game.ReplicatedStorage.Moves:FindFirstChild("龍Strike5") and game.ReplicatedStorage.Moves["龍Strike5"]:FindFirstChild("Anim") then
  147.     game.ReplicatedStorage.Moves["龍Strike5"].Anim.AnimationId = "rbxassetid://13785065919"
  148.     game.ReplicatedStorage.Moves["龍Strike5"].Anim.AnimationId = "rbxassetid://13785065919"
  149.     game.ReplicatedStorage.Moves["龍Strike5"].Anim.AnimationId = "rbxassetid://13785065919"
  150.     game.ReplicatedStorage.Moves["龍Strike5"].Anim.AnimationId = "rbxassetid://13785065919"
  151. end
  152. -- idle
  153. if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("Idle") then
  154.     game.ReplicatedStorage.Styles.Brawler.Idle.AnimationId = "rbxassetid://12120045620"
  155. end
  156. -- tiger drop
  157. if game.ReplicatedStorage.Moves["龍TigerDrop"]:FindFirstChild("Anim") then
  158.     v = game.ReplicatedStorage.Moves["龍TigerDrop"]["Anim"]
  159. else
  160.     v = Instance.new("Animation", game.ReplicatedStorage.Moves["龍TigerDrop"])
  161. end
  162. v.AnimationId = "rbxassetid://12338275115"
  163. v.Name = "Anim"
  164. if game.ReplicatedStorage.Moves["龍TigerDrop"]:FindFirstChild("ForceSF") then
  165.     v = game.ReplicatedStorage.Moves["龍TigerDrop"]["ForceSF"]
  166. else
  167.     v = Instance.new("StringValue", game.ReplicatedStorage.Moves["龍TigerDrop"])
  168. end
  169. v.Value = '0.1'
  170. v.Name = "ForceSF"
  171. if game.ReplicatedStorage.Moves["TigerDrop"]:FindFirstChild("Anim") then
  172.     v = game.ReplicatedStorage.Moves["TigerDrop"]["Anim"]
  173. else
  174.     v = Instance.new("Animation", game.ReplicatedStorage.Moves["TigerDrop"])
  175. end
  176. v.AnimationId = "rbxassetid://12338275115"
  177. v.Name = "Anim"
  178. if game.ReplicatedStorage.Moves["TigerDrop"]:FindFirstChild("HitDur") then
  179.     v = game.ReplicatedStorage.Moves["TigerDrop"]["HitDur"]
  180. else
  181.     v = Instance.new("NumberValue", game.ReplicatedStorage.Moves["TigerDrop"])
  182. end
  183. v.Value = 0.3
  184. v.Name = "HitDur"
  185. if game.ReplicatedStorage.Moves["TigerDrop"]:FindFirstChild("AniSpeed") then
  186.     v = game.ReplicatedStorage.Moves["TigerDrop"]["AniSpeed"]
  187. else
  188.     v = Instance.new("NumberValue", game.ReplicatedStorage.Moves["TigerDrop"])
  189. end
  190. v.Value = 1
  191. v.Name = "AniSpeed"
  192. local moves = game.ReplicatedStorage.Moves
  193. if moves:FindFirstChild("龍TigerDrop") then
  194.     moves:FindFirstChild("BRCounter2").Name = "FakeCounter2"
  195.     moves:FindFirstChild("龍TigerDrop").Name = "BRCounter2"
  196.     moves:FindFirstChild("BRCounter1").Name = "FakeCounter1"
  197.     moves:FindFirstChild("BRGrab").Name = "FakeGrab"
  198.  
  199.     local ignore = Instance.new("Folder")
  200.     ignore.Name = "IgnoreDmg"
  201.     ignore.Parent = moves:FindFirstChild("BRCounter2")
  202.  
  203.     if not moves:FindFirstChild("BRCounter2"):FindFirstChild("HSize") then
  204.         local n = Instance.new("NumberValue")
  205.         n.Name = "HSize"
  206.         n.Value = 2
  207.         n.Parent = moves:FindFirstChild("BRCounter2")
  208.     end
  209. end
  210. game.ReplicatedStorage.Styles.Brawler.StanceStrike.Value = 'BRCounter2'
  211. -- komaki parry
  212. if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("GrabStrike") then
  213.     v = game.ReplicatedStorage.Styles.Brawler["GrabStrike"]
  214. else
  215.     v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
  216. end
  217. v.Value = 'T_龍GParry'
  218. v.Name = "GrabStrike"
  219. -- some changes to the style
  220. local Player = game.Players.LocalPlayer
  221. local Rep = game.ReplicatedStorage
  222. local Char = Player.Character
  223. local Main = Player.PlayerGui.Interface.Battle.Main
  224. local moves = game.ReplicatedStorage.Moves
  225. local status = game:GetService("Players").LocalPlayer.Status
  226. -- style icon change
  227. Main.GUY.GUY.Image = "rbxassetid://10164279039"
  228. Main.GUY.GUY.BackgroundTransparency = 1
  229. if status.Style.Value == "Brawler" then
  230.     Main.MainLeft.ImageColor3 = Color3.new(1, 0, 0)
  231. elseif status.Style.Value == "Rush" then
  232.     Main.MainLeft.ImageColor3 = Color3.fromRGB(255,0,255)
  233. elseif status.Style.Value == "Beast" then
  234.     Main.MainLeft.ImageColor3 = Color3.fromRGB(255,211,50)
  235. end
  236.  
  237. -- font change
  238. Main.HeatMove.TextLabel.Font = "Merriweather"
  239. Main.HeatMove.stale.Font = "SciFi"
  240. Main.Health.Label.Font = "Merriweather"
  241. Main.StyleBar.amount.Font = "Merriweather"
  242. Main.MoneyBar.amount.Font = "Merriweather"
  243. Main.XP.Label.Font = "Merriweather"
  244. -- animation change
  245. local plr = game.Players.LocalPlayer
  246. local pgui = plr.PlayerGui
  247. local interf = pgui.Interface
  248. local bt = interf.Battle
  249. local main = bt.Main
  250.  
  251. interf.Client.Disabled = true
  252. task.wait(1)
  253. interf.Client.Disabled = false
  254. task.wait(0.1)
  255.  
  256. -- double combo strikes
  257. if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("2Strike2") then
  258.     v = game.ReplicatedStorage.Styles.Brawler["2Strike2"]
  259. else
  260.     v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
  261. end
  262. v.Value = '龍2Strike1'
  263. v.Name = "2Strike2"
  264. if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("2Strike3") then
  265.     v = game.ReplicatedStorage.Styles.Brawler["2Strike3"]
  266. else
  267.     v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
  268. end
  269. v.Value = '龍2Strike2'
  270. v.Name = "2Strike3"
  271. if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("2Strike4") then
  272.     v = game.ReplicatedStorage.Styles.Brawler["2Strike4"]
  273. else
  274.     v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
  275. end
  276. v.Value = 'B2Strike4'
  277. v.Name = "2Strike4"
  278. if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("2Strike5") then
  279.     v = game.ReplicatedStorage.Styles.Brawler["2Strike5"]
  280. else
  281.     v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
  282. end
  283. v.Value = 'B2Strike3'
  284. v.Name = "2Strike5"
  285. if game.ReplicatedStorage.Moves.B2Strike3:FindFirstChild("Reaction") then
  286.     game.ReplicatedStorage.Moves.B2Strike3.Reaction.Value = "Fly"
  287. end
  288. -- sumo slap script
  289. if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("H_Distanced") then
  290.     v = game.ReplicatedStorage.Styles.Brawler["H_Distanced"]
  291. else
  292.     v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
  293. end
  294. v.Value = 'H_FastFootworkBack'
  295. v.Name = "H_Distanced"
  296.  
  297. if game.ReplicatedStorage.Moves.H_FastFootworkBack:FindFirstChild("Closest") then
  298.     v = game.ReplicatedStorage.Moves.H_FastFootworkBack["Closest"]
  299. else
  300.     v = Instance.new("StringValue", game.ReplicatedStorage.Moves.H_FastFootworkBack)
  301. end
  302. v.Value = '50'
  303. v.Name = "Closest"
  304. if game.ReplicatedStorage.Moves.H_FastFootworkBack:FindFirstChild("Distance") then
  305.     v = game.ReplicatedStorage.Moves.H_FastFootworkBack["Distance"]
  306. else
  307.     v = Instance.new("StringValue", game.ReplicatedStorage.Moves.H_FastFootworkBack)
  308. end
  309. v.Value = '50'
  310. v.Name = "Distance"
  311. if game.ReplicatedStorage.Moves.H_FastFootworkBack:FindFirstChild("Within") then
  312.     v = game.ReplicatedStorage.Moves.H_FastFootworkBack["Within"]
  313. else
  314.     v = Instance.new("StringValue", game.ReplicatedStorage.Moves.H_FastFootworkBack)
  315. end
  316. v.Value = '15'
  317. v.Name = "Within"
  318. if game.ReplicatedStorage.Moves.H_FastFootworkBack:FindFirstChild("HeatUse") then
  319.     v = game.ReplicatedStorage.Moves.H_FastFootworkBack["HeatUse"]
  320. else
  321.     v = Instance.new("IntValue", game.ReplicatedStorage.Moves.H_FastFootworkBack)
  322. end
  323. v.Value = 50
  324. v.Name = "HeatUse"
  325. if game.ReplicatedStorage.Moves.H_FastFootworkBack:FindFirstChild("HeatNeeded") then
  326.     v = game.ReplicatedStorage.Moves.H_FastFootworkBack["HeatNeeded"]
  327. else
  328.     v = Instance.new("StringValue", game.ReplicatedStorage.Moves.H_FastFootworkBack)
  329. end
  330. v.Value = 'Normal'
  331. v.Name = "HeatNeeded"
  332. local Player = game.Players.LocalPlayer
  333. local Rep = game.ReplicatedStorage
  334. local Char = Player.Character
  335. local Main = Player.PlayerGui.Interface.Battle.Main
  336.  
  337. Main.HeatMove.TextLabel:GetPropertyChangedSignal("Text"):Connect(function()
  338.     if Main.HeatMove.TextLabel.Text == "Essence of Fast Footwork [Back]" then
  339.         Main.HeatMove.TextLabel.Text = Rep.Moves.H_SumoSlap.MoveName.Value
  340.         local Anim = Char.Humanoid:LoadAnimation(Rep.Moves.H_SumoSlap.Anim)
  341.         Anim.Priority = Enum.AnimationPriority.Action4
  342.         Anim:AdjustSpeed(0.9)
  343.         Anim:Play()
  344.         play_ingamesound("Teleport")
  345.         PlaySound("Slap")
  346.         task.wait(0.55)
  347.         PlaySound("Slap")
  348.         task.wait(0.45)
  349.         PlaySound("Slap")
  350.         task.wait(0.9)
  351.         PlaySound("MassiveSlap")
  352.         Anim:Destroy()
  353.     end
  354. end)
  355.  
  356. -- essence of slapper
  357.  
  358. local Player = game.Players.LocalPlayer
  359. local Rep = game.ReplicatedStorage
  360. local Char = Player.Character
  361. local Main = Player.PlayerGui.Interface.Battle.Main
  362.  
  363. -- ultimate essence scripts and stuff
  364. if game.ReplicatedStorage.Moves.H_UltimateEssence:FindFirstChild("MoveName") then
  365.     v = game.ReplicatedStorage.Moves.H_UltimateEssence["MoveName"]
  366. else
  367.     v = Instance.new("StringValue", game.ReplicatedStorage.Moves.H_UltimateEssence)
  368. end
  369. if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("H_FullHeat") then
  370.     v = game.ReplicatedStorage.Styles.Brawler["H_FullHeat"]
  371. else
  372.     v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
  373. end
  374. v.Value = 'H_GUltimateEssence'
  375. v.Name = "H_FullHeat"
  376.  
  377. v.Value = 'Ultimate Essence '
  378. v.Name = "MoveName"
  379.  
  380. Main.HeatMove.TextLabel:GetPropertyChangedSignal("Text"):Connect(function()
  381.     if Main.HeatMove.TextLabel.Text == "Ultimate Essence" then
  382.         Main.HeatMove.TextLabel.Text = Rep.Moves.H_UltimateEssence.MoveName.Value
  383.         local Anim = Char.Humanoid:LoadAnimation(Rep.Moves.H_UltimateEssence.Anim)
  384.         Anim.Priority = Enum.AnimationPriority.Action4
  385.         Anim:AdjustSpeed(0.9)
  386.         Anim:Play()
  387.         PlaySound("Ignite")
  388.         task.wait(0.4)
  389.         PlaySound("TigerSwing")
  390.         task.wait(0.6)
  391.         PlaySound("MassiveSlap")
  392.         task.wait(0.3)
  393.         Anim:Destroy()
  394.     end
  395. end)
  396. if game.ReplicatedStorage.Styles.Brawler:FindFirstChild("H_CounterSolo") then
  397.     v = game.ReplicatedStorage.Styles.Brawler["H_CounterSolo"]
  398. else
  399.     v = Instance.new("StringValue", game.ReplicatedStorage.Styles.Brawler)
  400. end
  401. v.Value = 'H_Escape'
  402. v.Name = "H_CounterSolo"
  403. -- teleport
  404. local function add_forcefield(duration)
  405.     local p = game.Players.LocalPlayer
  406.     local Status = p.Status
  407.  
  408.     local invun = game.ReplicatedStorage.Invulnerable:Clone()
  409.     invun.Parent = Status
  410.  
  411.     if duration then
  412.         spawn(function()
  413.             task.wait(duration)
  414.             invun:Destroy()
  415.         end)
  416.     end
  417.  
  418.     return invun
  419. end
  420. local ti = TweenInfo.new(0.9, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut, 0, true, 0)
  421. local ti2 = TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut, 0, true, 0)
  422.  
  423. local color = Instance.new("ColorCorrectionEffect", game:GetService("Lighting"))
  424. local ts = game:GetService("TweenService")
  425. local ctween = ts:Create(color, ti, {Saturation = -2, Brightness = -0.1})
  426. local ctween2 = ts:Create(color, ti2, {Saturation = -2, Brightness = -0.1})
  427. local dashcooldown = false
  428.  
  429.  
  430. local plr = game:GetService("Players").LocalPlayer
  431. local status = plr.Status
  432. status.ChildAdded:Connect(function(childd)
  433.     if childd.Name == "ANGRY" then
  434.         PlaySound("Yell")
  435.         PlaySound("Bass")
  436.         add_forcefield(15)
  437.     end
  438. end)
  439. status.ChildAdded:Connect(function(child)
  440.     if child.Name == "Evading" and status:FindFirstChild("ANGRY") then
  441.         if not dashcooldown then
  442.             --playvoiceline("Taunt")
  443.  
  444.             local lookvector = workspace.CurrentCamera.CFrame.LookVector * Vector3.new(1, 0, 1)
  445.             local root = game.Players.LocalPlayer.Character.PrimaryPart
  446.             local lock = game.Players.LocalPlayer.Character.LockedOn.Value
  447.             if lock and lock:IsDescendantOf(workspace) and lock.Parent.Health.Value > 0 then
  448.                 local id = "rbxassetid://10928237540"
  449.                 local anim = Instance.new("Animation")
  450.                 anim.AnimationId = id
  451.  
  452.                 local v = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(anim)
  453.                 v:Play()
  454.  
  455.                 v:AdjustSpeed(8)
  456.                 ctween2:Play()
  457.  
  458.                 dashcooldown = false
  459.  
  460.                 root.Anchored = true
  461.                 add_forcefield(0.32)
  462.  
  463.                 root.Anchored = false
  464.                 root.CFrame = CFrame.new(lock.Position - (lock.CFrame.LookVector * Vector3.new(1, 0, 1).Unit * 3), lock.Position)
  465.  
  466.                 play_ingamesound("Teleport")
  467.  
  468.                 task.wait(0.6)
  469.  
  470.  
  471.                 return
  472.             end
  473.             dashcooldown = false
  474.  
  475.             local id = "rbxassetid://10928237540"
  476.             local anim = Instance.new("Animation")
  477.             anim.AnimationId = id
  478.  
  479.             local v = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(anim)
  480.             v:Play()
  481.  
  482.             root.Anchored = true
  483.             ctween:Play()
  484.             task.wait(0.3)
  485.             task.wait(0.4)
  486.  
  487.             play_ingamesound("Teleport")
  488.             root.Anchored = false
  489.             root.CFrame = CFrame.new(root.Position, root.Position + lookvector)
  490.  
  491.             --local rp = RaycastParams.new()
  492.             --rp.FilterDescendantsInstances = {root.Parent}
  493.             --rp.FilterType = Enum.RaycastFilterType.Blacklist
  494.             --rp.IgnoreWater = true
  495.  
  496.             --local ray = workspace:Raycast(root.Position, lookvector * 50, rp)
  497.  
  498.             --local cf
  499.             --if ray then
  500.             --  cf = CFrame.new(ray.Position - lookvector * 6, ray.Position + lookvector)
  501.             --else
  502.             --  cf = root.CFrame + lookvector * 50
  503.             --end
  504.  
  505.             --local ti = TweenInfo.new(v.Length*0.5, Enum.EasingStyle.Linear)
  506.             --local t = tweenserive:Create(root, ti, {CFrame = cf})
  507.             --t:Play()
  508.             --t.Completed:Once(function()
  509.             --  root.Anchored = false
  510.             --  v:Stop()
  511.             --end)
  512.  
  513.  
  514.             local bodyvel = Instance.new("BodyVelocity", root)
  515.             bodyvel.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  516.             bodyvel.Velocity = lookvector * 90
  517.             local hitbox = Instance.new("Part", bodyvel)
  518.             hitbox.CanCollide = false
  519.             hitbox.CanQuery = false
  520.             hitbox.Transparency = 1
  521.             hitbox.Size = Vector3.new(1, 1, 5)
  522.             local w = Instance.new("Weld", hitbox)
  523.             w.Part0 = hitbox
  524.             w.Part1 = root
  525.  
  526.             local b2 = game:GetService("RunService").Heartbeat:Connect(function(d)
  527.                 root.CFrame = root.CFrame + (bodyvel.Velocity*d)*4
  528.             end)
  529.  
  530.             local b = hitbox.Touched:Connect(function(part)
  531.                 if part.CanCollide then
  532.                     local vel = -bodyvel.Velocity
  533.  
  534.                     bodyvel:Destroy()
  535.                     v:Stop()
  536.  
  537.                     --local id = "rbxassetid://"..getrandom_array(hurtanims)
  538.                     --local anim = Instance.new("Animation")
  539.                     --anim.AnimationId = id
  540.                     --local v = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(anim)
  541.  
  542.                     --v:Play()
  543.  
  544.                     --local b = game:GetService("RunService").Heartbeat:Connect(function(d)
  545.                     --  root.CFrame += (vel * d) * 0.5
  546.                     --end)
  547.  
  548.                     --v.Ended:Once(function()
  549.                     --  b:Disconnect()
  550.                     --  v:Destroy()
  551.                     --end)
  552.                 end
  553.             end)
  554.  
  555.             bodyvel.Destroying:Once(function()
  556.                 b:Disconnect()
  557.                 b2:Disconnect()
  558.                 hitbox:Destroy()
  559.             end)
  560.  
  561.             v.Ended:wait()
  562.  
  563.             if bodyvel then
  564.                 bodyvel:Destroy()
  565.             end
  566.  
  567.             task.wait(0.05)
  568.             dashcooldown = false
  569.         end
  570.     end
  571. end)
  572. local plr = game.Players.LocalPlayer
  573. local status = plr.Status
  574. local styles = game.ReplicatedStorage.Styles
  575. local DragonText = "Dragon"
  576. local DragonColor = Color3.new(0, 1, 0.5)
  577. local DragonSequence = ColorSequence.new({ColorSequenceKeypoint.new(0, DragonColor), ColorSequenceKeypoint.new(1, DragonColor)})
  578.  
  579. function isInBattle()
  580.     return (plr:FindFirstChild("InBattle") and true or false)
  581. end
  582.  
  583. function isDungeon()
  584.     return game.ReplicatedStorage.Dungeon.Value
  585. end
  586.  
  587. function doingHact()
  588.     return (plr.Character:FindFirstChild("Heated") and true or false)
  589. end
  590.  
  591. function showMaxHeatEffect()
  592.     return (isInBattle() and not doingHact() and plr.Status.Heat.Value >= 100) and true or false
  593. end
  594.  
  595. function hasWeaponInHand()
  596.     return (plr.Character:FindFirstChild("Holding") and true or false)
  597. end
  598.  
  599. local function change_color()
  600.     if status.Style.Value == "Brawler" then
  601.         local DragonSequence = ColorSequence.new{ColorSequenceKeypoint.new(0, styles.Brawler.Color.Value), ColorSequenceKeypoint.new(1, styles.Brawler.Color.Value)}
  602.         local char = plr.Character
  603.         char.HumanoidRootPart.Fire_Main.Color = DragonSequence
  604.         char.HumanoidRootPart.Fire_Secondary.Color = DragonSequence
  605.         char.HumanoidRootPart.Fire_Main.Rate = status.Heat.Value >= 100 and 115 or status.Heat.Value >= 75 and 85 or 80
  606.         char.HumanoidRootPart.Fire_Secondary.Rate = status.Heat.Value >= 100 and 90 or status.Heat.Value >= 75 and 80 or 70
  607.         char.HumanoidRootPart.Lines1.Color = DragonSequence
  608.         char.HumanoidRootPart.Lines1.Rate = status.Heat.Value >= 100 and 60 or status.Heat.Value >= 75 and 40 or 20
  609.         char.HumanoidRootPart.Lines2.Color = DragonSequence
  610.         char.HumanoidRootPart.Lines2.Rate = status.Heat.Value >= 100 and 60 or status.Heat.Value >= 75 and 40 or 20
  611.         char.HumanoidRootPart.Sparks.Color = DragonSequence
  612.         if not char.HumanoidRootPart.TimeFor.Enabled then
  613.             char.HumanoidRootPart.TimeFor.Color = DragonSequence
  614.         end
  615.  
  616.         char.UpperTorso["r2f_aura_burst"].Lines1.Color = DragonSequence
  617.         char.UpperTorso["r2f_aura_burst"].Lines2.Color = DragonSequence
  618.         char.UpperTorso["r2f_aura_burst"].Flare.Color = DragonSequence
  619.         char.UpperTorso["r2f_aura_burst"].Lines1.Enabled = showMaxHeatEffect()
  620.         char.UpperTorso["r2f_aura_burst"].Flare.Enabled = showMaxHeatEffect()
  621.         char.UpperTorso["r2f_aura_burst"].Smoke.Color = DragonSequence
  622.         char.UpperTorso.Evading.Color = DragonSequence
  623.     end
  624. end
  625.  
  626. local function FillHeat()
  627.     local Event = game:GetService("ReplicatedStorage").Events.ME
  628.  
  629.     for i=1,6 do
  630.         local A_1 =  {
  631.             [1] = "heat",
  632.             [2] = game:GetService("ReplicatedStorage").Moves.Taunt
  633.         }
  634.         Event:FireServer(A_1)
  635.     end
  636. end
  637. game:GetService("RunService").RenderStepped:Connect(change_color)
  638.  
  639. _G.voicepack = "Kiryu" -- Current available voices: "Kiryu", "Akiyama", "Majima" and "Vulcan"
  640. local player = game.Players.LocalPlayer
  641. local character = player.Character
  642. local pgui = player.PlayerGui
  643. local status = player.Status
  644. local RPS = game.ReplicatedStorage
  645. _G.voice = RPS.Voices:FindFirstChild(_G.voicepack)
  646.  
  647. print(_G.voice.Name)
  648. local function playSound(sound)
  649.     local soundclone = Instance.new("Sound")
  650.     soundclone.Parent = character.Head
  651.     soundclone.Name = sound.Name
  652.     soundclone.SoundId = sound.Value
  653.     soundclone.Volume = 0.35
  654.     soundclone:Play()
  655.     soundclone.Ended:Connect(function()
  656.         game:GetService("Debris"):AddItem(soundclone)
  657.     end)
  658. end
  659. local function fetchRandom(instance)
  660.     local instancechildren = instance:GetChildren()
  661.     local random = instancechildren[math.random(1, #instancechildren)]
  662.     return random
  663. end
  664.  
  665.  
  666. local plr = game.Players.LocalPlayer
  667. local pgui = plr.PlayerGui
  668. local interf = pgui.Interface
  669. local bt = interf.Battle
  670. local main = bt.Main
  671.  
  672. local notifyevent
  673. for i,v in pairs (pgui:GetChildren()) do
  674.     if v:IsA("BindableEvent") then
  675.         notifyevent = v
  676.     end
  677. end
  678.  
  679. local function sendNotification(text, color, sound)
  680.     if not color then color = Color3.new(1, 1, 1) end
  681.     pgui.NotifyUI.Awards.ChildAdded:Once(function(c)
  682.         if c.Text == text then
  683.             c.TextColor3 = color
  684.             coroutine.wrap(function()
  685.                 local con;
  686.                 con = game:GetService("RunService").RenderStepped:Connect(function()
  687.                     if not c then
  688.                         con:Disconnect()
  689.                         return
  690.                     end
  691.                     c.TextColor3 = color
  692.                 end)()
  693.             end)()
  694.         end
  695.     end)
  696.     notifyevent:Fire(text, sound or nil)
  697. end
  698.  
  699.  
  700. local alreadyRunning = RPS:FindFirstChild("VoiceMod")
  701. if alreadyRunning then
  702.     sendNotification("Selected voice: ".._G.voice.Name, Color3.fromRGB(255, 255, 255))
  703.     return
  704. end
  705.  
  706. alreadyRunning = Instance.new("BoolValue")
  707. alreadyRunning.Parent = RPS
  708. alreadyRunning.Value = true
  709. alreadyRunning.Name = "VoiceMod"
  710.  
  711. sendNotification("Voice Mod loaded", Color3.fromRGB(255, 255, 255))
  712. sendNotification("Selected voice: ".._G.voice.Name, Color3.fromRGB(255, 255, 255))
  713. local receivedsound
  714.  
  715. player.ChildAdded:Connect(function(child)
  716.     if child.Name == "InBattle" then
  717.         receivedsound = fetchRandom(_G.voice.BattleStart)
  718.         playSound(receivedsound)
  719.     end
  720. end)
  721. local hitCD = false
  722. character.ChildAdded:Connect(function(child)
  723.     if child.Name == "Heated" and child:WaitForChild("Heating",0.5).Value ~= character then
  724.         local isThrowing = child:WaitForChild("Throwing",0.5)
  725.         if not isThrowing then
  726.             receivedsound = fetchRandom(_G.voice.HeatAction)
  727.             playSound(receivedsound)
  728.         end
  729.     end
  730.     if child.Name == "Hitstunned" and not character:FindFirstChild("Ragdolled") then
  731.         if hitCD == false then
  732.             hitCD = true
  733.             receivedsound = fetchRandom(_G.voice.Pain)
  734.             playSound(receivedsound)
  735.             delay(2,function()
  736.                 hitCD = false
  737.             end)
  738.         end
  739.     end
  740.     if child.Name == "Ragdolled" then
  741.         receivedsound = fetchRandom(_G.voice.Knockdown)
  742.         playSound(receivedsound)
  743.     end
  744.     if child.Name == "ImaDea" then
  745.         receivedsound = fetchRandom(_G.voice.Death)
  746.         playSound(receivedsound)
  747.     end
  748.     if child.Name == "Stunned" then
  749.         receivedsound = fetchRandom(_G.voice.Stun)
  750.         playSound(receivedsound)
  751.     end
  752. end)
  753.  
  754. character.ChildRemoved:Connect(function(child)
  755.     if child.Name == "Ragdolled" then
  756.         wait(0.1)
  757.         if not string.match(status.CurrentMove.Value.Name, "Getup") then
  758.             receivedsound = fetchRandom(_G.voice.Recover)
  759.             playSound(receivedsound)
  760.         end
  761.     end
  762. end)
  763.  
  764. character.HumanoidRootPart.ChildAdded:Connect(function(child)
  765.     if child.Name == "KnockOut" or child.Name == "KnockOutRare" then
  766.         child.Volume = 0
  767.     end
  768. end)
  769. local dodgeCD = false
  770. status.FFC.Evading.Changed:Connect(function()
  771.     if status.FFC.Evading.Value == true and character:FindFirstChild("BeingHacked") and not dodgeCD then
  772.         dodgeCD = true
  773.         receivedsound = fetchRandom(_G.voice.Dodge)
  774.         playSound(receivedsound)
  775.         delay(10,function()
  776.             dodgeCD = false
  777.         end)
  778.     end
  779. end)
  780. local fakeTauntSound = RPS.Sounds:FindFirstChild("Laugh"):Clone()
  781. fakeTauntSound.Parent = RPS.Sounds
  782. fakeTauntSound.Name = "FakeLaugh"
  783. fakeTauntSound.Volume.Value = 0
  784. RPS.Moves.Taunt.Sound.Value = "FakeLaugh"
  785. RPS.Moves.RushTaunt.Sound.Value = "FakeLaugh"
  786. RPS.Moves.GoonTaunt.Sound.Value = "FakeLaugh"
  787. status.Taunting.Changed:Connect(function()
  788.     if status.Taunting.Value == true and status.CurrentMove.Value.Name ~= "BeastTaunt" then
  789.         receivedsound = fetchRandom(_G.voice.Taunt)
  790.         playSound(receivedsound)
  791.     end
  792. end)
  793. local lattackCD = false
  794. status.CurrentMove.Changed:Connect(function()
  795.     if string.match(status.CurrentMove.Value.Name, "Attack") or string.match(status.CurrentMove.Value.Name, "Punch") then
  796.         if lattackCD == false then
  797.             lattackCD = true
  798.             receivedsound = fetchRandom(_G.voice.LightAttack)
  799.             playSound(receivedsound)
  800.             delay(0.35, function()
  801.                 lattackCD = false
  802.             end)
  803.         end
  804.     else
  805.         if not string.match(status.CurrentMove.Value.Name, "Taunt") and not string.match(status.CurrentMove.Value.Name, "Grab") then
  806.             receivedsound = fetchRandom(_G.voice.HeavyAttack)
  807.             playSound(receivedsound)
  808.         end
  809.     end
  810. end)
  811.  
  812. game.UserInputService.InputBegan:Connect(function(key)
  813.     if game.UserInputService:GetFocusedTextBox() == nil then
  814.         if key.KeyCode == Enum.KeyCode.H then
  815.             if _G.voicepack == "Kiryu" then
  816.                 _G.voicepack = "Akiyama"
  817.             elseif _G.voicepack == "Akiyama" then
  818.                 _G.voicepack = "Majima"
  819.             elseif _G.voicepack == "Majima" then
  820.                 _G.voicepack = "Vulcan"
  821.             elseif _G.voicepack == "Vulcan" then
  822.                 _G.voicepack = "Kiryu"
  823.             end
  824.             _G.voice = RPS.Voices:FindFirstChild(_G.voicepack)
  825.             sendNotification("Selected voice: ".._G.voice.Name, Color3.fromRGB(255, 255, 255))
  826.         end
  827.     end
  828. end)
  829.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement