How do I make this code weld the webbing model in ReplicatedStorage to the player’s UpperTorso instead of their head? I’ve always had this problem when using accesories and textured meshes for the player’s characters, and I don’t really know how to fix that. Any help is appreciated. (
Code (not mine, is free model):
local rs = game:GetService("ReplicatedStorage")
local function playerAdded(player)
player.CharacterAdded:Connect(function(char)
local hat = nil
if player.Team.Name == "DOI" then
hat = rs:WaitForChild("Webbing").LBWI:Clone()--hat here
elseif player.Team.Name == "ERF" then
hat = rs:WaitForChild("Webbing").LBWI:Clone()--hat here
end
local hum = char:WaitForChild("Humanoid")
hum:AddAccessory(hat)
end)
end
game.Players.PlayerAdded:Connect(playerAdded)