Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // by sndy
- // How To Use:
- // Name function "sin" for compatibility with my other functions
- // Input a value to the stat "sinInput" 1000 times the intended input
- // Output will be in the stat "sinOutput", 1000 times the intended output, where -1000 <= output <= 1000 (Calculation is in degrees)
- // Enjoy!
- if () {
- stat sinInput += 4611686018427360000
- teamstat a TEAM_NAME = "%stat.player/sinInput%"
- teamstat a TEAM_NAME /= 360000
- teamstat a TEAM_NAME *= 360000
- stat sinInput -= "%stat.team/a TEAM_NAME%"
- stat sinInput -= 180000
- globalstat a = "%stat.player/sinInput%"
- globalstat a += 180001
- globalstat a /= 180001
- globalstat a *= 2
- globalstat a -= 1
- stat sinInput *= "%stat.global/a%"
- globalstat a *= -1
- teamstat a TEAM_NAME = 179968
- teamstat a TEAM_NAME -= "%stat.player/sinInput%"
- teamstat a TEAM_NAME *= "%stat.player/sinInput%"
- stat sinOutput = 4005
- stat sinOutput *= "%stat.team/a TEAM_NAME%"
- teamstat b TEAM_NAME = 40500000000
- teamstat b TEAM_NAME -= "%stat.team/a TEAM_NAME%"
- stat sinOutput /= "%stat.team/b TEAM_NAME%"
- stat sinOutput *= "%stat.global/a%"
- globalstat a = 0
- teamstat a TEAM_NAME = 0
- teamstat b TEAM_NAME = 0
- }
Advertisement
Add Comment
Please, Sign In to add comment