So, I'm currently trying to script my own custom Health GUI so that when the player gets damaged, the frame's width gets subtracted by 1. Here's the code I'm using for the GUI.
local sp = script.Parent
local health = game.Players.humanoid.health
local gooey = game.StarterGui.Frame.Size
if sp.health == math(100, -1) then
gooey.math(-12, -1)
end
Is this the correct method to use for this kind of situation? Or should I try doing this differently?
