I'll always see things like use while true do or use while wait() do. I'm really confused on which I should be using. What is the real difference?
while true do will keep looping while a value you set is true.
For example:
local CatsAreCute = true while CatsAreCute do print("Cats are cute.") end
But if you change the value to false, it won't work because it is not true anymore. You can also do a while false do.
But in a while wait() do it will keep looping endlessly while waiting literally no seconds, it will keep on instantaniously, but with some small intervals to avoid crashing and loss of data.