of     1   

xXKoolKalebXx
#182842481Monday, February 01, 2016 8:24 PM GMT

Hello, I have been trying multiple ways to do this recently, but I just can not figure out how to get my script to work. I have a text sign that flashes and does stuff like that, it is an open sign, but it is only on. What I want is so that I can press a button, and it will turn off, and also be able to click another button and have it turn on. This is my current script: while true do script.Parent.Text = "OPEN" wait(0.4) script.Parent.Text = "" wait(0.4) script.Parent.Text = "OPEN" wait(0.4) script.Parent.Text = "" wait(0.4) script.Parent.Text = "OPEN" wait(0.4) script.Parent.Text = "" wait(0.4) script.Parent.Text = "OPEN" wait(2.5) script.Parent.Text = "O" wait(0.5) script.Parent.Text = "OP" wait(0.4) script.Parent.Text = "OPE" wait(0.4) script.Parent.Text = "OPEN" wait(0.4) end If anyone could help that would be great!
TimeTicks
#182843173Monday, February 01, 2016 8:39 PM GMT

local bool = false thing.ClickDetector.MouseClick:connect(function() bool = not bool if bool then --open else --close end end)
powerhotmail123
#182844416Monday, February 01, 2016 9:04 PM GMT

In addition to TimeTicks, if you're Filtering is enabled, then register the click event on the client (LocalScript), then use a RemoteEvent to send a message to the server that the button was clicked. Enjoying your stay at the Scripters Forum? Join this! http://www.roblox.com/My/Groups.aspx?gid=2582784
fishguy100
#182844500Monday, February 01, 2016 9:05 PM GMT

@powerhotmail123 Use context clues to realise he is a beginner and EXPLAIN RemoteEvents to him

    of     1