So I have a server and a local script both setting a part to trail behind the player. If I disable the server script, the part updates much smoother. But this also means that other players can’t see the part being moved. Is there a way to make the player only see the effects of a local script?
server:
game:GetService("RunService").Stepped:Connect(function()
local goal = Vector3.new(math.floor(script.Parent.Parent.PrimaryPart.Position.X),0.5,math.floor(script.Parent.Parent.PrimaryPart.Position.Z))
puddle.Position = puddle.Position:Lerp(goal,trailAlpha)
end)
You would have to create the part on the server & then give the player NetworkOwnership over the part, then when you move it in the local script it should replicate to other players