Hello,
The value of Degrees and DeltaRotation are constantly changing as this whole loop is in a renderstepped function.
for i = Character.Humanoid.WalkSpeed, 22, 0.5 do
if Degrees > 45 or DeltaRotation.magnitude >= 8 then
print("broken")
break
else
Character.Humanoid.WalkSpeed = i
end
end
However, when the Degrees and DeltaRotation meet the requirements of the if statement, the output does not print "broken". Instead the WalkSpeed increases.
I appreciate anyone willing to take the time to point me in the right direction in to why this loop may not be breaking.

1 comment
Where's the full script? I want to see where you defined the variables not just the if statements