Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

What is tick() ?

I've seen it in a sword script, so you can lunge again before 1 second. I know that tick() has somthing to do with January, 1, 1970???? Can you have a detailed explanation please. Perhaps a piece of code to help me understand it more. Thanks! Much Appreciated!

1 comment

0

Search for 'tick' on this site and you'll get tons of results.

2 answers

This is used to find the number of seconds it's been since January, 1, 1970. This can be used for daily rewards so it saves the tick() when they claim it and every so often checks if their saved tick() take away the current tick() (oldTick()-tick()) is more than or equal to 86400 (a day in seconds) then it does something.

okay i suggest possably make it so that tick() allows the sword to sort of go foward of char then wait 1.5 secs then make it repeat on click and make damage around 30ish to 50ish

1 comment

0

make it like that and it might work make ur choice to use it

This discussion is preserved as it was. New answers, comments, and votes are closed.