Narratrr Posted June 2, 2021 Share Posted June 2, 2021 (edited) on place of white wool: #1 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is white wool: wait 80 ticks drop 1 white dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of white wool: cancel event set event-block to air give player 1 white wool named "&7White Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A White Wool Generator!" on place of gray wool: #2 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is gray wool: wait 80 ticks drop 1 gray dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of gray wool: cancel event set event-block to air give player 1 gray wool named "&7Gray Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A Gray Wool Generator!" on place of black wool: #3 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is black wool: wait 80 ticks drop 1 black dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of black wool: cancel event set event-block to air give player 1 black wool named "&7Black Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A Generator!" on place of yellow wool: #4 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is yellow wool: wait 80 ticks drop 1 yellow dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of yellow wool: cancel event set event-block to air give player 1 yellow wool named "&7Yellow Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A Generator!" on place of orange wool: #5 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is orange wool: wait 80 ticks drop 1 orange dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of orange wool: cancel event set event-block to air give player 1 orange wool named "&7Orange Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A Generator!" on place of cyan wool: #6 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is cyan wool: wait 80 ticks drop 1 cyan dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of cyan wool: cancel event set event-block to air give player 1 cyan wool named "&7Cyan Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A Generator!" on place of lime wool: #7 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is lime wool: wait 80 ticks drop 1 lime dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of lime wool: cancel event set event-block to air give player 1 lime wool named "&7Lime Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A Generator!" on place of red wool: #8 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is red wool: wait 80 ticks drop 1 red dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of red wool: cancel event set event-block to air give player 1 red wool named "&7Red Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A Generator!" on place of blue wool: #10 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is blue wool: wait 80 ticks drop 1 blue dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of blue wool: cancel event set event-block to air give player 1 blue wool named "&7Blue Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A Generator!" command /gencap [<player>] [<text>] [<number>]: permission: gencap.use permission message: &cNope! trigger: if arg-1 is set: if arg-2 is "reset": set {gens::%arg-1's uuid%} to 0 send "&cYou have just reset %arg-1%&c's gen cap!" to player command /gens: trigger: send "" to player send "&bYou have used %{gens::%player's uuid%}%&7/&b15 gen space!" to player send "" to player on right click on white wool: #1 wait 5 ticks if player's balance is more or equal to 750: subtract 750 from player's balance set block to gray wool send action bar "&7Upgraded Generator!" to player else: send "&cError: &eInsufficient funds to upgrade Gen! " on right click on gray wool: #2 wait 5 ticks if player's balance is more or equal to 3500: subtract 3500 from player's balance set block to black wool send action bar "&7Upgraded Generator!" to player else: send "&cError: &eInsufficient funds to upgrade Gen! " on right click on black wool: #3 wait 5 ticks if player's balance is more or equal to 10000: subtract 10000 from player's balance set block to yellow wool send action bar "&7Upgraded Generator!" to player else: send "&cError: &eInsufficient funds to upgrade Gen! " on right click on yellow wool: #4 wait 5 ticks if player's balance is more or equal to 25000: subtract 25000 from player's balance set block to orange wool send action bar "&7Upgraded Generator!" to player else: send "&cError: &eInsufficient funds to upgrade Gen! " on right click on orange wool: #5 wait 5 ticks if player's balance is more or equal to 75000: subtract 75000 from player's balance set block to cyan wool send action bar "&7Upgraded Generator!" to player else: send "&cError: &eInsufficient funds to upgrade Gen! " on right click on cyan wool: #6 wait 5 ticks if player's balance is more or equal to 160000: subtract 160000 from player's balance set block to lime wool send action bar "&7Upgraded Generator!" to player else: send "&cError: &eInsufficient funds to upgrade Gen! " on right click on lime wool: #7 wait 5 ticks if player's balance is more or equal to 350000: subtract 350000 from player's balance set block to red wool send action bar "&7Upgraded Generator!" to player else: send "&cError: &eInsufficient funds to upgrade Gen! " on right click on red wool: #8 wait 5 ticks if player's balance is more or equal to 1000000: subtract 1000000 from player's balance set block to blue wool send action bar "&7Upgraded Generator!" to player else: send "&cError: &eInsufficient funds to upgrade Gen! " on right click on blue wool: #9 wait 5 ticks send "&cMax Gen" to player Some Of This Skript Is not mine, though i did make a lot of it. enjoy EDIT: Hey Guys! This Has Hit 1600 Views, wow I Would Like Just To Say Thanks Edited August 17, 2021 by LastMC 2 IGN: LastMC Discord: LastXD#7171 Rank: PRO Join date: Monday - December - 23rd - 2019 Link to comment Share on other sites More sharing options...
Pryzmm Posted June 3, 2021 Share Posted June 3, 2021 23 hours ago, LastMC said: on place of white wool: #1 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is white wool: wait 80 ticks drop 1 white dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of white wool: cancel event set event-block to air give player 1 white wool named "&7White Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A White Wool Generator!" on place of gray wool: #2 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is gray wool: wait 80 ticks drop 1 gray dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of gray wool: cancel event set event-block to air give player 1 gray wool named "&7Gray Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A Gray Wool Generator!" on place of black wool: #3 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is black wool: wait 80 ticks drop 1 black dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of black wool: cancel event set event-block to air give player 1 black wool named "&7Black Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A Generator!" on place of yellow wool: #4 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is yellow wool: wait 80 ticks drop 1 yellow dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of yellow wool: cancel event set event-block to air give player 1 yellow wool named "&7Yellow Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A Generator!" on place of orange wool: #5 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is orange wool: wait 80 ticks drop 1 orange dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of orange wool: cancel event set event-block to air give player 1 orange wool named "&7Orange Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A Generator!" on place of cyan wool: #6 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is cyan wool: wait 80 ticks drop 1 cyan dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of cyan wool: cancel event set event-block to air give player 1 cyan wool named "&7Cyan Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A Generator!" on place of lime wool: #7 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is lime wool: wait 80 ticks drop 1 lime dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of lime wool: cancel event set event-block to air give player 1 lime wool named "&7Lime Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A Generator!" on place of red wool: #8 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is red wool: wait 80 ticks drop 1 red dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of red wool: cancel event set event-block to air give player 1 red wool named "&7Red Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A Generator!" on place of blue wool: #10 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is blue wool: wait 80 ticks drop 1 blue dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of blue wool: cancel event set event-block to air give player 1 blue wool named "&7Blue Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A Generator!" command /gencap [<player>] [<text>] [<number>]: permission: gencap.use permission message: &cNope! trigger: if arg-1 is set: if arg-2 is "reset": set {gens::%arg-1's uuid%} to 0 send "&cYou have just reset %arg-1%&c's gen cap!" to player command /gens: trigger: send "" to player send "&bYou have used %{gens::%player's uuid%}%&7/&b15 gen space!" to player send "" to player on right click on white wool: #1 wait 5 ticks if player's balance is more or equal to 750: subtract 750 from player's balance set block to gray wool send action bar "&7Upgraded Generator!" to player else: send "&cError: &eInsufficient funds to upgrade Gen! " on right click on gray wool: #2 wait 5 ticks if player's balance is more or equal to 3500: subtract 3500 from player's balance set block to black wool send action bar "&7Upgraded Generator!" to player else: send "&cError: &eInsufficient funds to upgrade Gen! " on right click on black wool: #3 wait 5 ticks if player's balance is more or equal to 10000: subtract 10000 from player's balance set block to yellow wool send action bar "&7Upgraded Generator!" to player else: send "&cError: &eInsufficient funds to upgrade Gen! " on right click on yellow wool: #4 wait 5 ticks if player's balance is more or equal to 25000: subtract 25000 from player's balance set block to orange wool send action bar "&7Upgraded Generator!" to player else: send "&cError: &eInsufficient funds to upgrade Gen! " on right click on orange wool: #5 wait 5 ticks if player's balance is more or equal to 75000: subtract 75000 from player's balance set block to cyan wool send action bar "&7Upgraded Generator!" to player else: send "&cError: &eInsufficient funds to upgrade Gen! " on right click on cyan wool: #6 wait 5 ticks if player's balance is more or equal to 160000: subtract 160000 from player's balance set block to lime wool send action bar "&7Upgraded Generator!" to player else: send "&cError: &eInsufficient funds to upgrade Gen! " on right click on lime wool: #7 wait 5 ticks if player's balance is more or equal to 350000: subtract 350000 from player's balance set block to red wool send action bar "&7Upgraded Generator!" to player else: send "&cError: &eInsufficient funds to upgrade Gen! " on right click on red wool: #8 wait 5 ticks if player's balance is more or equal to 1000000: subtract 1000000 from player's balance set block to blue wool send action bar "&7Upgraded Generator!" to player else: send "&cError: &eInsufficient funds to upgrade Gen! " on right click on blue wool: #9 wait 5 ticks send "&cMax Gen" to player Some Of This Skript Is not mine, though i did make a lot of it. enjoy Cool, but i suggest putting it in a pastebin Owner of Lifestealed, Labs, Encore, UNOfficially and Observed OG [VIP] 12/26/20 - 10/27/2021 OG [PRO] 12/27/21 - 11/18/2022 OG [LEGEND] 11/18/2022 - 3/14/2023 [DEFAULT] 3/14/2023 - 5/8/2024 [MOD] 5/8/2024 - Present Link to comment Share on other sites More sharing options...
Narratrr Posted June 3, 2021 Author Share Posted June 3, 2021 yeah, also if any1 is using this skript they will have to figure out a way to give players permission only to use / pickup the gen that they own cause rn anyone can pickup others gens 1 IGN: LastMC Discord: LastXD#7171 Rank: PRO Join date: Monday - December - 23rd - 2019 Link to comment Share on other sites More sharing options...
deprism Posted June 7, 2021 Share Posted June 7, 2021 kinda bad, no sell and shop, multiplier and stuff like this... hi!-im-minehut-manager!-here-is-a proof!-if-u-try-to-change-ur-minehut-account-name-to-other-name-with-"minehut"-it -ill-block-u,-so-im-the-real-manager! -yay! JK Link to comment Share on other sites More sharing options...
ItsKirby Posted June 7, 2021 Share Posted June 7, 2021 1 hour ago, Minehut-MANAGER said: kinda bad, no sell and shop, multiplier and stuff like this... Ok i agree with the sell, but you expect to make it have a shop and multiplier? Isn't that a bit tad too much to ask? 1 Yo who actually reads these [Vip] - 12/29/2020[Pro] - 1/25/2022 Link to comment Share on other sites More sharing options...
pnguin Posted June 7, 2021 Share Posted June 7, 2021 1 hour ago, Kirbykirby said: Ok i agree with the sell, but you expect to make it have a shop and multiplier? Isn't that a bit tad too much to ask? multipliers are pretty easy to make 1 I used to play Minehut I guess? Yeah, I still watch the forums for some reason. (15/5/2023) Link to comment Share on other sites More sharing options...
Pryzmm Posted June 7, 2021 Share Posted June 7, 2021 Just now, pizzaschut said: multipliers are pretty easy to make agreed, its just a matter of using math Owner of Lifestealed, Labs, Encore, UNOfficially and Observed OG [VIP] 12/26/20 - 10/27/2021 OG [PRO] 12/27/21 - 11/18/2022 OG [LEGEND] 11/18/2022 - 3/14/2023 [DEFAULT] 3/14/2023 - 5/8/2024 [MOD] 5/8/2024 - Present Link to comment Share on other sites More sharing options...
Narratrr Posted June 8, 2021 Author Share Posted June 8, 2021 im using /sell hand (essentials) and also a skript shop, if you want the skript to the shop you can just ask IGN: LastMC Discord: LastXD#7171 Rank: PRO Join date: Monday - December - 23rd - 2019 Link to comment Share on other sites More sharing options...
MillionDollar Posted June 9, 2021 Share Posted June 9, 2021 Events going to the moon! MillionDollar, TrillionDollar BillionDollar please notice me. Link to comment Share on other sites More sharing options...
JustARandomGuy Posted June 27, 2021 Share Posted June 27, 2021 On 6/8/2021 at 1:38 AM, LastMC said: im using /sell hand (essentials) and also a skript shop, if you want the skript to the shop you can just ask Give. Link to comment Share on other sites More sharing options...
Pryzmm Posted June 27, 2021 Share Posted June 27, 2021 4 hours ago, JustARandomGuy said: Give. Give. Owner of Lifestealed, Labs, Encore, UNOfficially and Observed OG [VIP] 12/26/20 - 10/27/2021 OG [PRO] 12/27/21 - 11/18/2022 OG [LEGEND] 11/18/2022 - 3/14/2023 [DEFAULT] 3/14/2023 - 5/8/2024 [MOD] 5/8/2024 - Present Link to comment Share on other sites More sharing options...
NotKaizo Posted June 29, 2021 Share Posted June 29, 2021 On 6/2/2021 at 10:05 AM, LastMC said: on place of white wool: #1 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is white wool: wait 80 ticks drop 1 white dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of white wool: cancel event set event-block to air give player 1 white wool named "&7White Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A White Wool Generator!" on place of gray wool: #2 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is gray wool: wait 80 ticks drop 1 gray dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of gray wool: cancel event set event-block to air give player 1 gray wool named "&7Gray Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A Gray Wool Generator!" on place of black wool: #3 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is black wool: wait 80 ticks drop 1 black dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of black wool: cancel event set event-block to air give player 1 black wool named "&7Black Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A Generator!" on place of yellow wool: #4 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is yellow wool: wait 80 ticks drop 1 yellow dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of yellow wool: cancel event set event-block to air give player 1 yellow wool named "&7Yellow Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A Generator!" on place of orange wool: #5 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is orange wool: wait 80 ticks drop 1 orange dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of orange wool: cancel event set event-block to air give player 1 orange wool named "&7Orange Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A Generator!" on place of cyan wool: #6 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is cyan wool: wait 80 ticks drop 1 cyan dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of cyan wool: cancel event set event-block to air give player 1 cyan wool named "&7Cyan Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A Generator!" on place of lime wool: #7 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is lime wool: wait 80 ticks drop 1 lime dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of lime wool: cancel event set event-block to air give player 1 lime wool named "&7Lime Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A Generator!" on place of red wool: #8 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is red wool: wait 80 ticks drop 1 red dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of red wool: cancel event set event-block to air give player 1 red wool named "&7Red Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A Generator!" on place of blue wool: #10 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is blue wool: wait 80 ticks drop 1 blue dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of blue wool: cancel event set event-block to air give player 1 blue wool named "&7Blue Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A Generator!" command /gencap [<player>] [<text>] [<number>]: permission: gencap.use permission message: &cNope! trigger: if arg-1 is set: if arg-2 is "reset": set {gens::%arg-1's uuid%} to 0 send "&cYou have just reset %arg-1%&c's gen cap!" to player command /gens: trigger: send "" to player send "&bYou have used %{gens::%player's uuid%}%&7/&b15 gen space!" to player send "" to player on right click on white wool: #1 wait 5 ticks if player's balance is more or equal to 750: subtract 750 from player's balance set block to gray wool send action bar "&7Upgraded Generator!" to player else: send "&cError: &eInsufficient funds to upgrade Gen! " on right click on gray wool: #2 wait 5 ticks if player's balance is more or equal to 3500: subtract 3500 from player's balance set block to black wool send action bar "&7Upgraded Generator!" to player else: send "&cError: &eInsufficient funds to upgrade Gen! " on right click on black wool: #3 wait 5 ticks if player's balance is more or equal to 10000: subtract 10000 from player's balance set block to yellow wool send action bar "&7Upgraded Generator!" to player else: send "&cError: &eInsufficient funds to upgrade Gen! " on right click on yellow wool: #4 wait 5 ticks if player's balance is more or equal to 25000: subtract 25000 from player's balance set block to orange wool send action bar "&7Upgraded Generator!" to player else: send "&cError: &eInsufficient funds to upgrade Gen! " on right click on orange wool: #5 wait 5 ticks if player's balance is more or equal to 75000: subtract 75000 from player's balance set block to cyan wool send action bar "&7Upgraded Generator!" to player else: send "&cError: &eInsufficient funds to upgrade Gen! " on right click on cyan wool: #6 wait 5 ticks if player's balance is more or equal to 160000: subtract 160000 from player's balance set block to lime wool send action bar "&7Upgraded Generator!" to player else: send "&cError: &eInsufficient funds to upgrade Gen! " on right click on lime wool: #7 wait 5 ticks if player's balance is more or equal to 350000: subtract 350000 from player's balance set block to red wool send action bar "&7Upgraded Generator!" to player else: send "&cError: &eInsufficient funds to upgrade Gen! " on right click on red wool: #8 wait 5 ticks if player's balance is more or equal to 1000000: subtract 1000000 from player's balance set block to blue wool send action bar "&7Upgraded Generator!" to player else: send "&cError: &eInsufficient funds to upgrade Gen! " on right click on blue wool: #9 wait 5 ticks send "&cMax Gen" to player Some Of This Skript Is not mine, though i did make a lot of it. enjoy Maybe try using some options for it will be easier to change the upgrade price, gen cap and other stuff. Just a suggestion. 1 Owner of play.hiveminez.net ⊱------------------------------⊰ Joined Minehut on 1/28/2021 (Same day I got Minecraft) [VIP] - 3/14/2021 [LEGEND] - 5/27/2021 ⊱------------------------------⊰ Discord - NotKaizo#0001 In-game name - iKaizo_ If you need any help, feel free to contact me. Link to comment Share on other sites More sharing options...
Narratrr Posted July 2, 2021 Author Share Posted July 2, 2021 (edited) AgentGamerPro | JustARandomGuy | I Used The Shop Skript For A While, But I Deleted it Sorry I Can't Give it To You, I mean its been a month since I made the skript. Edited July 2, 2021 by LastMC IGN: LastMC Discord: LastXD#7171 Rank: PRO Join date: Monday - December - 23rd - 2019 Link to comment Share on other sites More sharing options...
Pryzmm Posted July 2, 2021 Share Posted July 2, 2021 12 hours ago, LastMC said: AgentGamerPro | JustARandomGuy | I Used The Shop Skript For A While, But I Deleted it Sorry I Can't Give it To You, I mean its been a month since I made the skript. k Owner of Lifestealed, Labs, Encore, UNOfficially and Observed OG [VIP] 12/26/20 - 10/27/2021 OG [PRO] 12/27/21 - 11/18/2022 OG [LEGEND] 11/18/2022 - 3/14/2023 [DEFAULT] 3/14/2023 - 5/8/2024 [MOD] 5/8/2024 - Present Link to comment Share on other sites More sharing options...
Anqxllic1 Posted July 14, 2021 Share Posted July 14, 2021 how do I fix it when it says you have reached your gen cap? I have tried to make it where I place gens but it always says i reached my gen cap None out of 15 Link to comment Share on other sites More sharing options...
_xXOussamaXx_ Posted July 22, 2021 Share Posted July 22, 2021 Can a @Moderator close this for necroposting? 1 Link to comment Share on other sites More sharing options...
StarBunnie Posted July 22, 2021 Share Posted July 22, 2021 (edited) 2 minutes ago, _xXOussamaXx_ said: Can a @Moderator close this for necroposting? It's only necroposting if the thread is older than 1 month Edit: The last reply not the thread Edited July 22, 2021 by StarBunnie Feel free to add me on discord if you: need help with plugins need help with skripts need to vent about something >[ ‧₊˚꒰ʚ Starshine ɞ ‧✦ *#2683 ]< Link to comment Share on other sites More sharing options...
Narratrr Posted July 27, 2021 Author Share Posted July 27, 2021 yo Anqxllic1 that is because your variable is not already set to 0 ive set a command in there to fix that... /gencap (username) reset it will set your gens placed to 0 On 7/14/2021 at 7:16 AM, Anqxllic1 said: how do I fix it when it says you have reached your gen cap? I have tried to make it where I place gens but it always says i reached my gen cap None out of 15 IGN: LastMC Discord: LastXD#7171 Rank: PRO Join date: Monday - December - 23rd - 2019 Link to comment Share on other sites More sharing options...
SirNikkel Posted August 8, 2021 Share Posted August 8, 2021 (edited) On 6/1/2021 at 10:05 PM, LastMC said: on place of white wool: #1 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is white wool: wait 80 ticks drop 1 white dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of white wool: cancel event set event-block to air give player 1 white wool named "&7White Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A White Wool Generator!" on place of gray wool: #2 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is gray wool: wait 80 ticks drop 1 gray dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of gray wool: cancel event set event-block to air give player 1 gray wool named "&7Gray Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A Gray Wool Generator!" on place of black wool: #3 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is black wool: wait 80 ticks drop 1 black dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of black wool: cancel event set event-block to air give player 1 black wool named "&7Black Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A Generator!" on place of yellow wool: #4 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is yellow wool: wait 80 ticks drop 1 yellow dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of yellow wool: cancel event set event-block to air give player 1 yellow wool named "&7Yellow Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A Generator!" on place of orange wool: #5 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is orange wool: wait 80 ticks drop 1 orange dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of orange wool: cancel event set event-block to air give player 1 orange wool named "&7Orange Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A Generator!" on place of cyan wool: #6 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is cyan wool: wait 80 ticks drop 1 cyan dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of cyan wool: cancel event set event-block to air give player 1 cyan wool named "&7Cyan Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A Generator!" on place of lime wool: #7 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is lime wool: wait 80 ticks drop 1 lime dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of lime wool: cancel event set event-block to air give player 1 lime wool named "&7Lime Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A Generator!" on place of red wool: #8 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is red wool: wait 80 ticks drop 1 red dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of red wool: cancel event set event-block to air give player 1 red wool named "&7Red Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A Generator!" on place of blue wool: #10 set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 15: add 1 to {gens::%player's uuid%} while event-block is blue wool: wait 80 ticks drop 1 blue dye above location of event-block else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player send "" to player cancel event on break of blue wool: cancel event set event-block to air give player 1 blue wool named "&7Blue Wool Gen" remove 1 from {gens::%player's uuid%} send "&aYou Broke A Generator!" command /gencap [<player>] [<text>] [<number>]: permission: gencap.use permission message: &cNope! trigger: if arg-1 is set: if arg-2 is "reset": set {gens::%arg-1's uuid%} to 0 send "&cYou have just reset %arg-1%&c's gen cap!" to player command /gens: trigger: send "" to player send "&bYou have used %{gens::%player's uuid%}%&7/&b15 gen space!" to player send "" to player on right click on white wool: #1 wait 5 ticks if player's balance is more or equal to 750: subtract 750 from player's balance set block to gray wool send action bar "&7Upgraded Generator!" to player else: send "&cError: &eInsufficient funds to upgrade Gen! " on right click on gray wool: #2 wait 5 ticks if player's balance is more or equal to 3500: subtract 3500 from player's balance set block to black wool send action bar "&7Upgraded Generator!" to player else: send "&cError: &eInsufficient funds to upgrade Gen! " on right click on black wool: #3 wait 5 ticks if player's balance is more or equal to 10000: subtract 10000 from player's balance set block to yellow wool send action bar "&7Upgraded Generator!" to player else: send "&cError: &eInsufficient funds to upgrade Gen! " on right click on yellow wool: #4 wait 5 ticks if player's balance is more or equal to 25000: subtract 25000 from player's balance set block to orange wool send action bar "&7Upgraded Generator!" to player else: send "&cError: &eInsufficient funds to upgrade Gen! " on right click on orange wool: #5 wait 5 ticks if player's balance is more or equal to 75000: subtract 75000 from player's balance set block to cyan wool send action bar "&7Upgraded Generator!" to player else: send "&cError: &eInsufficient funds to upgrade Gen! " on right click on cyan wool: #6 wait 5 ticks if player's balance is more or equal to 160000: subtract 160000 from player's balance set block to lime wool send action bar "&7Upgraded Generator!" to player else: send "&cError: &eInsufficient funds to upgrade Gen! " on right click on lime wool: #7 wait 5 ticks if player's balance is more or equal to 350000: subtract 350000 from player's balance set block to red wool send action bar "&7Upgraded Generator!" to player else: send "&cError: &eInsufficient funds to upgrade Gen! " on right click on red wool: #8 wait 5 ticks if player's balance is more or equal to 1000000: subtract 1000000 from player's balance set block to blue wool send action bar "&7Upgraded Generator!" to player else: send "&cError: &eInsufficient funds to upgrade Gen! " on right click on blue wool: #9 wait 5 ticks send "&cMax Gen" to player Some Of This Skript Is not mine, though i did make a lot of it. enjoy I see a little trouble with it. There is a tick counter for each generator. That can cause a ton of lag. How does one can syncronize them with, idk, the minecraft ticks used for the day/night cycle using a simple state machine? Like... if (({minecraft ticks} % 80)==0): drop 1 white dye above event-block Edited August 8, 2021 by SirNikkel Link to comment Share on other sites More sharing options...
Checkmate128 Posted August 8, 2021 Share Posted August 8, 2021 4 hours ago, SirNikkel said: I see a little trouble with it. There is a tick counter for each generator. That can cause a ton of lag. How does one can syncronize them with, idk, the minecraft ticks used for the day/night cycle using a simple state machine? Like... if (({minecraft ticks} % 80)==0): drop 1 white dye above event-block You could accomplish what you just said by using "every 80 ticks:" or "every 4 seconds:" Owner of oldgaffle.minehut.gg. (my paintball server) Owner of karted.minehut.gg. (my mario kart server) Advocate of individual freedom, especially freedom of speech. Cooler than Stalemate128. Link to comment Share on other sites More sharing options...
SirNikkel Posted August 9, 2021 Share Posted August 9, 2021 2 hours ago, Checkmate128 said: You could accomplish what you just said by using "every 80 ticks:" or "every 4 seconds:" Trying, and helps! But now it keeps saying "there is no block in periodical event". Investigation ongoing. Link to comment Share on other sites More sharing options...
SirNikkel Posted August 9, 2021 Share Posted August 9, 2021 3 hours ago, Checkmate128 said: You could accomplish what you just said by using "every 80 ticks:" or "every 4 seconds:" This is my script for my anarchy gen server. on every 80 ticks in "Somalia": if block is green wool block drop 1 dried kelp above location of block if event-block is shroomlight: drop 1 glowstone dust above location of event-block if event-block is soul soil: drop 1 stick above location of event-block if event-block is gray wool: drop 1 flint named "&fDark Boulder" above location of block if event-block is nether wart block: drop 1 rabbit hide above location of event-block if event-block is honeycomb block: drop 1 golden nugget above location of event-block if event-block is red mushroom block: drop 1 apple above location of event-block if event-block is light gray wool: drop 1 iron nugget above location of event-block if event-block is warped hyphae: drop 1 ghast tear named "&bCrystallized Tear" above location of event-block on break of green wool: cancel event set event-block to air drop 1 green wool named "&2Dried Kelp Generator" with lore "&fProduces 1 Dried Kelp each 4 seconds." on break of shroomlight: cancel event set event-block to air drop 1 shroomlight named "&eGlowstone Generator" with lore "&fProduces 1 Glowstone Dust each 4 seconds." on break of soul soil: cancel event set event-block to air drop 1 soul soil named "&fWood Generator" with lore "&fProduces 1 Stick each 4 seconds." on break of gray wool: cancel event set event-block to air drop 1 gray wool named "&8Blackstone Generator" with lore "&fProduces 1 Dark Boulder each 4 seconds." on break of nether wart block: cancel event set event-block to air drop 1 nether wart block named "&4Leather Generator" with lore "&fProduces 1 Rabbit Hide each 4 seconds." on break of honeycomb block: cancel event set event-block to air drop 1 honeycomb block named "&6Gold Generator" with lore "&fProduces 1 Gold Nugget each 4 seconds." on break of red mushroom block: cancel event set event-block to air drop 1 red mushroom block named "&cApple Generator" with lore "&fProduces 1 Apple each 4 seconds." on break of light gray wool: cancel event set event-block to air drop 1 light gray wool named "&7Iron Generator" with lore "&fProduces 1 Iron Nugget each 4 seconds." on break of warped hyphae: cancel event set event-block to air drop 1 warped hyphae named "&dCrying Generator" with lore "&fProduces 1 Crystallized Tear each 4 seconds." As you can see, is an useless mess. Can you help? Link to comment Share on other sites More sharing options...
Checkmate128 Posted August 9, 2021 Share Posted August 9, 2021 13 hours ago, SirNikkel said: This is my script for my anarchy gen server. on every 80 ticks in "Somalia": if block is green wool block drop 1 dried kelp above location of block if event-block is shroomlight: drop 1 glowstone dust above location of event-block if event-block is soul soil: drop 1 stick above location of event-block if event-block is gray wool: drop 1 flint named "&fDark Boulder" above location of block if event-block is nether wart block: drop 1 rabbit hide above location of event-block if event-block is honeycomb block: drop 1 golden nugget above location of event-block if event-block is red mushroom block: drop 1 apple above location of event-block if event-block is light gray wool: drop 1 iron nugget above location of event-block if event-block is warped hyphae: drop 1 ghast tear named "&bCrystallized Tear" above location of event-block on break of green wool: cancel event set event-block to air drop 1 green wool named "&2Dried Kelp Generator" with lore "&fProduces 1 Dried Kelp each 4 seconds." on break of shroomlight: cancel event set event-block to air drop 1 shroomlight named "&eGlowstone Generator" with lore "&fProduces 1 Glowstone Dust each 4 seconds." on break of soul soil: cancel event set event-block to air drop 1 soul soil named "&fWood Generator" with lore "&fProduces 1 Stick each 4 seconds." on break of gray wool: cancel event set event-block to air drop 1 gray wool named "&8Blackstone Generator" with lore "&fProduces 1 Dark Boulder each 4 seconds." on break of nether wart block: cancel event set event-block to air drop 1 nether wart block named "&4Leather Generator" with lore "&fProduces 1 Rabbit Hide each 4 seconds." on break of honeycomb block: cancel event set event-block to air drop 1 honeycomb block named "&6Gold Generator" with lore "&fProduces 1 Gold Nugget each 4 seconds." on break of red mushroom block: cancel event set event-block to air drop 1 red mushroom block named "&cApple Generator" with lore "&fProduces 1 Apple each 4 seconds." on break of light gray wool: cancel event set event-block to air drop 1 light gray wool named "&7Iron Generator" with lore "&fProduces 1 Iron Nugget each 4 seconds." on break of warped hyphae: cancel event set event-block to air drop 1 warped hyphae named "&dCrying Generator" with lore "&fProduces 1 Crystallized Tear each 4 seconds." As you can see, is an useless mess. Can you help? You cannot use events inside of a periodical event. If you want to use your original solution you could make a variable increment every tick ands that such as: #increments variable every tick: add 1 to {tick} if {tick} % 80 is 0 I am not sure how best to structure your code but you could use your original solution using a variable that increments every tick. Owner of oldgaffle.minehut.gg. (my paintball server) Owner of karted.minehut.gg. (my mario kart server) Advocate of individual freedom, especially freedom of speech. Cooler than Stalemate128. Link to comment Share on other sites More sharing options...
cuppalemontee Posted August 10, 2021 Share Posted August 10, 2021 are there any requierd sk addons? Link to comment Share on other sites More sharing options...
Pryzmm Posted August 11, 2021 Share Posted August 11, 2021 5 hours ago, cuppalemontee said: are there any requierd sk addons? if you could show the errors Owner of Lifestealed, Labs, Encore, UNOfficially and Observed OG [VIP] 12/26/20 - 10/27/2021 OG [PRO] 12/27/21 - 11/18/2022 OG [LEGEND] 11/18/2022 - 3/14/2023 [DEFAULT] 3/14/2023 - 5/8/2024 [MOD] 5/8/2024 - Present Link to comment Share on other sites More sharing options...
Recommended Posts