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

Why are variables in functions underlined blue?

Asked by 6 years ago

http://prntscr.com/hwhxpm

0
if you drag your mouse over it there's a good chance it wants you to change the variable to "local x" Vulkarin 581 — 6y

1 answer

Log in to vote
0
Answered by
Uzuntu 6
6 years ago

Because Studio thinks you should change it to local.

function hey()
local x = script.Parent
end
0
oh thx todmaster12 0 — 6y
0
If it's too much to ask can you accept the answer? We'll both receive reputation. Thanks. Uzuntu 6 — 6y
Ad

Answer this question