Hey! I need some help with my Skript. I used the following Code :
But it's not working, as the pig does not move if the player presses W, A, S or D. That is because it has no AI. If I remove the "NoAI:1b" tag, the player can control the pig, but it also turns around by itself or moving by itself.
So here's what I want to accomplish with the script, but I don't know how :
The player should be able to sit on the pig, which neither moves nor turns by itself, and then he/she can use WASD to move the pig.
But it's not working, as the pig does not move if the player presses W, A, S or D. That is because it has no AI. If I remove the "NoAI:1b" tag, the player can control the pig, but it also turns around by itself or moving by itself.
So here's what I want to accomplish with the script, but I don't know how :
The player should be able to sit on the pig, which neither moves nor turns by itself, and then he/she can use WASD to move the pig.