Answered by
5 years ago Edited 5 years ago
No you do not have a simple script ready for i have made a few months ago!
03 | local Player = game:GetService 'Players' .LocalPlayer |
04 | local Character = Player.Character or Player.CharacterAdded:wait() |
05 | local Human = Character:WaitForChild( "Humanoid" ) |
07 | local HealthFrame = script.Parent |
09 | Human.HealthChanged:connect( function (Health) |
10 | HealthFrame.Size = UDim 2. new(Health/Human.MaxHealth, 0 , 1 , 0 ) |
make a frame in your GUI and call it Background make the color red
and then
make a Frame called Positive Then inside it put a local script with the script above
also can you show your attempted script maybe more people will help you with it to understand what you are attempting