command /pyrka: trigger: if {krecenie::%player%} is false: set {krecenie::%player%} to true while {krecenie::%player%} is true: set {_x} to x-coordinate of player set {_y} to y-coordinate of player set {_z} to z-coordinate of player set {_world} to world of player set {_yaw} to yaw of player if {_yaw} < 360: add 1 to {_yaw} teleport player to location({_x}, {_y}, {_z}, {_world}, {_yaw}) else: add 1 to {_yaw} remove 360 from {_yaw} teleport player to location({_x}, {_y}, {_z}, {_world}, {_yaw}) wait 1 tick else: set {krecenie::%player%} to false