Double xp

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

DarkMbs

Member
Jun 19, 2019
10
0
0
I want to make it so when a player is holding an custom iteam and the player mines a block i want the xp to drop double!
 
Why are you having 205 messages and 126 likes? You joined today.
Well, the forums are well known for glitches :emoji_wink:

I want to make it so when a player is holding an custom iteam and the player mines a block i want the xp to drop double!
Use a break event, then check for the type and name of the players tool. If the conditions match, drop more XP
 
Well, the forums are well known for glitches :emoji_wink:


Use a break event, then check for the type and name of the players tool. If the conditions match, drop more XP
Code:
on mine of any ore:
    if lore of player's held item is "&e&lDouble Xp":
        message "You are a good boi!"
        wait 2 ticks


this is what i have so far its not much but i cant get the xp to drop more
[doublepost=1561028882,1561027003][/doublepost]
Code:
on mine of any ore:
    if lore of player's held item is "&e&lDouble Xp":
        message "You are a good boi!"
        wait 2 ticks


this is what i have so far its not much but i cant get the xp to drop more
and if i want to use this https://skripthub.net/docs/?id=292 how will i make it work
Code:
on block break xp drop:
                        if lore of player's held item is "&e&lDouble Xp":
                                                message "You are a good boi!"
                                                wait 2 ticks
                                                add 20 xp
 
Code:
on mine of any ore:
    if lore of player's held item is "&e&lDouble Xp":
        message "You are a good boi!"
        wait 2 ticks


this is what i have so far its not much but i cant get the xp to drop more
[doublepost=1561028882,1561027003][/doublepost]
and if i want to use this https://skripthub.net/docs/?id=292 how will i make it work
Code:
on block break xp drop:
                        if lore of player's held item is "&e&lDouble Xp":
                                                message "You are a good boi!"
                                                wait 2 ticks
                                                add 20 xp
I would try something like `spawn 1 experience orb at %location%`
 
I would try something like `spawn 1 experience orb at %location%`
i tried this but it didn't work so I changed it a bit.... but it is only doing the effects the orbs don't count as xp
Code:
on block break xp drop:
                        if lore of player's held item is "&e&lDouble Xp":
                                                message "You are a good boi!"
                                                wait 2 ticks
                                                #spawn 100 experience orb at %location%
                                                spawn 500 xp orbs at the targeted block
 
Status
Not open for further replies.