Is Network Owner Ship safe?

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?

1 Like

why would you give network ownership over a player with a train at the first place?

1 Like

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.

Because the Train is lagging if i would not give it to them i tested it and with Network Ownership its not lagging

Okay and then how could i make the Train not lagging

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.

1 Like

Im using LinearVecolity to move the Train how could i do that with that

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.

I dont use the new bodymovers (i hate them) but you can look on how to make them here

1 Like

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?