Hello, i have really weird problem i decided to create health icon all working well but the icon in not on the right position. I find video on youtube which creates a health icon
Here’s this video:
Here’s my code
local Clip = script.Parent
local Player = game.Players.LocalPlayer
local Character = Player.Character
local Humanoid = Character:WaitForChild("Humanoid")
while wait() do
local CurrentHealth = Humanoid.Health / 100
Clip:TweenSize(UDim2.new(1, 0, -CurrentHealth, 0), "InOut", "Sine", 0.3)
end
My look: