I’ve been making my wall jump/wall flick game for a while, but I’ve ran into a issue, it takes way too much time to do the method I have in place for it. my stages are in a folder called stages and are named with a number co-responding to their appropriate stage.
This is how I have been sizing them as it takes to long to use properties
local wj = game.Workspace["Lava Wall Jump"]
print(wj.kp1.Size)
wj.kp1.Size = wj.kp1.Size+Vector3.new(0,0,0.1)
wj.kp2.Size = wj.kp2.Size+Vector3.new(0,0,0.2)
wj.kp3.Size = wj.kp3.Size+Vector3.new(0,0,0.3)
wj.kp4.Size = wj.kp4.Size+Vector3.new(0,0,0.4)
wj.kp5.Size = wj.kp5.Size+Vector3.new(0,0,0.5)
wj.kp6.Size = wj.kp6.Size+Vector3.new(0,0,0.6)
wj.kp7.Size = wj.kp7.Size+Vector3.new(0,0,0.7)
wj.kp8.Size = wj.kp8.Size+Vector3.new(0,0,0.8)
wj.kp9.Size = wj.kp9.Size+Vector3.new(0,0,0.9)
wj.kp10.Size = wj.kp10.Size+Vector3.new(0,0,1)
wj.kp11.Size = wj.kp11.Size+Vector3.new(0,0,1.1)
wj.kp12.Size = wj.kp12.Size+Vector3.new(0,0,1.2)
wj.kp13.Size = wj.kp13.Size+Vector3.new(0,0,1.3)
wj.kp14.Size = wj.kp14.Size+Vector3.new(0,0,1.4)
wj.kp15.Size = wj.kp15.Size+Vector3.new(0,0,1.5)
wj.kp16.Size = wj.kp16.Size+Vector3.new(0,0,1.6)
wj.kp17.Size = wj.kp17.Size+Vector3.new(0,0,1.7)
wj.kp18.Size = wj.kp18.Size+Vector3.new(0,0,1.8)
wj.kp19.Size = wj.kp19.Size+Vector3.new(0,0,1.9)
wj.kp20.Size = wj.kp20.Size+Vector3.new(0,0,2)
wj.kp21.Size = wj.kp21.Size+Vector3.new(0,0,2.1)
wj.kp22.Size = wj.kp22.Size+Vector3.new(0,0,2.2)
wj.kp23.Size = wj.kp23.Size+Vector3.new(0,0,2.3)
wj.kp24.Size = wj.kp24.Size+Vector3.new(0,0,2.4)
wj.kp25.Size = wj.kp25.Size+Vector3.new(0,0,2.5)
wj.kp26.Size = wj.kp26.Size+Vector3.new(0,0,2.6)
wj.kp27.Size = wj.kp27.Size+Vector3.new(0,0,2.7)
wj.kp28.Size = wj.kp28.Size+Vector3.new(0,0,2.8)
wj.kp29.Size = wj.kp29.Size+Vector3.new(0,0,2.9)
wj.kp30.Size = wj.kp30.Size+Vector3.new(0,0,3)
wj.kp31.Size = wj.kp31.Size+Vector3.new(0,0,3.1)
wj.kp32.Size = wj.kp32.Size+Vector3.new(0,0,3.2)
individually naming and writing more code to corespond with each new stage I add is becoming a painstakingly slow process, does anyone know how I can possibly automate this?