King_Ferrum Posted July 9, 2021 Share Posted July 9, 2021 # Skript Lockdown Gui command /lockdown: trigger: close player's inventory wait 1 tick open virtual chest inventory with size 3 named "Lockdown GUI" 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 off player with red wool named "&4!! &cLOCKDOWN &4!!" execute command "/whitelist on" execute command "/sudo * hub" Link to comment Share on other sites More sharing options...
Grayson935222 Posted July 10, 2021 Share Posted July 10, 2021 Change "execute command "/sudo * hub"" to "make all players say "/hub"". You could loop and check if player is not you but it seems you dont want that. Btw sudo is only essentials Link to comment Share on other sites More sharing options...
_Tarna_ Posted July 10, 2021 Share Posted July 10, 2021 I don't think Skript on Minehut can execute proxy commands, like /hub. You could just kick all players instead. Also instead of having a loop to format the 27 slots, you can just do format gui slot (integers between 0 and 27) of player to item. And skript also has an effect you can use to enable the whitelist so you dont even need a console command for that too. Discord - Tarna256#8675 In-game name - _Tarna_ Follow @Tarna_256 on Twitter --------------------------------------------------------- [VIP] - 7/27/2020 Support - 7/8/20 | 11/3/20 Helper - 11/3/20 - 2/21/21 Moderator - 2/21/21 - 5/17/21 - 5/17/21 - now Moderator - 12/20/22 - now --------------------------------------------------------- Link to comment Share on other sites More sharing options...
King_Ferrum Posted July 10, 2021 Author Share Posted July 10, 2021 7 hours ago, Grayson935222 said: Change "execute command "/sudo * hub"" to "make all players say "/hub"". You could loop and check if player is not you but it seems you dont want that. Btw sudo is only essentials Thanks for the heads up Link to comment Share on other sites More sharing options...
King_Ferrum Posted July 10, 2021 Author Share Posted July 10, 2021 7 hours ago, _Tarna_ said: I don't think Skript on Minehut can execute proxy commands, like /hub. You could just kick all players instead. Also instead of having a loop to format the 27 slots, you can just do format gui slot (integers between 0 and 27) of player to item. And skript also has an effect you can use to enable the whitelist so you dont even need a console command for that too. thanks for the advice Link to comment Share on other sites More sharing options...
_xXOussamaXx_ Posted July 11, 2021 Share Posted July 11, 2021 On 7/9/2021 at 3:00 PM, King_Ferrum said: # Skript Lockdown Gui command /lockdown: trigger: close player's inventory wait 1 tick open virtual chest inventory with size 3 named "Lockdown GUI" 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 off player with red wool named "&4!! &cLOCKDOWN &4!!" execute command "/whitelist on" execute command "/sudo * hub" Worst skript I've ever seen, if ur using TuSKe you would've forgotten to add a ":" on the line 10. Second thing is just make it `kick all players` 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