For some reason the int Value "Hit" will not go up by one at all when "movenumber" gets to a certain position.
Help!
local movenumber = script.Parent
local Hit = script.Parent.MillisecondsOnesPlaceHitValue
while true do
wait(0.01)
movenumber.Position = UDim2.new(0,0,0,0)
wait(0.01)
movenumber.Position = UDim2.new(0,-16,0,0)
wait(0.01)
movenumber.Position = UDim2.new(0,-33,0,0)
wait(0.01)
movenumber.Position = UDim2.new(0,-50,0,0)
wait(0.01)
movenumber.Position = UDim2.new(0,-66,0,0)
wait(0.01)
movenumber.Position = UDim2.new(0,-82,0,0)
wait(0.01)
movenumber.Position = UDim2.new(0,-99,0,0)
wait(0.01)
movenumber.Position = UDim2.new(0,-116,0,0)
wait(0.01)
movenumber.Position = UDim2.new(0,-132,0,0)
wait(0.01)
movenumber.Position = UDim2.new(0,-148,0,0)
wait(0.001)
movenumber.Position = UDim2.new(0,-160,0,0)
end
if movenumber.Position == UDim2.new(0,-160,0,0)
then Hit.Value = Hit.Value + 1
end --this is not triggering, why exacty is it not triggering is my question?

2 comments
Do you want a gui to move? Or just a value to add by one every time?
to add by one every time.