I want to fix a bug in my script.
My code charge the player when he enters / opens a toll gate at first attempt but when it comes to the second, third, and more toll gate it does not charge the player anymore.
What I want is to charge the player every time he enters a new toll gate (first, second, third, etc...). Only the charging of player is my problem not the automatic opening of the toll gate.
Here's my video of what I did:
Here's my snippet source code of the script:
https://pastebin.com/0rJd5FxA
My code charge the player when he enters / opens a toll gate at first attempt but when it comes to the second, third, and more toll gate it does not charge the player anymore.
What I want is to charge the player every time he enters a new toll gate (first, second, third, etc...). Only the charging of player is my problem not the automatic opening of the toll gate.
Here's my video of what I did:
Here's my snippet source code of the script:
https://pastebin.com/0rJd5FxA