rs = game:GetService("ReplicatedStorage")
ss = game:GetService("ServerStorage")
rs.US.OnServerEvent:Connect(function(player, teamColor)
local rogue = game.Workspace:WaitForChild("Rogue")
local NewChar = player.Character
local humanoid = character:WaitForChild("Humanoid")
humanoid.health = 0
local Pos = player.Character:GetPrimaryPartCFrame()
local Ragdoll = script.RagdollR15:Clone()
Ragdoll.Parent = NewChar
Ragdoll.Activate.Value = true
player:LoadCharacter()
player.TeamColor = teamColor
NewChar:SetPrimaryPartCFrame(Pos)
end)
ok so this is the script

2 comments
Capitalize the H in health on line 8. And get the pos before they die.
it worked :) tanx