So im basically done this Skript but keep getting stuck on the delete part. So basically what is supposed to happen is on right click of the player head it will give you a Dye aka candy then you eat it by right clicking again it will then give the affect and delete it from your inv. I am a new skripter so I dont know much. Here is what I have. Sorry for it being in file format too long to post to Discord.
#Candy Bowl
1 messages · Page 1 of 1 (latest)
@fluid linden
bro what
fr fr u should help me
whyd u ping me of all people
first person to come up
ive been skripting for 45 minutes idk anything
nah idrm pings
i would help but its late for me and i dont feel like opening my code editor to open that file
i mean if u still on can u help me wit another code?
it really basic
but yk i forget how to do it
so basicly it needs to check if player is in "009" region but basicly this is what i have every tick: if {009} is set: if "%region at player%" contains "009": send "hello" to player if {009} is set: just as a test but how to i get it to check for when player enters 009
@fluid linden
on region enter
thats a event?
yes
dam bet tysm
lol this went from working on one skript which in fact never got fixed to working on another
doing that every tick will send hello every tick
on region enter:
if "%region at player%" contains "009":
send "hello" to player
on region exit:
if "%region at player%" contains "009":
send "goodbye" to player
why do u have 2 on right click events ? why not do both in same event ?
i did try that does the same shit and just too lazy to change it back rn
what isnt working ?
its not giving the effects or ?
no i didnt type it all out i just told ai how to type it for me
its not that it doesnt work its that it will auto remove the item
I want it to wait for another click
like so u right click the jar
then u get the dye
then you get the effect once you click agian
ok so i dont understand ... the item isnt being removed ?
after u click again ?
try the skript i sent
no
so like heres how the process should go:
from that you get the dye
you right click again somewhere else
it gives effect
it removes````
but how it goes is:
you get effect
you get the dye for a sec
it auto removes```
probs bc of ur wait one second at the top of the seconf statement
its running both at same time
dude
this code
you do realise all dyes is a thing? just set {330::*} to that
and, on right-click on player head: if event-block's location = loaction(x, y, z, world "world): ...
and dont use console commands for potion effects, skript can do that
First off no i didnt
I didnt think of this but yes i should have done this
and lastly didnt know this but the reason i made all these dumb mistakes is i've been skripting for a week
And also sorry for stupidly late resp i was sleeping it was 2 am
Nope
tried it
So what is the reason it doesnt wait for another input?
@jade thicket @willow heron ?
yo lowkey quit pinging everybody
bc ur saying on right click "wait 1 second" then after that 1 second is done its running both right click events at once basically
u need to do on right click on player head for the top one and probs remove the one second wait from the dye usage ... and probably say on right click with any dye: if player's tool is x dye
no removing the 1 second doesnt do anything