A Block Every 8 Seconds

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

LargerLettuce

Member
Apr 14, 2020
1
0
0
25
I have an idea and I was wondering if there is a way to make it give you a random block from a list of blocks every 8 seconds? I found a video with a Media Fire link but I want it to be world-specific so only get blocks if you're in one world. Is there any way to do that and if so could someone please help? thank you in advance.
 
Try this
Code:
every 8 seconds:
    loop all players:
        give loop-player 1 of random items out of all items
hope it works
(idk if it works)
[doublepost=1588693916,1588693842][/doublepost]and i can show u how to do it with a list
 
command /addtolist:
(1tab)permission: admin
(2tabs)trigger:
(3tabs) add player's tool to {ListOfItems::*}

every 8 seconds:
(1tab)loop all players
(1tab)give loop-player a random item from {ListOfItems::*}
 
command /addtolist:
(1tab)permission: admin
(2tabs)trigger:
(3tabs) add player's tool to {ListOfItems::*}

every 8 seconds:
(1tab)loop all players
(1tab)give loop-player a random item from {ListOfItems::*}
''give loop-player'' needs 2 tabs xd

correct way, dont use spaghetti code
Code:
every 8 seconds:
    loop all players:
        give loop-player...