Advanced Enemy/Demon NPC [READ DESCRIPTION]
THE CODE IN THIS VIDEO IS MESSY AND OUTDATED
WATCH THIS INSTEAD: https://youtu.be/mXQmvrgkCuc
I have created a new video on this subject, including which includes better "Enemy AI". This video includes a voiceover and is way more organised.
Most enemy follow and attack scripts I've seen make the enemy follow you FOREVER, so once you aggro them, they never leave. Also, they don't have a cooldown or animation with the attack.
For my script I took a model my Sylfus [https://www.roblox.com/library/883941624/Following-NPC] but I changed it by about 70% to include:
- Animation on attack
- Enemy stops to attack
- If a player walks too far away from the original spawn location of the demon, the demon will walk back to its spawn location.
For this video you will need some sort of combat script. Mine is here:
https://www.youtube.com/watch?v=MRl1xicxWAY&t
Here is the animation script/model I use in the video:
https://www.roblox.com/library/5356737351/Animate
I will post the "Controller" script on my Discord a few hours after the release of this video.
See this video in action: https://www.roblox.com/games/4842037656/DevZoid-Demon-Slayer-Game-Tutorial
Join my Discord to get help or have a chat with me and other like-minded people:
https://tinyurl.com/devzoid-disc
Follow my Twitter where I tweet random stuff:
https://twitter.com/DevZoid
Subscribe to never get a scripting error again (not really):
https://www.youtube.com/c/DevZoid?sub_confirmation=1
Join my Roblox group! I will sometimes post games here after I finish a series on the channel:
https://www.roblox.com/groups/2905697/Zoid-Studios
Roblox username: DvZoid
Видео Advanced Enemy/Demon NPC [READ DESCRIPTION] канала DevZoid
WATCH THIS INSTEAD: https://youtu.be/mXQmvrgkCuc
I have created a new video on this subject, including which includes better "Enemy AI". This video includes a voiceover and is way more organised.
Most enemy follow and attack scripts I've seen make the enemy follow you FOREVER, so once you aggro them, they never leave. Also, they don't have a cooldown or animation with the attack.
For my script I took a model my Sylfus [https://www.roblox.com/library/883941624/Following-NPC] but I changed it by about 70% to include:
- Animation on attack
- Enemy stops to attack
- If a player walks too far away from the original spawn location of the demon, the demon will walk back to its spawn location.
For this video you will need some sort of combat script. Mine is here:
https://www.youtube.com/watch?v=MRl1xicxWAY&t
Here is the animation script/model I use in the video:
https://www.roblox.com/library/5356737351/Animate
I will post the "Controller" script on my Discord a few hours after the release of this video.
See this video in action: https://www.roblox.com/games/4842037656/DevZoid-Demon-Slayer-Game-Tutorial
Join my Discord to get help or have a chat with me and other like-minded people:
https://tinyurl.com/devzoid-disc
Follow my Twitter where I tweet random stuff:
https://twitter.com/DevZoid
Subscribe to never get a scripting error again (not really):
https://www.youtube.com/c/DevZoid?sub_confirmation=1
Join my Roblox group! I will sometimes post games here after I finish a series on the channel:
https://www.roblox.com/groups/2905697/Zoid-Studios
Roblox username: DvZoid
Видео Advanced Enemy/Demon NPC [READ DESCRIPTION] канала DevZoid
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
I Scripted Your Funny Roblox Ideas.. (Part 2)23 Minecraft Things That Are Actually PossibleAdvanced Pathfinding AI Demo | RobloxLet It Go - MLG Airhorn RemixUnderstand Roblox Studio in 10 MinutesPathfinding, Client VS Server, Unlimited Humanoids - Roblox Scripting TutorialPlaying Old Scam Games (Roblox)I was Bored, So I gave Myself 12 Hours to Make Anime Abilities [Part 1/2]Roblox Enemy NPC Tutorial - Part 2How to Teach Yourself Scripting on Roblox (2020)I Scripted Your Funny Roblox Ideas.. (Part 9)Roblox smart pathfinding aiI Made a Roblox Game in 30 Minutes..How To Script On Roblox 2021 - Episode 1 (Properties)Roblox Marine AI Just Received Some INSANE Updates - Most Advanced Roblox Soldier AI Ever?Tables (table.remove / table.insert) - Beginner Roblox Scripting #17Monster pathfinding (roblox studio)Waterfall Nature Walk [SpeedBuild] (ROBLOX Studio)CUSTOM CHARACTERS - How to create, rig and animate[Roblox Studio]NPC Attack