How to go back to A10 after I go past it?

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!

How to go back to A10 after I go past it?

  1. What is the issue? Include screenshots / videos if possible!

How to go back to A10 after I go past it?

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?

I haven’t tried any solutions so far. I did look for solutions on the Developer Hub.

After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

-- This is an example Lua code block

script.Parent.Value.Changed:Connect(function()
	for scriptParent, scriptParent in next, game.Workspace.IntelliBoard:GetChildren() do
		if scriptParent:IsA('Part') then
			if scriptParent.Name == 'IntelliBoard' then
				if script.Parent.Value.Value == 0 then
					scriptParent.SurfaceGui.A1.Visible = true
					scriptParent.SurfaceGui.A2.Visible = false
				end

				if script.Parent.Value.Value == 1 then
					scriptParent.SurfaceGui.A1.Visible = false
					scriptParent.SurfaceGui.A2.Visible = true
					scriptParent.SurfaceGui.A3.Visible = false
				end

				if script.Parent.Value.Value == 2 then
					scriptParent.SurfaceGui.A2.Visible = false
					scriptParent.SurfaceGui.A3.Visible = true
					scriptParent.SurfaceGui.A4.Visible = false
				end

				if script.Parent.Value.Value == 3 then
					scriptParent.SurfaceGui.A3.Visible = false
					scriptParent.SurfaceGui.A4.Visible = true
					scriptParent.SurfaceGui.A5.Visible = false
				end

				if script.Parent.Value.Value == 4 then
					scriptParent.SurfaceGui.A4.Visible = false
					scriptParent.SurfaceGui.A5.Visible = true
					scriptParent.SurfaceGui.A6.Visible = false
				end

				if script.Parent.Value.Value == 5 then
					scriptParent.SurfaceGui.A5.Visible = false
					scriptParent.SurfaceGui.A6.Visible = true
					scriptParent.SurfaceGui.A7.Visible = false
				end

				if script.Parent.Value.Value == 6 then
					scriptParent.SurfaceGui.A6.Visible = false
					scriptParent.SurfaceGui.A7.Visible = true
					scriptParent.SurfaceGui.A8.Visible = false
				end

				if script.Parent.Value.Value == 7 then
					scriptParent.SurfaceGui.A7.Visible = false
					scriptParent.SurfaceGui.A8.Visible = true
					scriptParent.SurfaceGui.A9.Visible = false
				end

				if script.Parent.Value.Value == 8 then
					scriptParent.SurfaceGui.A8.Visible = false
					scriptParent.SurfaceGui.A9.Visible = true
					scriptParent.SurfaceGui.A10.Visible = false
				end

				if script.Parent.Value.Value == 9 then
					scriptParent.SurfaceGui.A9.Visible = false
					scriptParent.SurfaceGui.A10.Visible = true

				end

				if script.Parent.Value.Value == 10 then
					scriptParent.SurfaceGui.A24.Visible = true
					scriptParent.SurfaceGui.A25.Visible = false

				end

				if script.Parent.Value.Value == 11 then
					scriptParent.SurfaceGui.A24.Visible = false
					scriptParent.SurfaceGui.A25.Visible = true
					scriptParent.SurfaceGui.A26.Visible = false

				end

				if script.Parent.Value.Value == 12 then
					scriptParent.SurfaceGui.A25.Visible = false
					scriptParent.SurfaceGui.A26.Visible = true
					scriptParent.SurfaceGui.A27.Visible = false

				end

				if script.Parent.Value.Value == 13 then
					scriptParent.SurfaceGui.A26.Visible = false
					scriptParent.SurfaceGui.A27.Visible = true
					scriptParent.SurfaceGui.A28.Visible = false

				end

				if script.Parent.Value.Value == 14 then
					scriptParent.SurfaceGui.A27.Visible = false
					scriptParent.SurfaceGui.A28.Visible = true
					scriptParent.SurfaceGui.A29.Visible = false

				end

				if script.Parent.Value.Value == 15 then
					scriptParent.SurfaceGui.A28.Visible = false
					scriptParent.SurfaceGui.A29.Visible = true
					scriptParent.SurfaceGui.A30.Visible = false

				end

				if script.Parent.Value.Value == 16 then
					scriptParent.SurfaceGui.A29.Visible = false
					scriptParent.SurfaceGui.A30.Visible = true
					scriptParent.SurfaceGui.A36.Visible = false

				end

				if script.Parent.Value.Value == 17 then
					scriptParent.SurfaceGui.A30.Visible = false
					scriptParent.SurfaceGui.A36.Visible = true
					scriptParent.SurfaceGui.A31.Visible = false

				end

				if script.Parent.Value.Value == 18 then
					scriptParent.SurfaceGui.A36.Visible = false
					scriptParent.SurfaceGui.A31.Visible = true
					scriptParent.SurfaceGui.A32.Visible = false
				end

				if script.Parent.Value.Value == 19 then
					scriptParent.SurfaceGui.A31.Visible = false
					scriptParent.SurfaceGui.A32.Visible = true
					scriptParent.SurfaceGui.A33.Visible = false
				end

				if script.Parent.Value.Value == 20 then
					scriptParent.SurfaceGui.A32.Visible = false
					scriptParent.SurfaceGui.A33.Visible = true
					scriptParent.SurfaceGui.A34.Visible = false
				end

				if script.Parent.Value.Value == 21 then
					scriptParent.SurfaceGui.A33.Visible = false
					scriptParent.SurfaceGui.A34.Visible = true
					scriptParent.SurfaceGui.A35.Visible = false
				end

				if script.Parent.Value.Value == 22 then
					scriptParent.SurfaceGui.A34.Visible = false
					scriptParent.SurfaceGui.A35.Visible = true
				end

			end
		end
	end
end)

function onClicked(Player)
		script.Parent.Parent.Value.Value = script.Parent.Parent.Value.Value - 1
	end
script.Parent.ClickDetector.MouseClick:connect(onClicked)

Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.

Something doesn’t make sense. Variables are all over the place that are not fully comprehensible. What’s going on here? Any context?

1 Like

You should give us more details on what you’re trying to achieve.

1 Like

I’m scripting a slideshow and whenever I go past slide 10, I cant go back into any slides 10 and before.

You transfer A10 to A24. I’m not sure what does that A’s mean but maybe make the Value 10 part A11.

1 Like

I need A24 after A10. I need A24 after A10.

What is the point of A11? I can’t see that you’ve used that in a code.

1 Like

It’s to make sure that A11 isn’t visible.

Ah I get it. Do you get any errors?

1 Like

No nothing bugs comes up into the Output.

Can you print out the Value everytime you change the page?

1 Like