How do i make my Car AI Steer or throttle If a humanoid npc rotates or moves?

  1. I wanna achieve on how to detect if a npc rotation, position is changed and then replicated to the car seat Throttle,Steer.

2.The Issue is, i don’t know HOW to make a script if it detects a position or a rotation is moved and later on replicates to the car with it using, Seat.Throttle and Seat.Steer _.

3.I’ve looked for other topics that had to do with my problem but i can’t find it.

Heres what can help me:
Detecting if npc rotates, if rotates then rotate a little for a nanosecond, and the movement, the movement is like this if the NPC is walking then the car seats throttle is set to one. when it stops walking, it is set to 0.

Maybe try looking at this topic I made earlier and change a few values, hopefully it helps.

How to make something depend on another - Help and Feedback / Scripting Support - DevForum | Roblox

1 Like

Yeah but mine has to do with rotation and movement, i just need a script if a npc rotates or moves.

1 Like