Hello,
I need some help. I am ok with FE but this one is a little tricky for me.
local debounce = false script.Parent.MouseButton1Down:connect(function() if debounce == false then pcall(function() debounce = true script.Parent.Parent:TweenPosition(UDim2.new(1, 5, 0, script.Parent.Parent.Position.Y.Offset), "Out", "Linear", 0.4) wait(0.5) end) end end) while wait() do if debounce == false and script.Parent.Parent.GoAway.Value == true then debounce = true script.Parent.Parent:TweenPosition(UDim2.new(1, 5, 0, script.Parent.Parent.Position.Y.Offset), "Out", "Linear", 0.4) end end
How would I make this script work with FE?
Thank you,
Anthony
uh you forgot to make the debounce true again, also this will work with FE no matter what and the pcall is useless
You need to make debounce false again at the end of the script and make the script local.