Skript temporary permission help

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

JacobJake7

New Member
Jan 26, 2018
9
0
1
21
I am trying to make temporary permissions through Skript

The Skript: https://pastebin.com/raw/qdHaQ9gi

The last two lines of the skript are me testing, but when using it, it adds the perm and then immediately removes it from the player, any help would be great, thanks!
 
Did you tab this line (execute console command "/manudelp %player% opgods.booster.5") one more than "if {one.%player%.lastused} is less than 1 second:"?
 
Spaced, tabbing causes errors. "Expected 12 spaces but found 3 tabs."
[doublepost=1593212264,1593199555][/doublepost]
Did you tab this line (execute console command "/manudelp %player% opgods.booster.5") one more than "if {one.%player%.lastused} is less than 1 second:"?
I changed my Skript to this: https://pastebin.com/raw/hVNEhH5y

But it still adds and then removes my permission node right away.
 
https://pastebin.com/raw/EUueW6Vm

This should help!

You needed to start the cooldown at the START of it #1

And #2 You just made it so at the end of it, if it was less than one second, it would stop it, and you have to have it so every 1 second it gets rid of it, not just see if it was there right after the cooldown started :emoji_slight_smile:

Edit: If you just looked at it, I accidently didn't fix something :emoji_slight_smile: So yeah
 
https://pastebin.com/raw/EUueW6Vm

This should help!

You needed to start the cooldown at the START of it #1

And #2 You just made it so at the end of it, if it was less than one second, it would stop it, and you have to have it so every 1 second it gets rid of it, not just see if it was there right after the cooldown started :emoji_slight_smile:

Edit: If you just looked at it, I accidently didn't fix something :emoji_slight_smile: So yeah
Thanks! But I am currently getting this error: https://gyazo.com/89edbe0733e9faa96929aabf3bd54dda
 
Status
Not open for further replies.