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 6 years ago
Edited 6 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:

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)



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 — 6y

1 answer

Log in to vote
0
Answered by 6 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