Help on making a frame change colors from green to red based on a %

So I’m trying to make a frame tween from green to red for a backpack system but am not sure on how to accomplish this, any help is appreciated

https://developer.roblox.com/en-us/api-reference/class/TweenService

you can tween Color3, see the article which will help with explaining how to setup a tween, then when you setup the tween data, you specify the object’s property you want to modify

Thats not what im looking for though, im looking for a gui that can change from green to red based on a %, by tweening it u cant specify a % of the tween it needs to go

Try using this

Basically you can make the math go off whatever your backpack system uses instead of health

1 Like