Jump to content

I need help with a custom ban skript I am making ;-;


Pepe_Sad_Frog
 Share

Recommended Posts

Hello person, How are u person? Hope you are okay person, person I need help tho ;-;. Im making a custom ban punish skript. The skript has no errors and it works fine with the menu. The only problem is that when I do /temppunish player example /temppunish Pepe_Sad_Frog it shows me a menu with the things I want but when I click the block I chose to ban the player for 30d for Hack Client is says "No player found" like BRUH pls someone help me ;-;

Link to comment
Share on other sites

Reply to this thread with your code, it will make it easier for us to help you resolve your problem ūüôā

‚ģě Junior Mod¬†(01/04/2020) - Resigned¬†‚ģú

‚ģ쬆Discord¬†¬Ľ¬†Koronotchi#0001¬†‚ģú
‚ģě Minecraft¬†Username¬†¬Ľ¬†Koronotchi¬†‚ģú

image.png.17a385f298c8969f6b1cf03e27ee50d3.png

 

Link to comment
Share on other sites

command /temppunish <offlineplayer>:
  usage: /temppunish <offlineplayer>
  aliases: /tp 
  permission: temp.punish.command
  permission message: "&cYou have no perms for that"
  trigger:
    wait 1 tick
    open chest with 3 rows named "&4Punish" to player
    wait 1 tick
    format slot 0 of player with bedrock named "&0Hack client" with lore "&830d" to close then run [execute player command "/tempban <player> 30d Hack Client"]

Link to comment
Share on other sites

Moved to Skript Discussion


-------------------------------------------------------------
[VIP] - 2018/2019

[JR.MOD] - 28th April 2019
[SR.MOD] - 21st June 2019

[LEGEND] - 28th July 2020 (Resigned)

-------------------------------------------------------------

Discord - Criticyl#0002

IGN - Criticyl

Link to comment
Share on other sites

Try to do this 
 

command /temppunish <offlineplayer>:
  usage: /temppunish <offlineplayer>
  aliases: /tp 
  permission: temp.punish.command
  permission message: "&cYou have no perms for that"
  trigger:
    wait 1 tick
    open chest with 3 rows named "&4Punish" to player
    wait 1 tick
    format slot 0 of player with bedrock named "&0Hack client" with lore "&830d" to close then run [execute player command "/tempban %arg 1% 30d Hack Client"]

 

  • Thanks 1


-------------------------------------------------------------
[VIP] - 2018/2019

[JR.MOD] - 28th April 2019
[SR.MOD] - 21st June 2019

[LEGEND] - 28th July 2020 (Resigned)

-------------------------------------------------------------

Discord - Criticyl#0002

IGN - Criticyl

Link to comment
Share on other sites

Adding on to above ^ you need to use percentages to call the argument. For instance %arg 1%. 
Additionally, I would recommend using TuSKe GUIs because they are more stable and efficient. 

‚ģě Junior Mod¬†(01/04/2020) - Resigned¬†‚ģú

‚ģ쬆Discord¬†¬Ľ¬†Koronotchi#0001¬†‚ģú
‚ģě Minecraft¬†Username¬†¬Ľ¬†Koronotchi¬†‚ģú

image.png.17a385f298c8969f6b1cf03e27ee50d3.png

 

Link to comment
Share on other sites

7 minutes ago, Pepe_Sad_Frog said:

What TuSKe does tho? 

Basically a more efficient addon for GUIs. If you would like to know how it works then I would recommend this video 

 

‚ģě Junior Mod¬†(01/04/2020) - Resigned¬†‚ģú

‚ģ쬆Discord¬†¬Ľ¬†Koronotchi#0001¬†‚ģú
‚ģě Minecraft¬†Username¬†¬Ľ¬†Koronotchi¬†‚ģú

image.png.17a385f298c8969f6b1cf03e27ee50d3.png

 

Link to comment
Share on other sites

  • 3 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share



×
×
  • Create New...