#mousebutton1 on mobile with custom backpack doesnt want to work for some reason.
1 messages · Page 1 of 1 (latest)
mousebutton1 on mobile with custom backpack doesnt want to work for some reason.
here is also the video with problem
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