Oh the tool is just Handle,local script,serverscript thats all
Check the tool’s RequiresHandle property. If it is not on, set it to true.
"The tool is just a Handle and other scripts. "
Sounds like it may be a script issue in the local or server scripts.
-- credit to xSIXx
local player
local character
local humanoid
local isR15
local rightHand
do
script.Parent.Equipped:connect(function()
if player == nil then
player = game.Players:GetPlayerFromCharacter(script.Parent.Parent)
end
if character == nil or character.Parent == nil then
character = script.Parent.Parent
humanoid = character.Humanoid
isR15 = humanoid.RigType == Enum.HumanoidRigType.R15
rightHand = isR15 and character:WaitForChild("RightHand") or character:WaitForChild("Right Arm")
end
local getWeld = rightHand:WaitForChild("RightGrip")
local motor = Instance.new("Motor6D")
motor.Name = motorName
motor.Part0 = getWeld.Part0
motor.Part1 = getWeld.Part1
--motor.C0 = getWeld.C0
--motor.C1 = getWeld.C1
getWeld:Destroy()
motor.Parent = rightHand
end)
end
1 Like
I’m not an expert, someone else may explain it, but it doesn’t seem to make a weld between the Handle and the local getWeld = rightHand:WaitForChild("RightGrip")
motor.Part0 = getWeld.Part0
motor.Part1 = getWeld.Part1
thank you it solved the problem
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.