Ramina__ Posted July 9, 2021 Share Posted July 9, 2021 Please make me a lockdown skript when you do /lockdown it turns on whitelist and kicks all players that arent op and broadcasts "&b&lDeltaSmp &r&c&lHas Gone Into Lockdown Link to comment Share on other sites More sharing options...
wxterfall Posted July 9, 2021 Share Posted July 9, 2021 A pretty cool Lockdown Skript was recently posted on here so go check out that post: If you like what I post or I've helped you please leave a like or upvote my posts! Thanks! Link to comment Share on other sites More sharing options...
Ramina__ Posted July 10, 2021 Author Share Posted July 10, 2021 (edited) 7 hours ago, wxterfall said: A pretty cool Lockdown Skript was recently posted on here so go check out that post: It wont work for me i tried it Edited July 10, 2021 by nolando09 Link to comment Share on other sites More sharing options...
wxterfall Posted July 10, 2021 Share Posted July 10, 2021 What does the error say? If you like what I post or I've helped you please leave a like or upvote my posts! Thanks! Link to comment Share on other sites More sharing options...
Ramina__ Posted July 10, 2021 Author Share Posted July 10, 2021 13 minutes ago, wxterfall said: What does the error say? There is no error but it just dosent work? Link to comment Share on other sites More sharing options...
wxterfall Posted July 10, 2021 Share Posted July 10, 2021 (edited) I've looked over the code and fixed a few errors in it, try using this: Spoiler command /lockdown: trigger: close player's inventory wait 1 tick open virtual chest inventory with size 3 named "&4&lLOCKDOWN" to player set {_filler} to 0 loop 27 times: format gui slot {_filler} of player with red stained glass pane named "&3" add 1 to {_filler} format gui slot 13 of player with red wool named "&4!! &cLOCKDOWN &4!!" execute command "/whitelist on" wait 50 tick execute command "/minecraft:kick @a Server has been whitelisted by an Admin!" Edited July 10, 2021 by wxterfall If you like what I post or I've helped you please leave a like or upvote my posts! Thanks! Link to comment Share on other sites More sharing options...
Ramina__ Posted July 10, 2021 Author Share Posted July 10, 2021 8 minutes ago, wxterfall said: I've looked over the code and fixed a few errors in it, try using this: Reveal hidden contents command /lockdown: trigger: close player's inventory wait 1 tick open virtual chest inventory with size 3 named "&4&lLOCKDOWN" to player set {_filler} to 0 loop 27 times: format gui slot {_filler} of player with red stained glass pane named "&3" add 1 to {_filler} format gui slot 13 of player with red wool named "&4!! &cLOCKDOWN &4!!" execute command "/whitelist on" wait 50 tick execute command "/minecraft:kick @a Server has been whitelisted by an Admin!" works thanks Link to comment Share on other sites More sharing options...
wxterfall Posted July 10, 2021 Share Posted July 10, 2021 No problem! If you like what I post or I've helped you please leave a like or upvote my posts! Thanks! 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