RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"Replicate any instances on the client to the server using a remote event"
-- server script local ReplicateEvent = Instance.new("RemoteEvent") ReplicateEvent.Name = "ReplicateEvent" ReplicateEvent.Parent = game.ReplicatedStorage local function replicate(instance) ReplicateEvent:FireAllClients(instance) end game.Workspace.DescendantAdded:Connect(replicate) -- client script local ReplicateEvent = game.ReplicatedStorage.ReplicateEvent local function replicate(instance) instance:Clone() end ReplicateEvent.OnClientEvent:Connect(replicate)