I am currently working on a DCO (difficulty chart obby) game and I have run into some trouble with the screen GUIs. I want arrows that will bring you back and forth throughout the stages you have unlocked.
The number in the middle represents the stage that you are on and the arrows are both individual image buttons. I have a model in workspace called “Checkpoints” with all the checkpoints from 1-End.
This is what I have so far and I don’t have really have a solid idea of how to do this. Please give me suggestions on how I might be able to achieve this. I was thinking of doing tons of “if” statements but that would take years to set up. I want to find an easier way.
2 Likes
What part specifically are you having trouble with? The stage changer or how to get it to change numbers?
I am having trouble with just getting to the stage behind/infront of you when you click the arrows.
Also I don’t know how I would change the number in the middle without it bugging out.
local rightArrow = script.Parent
rightArrow.MouseButton1Click:Connect(function()
game:GetService("Players").LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(Vector3.new(1, 1, 1))) -- Get a dummy from Toolbox, put it to where you wanna teleport them, go into its HumanoidRootPart, filter its properties by position, copy the position and paste it into the brackets. Do this until all your checkpoints are done.
end)