You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/intro.md
+1-38
Original file line number
Diff line number
Diff line change
@@ -2,42 +2,5 @@
2
2
sidebar_position: 1
3
3
---
4
4
5
-
# Basics of scripting in ROBLOX Studio and TRIA.os
5
+
# Intro
6
6
7
-
Welcome to the scripting documentation of TRIA.os!<br></br>
8
-
By default we assume you have some knowledge of general scripting in ROBLOX Studio so the documents will sound a bit nerdy, but if you don't have the neccessary information, you can consult this page.
9
-
10
-
## Booleans
11
-
12
-
Boolean is an easy-to-understand data type which one has two values: `true` or `false`. Think of it like a light switch, there are only two states a light bulb can be which is on or off.<br></br>
13
-
In [conditional statements](https://create.roblox.com/docs/scripting/luau/control-structures#if-statements), if a boolean isn't `false` or `nil`, Luau (the scripting language used for Studio) will assume the boolean as `true`.<br></br>
14
-
15
-
## Strings
16
-
17
-
String is a data type used to store text data, such as letters, numbers and symbols.<br></br>
18
-
To declare a string, type out anything you want and then wrap that thing in double quotes (`"`) or single quotes (`'`).<br></br>
19
-
`Example:`<br></br>
20
-
```lua
21
-
message="Hello world!"
22
-
```
23
-
Combining (or concatenating) strings is quite simple, add two periods (`..`) between those strings. Concatenating strings won't insert a space between them so you'll have to put one yourself at the end of the first string and beginning of the next string or concatenate a space (`" "`) between the strings.<br></br>
0 commit comments