Question about loops | Roblox Forum
Welcome to the Forums!
Join thousands of other Roblox members with a free account.
Create Forum Account

Question about loops

Schekhovtsov

New Member
Feb 1, 2020
4
0
1
Roblox
Schekhovtsov
Hi.
Is it possible to somehow enclose this block in a loop by changing the slot number? I have many slots, and making a lot of identical lines of code is not comme il faut

rJy4IZTb4YQ.jpg

Roughly speaking, I would like to get something like this:

Code:
InventoryGui.Slot..i..Img...
 

CallMeKY

Moderator
Ultra
Feb 25, 2018
945
159
43
Maine, USA
Roblox
CallMeKY
Discord
CallMeKY#5012
For sure, you can use a for loop for that.

InventoryGui['Slot' .. i].Img
 
  • Like
Reactions: Schekhovtsov
General
Help Users
  • No one is chatting at the moment.
    InsertDeadMemeHere InsertDeadMemeHere: hi