how do i make gore that will weld to the player’s head as soon as they die?
im confused on how to do this currently…
i dont know any solutions either!
i have a gibs folder in replicatedstorage and dont know what to do now… all of my gore models are ready but still have no idea on how to replicate it
You can use Humanoid.Died to detect when the hum dies and then weld the gore. Now as to do this on the server or client, it’s up to you. I’m going to do this on the client for simplicity
local char = game.Players.LocalPlayer.Character
local gore = — Path to gore here
char.Humanoid.Died:Connect(function()
local head = char:FindFirstChild(“Head”)
local weld = Instance.new(“WeldConstraint”)
weld.Part0 = head
weld.Part1 = gore
weld.Parent = head
end)
Expected BasePart got Model for WeldConstraint.Part1. - Client - LocalScript:7
local char = game.Players.LocalPlayer.Character
local gore = game.Workspace.gore4
char.Humanoid.Died:Connect(function()
local head = char:FindFirstChild("Head")
local weld = Instance.new("WeldConstraint")
weld.Part0 = head
weld.Part1 = gore
weld.Parent = head
end)
Create a part that is a invisible head, weldconstraint the gore pieces to the head invisible, then create that as a model, make sure the entire head and gore pieces are unanchored, then simply weld that head to the players head.
The gore is not a part then. Welds cannot attach models. Select the main part in the gore model and make it the “Primary Part”. Then replace the part 1 line with this