How to make a simple npc ordering system in roblox studio.

Поделиться
HTML-код
  • Опубликовано: 29 дек 2024

Комментарии •

  • @Geehwbbwbevwvevrvrbfh7171
    @Geehwbbwbevwvevrvrbfh7171 11 месяцев назад +2

    omg thanks i learned it

  • @noodles675
    @noodles675 Год назад

    I also subscribed. :D

  • @bluekiddo1
    @bluekiddo1 Год назад

    I replaced the milk with my food but the npc dosent show the proximity prompt i don’t know what’s going on I watched this like 2 times

    • @rblxstudioavocado
      @rblxstudioavocado  Год назад

      🤔 Is the proximity prompt location correct?

    • @bluekiddo1
      @bluekiddo1 Год назад

      @@rblxstudioavocadooh now I fixed it

    • @bluekiddo1
      @bluekiddo1 Год назад

      @@rblxstudioavocadoquestion can you make a video like this but you have to hold out a item and when you give it to npc it disappears

    • @Geehwbbwbevwvevrvrbfh7171
      @Geehwbbwbevwvevrvrbfh7171 10 месяцев назад

      @@bluekiddo1 use :destroy to make it disapear

  • @noodles675
    @noodles675 Год назад

    Hi, this helped A LOT. I tried looking for something like this for ages. You just helped me out. Could you possibly make it to where the NPC has a pathfind service. For example, an NPC is able to walk up to the counter, table, etc and then asks for food. Then, once the player gives the NPC the desired order, he leaves. And then a totally different NPC comes up and asks for something different. Do you understand what I am trying to ask here? Sorry if it is too much.

    • @rblxstudioavocado
      @rblxstudioavocado  Год назад

      I will try to make it. :)

    • @noodles675
      @noodles675 Год назад +1

      @@rblxstudioavocado Thank you!!

    • @saintspeedy6723
      @saintspeedy6723 Год назад

      Håll käften

    • @ATYT_
      @ATYT_ Год назад +1

      @@rblxstudioavocado I need something like this too. Could you do it?

    • @Geehwbbwbevwvevrvrbfh7171
      @Geehwbbwbevwvevrvrbfh7171 10 месяцев назад

      for the pathservice use this script:
      local npc = script.Parent
      local path = game:GetService("PathfindingService")
      local humanoid = npc.Humanoid
      local waypoints = game.Workspace.Waypoints -- make sure to add a folder named "Waypoints" and name the waypoints as a number
      function finishedinstance()
      npc.n.Enabled = true
      end
      for waypoint = 1, #waypoints:GetChildren() do
      humanoid:MoveTo(waypoints[waypoint].Position)
      humanoid.MoveToFinished:Wait()
      humanoid.MoveToFinished:Connect(finishedinstance)
      end

  • @ahz277
    @ahz277 Год назад

    Is there a way I can do this with custom models

  • @Mykola4792
    @Mykola4792 10 месяцев назад

    theres aint pinned comment