0% found this document useful (0 votes)
6 views3 pages

Basketball Zero Script Overview

The document contains two scripts: one for generating a sine wave based on time and a value, and another for creating a timer that formats a slider value into minutes and seconds. The timer script includes a helper function to add a leading zero to single-digit numbers. Overall, it provides basic functionality for animation or visual effects using mathematical expressions.

Uploaded by

Mikpix KV
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views3 pages

Basketball Zero Script Overview

The document contains two scripts: one for generating a sine wave based on time and a value, and another for creating a timer that formats a slider value into minutes and seconds. The timer script includes a helper function to add a leading zero to single-digit numbers. Overall, it provides basic functionality for animation or visual effects using mathematical expressions.

Uploaded by

Mikpix KV
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

S.

No Name Script
1 Sin wave [Link](time * 2) * 10 + value;
2 Timer slider = effect("Slider Control")("Slider");
sec = [Link](slider%60);
min = [Link](slider/60);

function zero(x){

if (x<10) return "0" + x


else return x
}
zero(min) + ":" + zero(sec);

You might also like