|
-
Victor ManuelMR
- Count
 -
-
Victor ManuelMR
- Count
 - Age: 21
- Reputation: 155
- Posts: 241
- Joined: 7 Feb 2018
Post #2by Victor ManuelMR » 15 Dec 2020, 0:16
coolXD wrote:Hi! I need a script to Big Coins 10,30 and 50 from Super Mario Maker 2. 
Code: Select all 'BIG COINS - SMM2 'CREATE BY VICTOR MANUELMR with npc(sysval(param1)) if ((char(1).x + char(1).pwidth >= .x and char(1).x <= .x + .width and char(1).y + char(1).pheight >= .y and char(1).y <= .y + .height)) 'by YvajekK call AudioSet(2, 14, 0, "") 'Coin Sound Effect if .extx = 0 then '10 - Coins sysval(CoinCount) = sysval(CoinCount) + 10 elseif .extx = 1 then '30 - Coins sysval(CoinCount) = sysval(CoinCount) + 30 elseif .extx = 2 then '50 - Coins sysval(CoinCount) = sysval(CoinCount) + 50 end call nkill(0, 0, 0, 0, 0, 0, 0, 1) 'Dead NPC. 'Effects by YvajekK call fxcreate(78, .x+.width/2-5, .y+.height/2-5, 1, 0, 12, 4, 0, 1, 0) call fxcreate(78, .x+.width/2-5, .y+.height/2-5, sqr(0.5), sqr(0.5), 12, 4, 0, 1, 0) call fxcreate(78, .x+.width/2-5, .y+.height/2-5, 0, 1, 12, 4, 0, 1, 0) call fxcreate(78, .x+.width/2-5, .y+.height/2-5, -sqr(0.5), sqr(0.5), 12, 4, 0, 1, 0) call fxcreate(78, .x+.width/2-5, .y+.height/2-5, -1, 0, 12, 4, 0, 1, 0) call fxcreate(78, .x+.width/2-5, .y+.height/2-5, -sqr(0.5), -sqr(0.5), 12, 4, 0, 1, 0) call fxcreate(78, .x+.width/2-5, .y+.height/2-5, 0, -1, 12, 4, 0, 1, 0) call fxcreate(78, .x+.width/2-5, .y+.height/2-5, sqr(0.5), -sqr(0.5), 12, 4, 0, 1, 0) end End with 'END SCRIPT
[1.4.5] - Dream Team at The Challenging Portals:
| |