Hey all! I’m trying to make a script in a tool that will detect if the part is resized, and when it’s resized it’ll get deleted.
local tool = script.Parent
while true do
wait (1)
print ("Checking for resize...")
tool.blade.Changed:Connect(function()
print("Resized!")
script.Parent:Destroy()
print("Resize detected")
end)
end
This is what I have so far, except the problem is that it’ll delete the part when I pull it out, is it possible for it to only delete the tool if a property is changed? I tried replacing changed with GetPropertyChangedSignal but then it won’t even print, I am very lost.
Any help would be appreciated!