here is my code:
local healthbar = script.Parent.Healthbar
game:GetService(“RunService”).RenderStepped:Connect(function()
local humanoid = workspace:FindFirstChild(“0peMs”).Humanoid
healthbar.Size = UDim2.new(humanoid.Health/humanoid.MaxHealth,0,0.037,0)
script.Parent.TextLabel.Text = math.floor(humanoid.Health)…"/"…humanoid.MaxHealth
end)
the healthbar goes off the screen on the right, anyone know how to fix