Recent content by rustedst

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

  1. rustedst

    Event region

    if "%event-region%" contains "x": do stuff #or if "%region at player%" contains "x": do stuff #or if "%region at event-location" contains "x": do stuff none of those work. I've checked documentations and forums and almost everyone says one of these works. But not for me. Any help?
  2. rustedst

    Solved Offline player loop

    It's kinda complicated (because some variables come from other skript files) and I use that loop in multiple places, but here you are: function paraPuan(k: number): set {krallikPuani::%{_k}%} to {krallikPuani::%{_k}%} - {paraPuan::%{_k}%} set {paraPuan::%{_k}%} to 0 loop all offline...
  3. rustedst

    Solved Offline player loop

    I have a script that loops all offline players and takes some actions, but the thing is, Skript says what's the issue here? How can I use loop-player?
  4. rustedst

    Solved Relocation list variable

    I suppose you can loop {a::*} and create a new list from that. loop {a::*}: add loop-value to {b::*}
  5. rustedst

    Index in list

    So I have a really large list and I want to find the index of an element in that list. Like: set {_i} to index of {variable} in {exampleList::*} this doesn't work. I don't wanna loop the list to use loop-index because it's too large. And then I wanna edit that element and change it. Like: set...
  6. rustedst

    Solved Faint

    Oh wow, didn't test it but it seems like what I want. Thank you!
  7. rustedst

    Solved Faint

    How to use the swimming animation without actually swimming in Skript?
  8. rustedst

    No mob spawn in specific biome.

    You can use on chunk enter event to kill all the sheep in event chunk. New ones won't spawn. Or you can loop all ships and teleport the ship to the void if the ship's location is inside the biome. Both might cause lags tho. Try and see if they do.
  9. rustedst

    Solved Capturing a player

    I want to make a skript that makes players capture other players. The captured player will be sitting above the capturer (like riding a horse) and the capturer will be able to carry the player. How can I make this happen?
  10. rustedst

    No mob spawn in specific biome.

    As far as I know, Skript doesn't work in unrendered regions.
  11. rustedst

    Solved Faint

    I want to make the player faint. Making the player lay down is (I guess) impossible, so we can teleport the player to another place and spawn a player entity laying down instead. Those fainted entities should be able to be carried by other players, by Shift+Right click. And when the fainted...
  12. rustedst

    Solved Expressions in functions (Really quick question)

    So for example, I have a function line this function kill(p: player): kill {_p} When I want to use this function in an event, which one is true?: #first one on jump: kill(player) #second one on jump: kill(%player%) thanks!
  13. rustedst

    How to check player's biome

    set {_biome} to biome at player's location
  14. rustedst

    No mob spawn in specific biome.

    on spawn of a ship: if biome at event-location is plains: cancel event that must work
  15. rustedst

    Deleting non named items

    loop player's inventory: if name of loop-item is "Oak Log": remove 64 of loop-item from player's inventory if that doesn't work for some reason, try this: set {_count} to 0 loop player's inventory: if name of loop-item is "Oak Log": if {_count} is less than 65...