Hi, I was trying to make a basic Drop Item script, Like dark souls.
Problem I am having is that when the NPC dies it clones the model but, the models position is where I don’t want it to be in.
I am trying to make it so that when NPC dies it gets HumanoidRootParts Location and clones it where ever HumanoidRootPart is.
script:
local rs = game:GetService("ReplicatedStorage")
local Humanoid = script.Parent.Humanoid
local HumanRoot = script.Parent.HumanoidRootPart
function ded()
local Venom = rs.Drops.Venomshank:Clone()
Venom.Parent = game.Workspace
end
Humanoid.Died:connect(ded)