#I dont know why my skript isnt working
1 messages · Page 1 of 1 (latest)
: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
```
set {_loc} to clicked block
set {_cd} to cooldown of {_loc}
if {_cd} <= 0:
set {_p} to player
spawn a fireball at {_loc}
loop all entities within 3 blocks of {_loc}:
if loop-entity is a player:
damage loop-entity by 5
end if
end loop
set {_cd} to 20
wait 20 seconds
set {_cd} to 0
else:
send "You must wait %{_cd}% seconds before using this again." to player
end if```
look at line 3, what does that even mean to set cooldown of clicked block?
idk i asked chatgpt to maake skript and it gave me this
dude
let me just tell you this once, dont use chatgpt to make you skripts because it cant
and if you find out you are going to use it, dont ask here for help about his broken skripts
you can always go to #job-board and request skripts or request a skripter
ok ty
mb mb
alr ty homie