How to make it activated twice and not at the same time

local tool = script.Parent

tool.Activated:Connect(function()
	tool.Handle.Scroll1A.Transparency = 1
	tool.Handle.Scroll1B.Transparency = 1
end)

tool.Activated:Connect(function()
	tool.Handle.Scroll2A.Transparency = 1
	tool.Handle.Scroll2B.Transparency = 1
end)

What are you trying to accomplish?

local tool = script.Parent
local activated = false

tool.Activated:Connect(function()
    if(not(activated))then
        tool.Handle.Scroll1A.Transparency = 1
        tool.Handle.Scroll1B.Transparency = 1
        activated = true
    else
        tool.Handle.Scroll2A.Transparency = 1
        tool.Handle.Scroll2B.Transparency = 1
        activated = false
    end
end)
3 Likes

Basically not making it activated at the same time, but one at a time. You click one time, it will prompt. And click the second time and it will prompt and not at the same time.

Set up a value to tell if it’s the first time or the second time, or just use true or false at that point. Emskipo’s script should work.

1 Like