Duplicating items while setting behaviors

I am making a project, and I created a function that makes a animal chase you until you kill it. When I tried to duplicate it, it did duplicate it, but the clone does not follow the code I made in the function. Help!

1 Like

You did a pretty good job here, Clint! See my remix below for fixes - you need to feed the copy into your function. Your nested click events aren’t the most elegant, but they work - you could use a variable to count the number of clicks instead. Looks like it’s going to be a cool game!

Hope this helps! Let me know if you have any further questions.

Geoff @ TechLeap

Yes. I am working on a project named Battlefield Simulator (I sorta blended Roblox ninja legends and Dungeon simulator) and the terrain is really big with over 6 scenes. It might take a while though.

1 Like

Thank You soooooo much! The code is really useful!

2 Likes

Great! Please mark this query as “Resolved”.

Many thanks,
Geoff @ TechLeap