How can i prevent exploiter from affecting the wind turbines?

Basically, as the following video, just by modifying the hinge, the exploiter can eventually make the wind turbine behave like it wasnt meant to be here. How can i fix it?

i may be wrong but could this be a network ownership problem? that the player gets network ownership over it and is able to change it. if thats the case, you can make the wind turbines spin on client side only

or just have network ownership of turbine to server

i attempted making a script to rotate them but all of them were turning weirdly so my last solution was to use a hinge constraint but yes its exactly a network ownership issue that client take when gettings near.

You could manually set the network owner to nil (server), or make a loop to change the speed from the desired one to desired + 1 and back

add tags to the turbines, make a script, use collection service, set network owner to server for the turbines (this keeps them server sided like they are now, but you can also make them client sided for each player if you want, if you dont want to use network ownership)

i attempted to use a script with collection service, it was glitchy so its the reason i migrated to hinges.

but the script im suggesting you do is only to set the network ownership for the turbines

so this doesnt change any way the turbine works, but only aims to change the network owner to nil

I like the idea personally of giving the turbines to each client so if one is affected it wont be replicated in the server.

you could do that
if i think about it, you could even still using collection service again in a local script, and add the hinges client sided (so on server side they dont have any hinges)

You can set the network owner of the windmills to nil, and that will set the network owner of the windmill to the server, which will prevent exploiters from being able to affect them. But, a better solution would be to rotate them on the client, by changing their rotation with CFrames.

Actually, i got a solution which is keeping the hinge and make the server putting the wind in replicatedstorage, then the client going to take the wind in replicatedstorage to put them in workspace. By that the wind are owned by the client and are not reproducted in the server without any error.

Set network ownership to nil so that the server handles physics. Your solution also works, making the thing local isn’t a bad idea, and it saves up some performances on the server’s end!

You need to understand how this exploit works, which means understand how roblox handles physics computation (aka network ownership)