View difference between Paste ID: usgVeQ4G and 0APukvnS
SHOW: | | - or go back to the newest paste.
1
#Skrypt na PremiumCase By GoldMindNugget Czyli ChceBycNoobem100 |
2
#Zakaz usuwania tych linijek             |
3
#Mialem guessta i robilem ip EastCore.eu |
4
#Ale  i tk to jest mój skrypt!           |
5
#Niedługo kolejny skrypt!                |
6
7
on place:
8
    if player's tool is chest:
9-
        if name of player's tool is "&8[&9&lPremiumCase&8]":
9+
        if name of player's tool is "&8[&9&lxCase&8]":
10
            cancel event
11
 
12
on right click:
13
    if player's tool is chest:
14-
        if name of player's tool is "&8[&9&lPremiumCase&8]":
14+
        if name of player's tool is "&8[&9&lxCase&8]":
15
            broadcast "&7-------------(&2&lTWOJE&F&LIP.PL&7)&7-------------"
16
            broadcast "&7>> Gracz &a%player% &7Otworzyl &9&lPremiumCase &7i wydropil:"
17
            chance of 50%:
18
                drop 10 stone
19
                broadcast "&7- &c10 Stone"
20
            chance of 70%:
21
                drop 64 diamond
22
                broadcast "&7- &c64x Diaxy"
23
            chance of 40%:
24
                drop 1 311 of protection 4 and unbreaking 3 named "&c&lKlata 3/2"
25
                broadcast "&7- &c1x Klata 4/3"
26
            chance of 50%:
27
                drop 64 emerald
28
                broadcast "&7- &c64x Emeraldy"
29
            chance of 50%:
30
                drop 1 310 of protection 4 and unbreaking 3 named "&c&lHelm 3/2"
31
                broadcast "&7- &c1x Helm 4/3"
32
            chance of 80%:
33
                drop 32 Iron ingot
34
                broadcast "&7- &c32 Zelaza
35
            chance of 10%:
36
                drop 1 diamond boots of protection 4 and unbreaking 3 named "&4&lButy 3/2"
37
                broadcast "&7- &c1x Buty 4/3"
38
            chance of 10%:
39
                drop 1 diamond leggings of protection 4 and unbreaking 3 named "&4&lsopndie 3/2"
40
                broadcast "&7- &c1x Spodnie 4/3"
41
            chance of 10%:
42
                drop 1 diamond pickaxe of effciency 7 and unbreaking 3 and Fortune 3 named "&9&lKilof 7/3/3"
43
                broadcast "&7- &cKilof 7/3/3"
44
            chance of 3%:
45-
                drop 1 paper of effciency 8121 and unbreaking 9000 and Fortune 9999 named "&9&lPodpis autora Skryptu: &e(Minecraft GoldMindNugget &4MpcForum &aChceBycNoobem100&e)"
45+
                drop 1 paper of effciency 8121 and unbreaking 9000 and Fortune 9999 named "&9&lPodpis autora Skryptu: &e(Minecraft GoldMindNugget )"
46
                broadcast "&7- &cUnikatowy Podips Autora Skryptu!"
47
            chance of 100%
48
            broadcast "&8| &7PremiumCase Zakupisz Na &2&lTWOJE&F&LIP.PL "
49
            broadcast "&7-------------(&2&lTWOJE&F&LIP.PL&7)&7-------------"
50-
            remove 1 chest named "&8[&9&lPremiumCase&8]" from player's inventory
50+
            remove 1 chest named "&8[&9&lxCase&8]" from player's inventory
51
           
52
command /premiumcase [<player>] [<text>]:
53
    permission: TwojeIP.premiumcase
54
    trigger:
55
        if arg 1 is not set:
56
            if arg 2 is not set:
57
                send "&2&lTWOJE&F&L.PL &f&o>> &f&oPoprawne uzycie &c&o/&f&opremiumcase [nick] [ilosc]"
58
        if arg 1 is set:
59
            if arg 2 is set:
60
                execute console command "give %arg 1% chest %arg 2%  name:&8[&9&lPremiumCase&8]"
61
                send "&2&lTWOJE&F&L.PL &f&o>> &a&lOtrzymales &9&lPremiumCase &2&lx&a&l%arg 2% &a&l!" to player-arg
62
63
command /premiumcaseall [<text>]:
64
    permission: Admin.premiumcaseall
65
    permission message: &cMądrala nie ma permisji!
66
    trigger:
67
        if arg 1 is not set:
68
                send "&2&lTWOJE&F&L.PL &f&o>> &f&oPoprawne uzycie &c&o/&f&oPremiumCaseAll ilosc" to player
69
        if arg 1 is set:
70
  				loop all players:
71
                    execute console command "give %loop-player% chest name:&8[&9&lPremiumCase&8]"
72
                    broadcast "&b&lEast&f&lCore&a&l.eu &f&o>> &a&lWszyscy Otrzymali &9&lPremiumCase &7&lx&c&l%arg 2% &a&l!"
73-
command /premiumcasekch:
73+
74
command /xD:
75
    permission: skrypt.Admin
76
    permission message: &cMądrala nie ma permisji!
77
    trigger:
78
       broadcast "&2&lTWOJE&F&LIP.PL &f&o>> &c&lKto chce PremiumCase?"