Jump to content

CuteLittleSpark

Member
  • Posts

    14
  • Joined

  • Last visited

1 Follower

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

CuteLittleSpark's Achievements

Newbie

Newbie (2/6)

1

Reputation

  1. #this is the working skript i have so far. # on death: attacker is a player: victim is a player: if {armorlevel::%victim's uuid%} is not set: set {armorlevel::%victim's uuid%} to 0 else if {armorlevel::%victim's uuid%} >= 2: remove 2 from {armorlevel::%victim's uuid%} else: set {armorlevel::%victim's uuid%} to 0 if {armorlevel::%attacker's uuid%} ? 0 < 29: add 1 to {armorlevel::%attacker's uuid%} setArmor(attacker) else: send action bar "&eArmor &8| &cMax. level reached!" to attacker on respawn: setArmor(player) function setArmor(p: player): set {_pid} to uuid of {_p} set {_amlv} to {armorlevel::%{_pid}%} ? 0 set {_p}'s helmet to air set {_p}'s chestplate to air set {_p}'s leggings to air set {_p}'s boots to air if {_amlv} < 5: if {_p}'s inventory doesn't contain wooden sword: loop all items in inventory of {_p}: "%loop-item%" contains "sword": remove loop-item from inventory of {_p} set slot 0 of {_p}'s inventory to wooden sword loop 5 times: if {_amlv} = 1, 2, 3 or 4: set {_diff} to difference between {_amlv} and 1 set {_mat} to "leather" if {_amlv} = 6, 7, 8 or 9: set {_diff} to difference between {_amlv} and 6 set {_mat} to "chain" if {_amlv} = 11, 12, 13 or 14: set {_diff} to difference between {_amlv} and 11 set {_mat} to "gold" if {_amlv} = 16, 17, 18 or 19: set {_diff} to difference between {_amlv} and 16 set {_mat} to "iron" if {_amlv} = 21, 22, 23 or 24: set {_diff} to difference between {_amlv} and 21 set {_mat} to "diamond" if {_amlv} = 26, 27, 28 or 29: set {_diff} to difference between {_amlv} and 26 set {_mat} to "netherite" if {_amlv} = 1, 6, 11, 16, 21 or 26: set {_p}'s boots to "%{_mat}% boots" parsed as itemtype if {_amlv} = 2, 7, 12, 17, 22 or 27: set {_p}'s leggings to "%{_mat}% leggings" parsed as itemtype if {_amlv} = 3, 8, 13, 18, 23 or 28: set {_p}'s chestplate to "%{_mat}% chestplate" parsed as itemtype if {_amlv} = 4, 9, 14, 19, 24 or 29: set {_p}'s helmet to "%{_mat}% helmet" parsed as itemtype if {_diff} > 0: remove 1 from {_amlv} loop all items in inventory of {_p}: "%loop-item%" contains "sword": remove loop-item from inventory of {_p} if {_amlv} >= 5: set {_mat} to "stone" if {_amlv} >= 10: set {_mat} to "gold" if {_amlv} >= 15: set {_mat} to "iron" if {_amlv} >= 20: set {_mat} to "diamond" if {_amlv} >= 25: set {_mat} to "netherite" set slot 0 of {_p}'s inventory to "%{_mat}% sword" parsed as itemtype # i was trying to make it so that when a player has a different exp level they get a different armor experience (for example if ur exp lvl 1 u gain 2 armour per kill but lose 3 . and if your exp 2 u gain 3 but lose 4 etc (only needed up for lvl 3)# #this is what i have so far. which doesn't work properly# on death: attacker is a player: victim is not a player: if {armorlevel::%victim's uuid%} is not set: set {armorlevel::%victim's uuid%} to 0 else: set {_expLvl} to experience level of victim switch {_expLvl}: case 1: remove 3 from {armorlevel::%victim's uuid%} add 2 to {armorlevel::%attacker's uuid%} setArmor(attacker) case 2: remove 4 from {armorlevel::%victim's uuid%} add 3 to {armorlevel::%attacker's uuid%} setArmor(attacker) case 3: remove 5 from {armorlevel::%victim's uuid%} add 4 to {armorlevel::%attacker's uuid%} setArmor(attacker) function setArmor(p: player): set {_pid} to uuid of {_p} set {_amlv} to {armorlevel::%{_pid}%} ? 0 #please let me know what i can do or if you have time to correct any of my mistakes i would be eternally greatfull for any and all help.#
  2. i agree 8 hours is good even 6 hours would be Just about bareable but 4 is nothing might have to find somthing new . im tempted to buy somthing but considering how things keep changing who knows after i pay it might change worse and waste money . for example everyone who lost money on there one time purchase of ranks. (imagine the dude that payed $50 and was told it was for ever to wake up with nothing (as if he been scammed) idk if i should pay and then get done over. hopefully they change there ways and improve again i hope that too many players dont leave if that happends everyone will leave and if that happend even if you change back we would have lost.
  3. what do you need making? if u can give some example i could probally help
  4. this is a quick fix for now hope it helps until you find a keep inv skript or fix gamerule on death: cancel event send "&cYou died, but your inventory is safe!" to player
  5. if u didnt whitelist the server anyone can join . your server is public. you can change it in settings so that only people who are whitelisted can join or you can change the max amount of people allowed on the server so that you and your friends can play max. if this was helpful at all consider leaving a like so that others can enjoy this info and why not its free
  6. on join of a server you get a gui that spins paper with amounts of 1k 2k 3k 4k 5k and u get a 20 percent chance each to get it every day. and after that spin you get another spin for paper with ranks on it 0.01 percent chance for paper called OP rank . 0.05 for Super rank 0.1 for rare 1percent for common 10 percent for Newbie rank rest chance for nothing if you could make that it would be great if you have extra time or feel like its easy you could make the items spin in the gui or appear and reappear after 10 seconds showing what you won . that would be great
  7. hell yeah ill give you a like. could you help me make a /crate skript that opens up a gui with 3 crates 1 is Rare , SuperRare and OP when somone opens the gui will the key and presses on which ever crate it gives you a random flash of objects (ill leave it up to you as i dont know how are this is) landing on the winning item. lets say the prizes could be common : Paper saying 10k (25percent) paper saying 5k (40percent) paper saying super key (chance 1 percent) 25 percent chance of 6 arrows 4.5 percent chance ( Ghast tear) 4.5 percent nothing. Super Rare : paper100k 25% . paper 50k 40%. 24 arrows 25% 4.5 percent chance Amthyis shard 4.5 percent Rare key 1 percent op key . OP key : 10 percent nothing 20 percent Paper called heart 20 percent 2papers called heart 20 percent paper called Rank 30 Percent chance Paper Koth Armour . i hope this is okay to ask and isnt too hard ( sorry again if it is im new to skripting.
  8. yes please is there any way to make a skript for a shop gui where u do /shop where when somone has full netherite they can trade the nethite armour + netherite sword for 0.5hp (red dye) instead or a (sunflower acting as coin ) for 20k in money or (Gold apple or god apple)they heal 0.1 per hit they deal on a player . if you could do this it would be much appreciated if its to hard then let me know ( im knew to skripting )
  9. what about a wooden stick that makes a glass dome around Your for 10 seconds and then the dome disappears if u need help with the skript i have kinda start of the skript i tried doing ( with no knowledge of skipting) on rightclick with stick: set block 3 above the player to glass set block 3 north of the player to glass set block 4 north 1 west of the player to glass set block 4 north 2 west of the player to glass set block 4 north 1 east of the player to glass set block 4 north 2 east of the player to glass set block 3 northeast of the player to glass set block 4 east of the player to glass set block 4 east 1 north of the player to glass set block 4 east 2 north of the player to glass set block 4 east 1 south of the player to glass set block 4 east 2 south of the player to glass set block 4 southeast of the player to glass set block 3 south of the player to glass set block 4 south 1 west of the player to glass set block 4 south 2 west of the player to glass set block 4 south 1 east of the player to glass set block 4 south 2 east of the player to glass set block 3 southwest of the player to glass set block 4 west of the player to glass set block 4 west 1 north of the player to glass set block 4 west 2 north of the player to glass set block 4 west 1 south of the player to glass set block 4 west 2 south of the player to glass set block 3 northwest of the player to glass set block 3 northeast above the player to glass set block 3 southeast above the player to glass set block 3 southwest above the player to glass set block 3 northwest above the player to glass set block 4 above north of the player to glass set block 4 north 1 west above the player to glass set block 4 north 2 west above the player to glass set block 4 north 1 east above the player to glass set block 4 north 2 east above the player to glass set block 3 northeast of the player to glass set block 4 east above the player to glass set block 4 east 1 north above the player to glass set block 4 east 2 north above the player to glass set block 4 east 1 south above the player to glass set block 4 east 2 south above the player to glass set block 3 southeast of the player to glass set block 4 south above the player to glass set block 4 south 1 west above the player to glass set block 4 south 2 west above the player to glass set block 4 south 1 east above the player to glass set block 4 south 2 east above the player to glass set block 3 southwest of the player to glass set block 4 west above the player to glass set block 4 west 1 north above the player to glass set block 4 west 2 north above the player to glass set block 4 west 1 south above the player to glass set block 4 west 2 south above the player to glass set block 3 northwest of the player to glass set block 3 above north of the player to glass set block 3 above north 1 west of the player to glass set block 3 above north 2 west of the player to glass set block 3 above north 1 east of the player to glass set block 3 above north 2 east of the player to glass set block 3 above northeast of the player to glass set block 3 above east of the player to glass set block 3 above east 1 north of the player to glass set block 3 above east 2 north of the player to glass set block 3 above east 1 south of the player to glass set block 3 above east 2 south of the player to glass set block 3 above southeast of the player to glass set block 3 above south of the player to glass set block 3 above south 1 west of the player to glass set block 3 above south 2 west of the player to glass set block 3 above south 1 east of the player to glass set block 3 above south 2 east of the player to glass set block 3 above southwest of the player to glass set block 3 above west of the player to glass set block 3 above west 1 north of the player to glass set block 3 above west 2 north of the player to glass set block 3 above west 1 south of the player to glass set block 3 above west 2 south of the player to glass set block 3 above northwest of the player to glass set block 3 above north of the player to glass set block 3 above north 2 west of the player to glass set block 3 above north 3 west of the player to glass set block 3 above north 2 east of the player to glass set block 3 above north 3 east of the player to glass set block 3 above northeast of the player to glass set block 3 above east of the player to glass set block 3 above east 2 north of the player to glass set block 3 above east 3 north of the player to glass set block 3 above east 2 south of the player to glass set block 3 above east 3 south of the player to glass set block 3 above southeast of the player to glass set block 3 above south of the player to glass set block 3 above south 2 west of the player to glass set block 3 above south 3 west of the player to glass set block 3 above south 2 east of the player to glass set block 3 above south 3 east of the player to glass set block 3 above southwest of the player to glass set block 3 above west of the player to glass set block 3 above west 2 north of the player to glass set block 3 above west 3 north of the player to glass set block 3 above west 2 south of the player to glass set block 3 above west 3 south of the player to glass set block 3 above northwest of the player to glass wait 5 seconds stop
  10. thanks for replying sorry im not 100 percent sure what to do could u explain it a little simplier for me if you can. are u saying o should replace some of the skript with the one your provided (sorry im a bit slow somtimes) the bit i dont understand is changing and to with ""in ill still try to do it with the infomation provided but im just a little comfused sorry. appreciate that your replied tho . so thanks. if your have any time to clarify more or shwo me what you mean it woul.ld be great but if not ill just keep trying . thanks again The more i keep re-reading this again and again i realised what you were saying more and more ill try replace my skript with the one provided hopefully it works
  11. I've been trying to add my leaderboard skript below to work with a skript i found recently but it doesn't seem to work I think its a easy fix but im not sure if it is or if i should just give up .hope you guys can help im new to skripting but everyone seems way smarter at this. (when i try to buy something it says im too poor when i have more than enough on the leaderboard) any advice or help is appreciated every 5 seconds: loop all players: wipe loop-player's sidebar set name of sidebar of loop-player to "&b&lDeath Plunder" set score "" in sidebar of loop-player to 10 set score "&bRank:" in sidebar of loop-player to 9 replace all "[" and "]" with "" in {_prefix} replace all "[" and "]" with "" in {_suffix} if length of {_suffix} is greater than 2: set score " %{_prefix}% &8+ %{_suffix}%" in sidebar of loop-player to 8 else: set score " %{_prefix}%" in sidebar of loop-player to 8 set score "&d" in sidebar of loop-player to 7 set score "&bMoney&8:" in sidebar of loop-player to 6 set score " &f%loop-player's balance%" in sidebar of loop-player to 5 set score "&e" in sidebar of loop-player to 4 set score "&bOnline&8:" in sidebar of loop-player to 3 set score " &f%number of all players%&8/&f100" in sidebar of loop-player to 2 set score "&2" in sidebar of loop-player to 1 Here is the shop skript:------------------------ ptions: shopname: &6&lShop defname: &a&lDefense genname: &b&lGens msg: &8[&3Shop&8] &3 function buy(p: player, i: integer, m: string, it: itemtype): set {_uuid} to uuid of {_p} if {balance::%{_uuid}%} >= {_i}: remove {_i} from {balance::%{_uuid}%} give {_p} {_it} named {_m} send "{@msg}Bought 1 %{_m}% &3for $%{_i}%" to {_p} else: send "{@msg}Too poor" to {_p} command /shop: trigger: set metadata tag "shop" of player to chest inventory with 1 row named "{@shopname}" set slot 0 of metadata tag "shop" of player to iron bars named "{@defname}" set slot 1 of metadata tag "shop" of player to hay bale named "{@genname}" open (metadata tag "shop" of player) to player on inventory click: if event-inventory = (metadata tag "shop" of player): cancel event if index of event-slot is 0: set metadata tag "shopDef" of player to chest inventory with 6 rows named "{@defname}" set slot 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 17, 18, 26, 27, 35, 36, 44, 45, 46, 47, 48, 49, 50, 51, 52 and 53 of metadata tag "shopDef" of player to black stained glass pane set slot 10 of metadata tag "shopDef" of player to stone brick named "&7&lTier 1 Defense Block" with lore "", "&aPrice: $5000" and "" set slot 11 of metadata tag "shopDef" of player to basalt named "&7&lTier 2 Defense Block" with lore "", "&aPrice: $20000" and "" set slot 12 of metadata tag "shopDef" of player to polished deepslate named "&7&lTier 3 Defense Block" with lore "", "&aPrice: $100000" and "" set slot 13 of metadata tag "shopDef" of player to iron trapdoor named "&f&lTier 2 Trapdoor" with lore "", "&aPrice: $25000" and "" set slot 14 of metadata tag "shopDef" of player to beacon named "&b&lRespawn Block" with lore "", "&aPrice: $20000" and "" open (metadata tag "shopDef" of player) to player if index of event-slot is 1: set metadata tag "shopGen" of player to chest inventory with 6 rows named "{@genname}" set slot 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 17, 18, 26, 27, 35, 36, 44, 45, 46, 47, 48, 49, 50, 51, 52 and 53 of metadata tag "shopGen" of player to black stained glass pane set slot 10 of metadata tag "shopGen" of player to white glazed terracotta named "&fWhite Generator &8[&6T1&8]" with lore "", "&aPrice: $100" and "" open (metadata tag "shopGen" of player) to player if event-inventory = (metadata tag "shopDef" of player): cancel event if index of event-slot is 10: buy(player, 5000, "&7&lTier 1 Defense Block", stone brick) if index of event-slot is 11: buy(player, 20000, "&7&lTier 2 Defense Block", basalt) if index of event-slot is 12: buy(player, 100000, "&7&lTier 3 Defense Block", polished deepslate) if index of event-slot is 13: buy(player, 25000, "&f&lTier 2 Trapdoor", iron trapdoor) if index of event-slot is 14: buy(player, 20000, "&b&lRespawn Block", beacon) if event-inventory = (metadata tag "shopGen" of player): cancel event if index of event-slot is 10: buy(player, 100, "&fWhite Generator &8[&6T1&8]", white glazed terracotta)
×
×
  • Create New...