#mousebutton1 on mobile with custom backpack doesnt want to work for some reason.

1 messages · Page 1 of 1 (latest)

humble jolt
#

mousebutton1 on mobile with custom backpack doesnt want to work for some reason.

glad sigil
#
for i, v in pairs(backpacks.Items:GetChildren()) do
    if v:IsA("Frame") then
        local button = v:FindFirstChildOfClass("TextButton")
        if button then
            button.MouseButton1Down:Connect(function()
                equipuneqipped(v)
            end)
        end
    end
end``` this only runs once. you should be connecting this when the button is created. also use .activated not mousebutton1down
humble jolt
#

Ohhhh

#

So thats why