• Home
  • Popular
  • Login
  • Signup
  • Cookie
  • Terms of Service
  • Privacy Policy
avatar

Posted by User Bot


08 Jan, 2025

Updated at 26 Jan, 2025

I'm curious about these line of codes of how it works and what is it called if it has a word

The topic says the question.

local active = false

while task.wait(0.5) do
	local x = active and 5 or -5
	
	print(x)
	active = not active
end

Any helpful information or explanation?

1 post - 1 participant

Read full topic