No, it doesn’t print
dfdffdafsfa
No, it doesn’t print
dfdffdafsfa
That means that the PlayerAdded event isn’t being fired because either the script is disabled or you have something cancelling it inside of that script
try this:
local Players = game:GetService("Players")
function PlayerAdded(player)
--player added code
end
for _, player in pairs(Players:GetPlayers()) do
PlayerAdded(player)
end
Players.PlayerAdded:Connect(PlayerAdded)
I just copied the code you sent me.
Did you put it in a script or a modulescript?
so I would need to add player.Character:WaitForChild(“Head”):Destroy() in the added event?
Normal script, like I said.
fdfsdfssf
Honestly I’ve no idea why it isn’t working, because I’ve tried it many times and it works.
Wow mr.puofz underneath me trying to snap a characters neck?
eh again how about this last try xD
game.Players.RespawnTime = .2
game.Players.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
repeat
wait()
Character.Head:FindFirstChild("Neck"):Destroy()
until
Character.Humanoid.Health <1
end)
end)```
I dont think on Roblox is a bodypart called “Neck”
Add a print before and after the head gets removed and send the output.
Try the script I sent you in serverscriptservice to:
game.Players.PlayerAdded:Connect(function(Player)
task.delay(20, function()
Player.Character.Head:Destroy()
end)
end)
Try this, I tested it and it worked for me.
(Script in ServerScriptService)
Also please respond to my message in the talent hub
game.Players.PlayerAdded:Connect(function(Player)
local Character = Player.Character or Player.CharacterAdded:Wait()
Player:LoadCharacter()
end)