#Clickdetector Question

16 messages · Page 1 of 1 (latest)

still anvil
#

I want to force the player to press a clickdetector. This needs to be done via a localscript, but thats obvious.

All I need to do is get the player to click the clickdetector.

shy rain
#

i guess u could make a gui that says click this button or you will be kicked in 5 seconds

#

anyway that is to say, what u really want isnt to force the player to click it

#

u just want some event to happen

idle panther
#

You cannot simulate the press of a clickdetector, nor do you need to do this for any type of functionality to happen.


local MyFunction = function() 
    print("Clicked")
end

clickDetector.MouseClick:Connect(MyFunction)
task.wait(1)

MyFunction() -- This will 'simulate' the pressing of the click detectyor
shy rain
#

ONG

still anvil
#

Sadly I can't use it

#

So I scrapped the idea

night wolf
#

Just add invisible walls and make them clamped

#

or make adds keep popping up in theri screen until the click the button troll

still anvil
#

No

night wolf
#

yes

#

:nitroemojihere: