Skript doesn't work, what did I do wrong?

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Playr

Member
Sep 30, 2022
2
0
1
26
# making this for a friend

on death:
if victim is a dolphin:
if colored name of victim is "&c&lSCP-1057":
spawn 1 dolphin at location -105, 60, -2
set name of last spawned entity to "&c&lSCP-1057"
 
I think the world in the location is the problem

location -105, 60, -2

location -105, 60, -2 in world "world"
 
Ok, i see. Skript thinks that this is some particle i think.
The smallest solution would be
Code:
on death:
    victim is "dolphin" parsed as entitytype
    broadcast "TESt"

(Iotzy u surely got a better solution with skript-reflect ;D)
 
Code:
on death of dolphin:
   if name of victim is colored "&c&lSCP-1057":
       spawn 1 dolphin at location -105, 60, -2
       set name of last spawned entity to colored "&c&lSCP-1057"
 
Code:
on death of dolphin:
   if name of victim is colored "&c&lSCP-1057":
       spawn 1 dolphin at location -105, 60, -2
       set name of last spawned entity to colored "&c&lSCP-1057"
Cmon no skript-reflect in use? :emoji_frowning:
Do some imports here. Some entitytype stuff there...
 
Cmon no skript-reflect in use? :emoji_frowning:
Do some imports here. Some entitytype stuff there...
:emoji_frowning::emoji_frowning::emoji_frowning::emoji_frowning::emoji_frowning::emoji_frowning:
When not using reflection in some answers
F0XRrvo.png

f6c83ea5-feab-4b2b-9887-cd7ea215da08
 
Status
Not open for further replies.