Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Should "script" as a variable be capitalized?

Asked by 10 years ago

Is it supposed to be

script.Parent

or

Script.Parent

? I'm confused

2 answers

Log in to vote
1
Answered by
wazap 100
10 years ago
script.Parent--lowercase


--Only time you use Script is in the case of

Instance.new"Script" 
--or in case its a variable

Script = workspace.Script1
Script.Parent
0
This. But don't name a variable Script. Destrings 406 — 10y
0
Alright. Thank you. :) TheRings0fSaturn 28 — 10y
Ad
Log in to vote
0
Answered by
Destrings 406 Moderation Voter
10 years ago

Only script is the valid reference.

Answer this question