local simtime = {current = Player:get_simulation_time(), previous = Player:get_simulation_time(), difference = 0}
local flick_data={bool=false, ticks=0}
flick()
cmd.force_defensive=true
simtime.current = Player:get_simulation_time()
simtime.difference = simtime.current - simtime.previous
if simtime.difference < 0 then
flick_data.bool = true
end
if flick_data.bool then
if flick_data.ticks < 3 then
flick_data.ticks = flick_data.ticks + 1
else
flick_data.bool = false
flick_data.ticks = 0
end
flick_yaw = 90
end
simtime.previous = simtime.current
end