#Game Help
1 messages · Page 1 of 1 (latest)
** You are now Level 2! **
core event doesn't exist
Change wait for child into find first child
And thats it??
no first you have to make the core event
right now its nil
thats why its yielding the thread and nothing is happening
How would you do that
Idk all I know is that I need to get units to spawn on a path
I will delete it and see what happens
Now there are things that have core event in it with a blue line underneath
send the full script
CoreEvent:FireAllClients("LockBase", Base)
here you use the fire all clients method, so core event should be a remote event in replicated storage
make sure the remote event is named properly when you create it
?
did you use ai to make this for you
no
where do I put the code you send me
thats not code that i made i was just referencing a piece of your code
with core event you used a method called fire all clients which sends information to every client in the game from the server
The chances are correct but they are not spawning in the right place
@uncut sluice
pivot the model to the spawn part or position
did you check my script bec i did that
you parented the model to workspace not npcfolder
what model
is that what i should change it to
Okay now it says WalkAnimation is not a valid member of Model "Serverstorage.NPCFolder.Rig"
** You are now Level 3! **
When it is
cant you just do this? NPCMove(NPCModel) in the spawn npc function
and then get rid of the child added connection
What line
you can do control f and search for childadded
now this is here
all of those blue and red marks
no delete that entire block from 132 to 137 and add NPCMove(NPCModel) in the SpawnNPC function
like this?
yes
add walk animation to npc model
** You are now Level 6! **
So in rig put walk animation??
yes because thats where it is in the code
Okay well not my npcfolfer in not in server storage
where is it
do you not have an animation called walk animation?
Like animation?
No
then why do you have it there
yes
Let's see the error this time
are you the one who wrote this or was it someone else
Now there is no bug but they are not spawning
they did not write it. here's a spoon, you need it more than i do right now 🥄
They are just not there
So are we not helping
dude youre asking me to code the entire thing for you
for the record this is their second thread about this game and aside from the missing remote, seems to now be rehashing the same issues i pointed out here: #1401788281963937884 message
npc position not set when spawned, pathfinding code is incorrect and pathfinds immediately to the end, and bonus points for missing datastores for the leaderstats 🤷
i do wonder how people get this far without picking up a single shred of knowledge or problem solving ability along the way 🤷
Why does this look a lot like our script in our game....
6 levels deep