This is my script and what it does it moves the rudder and elevator I have on my plane. now the problem is this is in a local script and I want it to work for everyone not just the local player. The Rudder and Elevator value update every second and they are big numbers(depending on where the mouse is on the screen). Instead of having a million remote events can I transfer the current Rudder value(updates every second or less) trough one remotevent and then a normal script reads the value and sets it on the motor 6D. Is this even possible? If not any other way to do this?
while true do wait()
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
local Elevatorcenter = 273
local Elevator = (mouse.Y - Elevatorcenter) / 1236
local Ruddercenter = 454
local Rudder = (mouse.X - Ruddercenter) / 1816
game.Workspace.a2.Motor.DesiredAngle = Rudder
game.Workspace.a.Motor.DesiredAngle = Elevator
end
Just as a small correction here, remote events fired from the client automagically send the player as the first argument. This should be taken into consideration on the server script.