I’m trying to make a script that lets the player hop over an object, I’m wondering why it wasn’t working, then I figured out that the character’s body parts were interfering with the process.
script:
function rayTouched(hit)
print(hit)
if hit.Name == "JumpPart" then
root.AssemblyLinearVelocity *= Vector3.new(0, 10, 0)
print("hopped")
end
end