Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // input: stat input
- // output: stat output
- // replace "teamName" with the name of a team in your house; team stat actions are used to make the function more compact
- if () {
- teamstat multi teamName = 3037000498
- teamstat multi teamName /= %stat.player/input%
- teamstat multi teamName += 1
- stat input *= "%stat.team/multi teamName%"
- stat input *= "%stat.team/multi teamName%"
- teamstat temp0 teamName = %stat.player/input%
- teamstat temp0 teamName /= 537752656
- teamstat temp0 teamName += 880298
- globalstat temp1 = %stat.player/input%
- globalstat temp1 /= "%stat.team/temp0 teamName%"
- globalstat temp1 += "%stat.team/temp0 teamName%"
- teamstat temp0 teamName = %stat.player/input%
- teamstat temp0 teamName /= %stat.global/temp1%
- globalstat temp1 /= 4
- globalstat temp1 += "%stat.team/temp0 teamName%"
- globalstat temp2 = %stat.player/input%
- globalstat temp2 /= %stat.global/temp1%
- globalstat temp2 += %stat.global/temp1%
- teamstat temp0 teamName = %stat.player/input%
- teamstat temp0 teamName /= %stat.global/temp2%
- globalstat temp2 /= 4
- globalstat temp2 += "%stat.team/temp0 teamName%"
- stat output = %stat.player/input%
- stat output /= %stat.global/temp2%
- stat output += %stat.global/temp2%
- stat input /= %stat.player/output%
- stat output /= 4
- stat output += %stat.player/input%
- stat output += 1
- stat output /= "%stat.team/multi teamName%"
- }
Advertisement
Comments
-
- There's 10 errors when I attempt to import it with HTSL, and it seems oddly short. Are you sure that this made correctly? (Using for Al3xWarrior's Gun Tutorial)
-
- Did you replace "teamName" with the name of a team in your house? It uses team stats to make it smaller.
- Also, the function Alex uses in his video is https://pastebin.com/ufZHxJFT, not this one
Add Comment
Please, Sign In to add comment
Advertisement