now I’m not sure about moves[_-(v+1)]
isnt _=10 and v=10? so this would be moves[-1] on the first try? idk why it’s printing a color
v is the value of 10
v = 4
_ = 10
move[10-5]
= move[5] = the color3
Color3.new(1, 0, 0)
would be red. There’s really no need to be constructing Color3 values with decimal arguments like 0.215686
, round values to the nearest tenth for better readability.
_ is also 10, so wouldnt _-(v+1) be 10-(10+1)?
v = 4
_ = 10
move[10-5]
= move[5] = the color3
the [5] is now around (0.2, 0.1, 1) is it still setting it to black?
Just so you’re aware “_” is typically used in iterations to indicate that it won’t be used. As you’re referencing it within the loop consider renaming it to “i” or “index”.
ye I had a different Idea for the function and got lazy and didn’t change it
if I say
part = Color3.new(colour) its black
part = colour - nothing happens
right now, the Color3 is blue-ish
maybe the part is already blue-ish, so it doesnt show changes?
I’ll just look for a solution on my own, I think you’ve helped enough at this point. I don’t want to be a pain.