How to make selection Menu GUI?

Well my problem is that I don’t know how to make a selection menu with arrows, I do know in other ways, but it seems more beautiful this way.
Comisaria - Roblox Studio 16_04_2021 07_36_57 p. m. (2)
It’s hard to do it with arrows, I know, but I want it to look elegant this way.

Help me please :frowning:

local val=1
local maxval=999

–first thing
val-=1
if val <1 then
val=maxval
end
–second thing
val+=1
if val >maxval then
val=1
end

Couldn’t you just create 2 TextButtons that will change the text depending on what you have the other main text to be?

local Current = 1
local MaxLimit = 500

DecreaseValue.Button1Down:Connect(function()
    if Current > 1 then
        Current -= 1
        SelectionText.Text = tostring(Current)
    end
end)

IncreaseValue.Button1Down:Connect(function()
    if Current < MaxLimit then
        SelectionText.Text = tostring(Current)
    end
end)

Eh yes. But it could dataStore could only save the text, not the data of the script that makes it change for another

Well, you could create & save/load a Stage value using DataStores that way then? It shouldn’t be too difficult tbh

I know, I thought about it but, well … Okay.

yeah i think this could work, if you are trying to make a level system or a character customization.