✓ Accepted answer
the reason why this happened is the same reason why when you touch a brick on a touch event with a print('random text') it will print it multiple times because your constantly on it. however if we add some debouncers and if statments (which will stop the code from running more than you need it to) then youll be able to control the monstrosity.
local inFrame = true
function tweentransformation()
end
script.Parent.MouseEnter:connect(function()
if inFrame then
inFrame = false
print("1")
tweentransformation()
script.Parent.MouseLeave:connect(function()
if not inFrame then
print("2")
inFrame = true
end
end)
end
end)
1 comment
Ah, I didn't know this. I can see how that would be annoying. This must be a bug. I don't see an easy solution.