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!
I haven’t found any unless I have been searching the wrong things. If you find a link on YouTube or something, please tell me the link so I can go check it out.
I would suggest using RunService, to update the arrow CFrame every time that the player unlocks a new stage.
local RunService = game:GetService("RunService");
RunService.RenderStepped:Connect(function()
--> Here would be your code, to update the Arrow CFrame to the current Stage pad.
end)
and this is for changing it (Make this a local script and place it in the Button):
local plr = game.Players.LocalPlayer
script.Parent.MouseButton1Click:Connect(function()
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.
end
end)