I am making myself a Difficulty Chart Obby and I have faced an issue. I want arrows at the top of the screen to go back and forth throughout the stages you already unlocked. This may be helpful for you to know but I have a model in workspace holding all the checkpoints named by number (1, 2, 3, etc.). I have a slight understanding of how it might work but I don’t know how to script it. I am new to scripting and Roblox itself. I started in 2020!
and this is for changing it (Make this a local script and place it in the Button):
local plr = game.Players.LocalPlayer
if plr:FindFirstChild("StageSelect").Value <= plr:FindFirstChild("Stages").Value then
plr.StageSelect.Value = plr.StageSelect.Value + 1 --you can also do minus if its the backwards button.