Here is what I have:
function onTouch(hit)
workspace.Head["READ ME"].Disabled = false -- How do I make this a local function?
end
Here is what I have:
function onTouch(hit)
workspace.Head["READ ME"].Disabled = false -- How do I make this a local function?
end
To create a local function you just add the "local" indentifier before the function's name, this way:
local function yourFunction()
end
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
well to make a function local, put the word local before the word function
If you had another definition of "local function", please make your question more descriptive