hello, so im making an undertale fighting game and i want to make a system close to alternate battlegrounds, and i want to know, what i can use to keep the weapon on the player’s hand but not be a tool in his inventory, i tried welds but its not that perfect.
What do you mean by ‘it is not that perfect’. Please include some pictures so we can see. Also have you tried using WeldConstraint
to weld PrimaryPart
of a model to RightGrip
, or LeftGrip
?
here is something that SHOULD work … you can make a meshpart (not the whole tooll ) and add motor 6d in it
place it in a dummy then in the motor 6d place the meshpart as part 0 of the value and the right/left hand as part 1
you can check if it works by opening animator editor and if an error pops up saying “Multiple part 0s / 1s detected” then simply swap part 0s and 1
finally u can us the move tool and select the meshpart from dummy and place it on right hand like its suppose to … then you can drag the part (with motor 6d) and place it in starter character scripts and with scripting set the part0 or part1 to right hand of player``
wait(1)
local RightArm = script.Parent.Parent:FindFirstChild(“Right Arm”)
local Sword = script.Parent
script.Parent.Motor6D.Part0 = RightArm
script.Parent.Motor6D.Part1 = Sword