I have a RemoteEvent firing (from a local script) when the player chats ":pc 5" and a script in ServerScriptService that when the event is fired, Clones the union into the player (their character) who chatted ":pc 5", but the issue is that the union is still local. Does anyone know how to fix this? Server in ServerScriptService:
game.ReplicatedStorage.Circles.Make.OnServerEvent:connect(function(player,number) print(player) print(number) if game.Workspace[player.Name]:FindFirstChild("5") then game.Workspace[player.Name]:FindFirstChild("5"):Destroy() end--.Parent = game.Players[player.Name].Backpack.Circles end if game.Workspace[player.Name]:FindFirstChild("6") then game.Workspace[player.Name]:FindFirstChild("6"):Destroy() end--.Parent = game.Players[player.Name].Backpack.Circles end if game.Workspace[player.Name]:FindFirstChild("7") then game.Workspace[player.Name]:FindFirstChild("7"):Destroy() end--.Parent = game.Players[player.Name].Backpack.Circles end if game.Workspace[player.Name]:FindFirstChild("8") then game.Workspace[player.Name]:FindFirstChild("8"):Destroy() end--.Parent = game.Players[player.Name].Backpack.Circles end if game.Workspace[player.Name]:FindFirstChild("9") then game.Workspace[player.Name]:FindFirstChild("9"):Destroy() end--.Parent = game.Players[player.Name].Backpack.Circles end if game.Workspace[player.Name]:FindFirstChild("10") then game.Workspace[player.Name]:FindFirstChild("10"):Destroy() end--.Parent = game.Players[player.Name].Backpack.Circles end if game.Workspace[player.Name]:FindFirstChild("11") then game.Workspace[player.Name]:FindFirstChild("11"):Destroy() end--.Parent = game.Players[player.Name].Backpack.Circles end if game.Workspace[player.Name]:FindFirstChild("12") then game.Workspace[player.Name]:FindFirstChild("12"):Destroy() end--.Parent = game.Players[player.Name].Backpack.Circles end if game.Workspace[player.Name]:FindFirstChild("13") then game.Workspace[player.Name]:FindFirstChild("13"):Destroy() end--.Parent = game.Players[player.Name].Backpack.Circles end if game.Workspace[player.Name]:FindFirstChild("14") then game.Workspace[player.Name]:FindFirstChild("14"):Destroy() end--.Parent = game.Players[player.Name].Backpack.Circles end if game.Workspace[player.Name]:FindFirstChild("15") then game.Workspace[player.Name]:FindFirstChild("15"):Destroy() end--.Parent = game.Players[player.Name].Backpack.Circles end wait() local clone = game.ServerStorage.Circles[number]:Clone() clone.Parent = game.Workspace[player.Name] if (player.Name) == "keegaroo65" then clone.BrickColor = BrickColor.new("Lapis") end end)