Search results

  • 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 community!

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

  1. Killerz1243

    censoring system

    function checkBlacklist(l: objects, check: string) :: boolean: loop {_list::*}: if "%{_check}%" contains "%loop-value%": return true return false Should work now
  2. Killerz1243

    censoring system

    function checkBlacklist(l: list, check: string): loop {_list::*}: if {_check} contains loop-value: return true return false Try that if checkBlacklist({urblacklisthere::*}, message) is true: send "choose another name" So yea
  3. Killerz1243

    How do I make a near compass thingy?

    https://skriptlang.github.io/Skript/expressions.html#ExprCompassTarget. This could help. In terms of finding the nearest player on the opposite team, I do not know the most efficient way of doing this and will leave this for someone else to solve
  4. Killerz1243

    Amount of SPECIFIC blocks in radius of player??

    You are looping 400,000+ blocks per player, so that's to be expected
  5. Killerz1243

    Take information from chat

    on chat: if message contains "hi": cancel event set {_msg} to message send "hi %player%" to player" Think this was what you wanted?
  6. Killerz1243

    Amount of SPECIFIC blocks in radius of player??

    amount of (all blocks where [block input is glass]) in radius 100 of player should work
  7. Killerz1243

    Solved I can`t find the problem please help me!

    on right click: if player's held item is a name tag: if name of player's held item is "&e&lLevel 1 Pass": execute console command "pex user %player% add level1.use" send "&a&lYou have succfully claimed, Level 1 Pass!" remove 1 of held item from...
  8. Killerz1243

    Solved Variable list issue

    remove {bb::%uuid of player%} from {bb::*} delete {bb::%uuid of player%} maybe?
  9. Killerz1243

    Solved Variable list issue

    delete {bb::%uuid of player%} that might work
  10. Killerz1243

    Executing skript only for online players

    Instead of every 5 seconds, Put on join: while player is online: wait 5 seconds #code
  11. Killerz1243

    Executing skript only for online players

    You could make it so that when the players right-click the generator, a gui will be opened that allows you to take the generated items out of it, such that no items will be dropped on the ground
  12. Killerz1243

    Convert timespan to number to be added to balance

    you could convert a timespan to an integer using skript-mirror the code bolow will give u the number of seconds in the time ({_Time}.getTicks()/20)
  13. Killerz1243

    I can't filter items from the list.

    command /filter.test: trigger: set {_data::*} to stone and dirt, 3, 4, sand, 7, 8, diamond loop {_data::*}: if loop-value is a item: add loop-value to {_item::*} else if loop-value is a integer: add loop-value to...
  14. Killerz1243

    Detect if entity is wearing a block

    "help" is still not being broadcasted tho
  15. Killerz1243

    Attacker Is Slime Does Not Work

    Try this uwu on damage: if attacker is slimes: cancel event on entity target: if target is a player: if event-entity is slimes: cancel event Hope it helps lol
  16. Killerz1243

    Detect if entity is wearing a block

    Code: on damage of a zombie: if victim is wearing oak leaves: send "help" to all players There was no error, however, when the zombie is wearing oak leaves on its head, then hurt, it doesn't send "help" in the chat. I have searched the forum and could not find anything that might help.
  17. Killerz1243

    How do you create Scoreboards?

    Skript version: 2.2 Skript Author: Killerz1243 Minecraft Version: 1.14.4 My code: every second: loop all players: wipe loop-player's sidebar set name of sidebar of loop-player to "&b&lServer Name" Errors on reload: Line 13: Can't understand this condition/effect: wipe...