#trying 2 make the player have a hingeconstraint in rootpart when they join the game
19 messages · Page 1 of 1 (latest)
can you parent an instance to a humanoid?
if so just make the parent humanoid with a cframe that places it in the middle
i appreciate the help mb i was meant 2 say i figured it out but ty
game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(char) local torso = char:WaitForChild("HumanoidRootPart") --You can change this to another body part wait(3) local targethinge = Instance.new("HingeConstraint", torso) targethinge.Name = "targethinge" local targetatt = Instance.new("Attachment", torso) targetatt.Name = "targetatt" targethinge.Attachment0 = targetatt targethinge.Attachment1 = workspace.testyprim.targetattachment2 targethinge.Enabled = false end) end)
it works
but like