ThunderStorm Posted December 25, 2022 Share Posted December 25, 2022 on first join: chance of 50%: make player execute command "/kit starter" else: make player execute command "/kit gear" this skript is supposed to give players a 50% chance of getting one kit however it dosent give them any kits when i added the chance thing. Does anyone know why it dosent work and how to fix it? IGN: LordUltron Discord: ThunderStorm#6354 ------------------------------------------------------------- ------------------------------------------------------------- Link to comment Share on other sites More sharing options...
rosabel Posted December 25, 2022 Share Posted December 25, 2022 The code should work as long as there are no errors. You need to make sure the default group has permissions to do those commands, use a permissions plugin like Luckperms and use the node:essentials.kits.gear essentials.kits.starteressentials.kits essentials.kit and that should work! You can test it by changing On first Join to On Join shortly and then DEOPPING yourself, rejoining, and seeing if you get it. RosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRi code, animate, develop, UI design, learn, and adapt, as well as make servers, of courseJoined Minehut sometime in 2014VIP sometime in 2018Legend in January 2021Helper on 4/11/2021♥ (Retired) on 5/17/2021 Moderator on 8/18/2023 Link to comment Share on other sites More sharing options...
CollinUpp Posted December 27, 2022 Share Posted December 27, 2022 Rosa, you can just make custom kits with skript tho? for example: command /kit [<text>] [<offline player>]: cooldown: 10 minutes cooldown message: &c&lHey&7, wait 10 minutes for your kit! trigger: if arg-2 is set: set {_p} to arg-2 else: set {_p} to player if arg-1 is "starter": give {_p} 1 leather helmet named "&6&lStarter Helmet" give {_p} 1 leather chestplate named "&6&lStarter Chestplate" give {_p} 1 leather leggings named "&6&lStarter Leggings" give {_p} 1 leather boots named "&6&lStarter Boots" 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