#i need a script to the enemy follow player

5 messages · Page 1 of 1 (latest)

flint echo
#

Do it by yourself bruh.. we aren't here to do do your code..

Or try looking on youtube or on forums..

Anyway, I would personally make some key points for the bot to pass trough or raycast and rotate the bot and raycast again to try "de-stucking" him if it's stucked againts a wall.. that realy is't the kind of scripts you can ask like that.. your'e on a "scripting-help" forum not a "give me a script" one..

brisk otter
#

Pana Felipe, if you want to hire someone, go to #💵︱hiring , if you need help, then this is it.
What you are saying is you want a script, not help to script.

unkempt fiber
#

i cant hire

errant mesa
#

To make an enemy NPC follow a player in Roblox, you can use the following steps:

  1. Create a new place in Roblox Studio and add a player character and an enemy NPC.
  2. Add a script to the enemy NPC.
  3. In the script, use the Humanoid.MoveTo function to make the enemy NPC move towards the player's character. This function takes a Vector3 value as an argument, which represents the position that the NPC should move to.
    Here is an example of a script that will make an enemy NPC follow a player character:
#
local player = game.Players.LocalPlayer

while true do
  NPC.Humanoid:MoveTo(player.Character.HumanoidRootPart.Position)
  wait(1)
end