I made this dead script thingy it works fine besides it wont put the clone in workspace...
Character = script.Parent
Dead = game.Lighting.Dead
Humanoid = Character.Humanoid
function OnDeath()
wait(0.5)
game.lighting.Dead:Clone()
Dead.Parent = game.Workspace
game.Workspace.Dead.HumanoidRootPart.Position = Character.HumanoidRootPart.Position
Dead.Parent = game.Workspace
end
Humanoid.Died:connect(OnDeath)

3 comments
Is this a local or server script?
Where is the script located?
server script and its in startercharacterscripts