#how to make this usable once
1 messages · Page 1 of 1 (latest)
Do errors appear?
no
!format
:technologist: Code Blocks
To make it easier for others to read your code, it is asked that you send it in a code block. On Discord, you can simply send this:
```
Code here
```
So you can do this:
if display name of tool is "&6Duel Parsomeni":
if {usableonce} is not set:
send "&6Duel Parsomeni Kullanildi! " to event-player
remove paper named "&6Duel Parsomeni" from player
set {usableonce} to 1
or do this:
if display name of tool is "&6Duel Parsomeni":
send "&6Duel Parsomeni Kullanildi! " to event-player
set tool of player to air
Just do something like remove 1 of player's held item from player's held item (I forgot syntax lul)
not working
On right click with paper:
Player’s tool’s name is “insert name”:
Send “text” to player
Remove event-item from player
Wouldn't that remove the whole stack?
Just do remove 1 of event-item from player instead ig
Yeah
no i need
it to usable once
im making a killeffect skript and i need this for usable once
The skript I made only gives it one use. Are you looking for the player to keep the item?
if i use the item once it gives me test.1 permission and if u ise it again like second time its says "u cannot use it more than once and u already used it
why not just make the item disappear?
use the sk-ibidi addon
my skript does that 😭
but i need it for olny usable once
very sigma 😎
fr
Ok so what’s the problem if it’s getting removed after use it’s only usable once?
set a variable
If you are granting permissions with the right click of paper, you can also just use , on right click of paper:
Player has permission “xyz”:
Send “deny”
why permissions
If he’s using it to grant permissions, it’s better not to create unnecessary variables
indont see him use any permissions here