Jump to content

Help!!


Act0nMX

Recommended Posts

Posted
1 hour ago, Act0nMX said:

Hello I am new I would like to know how to make a condition not to repeat condition, It is to make an  achievement script!!!  pls HELP!!

 

  • Moderators
Posted
local index = 1
repeat
 print(index)
 index = index + 1
until index > 100

 

Do you want to improve your Lua programming skills and make less mistakes?   Start with Lua Language Server!   🙀

 

  Useful functions  3x 

  Tutorials  4x 

 

  • Moderators
Posted

Stop screaming, you are not a baby.

 

local achievementState = {}


local achievement = "test"

if not achievementState[achievement] then
 achievementState[achievement] = true
end

 

Do you want to improve your Lua programming skills and make less mistakes?   Start with Lua Language Server!   🙀

 

  Useful functions  3x 

  Tutorials  4x 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...