Jump to content

[QUESTION] colShape and timer


Dzsozi (h03)

Recommended Posts

Is there any method to set a timer, for example 2500 miliseconds and check if a player hit a colshape within this time?

So I mean if player keeps hitting colshapes in every 2500 miliseconds then nothing happens, but if the player isn't hit the colshape within this time then write a function? I hope that you understand my question and somebody could help me!

Thank you!

Link to comment

You could use this function and a timer to trigger a function that checks if the player is in the colshape and does whatever you want, or if you don't have the element you want to check you can use the second function.

  
isElementWithinColShape 
getElementsWithinColShape 
  

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...