-
Variable Change, Inside the pairs Change (Depending if they picked mobile or not)
-
I’ve copy and paste and change the script but this isn’t very effective when copy and pasting script i’m wondering how to change variable and what inside the in pairs depending on the choice the local player picked
---- Note not that actual Code Just how it should be the variable and inside the pairs
for _, button in pairs(script.Parent.Parent.LeftMiddlePC:GetDescendants()) do
for _, button in pairs(script.Parent.Parent.LeftMiddlePhone:GetDescendants()) do
local Inventoryname = script.Parent.Parent.LeftMiddlePhone.InventoryName
local Inventoryname = script.Parent.Parent.LeftMiddlePC.InventoryName