#help with welding

11 messages · Page 1 of 1 (latest)

river rivet
#
local UIS = game:GetService("UserInputService")
local players = game:GetService("Players")
local workspace = game.Workspace
local ball = workspace.Ball
local prox = workspace.Proxpart.Pickup

game.Players.PlayerAdded:Connect(function(plr)
    plr.CharacterAdded:Connect(function(char)
        local hum = char:WaitForChild("Humanoid")
        local rightarm = char:WaitForChild("Right Arm")
        prox.Triggered:Connect(function(player)
            if player == plr then
                local cloneball = ball:Clone()
                cloneball.Parent = rightarm

                local WeldConstraint = Instance.new("WeldConstraint")
                WeldConstraint.Part0 = cloneball
                WeldConstraint.Part1 = rightarm
                WeldConstraint.Parent = cloneball
                
                cloneball.CFrame = rightarm.CFrame
            end
        end)
    end)
end)
river rivet
#

@onyx oar

river rivet
#

i think so

onyx oar
#

oh i thought you just set it like lua

#

well thank you

river rivet
#

np

onyx oar
onyx oar
#

it didnt work btw

#

same error