Hello I just want make when value is 55 the size of frame will smaller and when 100 it's be back again Here is my script
script.Parent.OxygenValue:GetPropertyChangedSignal("Value"):Connect(function()
local Change = UDim2.new(script.Parent.OxygenValue.Value/100*0,0,0.32)
script.Parent.GreenOxygen:TweenSize(Change)
end)
Results: https://www.dropbox.com/s/evk3bid060f75tq/pVIcke3QRn.mp4?dl=0 I want like in this video: https://www.youtube.com/watch?v=cYPB3BX_p6Q&t=4s

4 comments
Use the lua button instead of the
. Your code looks messy if you don't use it.stp and better help me
I'm trying to help you so that people may understand your code. Since I can't understand since you used
, it looks messy. Here's how to post good questions: https://scriptinghelpers.org/help/how-post-good-questions-answersClosing this question due to your attitude towards people who are attempting to help. Consider it a warning before I suspend your account.