This is a localscript inside the gui's frame
I'm currently using a script to make it so if ur on 19 and u go on the stage 20 part the frame for the skip stage buy button disappears but u need to reset for that to happend which people most likely wont since its the end, is there a way to make it so when they step on it, the frame disappears like instantly? what i mean is that u don't need to reset for it to disappear, and that it just disappears as soon as you touch the part.
Here's the script:
local plr = game.Players.LocalPlayer
local stats = plr:WaitForChild("leaderstats")
local value = tonumber(stats.Stage.Value)
if value == 20 then
script.Parent.Visible = false
end
if value >= 0 and value <= 19 then
script.Parent.Visible = true
end
Any help would be appreciated!
Have a good day! :)

2 comments
this changed nothing in my script, i want it to be instant like when u step on it, it disappears not that u need to reset for it to change. :(
hmm