Hello, I am wondering how can you make a checkbox in roblox studio.
I’m referring to something like this:
I tried to script it, but It was too complicated and it’s just not working
local muteORunmute = script.Parent.MuteOrUnmute
local lol = script.Parent.MuteOrUnmute.Check
script.Parent.MouseButton1Click:Connect(function()
lol.Value = true
lol:GetPropertyChangedSignal("Value"):Connect(function()
if muteORunmute.Value == false then
muteORunmute.Value = true
print('its true')
end
end)
end)
task.wait(0.01)
script.Parent.MouseButton1Click:Connect(function()
lol.Value = false
lol:GetPropertyChangedSignal("Value"):Connect(function()
if muteORunmute.Value == true then
muteORunmute.Value = false
print( "its false")
end
end)
end)