Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why Isn't that whenever I equip my weapon, It doesn't appear on the left arm?

Asked by 2 years ago

Script:

local tool = script.Parent
local Char = tool.Parent
local Humanoid = Char.Humanoid

tool.Equipped:Connect(function()
    local Weld = Instance.new("Weld")

    Weld.Parent = tool.Stick
    Weld.Part0 = tool.Stick
    Weld.Part1 = Humanoid.Parent["Left Arm"]

    tool.Unequipped:Connect(function()
        Weld:Destroy()
    end)
end)

Anyway, there was a problem I'm having, for some whatever reason, the tool won't be position In the left arm, but not only that but I also wanted this tool to not have the default tool Idle, basically a animation that plays when you equip a tool/gear without a custom animation or remove default tool Idle script, the tool just appears to only be position by where I originally placed It, and I am still a beginner In scripting, So sorry If the script (For some reason) made you flip off

Answer this question