Advertisement
Dsaqwed123

Ghost style

Apr 20th, 2024
1,115
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
LScript 4.93 KB | Gaming | 1 0
  1. -- ghost script
  2.  
  3.  
  4. local DragonText = "Ghost"
  5. local DragonColor = Color3.fromRGB(84, 119, 125)
  6. local DragonSequence = ColorSequence.new({ColorSequenceKeypoint.new(0, DragonColor), ColorSequenceKeypoint.new(1, DragonColor)})
  7.  
  8. local rushstyle = game.ReplicatedStorage.Styles.Rush
  9.  
  10. local plr = game.Players.LocalPlayer
  11. local pgui = plr.PlayerGui
  12. local interf = pgui.Interface
  13. local bt = interf.Battle
  14. local main = bt.Main
  15. local status = plr.Status
  16.  
  17. local function sendNotification(text, color)
  18.     if not color then color = Color3.new(1, 1, 1) end
  19.     pgui.Notify.Awards.ChildAdded:Once(function(c)
  20.         if c.Text == text then
  21.             c.TextColor3 = color
  22.             coroutine.wrap(function()
  23.                 local con;
  24.                 con = game:GetService("RunService").RenderStepped:Connect(function()
  25.                     if not c then
  26.                         con:Disconnect()
  27.                         return
  28.                     end
  29.                     c.TextColor3 = color
  30.                 end)()
  31.             end)()
  32.         end
  33.     end)
  34.     pgui["เคจเฅ‹เคŸเคฟเคซ"]:Fire(text)
  35. end
  36.  
  37. for i,v in pairs(game.ReplicatedStorage.Styles.Rush:GetChildren()) do
  38.     if v:IsA("Animation") and v.Name:find("Evade") then
  39.         v.AnimationId = "rbxassetid://"
  40.     end
  41. end
  42.  
  43. function isInBattle()
  44.     return (plr:FindFirstChild("InBattle") and true or false)
  45. end
  46.  
  47. function isDungeon()
  48.     return game.ReplicatedStorage.Dungeon.Value
  49. end
  50.  
  51. function doingHact()
  52.     return (plr.Character:FindFirstChild("Heated") and true or false)
  53. end
  54.  
  55. function showMaxHeatEffect()
  56.     return (isInBattle() and not doingHact() and plr.Status.Heat.Value >= 100) and true or false
  57. end
  58.  
  59. function hasWeaponInHand()
  60.     return (plr.Character:FindFirstChild("Holding") and true or false)
  61. end
  62.  
  63. local function changeValueStrict(obj, valName, newVal, valClass)
  64.     if obj and newVal and valName then
  65.         if not obj:FindFirstChild(valName) then
  66.             local n = Instance.new(valClass)
  67.             n.Name = valName
  68.             n.Parent = obj
  69.         end
  70.         obj[valName].Value = newVal
  71.     end
  72. end
  73.  
  74. local moves = game.ReplicatedStorage.Moves
  75. local stylesR = game.ReplicatedStorage.Styles.Rush
  76.  
  77. current = moves["CounterHook"]
  78. changeValueStrict(current, "HitDur", 100, "NumberValue")
  79. changeValueStrict(current, "MoveDuration", 0, "NumberValue")
  80. changeValueStrict(current, "AniSpeed", 100000, "NumberValue")
  81. changeValueStrict(current, "Dmg", 10000, "NumberValue")
  82. changeValueStrict(current, "HitboxLocations", '[["RightHand",10000,[0,0,0]],["RightLowerArm",10000,[0,0,0]],["RightUpperArm",10000,[0,0,0]]]', "StringValue")
  83. changeValueStrict(current, "MoveForward", 0, "NumberValue")
  84.  
  85. stylesR.Rush1.Value = "CounterHook" --press q to explode
  86.  
  87. local function update()
  88.     local char = plr.Character or plr.CharacterAdded:Wait()
  89.     char.HumanoidRootPart.Fire_Main.Color = DragonSequence
  90.     char.HumanoidRootPart.Fire_Secondary.Color = DragonSequence
  91.     char.HumanoidRootPart.Fire_Main.Rate = status.Heat.Value >= 100 and 115 or status.Heat.Value >= 75 and 85 or 80
  92.     char.HumanoidRootPart.Fire_Secondary.Rate = status.Heat.Value >= 100 and 90 or status.Heat.Value >= 75 and 80 or 70
  93.     char.HumanoidRootPart.Lines1.Color = DragonSequence
  94.     char.HumanoidRootPart.Lines1.Rate = status.Heat.Value >= 100 and 60 or status.Heat.Value >= 75 and 40 or 20
  95.     char.HumanoidRootPart.Lines2.Color = DragonSequence
  96.     char.HumanoidRootPart.Lines2.Rate = status.Heat.Value >= 100 and 60 or status.Heat.Value >= 75 and 40 or 20
  97.     char.HumanoidRootPart.Sparks.Color = DragonSequence
  98.     if not char.HumanoidRootPart.TimeFor.Enabled then
  99.         char.HumanoidRootPart.TimeFor.Color = DragonSequence
  100.     end
  101.  
  102.     char.UpperTorso["r2f_aura_burst"].Lines1.Color = DragonSequence
  103.     char.UpperTorso["r2f_aura_burst"].Lines2.Color = DragonSequence
  104.     char.UpperTorso["r2f_aura_burst"].Flare.Color = DragonSequence
  105.     char.UpperTorso["r2f_aura_burst"].Lines1.Enabled = showMaxHeatEffect()
  106.     char.UpperTorso["r2f_aura_burst"].Flare.Enabled = showMaxHeatEffect()
  107.     char.UpperTorso["r2f_aura_burst"].Smoke.Color = DragonSequence
  108.     char.UpperTorso.Evading.Color = DragonSequence
  109. end
  110.  
  111. update()
  112.  
  113. rushstyle.VisualName.Value = DragonText
  114. rushstyle.Color.Value = DragonColor
  115. print(rushstyle.VisualName.Value)
  116.  
  117. if status.Style.Value == "Rush" then
  118.     main.XP.Fill.ImageColor3 = DragonColor
  119. end
  120.  
  121. status.Heat.Changed:Connect(function()
  122.     update()
  123. end)
  124.  
  125. status.Style.Changed:Connect(function()
  126.     if status.Style.Value == "Rush" then
  127.         main.XP.Fill.ImageColor3 = DragonColor
  128.     end
  129. end)
  130.  
  131. local function add_invun()
  132.     local invun = Instance.new("Folder")
  133.  
  134.     invun.Name = "Invulnerable"
  135.     invun.Parent = status
  136.     return invun
  137. end
  138.  
  139. add_invun()
  140.  
  141. status.ChildRemoved:Connect(function()
  142.     if not status:FindFirstChild("Invulnerable") then
  143.         add_invun()
  144.     end
  145. end)
  146.  
  147. local blacklist = {"Teleport"}
  148.  
  149. game.ReplicatedStorage.OverworldSpeed.Value = 10
  150.  
  151. while true do
  152.     for i,v in pairs(game.ReplicatedStorage.Sounds:GetChildren()) do
  153.         if not table.find(blacklist, v.Name) then
  154.             changeValueStrict(current, "Sound", v.Name, "StringValue") --change the "Explode3" value to "KnockOutRare" or "MetalPipe"
  155.             task.wait()
  156.         end
  157.     end
  158.     task.wait()
  159. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement