So im trying to make a sound’s PlaybackSpeed be based on how high/low the player’s mouse is (on the screen)
Like this, except the higher your mouse is, the higher the playback speed is (Item Asylum):
So i know how to make the client tell the server what their Mouse.Y is, but i dont know how to shorten the number/make it specific, as of now, if its too low, the mouse.Y is like 500 or something, if its really high, its like -30, Im not sure how to do this
since your issue is with high values, try dividing until you reach the desired average. for example, if the result from Mouse.Y ranges from 0 to 500, and i want PlaybackSpeed to be between 0 and 2, Iiuse the following code: