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))