Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to make a script that goes "if part.Size is Higher than its original size, then print("Text")"?

I tried several ways and even researching, and I couldn't find the solution. Is there anyway to make that type of script?

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.