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

Filtering Enabled Breaking my script gui???

Asked by 7 years ago
Edited 7 years ago

``don't tell me to turn off filtering enabled people exploit my game when I do it so this is the script to open the gui but when filter enabled is off it works when it's on it doesn't show up anymore

script:

01wait()
02local button=script.Parent
03local animframe=button.Parent.Parent.Animations
04local on=false
05function action()
06    if on then
07        animframe:TweenPosition(UDim2.new(0,-150,0,15),"In","Quad",.5,true)
08        on=false
09    else
10        animframe:TweenPosition(UDim2.new(0,-10,0,290),"Out","Quad",.5,true)
11        on=true
12    end
13end
14button.MouseButton1Down:connect(action)
0
Is this a local script or regular script? And where is this script located? GUI manipulation can only be done from a local script. Troidit 253 — 7y

1 answer

Log in to vote
0
Answered by 7 years ago

Some scripts do break when Filtering Enabled Is Actuvated. The script can also be moved to a new section of studio and modified. Which could fix the problem. May need to add more than just this script. I recommend you to try it out.

Ad

Answer this question