Franx131YT Posted May 3, 2020 Share Posted May 3, 2020 Hello, Im new at minehut and i've seen good servers and i tried to make one. Now i'm making a server, I've seen a cool plugin called "skript". I don't know very much of how to skript and now I need some help with a skript to receive random items every 5 seconds. But i don't want the skript to give ANY item, Only: Oak planks, Cobblestone, Iron ore, Oak Sapling, Bamboo, Grass block. But some of them are rarer to get than others. (25% are the odds to get cobblestone, 10% are the odds to a grass block, etc) You can put any percent you want. Link to comment Share on other sites More sharing options...
EpicNess Posted May 3, 2020 Share Posted May 3, 2020 every 5 seconds: trigger: execute player command "/give {_p} oak_plank" every 7 seconds: trigger: execute player command "/give {_p} cobblestone" every 10 seconds: trigger: execute player command "/give {_p} iron_ore" idk smthing like dat Link to comment Share on other sites More sharing options...
WesGamer Posted May 3, 2020 Share Posted May 3, 2020 Im no skript god but i might be able to help if you want it to be a chance you could do every 5 seconds: if chance of 10%: give ... to player else if chance of 20%: give ... to player else if chance of 50%: give ... to player the else if's stop it from giving multiple items you can remove the else's from the else if's if you want a chance to give multiple items. if you need more help with it you can ask more about it here in the topic chat ill be happy to help quarantine is boring but necessary Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now