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

Weld Item to players hand not preforming clone?

Asked by 2 years ago

I am just testing with the welding stuff and for some reason i get no errors whatsoever though nothing happens, not a single line of code functions

(context, There is a part inside of ServerStorage with another part inside it called Grip, Grip is just a block to indicate where the weld should be on the player, there is also a weld constraint inside the part which welds the part to Grip)

(also yes i do know the difference between welds and weld constraints)

local ServerStorage = game:GetService("ServerStorage")

game.Players.PlayerAdded:Connect(function(player)
    player.CharacterAdded:Connect(function(char)
        local tool = ServerStorage.ToolTest:Clone()
        tool.Parent = char
        local Weld = Instance.new("Weld")
        Weld.Parent = tool
        Weld.Part0 = tool.Grip
        Weld.Part1 = char["Left Arm"]
    end)
end)

Answer this question