I’ve been programming this ragdoll thingy but, there is a giant roadblock.
it uses a custom character, but works just fine with a regular one
using tool.Activated and tool.Equipped doesnt work, i put prints and they didint print into the output
it is a ragdoll avatar, and uses constraints to be animated
without the startercharacter
1 Like
one is using R6 and one is using R15
i changed it to r6, and still didint work
1 Like
also, it uses a custom tool grip system that whenever a tool is equipped it automatically pivots it to the right arm, because if i use the built in one for the custom avatar it doesnt pivot it
(this code is a server script btw)
character.ChildRemoved:Connect(function(child)
if child:IsA("Tool") then
if character:FindFirstChild("Right Arm"):FindFirstChild("RightGrip") then
character:FindFirstChild("Right Arm"):FindFirstChild("RightGrip"):Destroy()
end
end
end)
character.ChildAdded:Connect(function(child)
if child:IsA("Tool") then
local cf = character:FindFirstChild("Right Arm"):FindFirstChild("RightGripAttachment").WorldCFrame
if child:FindFirstChild("Handle") then
child:PivotTo(cf)
local weld = Instance.new("Weld", character:FindFirstChild("Right Arm"))
weld.Name = "RightGrip"
weld.Part1 = child:FindFirstChild("Handle")
weld.Part0 = character:FindFirstChild("Right Arm")
end
end
end)
end)
1 Like
im just going to make a remote event for activation until i find out the solution
1 Like