I want to attach a bullet to the player’s left arm like this:
So i looks like the player’s holding the bullet.
But i do not know how, can anyone give me a code example?
I want to attach a bullet to the player’s left arm like this:
So i looks like the player’s holding the bullet.
But i do not know how, can anyone give me a code example?
parent the bullet to the charactesr arm
Get moon animator plugin
SET WELD PART0 TO NIL
PARENT WELD TO BULLET
DONT WELD THE BULLET TO THE HANDLE
INSIDE SCRIPT!
local plr = script.Parent.Parent.Parent
local char = plr.Character or plr.CharacterAdded:Wait()
local tool = script.Parent
tool.Equipped:Connect(function()
tool.Bullet.Weld.Part0 = char["Left Arm"]
end)
tool.Unequipped:Connect(function()
tool.Bullet.Weld.Part0 = nil
end)
oopsies i didnt realise it was eft arm BUT IT STILL WORKS!!