Answers for "Pass values to functions from Onclicks roblox"

Lua
1

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))
Posted by: Guest on December-02-2020

Code answers related to "Pass values to functions from Onclicks roblox"

Browse Popular Code Answers by Language