local GUI = script.Parent.Parent.Parent
local choice = GUI:FindFirstChild("ChoiceInt")
local Button = script.Parent
Button.MouseButton1Click:Connect(function()
choice.Value = 2
end)
okayy so this is my local script in a text button in a folder in the gui
if talking == true then
if choice == 1 then
end
if choice == 2 then
LineLabel.Text = "Depends on what you have"
end
if choice == 3 then
GUI.Enabled = false
talking = false
end
end
and this is the local script in the gui for some reason this doesnt work

1 comment
Do you have any errors?