Scripting

Whats a script?
It can do many things that you cant do in play mode.
When touched function
Simply by doing a local, a name, and then a equal sign stating the variable.
Move,Rotate,Scale
Game.Players.Player1.leaderstats.Money.Value = ValueHere
Local function()
Transparency,Material,Reflectance,Name,ect
Instance.new("Part")
Visible = false; Visible = true
Script.Parent
Scripts are not local. LocalScripts are local.
Whats the difference from a local script and a script?
It can do many things that you cant do in play mode.
When touched function
Simply by doing a local, a name, and then a equal sign stating the variable.
Move,Rotate,Scale
Game.Players.Player1.leaderstats.Money.Value = ValueHere
Local function()
Transparency,Material,Reflectance,Name,ect
Instance.new("Part")
Visible = false; Visible = true
Script.Parent
Scripts are not local. LocalScripts are local.
How would you create a local Variable?
It can do many things that you cant do in play mode.
When touched function
Simply by doing a local, a name, and then a equal sign stating the variable.
Move,Rotate,Scale
Game.Players.Player1.leaderstats.Money.Value = ValueHere
Local function()
Transparency,Material,Reflectance,Name,ect
Instance.new("Part")
Visible = false; Visible = true
Script.Parent
Scripts are not local. LocalScripts are local.
How do you create an instance?
It can do many things that you cant do in play mode.
When touched function
Simply by doing a local, a name, and then a equal sign stating the variable.
Move,Rotate,Scale
Game.Players.Player1.leaderstats.Money.Value = ValueHere
Local function()
Transparency,Material,Reflectance,Name,ect
Instance.new("Part")
Visible = false; Visible = true
Script.Parent
Scripts are not local. LocalScripts are local.
How do you create an function?
It can do many things that you cant do in play mode.
When touched function
Simply by doing a local, a name, and then a equal sign stating the variable.
Move,Rotate,Scale
Game.Players.Player1.leaderstats.Money.Value = ValueHere
Local function()
Transparency,Material,Reflectance,Name,ect
Instance.new("Part")
Visible = false; Visible = true
Script.Parent
Scripts are not local. LocalScripts are local.
How would you edit Values such as money on a leaderboard?
It can do many things that you cant do in play mode.
When touched function
Simply by doing a local, a name, and then a equal sign stating the variable.
Move,Rotate,Scale
Game.Players.Player1.leaderstats.Money.Value = ValueHere
Local function()
Transparency,Material,Reflectance,Name,ect
Instance.new("Part")
Visible = false; Visible = true
Script.Parent
Scripts are not local. LocalScripts are local.
What would a ("function onTouch(hit)") do?
It can do many things that you cant do in play mode.
When touched function
Simply by doing a local, a name, and then a equal sign stating the variable.
Move,Rotate,Scale
Game.Players.Player1.leaderstats.Money.Value = ValueHere
Local function()
Transparency,Material,Reflectance,Name,ect
Instance.new("Part")
Visible = false; Visible = true
Script.Parent
Scripts are not local. LocalScripts are local.
What are some of the properties of the parts?
It can do many things that you cant do in play mode.
When touched function
Simply by doing a local, a name, and then a equal sign stating the variable.
Move,Rotate,Scale
Game.Players.Player1.leaderstats.Money.Value = ValueHere
Local function()
Transparency,Material,Reflectance,Name,ect
Instance.new("Part")
Visible = false; Visible = true
Script.Parent
Scripts are not local. LocalScripts are local.
How would you contact the parent of the current script?
It can do many things that you cant do in play mode.
When touched function
Simply by doing a local, a name, and then a equal sign stating the variable.
Move,Rotate,Scale
Game.Players.Player1.leaderstats.Money.Value = ValueHere
Local function()
Transparency,Material,Reflectance,Name,ect
Instance.new("Part")
Visible = false; Visible = true
Script.Parent
Scripts are not local. LocalScripts are local.
What are three tools you use during the building of a game?
It can do many things that you cant do in play mode.
When touched function
Simply by doing a local, a name, and then a equal sign stating the variable.
Move,Rotate,Scale
Game.Players.Player1.leaderstats.Money.Value = ValueHere
Local function()
Transparency,Material,Reflectance,Name,ect
Instance.new("Part")
Visible = false; Visible = true
Script.Parent
Scripts are not local. LocalScripts are local.
While creating a GUI how would you input a button that would make it visible/not visible?
It can do many things that you cant do in play mode.
When touched function
Simply by doing a local, a name, and then a equal sign stating the variable.
Move,Rotate,Scale
Game.Players.Player1.leaderstats.Money.Value = ValueHere
Local function()
Transparency,Material,Reflectance,Name,ect
Instance.new("Part")
Visible = false; Visible = true
Script.Parent
Scripts are not local. LocalScripts are local.
{"name":"Scripting", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"What is a script, Whats a script?, Whats the difference from a local script and a script?","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Powered by: Quiz Maker