char:GetAttributeChangedSignal("Blocking"):Connect(function()
Bar:TweenSize(UDim2.new(char:GetAttribute("Blocking")/100,0,1,0), Enum.EasingDirection.InOut,Enum.EasingStyle.Sine,.3)
ShakeModule.ShakeOnce(MainFrame,MainFrame,5,.2,0,.1)
MainFrame.Visible = true
if char:GetAttribute("Blocking") == 0 then
MainFrame.Visible = false
end
end)
how would i make the "ShakeModule.ShakeOnce()" line only apply if the Blocking attribute is larger than last AttributeChangedSignal