#yo help with something

1 messages · Page 1 of 1 (latest)

tidal lotus
#

Im trash at scripting because im new, so I need help with something that probably seems unbelievably simple/braindead. I want a screen gui to appear when you touch something 3 times, how would i do that? any sort of tip would help

rancid aurora
#

@tidal lotus

tidal lotus
#

yes

#

sorry i was gone

#

like move into

rancid aurora
#

into what exactly?

#

be specific

tidal lotus
#

like

#

ok its gonna sound dumb but i put down a cube and i want to make a GUI appear when you walk into it (which makes it do something alredy) three times

#

i have no clue how to get the three times thingy

rancid aurora
#

Just create a variable and if you walk into your cube += that variable +1

count = 0
cube.touched:Connect(function()
  count += 1
end)
#

and if count is 3 then set count to 0 and show your gui

tidal lotus
#

i love you

rancid aurora
#

Np