Audio Plays every each rotation by 5 degree+
This script will play a sound when the Engine in Workspace is detected to play sounds, The sounds should only be played every time when the part rotate 5 degree each time. However, it plays at 5 Degress and 0 only.
What effective way am i forgetting?
isAEngine = game.Workspace.Engine while wait() do if isAEngine.Orientation.X >5 then script.Parent.pitch_trim:Play() end if isAEngine.Orientation.X <5 then script.Parent.pitch_trim:Play() end end