Got a quick question about a script I’m making. I’ve made a tool, but I don’t want the normal holding animation. I’ve checked of requires handle and made a script to weld a part of the tool onto the right hand of the character. Here is the script, run via LocalScript:
local Weld = script.Parent:WaitForChild("WeldConstraint")
local Player = game.Players.LocalPlayer
local Human = game.Workspace:WaitForChild(Player.Name)
local Arm = Human:WaitForChild("RightHand")
local Tool = script.Parent
Weld.Part0 = Arm
Weld.Enabled = false
function weldHand()
Weld.Enabled = true
end
Tool.Activated:Connect(weldHand)
It doesn’t work, the tools never comes to the hand. No errors are inside the output. Here is the setup:
Are you able to equip the tool?
I dont see a use for this if you can just equip the tool
Also if the Tool is in StarterPack its technically not in the game until you equip it because it gets cloned to the players backpack
So for this to work the player should have the tool equipped
BUT for Activated to work the player must have the tool equipped
Ok so hopefully @DetailedModuler solves your problem but i still dont understand why you would need to use this if you can just equip it but you do you message if anything goes wrong
Also what about Part1? idk if im not seeing it but seems like you need that