Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

how Filterring Enabled breaking my gui?

Asked by 6 years ago
Edited 6 years ago

So, basicly ive been going thew that problem when I click on workspace and then make the filtering enabled on after that when I join the game is not working. and then when I turn it off it restarts working do you have any soluation for that???

wait() local button=script.Parent local animframe=button.Parent.Parent.Animations local on=false function action() if on then animframe:TweenPosition(UDim2.new(0,-150,0,15),"In","Quad",.5,true) on=false else animframe:TweenPosition(UDim2.new(0,-10,0,290),"Out","Quad",.5,true) on=true end end button.MouseButton1Down:connect(action)

heres the script

0
Well, when you turn on FilteringEnabled local script won't work. But i've had no problems with GUIs GamingOverlord756 48 — 6y
0
Post the script and we can help you out m8. Nikkulaos 229 — 6y
0
More information por favor TheGreatSailor 20 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

Simple solution: make sure the above script is in a localScript. In FilteringEnabled, scripts in the client won't run. You must use localScripts when dealing with a client in FilteringEnabled.

Ad

Answer this question