ok its only a couple things
variables
-local variables can only be used in the enclosure it was defined, as well as any enclosures within
-local variables defined with “local” keyword
-global variables can be used anywhere in the script, but this can lead to problems
-global variables defined without any keyword
setting values vs comparing
-setting values uses one equal sign
-comparing values uses two equal signs
hierarchy
-to find a child of an object/instance, use a period
-ex: game.Workspace
-to find an instance’s parent, use the “Parent” keyword
-ex: script.Parent
functions
-to define a function, use the “function” keyword and parenthesis
-put parameter keywords in between parenthesis
-ex: function functionName(parameter1, parameter2)
-to run a function, use its name
-put the parameters in the order or defining
-ex: functionName(36, true)
-certain functions, called methods, are run on instances
-ex: game.Workspace.Part:Destroy()
enclosures
-enclosures are closed with the “end” keyword
-ex: if true then script.Parent:Destroy() end
yes thats all the syntax
now you can use the documenation