Hello, i’m 3bxw and i have a fantastic problem. I am currently got multiple motors on a jetway which works but the problem here is that i’ve gone right through my code and i’ve hit the ‘left’ button and it goes right. Although the code is produced to go to the left and not the right. This issue worked before i programmed all the problems, until i’ve reached this error.
I have looked through some videos and i have red my code over and over to confirm that it is the right one, which it is.
Here’s a few link to whats going on.
In run mode, i change the values and that is fine although the button does not? it’s all coded to run proper and the player parameter for each onServerEvent function was needed ‘to do so’.
You might be editing the wrong script, add print(Bridge.DesiredAngle) in the CabLeft event, and see what it prints, if it prints the correct number, then you might be rotating the wrong motor, if it doesn’t print anything then you are not even firing the event.
In the output, it seems to print the number from the same exact line, either the Right button fires both events for left and right, or the Left button fires the same event for left and right.
Check the client sided scripts in your GUI, the buttons fire wrong events.
Ah yes i have just noticed Lol. Thanks i need to re-read all my code lol. thanks for the help man. Appreciate that. i had it set to CabinRight on the left button.