Log in to vote

(FIXED) Anyway to calculate velocity before impact?

Asked by 2 days ago

Sorry about the request post, I didn't get the rules clear.

So, as you already know from my last post, I'm trying to play a sound when an object is hit hard. This is my code sample, and it didn't work.

local soundvel = 10

if script.Parent.Velocity.Magnitude >= soundvel then

I tried a sample from my first post, so that's why they look the same.

Answer this question