local buttonPressed = false
script.Parent.Touched:connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") and not buttonPressed then
buttonPressed = true
for i = 16.3, 15.9, -0.01 do
script.Parent.Position = Vector3.new(3.5,i,10)
end
script.Parent.BrickColor = BrickColor.new("Really red")
buttonPressed = false
end
end)
I want to make a block go from 16.3 to 15.9 in the Y axis, and instead of going down it goes up. Can't understand why.

1 comment
jJst make '-0.01' to '0.01'?