StarJ3M
(StarJ3M)
June 25, 2022, 1:40pm
#1
Im having issues with equipping tools with my custom character, I added a Right Hand part, but it still doesn’t make the tool’s handle go to the players hand.
Someone recommended that I weld the tool manually to the players hand, and then script its functionality, but I have no experience in welding.
So If I was to just weld it to the players character and script the tool, would It still work?
you should tell the script if the tool has been equipped then weld it to the characters hand
if you want further help i’ll be online.
2 Likes
krazeems
(cream)
June 25, 2022, 2:07pm
#3
Welding is a great solution to this.
You can change your script to adapt to the new tool configuration.
See more about WeldConstraint
1 Like
StarJ3M
(StarJ3M)
June 25, 2022, 2:16pm
#4
So should I make a script that whenever the tool is equipped, the weld connects both he Arm and Tool?
Yes make sure the welds part0 is the arm, part1 is the tools handle
1 Like
StarJ3M
(StarJ3M)
June 25, 2022, 2:21pm
#6
Like this?
script.Parent.Equipped:Connect(function()
local RightArm = script.Parent.Parent:WaitForChild("RightAm")
local Weld = Instance.new("WeldConstraint", RightArm)
Weld.Part0 = RightArm
Weld.Part1 = script.Parent:WaitForChild("Handle")
end)
rather using constraint use motor 6d
script.Parent.Equipped:Connect(function()
local RightArm = script.Parent.Parent:WaitForChild("RightArm")
local Weld = Instance.new("Motor6D", RightArm)
Weld.Part0 = RightArm
Weld.Part1 = script.Parent:WaitForChild("Handle")
end)
2 Likes
StarJ3M
(StarJ3M)
June 25, 2022, 2:32pm
#8
With a Motor 6D, do I need to manually set up where the weld is that connects Part0 and Part1?
Also, I also can’t seem to pick up tools that are just on the ground.
did u rig the character to allow it to hold regular tools?
StarJ3M
(StarJ3M)
June 25, 2022, 2:50pm
#10
Thats my main problem, I don’t understand how and why its not able to pick up or equip tools normally.
I wont be online for a little but you should look for some videos on this problem.
how to make custom characters in roblox studio - YouTube
1 Like