Hello, I recently had this problem occurring: the game is supposed to drop the hat (which you can pick up) when you die by cloning it from server storage and pasting it in the workspace within the player’s position head. Meanwhile, when you die, collisions reset and it falls through the floor.
I tried to enable collisions after death but it didn’t seem to work. I also anchored the crown, and after death for some reason, you weren’t able to pick it up.
Here is the code (in starter character scripts) which is used to drop the hat on death.
local hat = game.ServerStorage.Crwn local character = script.Parent local humanoid = character:FindFirstChild("Humanoid") local player = game.Players:GetPlayerFromCharacter(character) humanoid.Died:Connect(function() if character:FindFirstChild("Crwn") then local clone = hat:Clone() clone.Parent = workspace clone:FindFirstChild("Handle").CFrame = character.Head.CFrame clone.CFrame = character.Head.CFrame end end)
Thanks for helping me out!