#Errors
1 messages · Page 1 of 1 (latest)

@tidal abyss
how is that supposed to help
only thing we can find is very obvious syntax errors
you need to
and/or 
Like what
Syntax
Errors
Friend coded a lot
And he’s knew
Updated version sent
permission: domain.use
trigger:
give player 1 nether star named "&0&k1&bDomain Expansion&0&k1"
send "&aYou have received the Domain Expansion! Use it wisely." to player
on rightclick with nether star:
if name of player's tool is "&0&k1&bDomain Expansion&0&k1":
if clicked entity is a player:
set {_player1} to location of player
set {_player2} to location of clicked entity
remove 1 nether star named "&0&k1&bDomain Expansion&0&k1" from player's inventory
teleport player to location(0, 64, 0, world("world"))
teleport clicked entity to location(0, 64, 5, world("world"))
send "&cYou have been dragged into the Domain Expansion! Fight!" to player and clicked entity
play sound "ENTITY_WITHER_SPAWN" with volume 1 and pitch 1 for player and clicked entity
set {inDomain::%player%} to true
set {inDomain::%clicked entity%} to true
on quit:
if {inDomain::%player%} is true:
kill player
if {inDomain::%event-player%} is set:
kill event-player
delete {inDomain::%event-player%}
every 1 second:
loop all players:
if {inDomain::%loop-player%} is true:
if loop-player is within radius 10 of location(0, 64, 0, world("world")):
if loop-player's opponent is dead:
wait 60 seconds
teleport loop-player to the spawn of world("world")
send "&aYou have won the battle and returned to spawn!" to loop-player
delete {inDomain::%loop-player%}
@balmy brook debug?
Wdym
Sry there a lot issues?
Ok why not
localhosts:
permission: domain.use
trigger:
give player 1 nether star named "&0&k1&bDomain Expansion&0&k1"
send "&aYou have received the Domain Expansion! Use it wisely." to player
on rightclick with nether star:
if name of player's tool is "&0&k1&bDomain Expansion&0&k1":
if clicked entity is a player:
set {_player1} to location of player
set {_player2} to location of clicked entity
remove 1 nether star named "&0&k1&bDomain Expansion&0&k1" from player's inventory
teleport player to location(0, 64, 0, world("world"))
teleport clicked entity to location(0, 64, 5, world("world"))
send "&cYou have been dragged into the Domain Expansion! Fight!" to player and clicked entity
play sound "ENTITY_WITHER_SPAWN" with volume 1 and pitch 1 for player and clicked entity
set {inDomain::%uuid of player%} to true
set {inDomain::%uuid of clicked entity%} to true
else:
send "&cYou need to click on another player to activate Domain Expansion." to player
on quit:
if {inDomain::%uuid of event-player%} is set:
kill event-player
delete {inDomain::%uuid of event-player%}
every 1 second:
loop all players:
if {inDomain::%uuid of loop-player%} is true:
if loop-player is within radius 10 of location(0, 64, 0, world("world")):
if {opponentDead::%uuid of loop-player%} is true:
wait 60 seconds
teleport loop-player to the spawn of world("world")
send "&aYou have won the battle and returned to spawn!" to loop-player
delete {inDomain::%uuid of loop-player%}```
Debugged according to friend
He’s not good thi
According to other devs
If it does work a public domain skript is revolutionary
Hi x8oght
why the heck isnt the wait 60 seconds + all lines below it just in the right click event.
I didn’t code it
then you dont need to loop all players every second
then why are you here??
I can refer that to him
Wait I’m just kidding ig I’m a pro coder!
Xight
Want me to ask him that
How are we supposed to have a conversation about the code with you if
- You "didnt code it"
- You "dont know skript"?
bro knows so much he created useless local variables {_player1} and {_player2}
the looppp ensures continuous monitoring of the battle status, so we can detect when the opponent dies and trigger the wait only after confirming the battless end not just when the item is use
He said that
the "loop" also gets re-called every second
Yes does that lag server
the code doesnt have comments that give away it was made by AI, but you continuously referring to a "friend" and this message really makes it seem like AI was used to at least explain the code to you
?
I have the persons discord if you want it
There a dev friend
This message ^ seems like an AI response explaining a bit of the code
Oh
Ok
Well that’s not me
So as long as the code works I don’t mind if they use ai to explain or write
So they don’t code??
considering you're here i'd say it doesn't work
ill never understand minehut people
hiring/applying as devs and then everything goes through without proof
Yea they said they dev so i give rank
And they send me code
For whatever I ask like instantly
instantly?
then its very likely they use AI, cause thinking about how to create stuff takes time
not to mention testing, which was probably neglected
Oh
Do they not type fast
Fast
They said they have 300 words per second
So they get code quick
per SECOND???
Yes
Thats some next level shit
If you can't run the code on a server then why do you need it?
typing fast (at speeds that are physically impossible) does not mean they understand anything about code
So I just play with his account
What
Is he lying
300 words per SECOND?
like 80% of people type slower than 80 words per minute/wpm
MINUTE, not second
Yes he gets code like long really fast
He’s fast typed
Really speedy
.
He says he practice word toting games
Sounds like ai fr
Oh
Second??
Or minute
minute
I think there was a youtube video about a guy that reached 200WPM, which is very impressive.
to do 150% of that in 1/60th the time is impossible
time yourself, see if you can do more than 2-3 words a second
then realise the other guy claims to be 100 times faster
lying*
Do I tell him he broke redord
@balmy brook
found the error i just tested on falix
permission: domain.use
trigger:
give player 1 nether star named "&0&k1&bDomain Expansion&0&k1"
send "&aYou have received the Domain Expansion! Use it wisely." to player
on rightclick with nether star:
if name of player's tool is "&0&k1&bDomain Expansion&0&k1":
if clicked entity is a player:
set {_player1} to location of player
set {_player2} to location of clicked entity
remove 1 nether star named "&0&k1&bDomain Expansion&0&k1" from player's inventory
teleport player to location(0, 64, 0, world("world"))
teleport clicked entity to location(0, 64, 5, world("world"))
send "&cYou have been dragged into the Domain Expansion! Fight!" to player and clicked entity
play sound "ENTITY_WITHER_SPAWN" with volume 1 and pitch 1 for player and clicked entity
set {inDomain::%uuid of player%} to true
set {inDomain::%uuid of clicked entity%} to true
else:
send "&cYou need to click on another player to activate Domain Expansion." to player
on quit:
if {inDomain::%uuid of event-player%} is set:
kill event-player
delete {inDomain::%uuid of event-player%}
every 1 second:
loop all players:
if {inDomain::%uuid of loop-player%} is true:
if loop-player is within radius 10 of location(0, 64, 0, world("world")):
if {opponentDead::%uuid of loop-player%} is true:
wait 60 seconds
teleport loop-player to the spawn of world("world")
send "&aYou have won the battle and returned to spawn!" to loop-player
delete {inDomain::%uuid of loop-player%}```
the returned value of the function loctation location is not a world