The title explains it all.
This script seems to be correct.
All both (script.Parent.Parent.Money.Value) & (script.Parent.Parent.Storage.Value) are IntValues!
script.Parent.Parent.Money.Changed:Connect(function() print("yolo") if script.Parent.Parent.Money.Value > script.Parent.Parent.Storage.Value then print("yolo2") script.Parent.Parent.Money.Value = script.Parent.Parent.Storage.Value print("yolo3") end end)
Any help would be appreciated!