#hey um im tryna actually learn skript now

1 messages · Page 1 of 1 (latest)

spark geyser
#

whats wrong with this?

on right click holding diamond shovel:
name of players tool is ''&b&lStaff of The Ghast'':
if difference between now and {%player's uuid%.Staff of The Ghast.lastUsed} is less than 1 seconds:
message "&fWait 1 seconds before use again!" to player
else:
make the player shoot a fireball at speed 2
set {%player's uuid%.Staff of The Ghast.lastUsed} to now
it says the second line doesnt work

#

i dont get it

#

it SHOULD WOrk

#

i mean

#

its my first custom skript

#

but

#

i dont get it

brittle coyote
#

Errors?

#

If name of players tool is

#

And indentation

spark geyser
#

here

brittle coyote
#

?

spark geyser
#

theres the error

#

sorry my folders are a mess

brittle coyote
#

K

#

You forgot the If

brittle coyote
spark geyser
#

what?

#

OOHhh

#

God damn

#

your right

#

i forgot the if-

#

aight

brittle coyote
spark geyser
#

now tryin

brittle coyote
#

K

spark geyser
#

doesnt work

brittle coyote
#

Error?

spark geyser
#

exaact samea

brittle coyote
#

Bruh

#

Wait

spark geyser
#

?

spark geyser
brittle coyote
#

Idk

#

It works for me when i use the line

spark geyser
#

wat

#

huh

#

heres the entire code

#

on right click holding diamond shovel:
if name of players tool is ''&b&lStaff of The Ghast'':
if difference between now and {%player's uuid%.Staff of The Ghast.lastUsed} is less than 1 seconds:
message "&fWait 1 seconds before use again!" to player
else:
make the player shoot a fireball at speed 2
set {%player's uuid%.Staff of The Ghast.lastUsed} to now
on damage:
projectile is set
projectile is a fireball
damage victim by 30 hearts

#

again

#

heres the thing

#

it works

#

but it works eveen if its not the custom diamond shovel

#

it just works with a regular one

tardy glen
#

you forgot the apostrophe on player's tool

brittle coyote
#

I think you dont need it

glossy aurora
#

You need it

#

You either use tool of player, or player’s tool

fleet scroll
#

Indent

spark geyser
#

wait

#

what

#

wdym

#

where do i put an apostrophe

#

i??

digital venture
#

Grammar.

flat wedgeBOT
digital venture
# spark geyser i??

How did you see my stats? i tried .stats user SlimeFroster but it didnt work?

spark geyser
#

oh

#

uh

#

i just clicked on the three dots

#

clicked apps

digital venture
#

ohhh

#

kk

spark geyser
#

how would one go about making a fireball summoned by a skript bigger

digital venture
#

? What do you mean, please explain.

spark geyser
#

i made a staff

#

that shoots fireballs

#

but they only create a 1 block explosion

#

making it so certain tall mobs dont even take damage

#

when you hit them in the head

digital venture
#

Loop blocks in a radius of that fireball and make it destroy loop-block

#

you can make the radius as big as you want

spark geyser
#

what

#

no i mean the explosion radius itself

#

not enviromental damage

tardy glen
#

you could cancel the projectile hit event then just create a bigger explosion at the location using this effect: https://skripthub.net/docs/?id=1128

brittle coyote
flat wedgeBOT
flat wedgeBOT
torpid quartzBOT
#
User Stats

Showing Stats for @elfin elbow

0 - Total XP
0 - Total Upvotes Received
0 - Total Downvotes Received

0 - Total Upvotes Given
0 - Total Downvotes Given

torpid quartzBOT
#
User Stats

Showing Stats for @formal ingot

0 - Total XP
0 - Total Upvotes Received
0 - Total Downvotes Received

0 - Total Upvotes Given
0 - Total Downvotes Given

flat wedgeBOT