Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR LUA

Pass values to functions from Onclicks roblox

-- By: incapaz, on ROBLOX forums

local function ChoiceSelected(parent)
    return function()
        Arrow.Parent = parent
        Arrow.Visible = true
    end
end

event:Connect(ChoiceSelected(parent))
Source by devforum.roblox.com #
 
PREVIOUS NEXT
Tagged: #Pass #values #functions #Onclicks #roblox
ADD COMMENT
Topic
Name
2+7 =