So I have a brick in my game that has some Touched Event code. The script is a server-side script and my game is FE. The problem comes when I change the velocity of the brick. What happens is the Touched Event takes longer to recognize that the character is there than when the character starts moving due to velocity. If I move the script to the client then would that help? Are there other ways to prioritize the Touched Event?
First try to add a
print("Some random text")
to the beginning of the event script, to see if Touched is really delayed. You can tell if the text has a delay displaying after you touched it, there is a problem. Otherwise, there is nothing wrong with the event, maybe the BodyVelocity doesn't activate immediately or there is something wrong with the script. Hope I helped!