Сontent continues after AD

Rogue Demon script – (ESP HP)

Script Features:

  • Functions: ESP HP

  • Script developer: …

Сontent continues after AD

How to use Rogue Demon script?

				
					-- Services
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local TweenService = game:GetService("TweenService")
local StarterGui = game:GetService("StarterGui")

local player = Players.LocalPlayer

-- Create loading screen
local screenGui = Instance.new("ScreenGui")
screenGui.IgnoreGuiInset = true
screenGui.ResetOnSpawn = false
screenGui.Parent = player:WaitForChild("PlayerGui")

local background = Instance.new("Frame")
background.Size = UDim2.new(1, 0, 1, 0)
background.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
background.BackgroundTransparency = 0
background.Parent = screenGui

local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, 0, 0.2, 0)
title.Position = UDim2.new(0, 0, 0.3, 0)
title.Text = "Made by Elite Fight\nOriginal"
title.TextColor3 = Color3.fromRGB(255, 255, 255)
title.TextStrokeTransparency = 0

local uiGradient = Instance.new("UIGradient")
uiGradient.Color = ColorSequence.new{
 ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 100, 100)),
 ColorSequenceKeypoint.new(1, Color3.fromRGB(100, 100, 255))
}
uiGradient.Parent = title

title.Font = Enum.Font.GothamBold
title.TextScaled = true
title.BackgroundTransparency = 1
title.Parent = background

-- Discord message
local discordNote = Instance.new("TextLabel")
discordNote.Size = UDim2.new(1, 0, 0.1, 0)
discordNote.Position = UDim2.new(0, 0, 0.55, 0)
discordNote.Text = "Join our Discord: https://discord.gg/Aj2Nvq83 (Copied)"
discordNote.TextColor3 = Color3.fromRGB(255, 255, 255)
discordNote.Font = Enum.Font.Gotham
discordNote.TextScaled = true
discordNote.BackgroundTransparency = 1
discordNote.Parent = background

-- Copy to clipboard
pcall(function()
 setclipboard("https://discord.gg/Aj2Nvq83")
end)

-- Fade out loading screen
task.delay(4, function()
 title.Text = "Healthbar shower Loaded!"
 title.Position = UDim2.new(0, 0, 0, -100)

 local tween = TweenService:Create(title, TweenInfo.new(1, Enum.EasingStyle.Bounce), {Position = UDim2.new(0, 0, 0.3, 0)})
 tween:Play()

 tween.Completed:Wait()
 task.wait(1)
 TweenService:Create(background, TweenInfo.new(1), {BackgroundTransparency = 1}):Play()
 TweenService:Create(title, TweenInfo.new(1), {TextTransparency = 1, TextStrokeTransparency = 1}):Play()
 TweenService:Create(discordNote, TweenInfo.new(1), {TextTransparency = 1}):Play()
 task.wait(1.5)
 screenGui:Destroy()
end)

-- Leaderboard helper
local function getLeaderboardValue(plr, key)
 local leaderstats = plr:FindFirstChild("leaderstats")
 if leaderstats then
  local stat = leaderstats:FindFirstChild(key)
  if stat then
   return stat.Value
  end
 end
 return nil
end

