I tried several ways and even researching, and I couldn't find the solution. Is there anyway to make that type of script?
COMMUNITY QUESTION
How to make a script that goes "if part.Size is Higher than its original size, then print("Text")"?
1 answer
--Part refers to your part, just swap it out with whatever you want
local oldSize = Part.Size
Part:GetPropertyChangedSignal("Size"):Connect(function()
if Part.Size > oldSize then
oldSize = Part.Size
print("Text")
end
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
