I have a RemoteEvent that fires from the server and activates a tween on the client, however the tween is replicated to all other clients and the server. I fear that it may cause performance issues so I’m wondering why this is happening.
Code:
-- This code is inside a .OnClientEvent function
-- The RemoteEvent is fired by a ServerScript
for objectNumber, object in pairs(objects) do
local t = TS:Create(object,TweenInfo.new(duration),{Transparency = values[objectNumber]})
t:Play()
end
Yeah depending on where they are the server should have ownership though if they are in the radius of the player then it will change ownership. The only reason I could think of apart from this is that you are firing it to all clients.