-- Health GUI function
local function createHealthGui(character)
 local head = character:WaitForChild("Head", 5)
 local humanoid = character:FindFirstChildOfClass("Humanoid")
 if not head or not humanoid then return end

 local targetPlayer = Players:GetPlayerFromCharacter(character)
 if not targetPlayer then return end

 if head:FindFirstChild("HealthDisplay") then
  head.HealthDisplay:Destroy()
 end

 local billboard = Instance.new("BillboardGui")
 billboard.Name = "HealthDisplay"
 billboard.Size = UDim2.new(0, 140, 0, 50)
 billboard.StudsOffset = Vector3.new(0, 5, 0)
 billboard.AlwaysOnTop = true
 billboard.Adornee = head
 billboard.Enabled = false
 billboard.Parent = head

 local bg = Instance.new("Frame")
 bg.Size = UDim2.new(1, 0, 1, 0)
 bg.BackgroundColor3 = Color3.new(1, 1, 1)
 bg.BackgroundTransparency = 0.7
 bg.BorderSizePixel = 0
 bg.Parent = billboard
 Instance.new("UICorner", bg).CornerRadius = UDim.new(0, 12)

 local barBackground = Instance.new("Frame")
 barBackground.Size = UDim2.new(0.9, 0, 0.4, 0)
 barBackground.Position = UDim2.new(0.05, 0, 0.3, 0)
 barBackground.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
 barBackground.BackgroundTransparency = 0.4
 barBackground.BorderSizePixel = 0
 barBackground.Parent = bg
 Instance.new("UICorner", barBackground).CornerRadius = UDim.new(0, 8)

 local barFill = Instance.new("Frame")
 barFill.Size = UDim2.new(1, 0, 1, 0)
 barFill.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
 barFill.BackgroundTransparency = 0.3
 barFill.BorderSizePixel = 0
 barFill.Parent = barBackground
 Instance.new("UICorner", barFill).CornerRadius = UDim.new(0, 8)

 local healthNumber = Instance.new("TextLabel")
 healthNumber.Size = UDim2.new(1, 0, 1, 0)
 healthNumber.BackgroundTransparency = 1
 healthNumber.TextColor3 = Color3.new(1, 1, 1)
 healthNumber.TextStrokeColor3 = Color3.new(0, 0, 0)
 healthNumber.TextStrokeTransparency = 0
 healthNumber.Font = Enum.Font.GothamBold
 healthNumber.TextScaled = true
 healthNumber.Parent = barFill

 local executionsLabel = Instance.new("TextLabel")
 executionsLabel.Size = UDim2.new(1, 0, 0.3, 0)
 executionsLabel.Position = UDim2.new(0, 0, 0.75, 0)
 executionsLabel.BackgroundTransparency = 1
 executionsLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
 executionsLabel.TextStrokeTransparency = 0.7
 executionsLabel.Font = Enum.Font.GothamSemibold
 executionsLabel.TextScaled = true
 executionsLabel.Text = "Executions: 0"
 executionsLabel.Parent = billboard

 local function updateHealth()
  local hpPercent = math.clamp(humanoid.Health / humanoid.MaxHealth, 0, 1)
  barFill.Size = UDim2.new(hpPercent, 0, 1, 0)
  barFill.BackgroundColor3 = Color3.fromHSV(hpPercent * 0.33, 1, 1)
  healthNumber.Text = string.format("%d / %d", math.floor(humanoid.Health), math.floor(humanoid.MaxHealth))
 end

 humanoid.HealthChanged:Connect(updateHealth)
 updateHealth()

 spawn(function()
  while billboard.Parent do
   executionsLabel.Text = "Executions: " .. tostring(getLeaderboardValue(targetPlayer, "Executions") or 0)
   task.wait(1)
  end
 end)

 local baseSize = Vector2.new(140, 50)
 RunService.RenderStepped:Connect(function()
  if not billboard.Parent then return end
  local localChar = player.Character
  if not localChar or not localChar:FindFirstChild("HumanoidRootPart") then
   billboard.Enabled = false
   return
  end
  local targetHRP = character:FindFirstChild("HumanoidRootPart")
  if not targetHRP then
   billboard.Enabled = false
   return
  end
  local dist = (localChar.HumanoidRootPart.Position - targetHRP.Position).Magnitude
  if dist >= 1 and dist <= 150 then
   billboard.Enabled = true
   local scale = 1 - (dist - 1) / 149 * 0.5
   billboard.Size = UDim2.new(0, baseSize.X * scale, 0, baseSize.Y * scale)
   billboard.StudsOffset = Vector3.new(0, 5 * scale, 0)
  else
   billboard.Enabled = false
  end
 end)
end

local function onPlayerAdded(plr)
 if plr == player then return end
 plr.CharacterAdded:Connect(function(char)
  char:WaitForChild("Head", 5)
  createHealthGui(char)
 end)
 if plr.Character then
  createHealthGui(plr.Character)
 end
end

for _, plr in pairs(Players:GetPlayers()) do
 onPlayerAdded(plr)
end

Players.PlayerAdded:Connect(onPlayerAdded)

if player.Character then
 createHealthGui(player.Character)
end
player.CharacterAdded:Connect(function(char)
 char:WaitForChild("Head", 5)
 createHealthGui(char)
end)


				
			

Сontent continues after AD

What is Rogue Demon?

Game: Rogue Demon

Rogue Demon is an action-packed Roblox game inspired by the popular anime “Demon Slayer”. In this immersive experience, players can battle fierce opponents, master various breathing techniques, and rise through the ranks of demon slayers. This article highlights a powerful script tailored for Rogue Demon, designed to give you the upper hand with features such as ESP and HP tracking. With ESP, you can easily locate other players and enemies, while the HP functionality allows you to monitor health levels, making strategic decisions and surviving longer in intense battles.

Script doesn't work, what am I doing wrong?​

This is absolutely normal practice. Often game developers fix vulnerabilities so that scripts stop working. Either the author of the script changed the directory of the script or deleted it completely. Anything is possible 🙂

Subscribe
Notify of
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments