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

attempt to concatenate nil with string?

Attempt to concatenate nil with string here's the script

                                local handle =
             game.ReplicatedStorage:WaitForChild("ToolModels"):FindFirstChild(availableTools[1] 
            [i].."Handle").Clone() --Where I got the error
         handle.Parent = itemViewport

1 answer

There is no variable stating what "i" is. Also, for the love of god please rearrange your code I've never seen anything this messy.

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