how to make a function update every second in roblox studio with while loops code example
Example 1: how to do for loops roblox
--roblox forloop
for count = 1, 5 do
print(count)
end
Example 2: for i = 1 to n roblox
local n = 10
for i = 1, n do
print('monke god')
end
Example 3: roblox for loop
local Table = {"Hello", 1234, "Whatever"}
for i, Entry in pairs(Table) do
print(i)
print(Entry)
end
--> 1
--> Hello
--> 2
--> 1234
--> 3
--> Whatever