Can People Cheat when i set the Train Network Owner Ship to the Player and they change the Train to a different spot. When yes how could i prevent them to do it?
Or when a Server Script is inside a Vehicle what Server Owner Ship is set to the Player is the Server Script inside the Train save?
Yes they can. If you are giving network ownership to a player, the player has full control to it. they can even make it fling all players, and sadly the only solution is to NOT give the player ownership access unless you care more abt smoothness than security.
I assume your train is going on rails, so i would send a client tween on every rail and finish the tween on the end of the rail and continue with another one.
Or if you want to automatically make it smooth, id use a velocity object.
Use events and make the train network ownership to nil then
with events when players sits (im asumming to control to train) it makes a LinearVelocity on the server.
or just when someone sat on the seat it starts if you want it automatic.
Im already have LinearVecolity in my Train but thats lagging when i dont set the Server Owner Ship but when i set the Server Owner Ship the Player can cheat the Train out of the Rails and make the speed 300 so make what he wants so i wanted to know how can i do it without Owner Ship or is Owner Ship safe?