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

I Cannot tween with filtering enabled, help?

debounce = false

script.Parent.MouseButton1Click:connect(function()
	if debounce == false then
		
	script.Parent.Parent:TweenPosition(UDim2.new(0.25, 0, 0.80, 0), "Out", "Quint", 1)
	wait(1)
	 debounce = true
	elseif debounce == true then
	
	script.Parent.Parent:TweenPosition(UDim2.new(0.25, 0, 0.9, 0), "Out", "Quint", 1)
	wait(1)
	 debounce = false
	
	end
end)

Hi! So i have been having trouble with Tweening today, I was making my game to a "Filtering Enabled" game. The only thing that did not work after that was the tweening. Any idea why it won't work?

Please help!

//0skarian

3 comments

0

is it a localscript?

0

nope

0

LocalScripts should be used in anything under the Player module. Otherwise, it should be a ServerScript.

1 answer

Looking at the comments, this is not in a LocalScript. With Filtering Enabled on, Scripts do not work in GUIs. You need to convert it to a LocalScript.

This discussion is preserved as it was. New answers, comments, and votes are closed.