I’ve created a simple script inside of ReplicatedStorage which simply adds a Motor6D on the player’s HumanoidRootPart. The issue is that it just doesn’t want to? No errors fyi.
--//Fairly simple script
game:GetService("Players").PlayerAdded:Connect(function(Plr)
Plr.CharacterAdded:Connect(function(Char)
local Motor6DGrip = Instance.new("Motor6D",Char.PrimaryPart)
Motor6DGrip.Part0 = Char.PrimaryPart
Char.ChildAdded:Connect(function(Child)
if Child:IsA("Tool") and Child:FindFirstChild("ToolGrip") then
Motor6DGrip.Part1 = Child.ToolGrip
Char.ChildRemoved:Connect(function(Child)
if Child:IsA("Tool") then
Motor6DGrip.Part1 = nil --Simply make it nil when a player unequips a tool.
end
end)
end
end)
end)
end)
i tested in studio (and used rig builder for further confirmation) and the PrimaryPart was the head, are you sure you’re not putting it inside the head?