#Ball cant get picked up

3 messages · Page 1 of 1 (latest)

rigid geyser
#

so im making a ball where you can throw and pick it up, but it cant be picked up for some reason

static scarab
#

Good to know

rigid geyser
#
script.Parent.Activated:Connect(function()
    
    local ball = script.Parent:Clone()
    --if ball:FindFirstChild("Handle").CanCollide == false then
        --ball:FindFirstChild("Handle").CanCollide = true
    --else
        --ball:WaitForChild("Handle").CanCollide = true
    --end
    ball.Parent = game.Workspace.Balls
    ball.Name = "Ball"
    ball.CanCollide = true
    ball.AssemblyLinearVelocity = script.Parent.Parent:FindFirstChild("HumanoidRootPart").CFrame.lookVector*20+Vector3.new(0,5,0)
    game.Workspace.Balls:WaitForChild("Ball").Touched = true
    
    --script.Parent:Destroy()
end)