SHOW:
|
|
- or go back to the newest paste.
| 1 | Source : v3rmillion | |
| 2 | -- this is so short and easy. it actually disgusts me. come on spotco you can do better | |
| 3 | ||
| 4 | local newcclosure = newcclosure or function(F) return F end; | |
| 5 | ||
| 6 | for Idx, Val in next, debug.getregistry'' do | |
| 7 | if (type(Val) == 'function' and debug.getupvalues(Val)['_enum_validator']) then | |
| 8 | rawset(debug.getupvalues(Val)['_enum_validator'], 'validate_enum', newcclosure(function() | |
| 9 | return true; | |
| 10 | end)); | |
| 11 | break; | |
| 12 | end; | |
| 13 | end; | |
| 14 | ||
| 15 | local NoteResult = require(game:GetService'ReplicatedStorage'.Shared.NoteResult); | |
| 16 | local Number = 3; | |
| 17 | -- 0 = Miss; | |
| 18 | -- 1 = Okay; | |
| 19 | -- 2 = Great; | |
| 20 | -- 3 = Perfect; | |
| 21 | ||
| 22 | NoteResult.Miss = Number; | |
| 23 | NoteResult.Okay = Number; | |
| 24 | NoteResult.Great = Number; | |
| 25 | NoteResult.Perfect = Number; |