Player not showing up on other players screen

Im making a system when the player dies it creates a clone so that death effects can be played on

Character.Archivable = true
local CloneNPC = Character:Clone()
CloneNPC.Parent = workspace.World.Live.NPCS.Deactivated
task.wait()
Character.Archivable = false
Character.PrimaryPart.CFrame = Character.PrimaryPart.CFrame * CFrame.new(0, 100,0)

When the effect has finished playing it teleports the player back

local spawns = workspace.World.Map.K_Town.Spawns:GetChildren()
local spawnLocation = spawns[math.random(1, #spawns)]
local FF = Instance.new("ForceField", Character)
FF.Parent =Character
Debris:AddItem(FF, 3)
Character.PrimaryPart.CFrame = spawnLocation.CFrame*CFrame.new(0,5,0)
Character.PrimaryPart.Anchored = false

2 Likes

Are these code snippets from a server script or a LocalScript?

2 Likes