Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

I keep on getting this error in the output (in the desc), anyway i can fix this error?

18:48:43.663 - Players.Anxinito.PlayerGui.Shop.Core:29: Expected ',' when parsing index range, got 'local'

-- Core UI localscript
 
local availableTools = game.ReplicatedStorage:WaitForChild("GetTools"):InvokeServer()
local mainFrame = script.Parent:WaitForChild("MainFrame")
local safeArea = mainFrame:WaitForChild("SafeArea")
local itemInformation = safeArea:WaitForChild("ItemInformation")
local infoFrame = itemInformation.InfoFrame
local selectedItem = itemInformation.SelectedItem
local equippedItem = itemInformation.EquippedItem
local numberOfItems = #availableTools
 
local itemFrame = safeArea.ItemFrame
local shopButton = script.Parent:WaitForChild("ShopButton")
local buyButton = infoFrame.BuyButton
local equippedItemViewport = script.Parent:WaitForChild("EquippedItemViewport")
local itemViewport = itemInformation.ItemViewport
 
 
shopButton.MouseButton1Click:Connect(function()
    mainFrame.Visible = not mainFrame.Visible
end)
 
local PADDING_X = 0.02
local DROPDOWN_Y = 0.2
local DROPDOWN_X = 0.25
 
for item1 = itemFrame:WaitForChild ("Item1")
   
local box
local numRows = 1  

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.