Help with scripting (air)blob

I’ve been messing around with my spaghetti code and can’t seem to get it to work. What I want to achieve is to recreate the blob (like in this video), where when a person jumps on, any other person that has jumped on gets launched at an angle based off of some reference part and a power based on how close the person launching the others is to the X(weight is same thing). Unfortunately, I’ve only got the weight to somewhat work and even then it still has inconsistent results of distance even from the same spot. I would like to know how I should go about scripting this to happen. Also, if I haven’t mentioned already, the closer you are to x, the more powerful the launch.
If you want video reference of what I am trying to achieve here’s the video: Blob, sweet blob! - Wipeout - YouTube
For proof of concept, I made this game (the game is uncopylocked so you can check the code). Also, to drop the weight, just click it. (The things that don’t work are consistent launches and 2 player launches) Building and Stuff - Roblox

1 Like