#pragma once
Include guard. Safe at the top of every .clh. The compiler strips the line before parse, so it does not error.
Syntax
Section titled “Syntax”#pragma onceLuau emit
Section titled “Luau emit”(none)
Description
Section titled “Description”A header included more than once is skipped. Write this on every header.
Example
Section titled “Example”#pragma once
struct PlayerData { int Coins = 0;};