How To Make A Dialogue System | Roblox Tutorial

Поділитися
Вставка
  • Опубліковано 11 січ 2025
  • Ігри

КОМЕНТАРІ •

  • @MajesticUC
    @MajesticUC  Рік тому +4

    If you have any problems, JOIN THE DISCORD!!! I can help you there! 👍👍👍⚖ GUYS SUB IM SO CLOSE TO 1K!!!!

    • @boas7742
      @boas7742 Рік тому +1

      You know who i am and i know where you live Quaver cop

    • @rnaodmsomething
      @rnaodmsomething Рік тому +1

      Discord invite doesn't work

    • @MajesticUC
      @MajesticUC  Рік тому

      @FadePlayz895 parents wont let you?

  • @Bright-eb5xp
    @Bright-eb5xp Рік тому +184

    if im being honest this tutorial is a living nightmare to follow, theres sudden cuts, its literally a timelapse, nearly impossible to follow.

    • @Bread_Man_Official
      @Bread_Man_Official 11 місяців тому +7

      agreed

    • @FruAnimates
      @FruAnimates 9 місяців тому +3

      Fr

    • @the_endermanelio
      @the_endermanelio 8 місяців тому +11

      This is the only comment not hearted by the creator lol

    • @BluBerry3
      @BluBerry3 8 місяців тому +7

      Don't forget the bad grammar, and annoying tts.

    • @dquija2000
      @dquija2000 8 місяців тому +5

      its also not that flexible since everything is hard coded into one possible dialoge scenario.

  • @ACF_Real
    @ACF_Real Рік тому +68

    As someone who can easily make their own dialogue gui, i'm actually really impressed by this, i usually use a bunch of text strings and use a script to play them out on the gui, keep it!

    • @MarcusJackerys
      @MarcusJackerys 5 місяців тому +2

      how It doesn't work for 2024

    • @Angremaan
      @Angremaan 5 місяців тому +1

      @@MarcusJackerys works for me, nvm he cuts too much bro its impossible

  • @thouareweaklings
    @thouareweaklings Рік тому +27

    he was doing so much things so fast that i just gave up

    • @btdpuffer
      @btdpuffer 10 місяців тому +1

      There is something called pausing and rewinding

    • @Zenith106
      @Zenith106 10 місяців тому +9

      @@btdpuffer There wouldn't be any need to pause or rewind if the video was simply easier to follow for people who struggle with the pacing.

    • @Olliemaxx1
      @Olliemaxx1 7 місяців тому +1

      The only thing you can do then is to slow down the speed. click the settings button and then “Playback Speed” then play the video at .75x or .5x if you need to.

  • @xcharisma
    @xcharisma 9 місяців тому +4

    I love regular show

  • @hinublox5602
    @hinublox5602 Рік тому +9

    Me finishing the UI: Wow thats was so easy!
    When i found out the video was 9 minutes:😀

  • @ZakaryProductions
    @ZakaryProductions Рік тому +15

    This is really relevant to what I needed, thank you very much for this tutorial! You really helped me. Earned yourself a new subscriber.

  • @ackton
    @ackton 6 місяців тому +57

    took me 30 minutes cuz i kept having to pause the video, and then the tutorial didn't even work. WOOOO!!!!! thanks for wasting my time

    • @LyricalMiracle1
      @LyricalMiracle1 6 місяців тому +4

      samee, like the texts doesnt pop up and there's an error 😭 and the dialogue box shows up before i even press interact. imaaa dieeeee

    • @notmuichirotokito
      @notmuichirotokito 5 місяців тому

      @@LyricalMiracle1 me too

    • @fitelio5315
      @fitelio5315 5 місяців тому +4

      Just learn how to script

    • @goptgod7
      @goptgod7 5 місяців тому

      maybe ur just shit

    • @RainbowTheDev
      @RainbowTheDev 5 місяців тому

      ture

  • @Etohl
    @Etohl Рік тому +3

    Thank you so much bro! Also congrats on hitting 1k subscribers!

  • @rglee311
    @rglee311 Рік тому +79

    DialogueManeger: local Your NPC= workspace:WaitForChild("Your NPC") local dialogueMod = require(script:WaitForChild("Dialogue")) Shopkeeper.ProximityPrompt.Triggered:Connect(function( ) dialogueMod.Activate("Put What YOU Want Here", 0.3) end) Module Script: local ts = game:GetService("TweenService") local tweenInfo = TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) local dialogueGui = script.Parent.Parent local dialogueFrame = dialogueGui.WaitForChild("DialogueBox") local dialogueText = dialoguebox:WaitForChild("Dialogue") local active = false local dialogue = { } local function openDialogue( ) dialoguebox.Size = UDim2.new(0,0,0,0) dialoguebox.Visable = true ts:Create(dialoguebox, tweenInfo {Size = UDim2.new(0,958,0,0,289,0)} ):Play( ) task.wait(1.3) end local function closeDialogue( ) ts:Create(dialoguebox, tweenInfo, {Size = UDim2.new(0,0,0,0)}):Play( ) task.wait(1) dialoguebox.Visable = false end local function writeText(text, interval) dialogueText.Text = " " for _, letter in pairs(string.split(text, "")) do dialogueText.Text ..= letter task.wait(interval) end task.wait(0.5) dialogueText.Text = " " end function dialogue.Activated(text, interval) openDialogue( ) if active then return end active = true writeText(text, interval) closeDialogue( ) active = false end return dialogue

    • @pixelss_stuff
      @pixelss_stuff Рік тому +4

      w this guy

    • @Dexuid
      @Dexuid Рік тому

      module script ples

    • @rglee311
      @rglee311 Рік тому

      @Yournormalhighschool189 ty

    • @AAquafox
      @AAquafox Рік тому

      this steel didn`t work in my project

    • @AAquafox
      @AAquafox Рік тому

      i have there red line under dialogueBox

  • @xBaconzG
    @xBaconzG Рік тому +8

    Thank you! im planning to make a story game with my friends in the future, and this really helped!.

  • @camren_gamer
    @camren_gamer Рік тому +2

    this actually helped me out, thanks!

  • @ThatOneBuilderDev_
    @ThatOneBuilderDev_ Рік тому +5

    I needed this I am working on planning for a game and npcs rn but I had like a system before but it broke completely this will help alot

  • @Duncan9910
    @Duncan9910 Рік тому +1

    Thank you, I've needed this for so long

  • @modestosapinit3099
    @modestosapinit3099 7 місяців тому +5

    if you want the dialogue to loop after ending here.
    if dialogueMod.IsActive() then return end
    if talkCounter > #geraldDialogue then
    talkCounter = 1
    end
    dialogueMod.Activated(geraldDialogue[talkCounter],0.05,gerald)
    talkCounter += 1
    end)

  • @kboi647
    @kboi647 5 місяців тому +1

    "There, just remember what I said in slow motion" -GLaDOS Portal 2

  • @dumbdumi
    @dumbdumi Рік тому +2

    why are you so underrated, you literally make one of the best roblox devlog games and you make useful tutorials

  • @GoofyAhhWeeb
    @GoofyAhhWeeb Рік тому +9

    I did all the scripts correctly and replaced Gerald with my user but when I go into the game, the dialogue ui is already there (without text) and when I press e, nothing happens
    I doubled and triple checked all scripts and it’s correct and there are no red highlights so idk what’s going on

  • @userxhajdhd72
    @userxhajdhd72 Рік тому +40

    local ts = game:GetService("TweenService")
    local tweenInfo = TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
    local dialogueGui = script.Parent.Parent
    local dialoguebox = dialogueGui:WaitForChild("DialogueBox")
    local dialogueText = dialoguebox:WaitForChild("Dialogue")
    local active = false
    local dialogue = {}
    local function openDialogue()
    dialoguebox.Size = UDim2.new(0,0,0,0)
    dialoguebox.Visible = true
    ts:Create(dialoguebox, tweenInfo, {size = UDim2.new(0.958,0,0.289,0)}):Play()
    task.wait(1.3)
    end
    local function closeDialogue()
    ts:Create(dialoguebox, tweenInfo, {Size = UDim2.new(0,0,0,0)}):Play()
    task.wait(1)
    dialoguebox.Visible = false
    end
    local function writeText(text, interval)
    dialogueText.Text = ""
    for _, letter in pairs (string.split(text, "")) do
    dialogueText.Text ..= letter
    task.wait(interval)
    end
    task.wait(0.5)
    dialogueText.Text = ""
    end
    function dialogue.Activated(text, interval)
    if active then return end
    active = true
    openDialogue()
    writeText(text, interval)
    closeDialogue()
    active = false
    end
    return dialogue

  • @FunnyCraftSheep
    @FunnyCraftSheep Рік тому +24

    I have a small problem, the text box and frame gui are always on the screen, not only when the character speaks. It also only says "Label".

    • @Zenhd12
      @Zenhd12 Рік тому +1

      try renaming things a bit

    • @vawlrbx
      @vawlrbx Рік тому +8

      had the same problem, all you have to do is go to the dialogue box in workspace and make sure visible is not checked

    • @TheEpikStormIsComing
      @TheEpikStormIsComing Рік тому +3

      @@vawlrbxbut then when I try to talk, it doesn’t show up

    • @radiation2860
      @radiation2860 Рік тому +1

      @@TheEpikStormIsComing same

    • @ScriptingSolutions
      @ScriptingSolutions Рік тому

      @@TheEpikStormIsComing Did you fix this, having the same problem

  • @gabrielmlhdf
    @gabrielmlhdf Рік тому

    Thanks I am trying to make my first roblox game ever! I really liked this simple tutorial thank you so much!!!!!

  • @Joe-in2tg
    @Joe-in2tg Рік тому +2

    I guess im an og, i know one day you will blow up ❤❤❤🎉🎉🎉

  • @Astrolightation
    @Astrolightation Рік тому +2

    When i copying the code, i have this unknown global ( i think i meant the variable isn't exist? ), vpfFrame is not a unknown global in 5:48, you didn't show all the instructions.

  • @ValgotVyash
    @ValgotVyash Рік тому

    Congrats on 3k!

  • @chooyeah
    @chooyeah Рік тому +1

    Keep up the good work bro! Your vids are high quality and you will become big one day 😍

  • @skylar2778
    @skylar2778 Рік тому +25

    I've did exactly what was needed in the video but it wouldn't work and im confused. Can you help or tell me why this is happening?

    • @oogabungabanana
      @oogabungabanana Рік тому +2

      Any errors in the output?

    • @itsstar00
      @itsstar00 Рік тому +2

      same here. i was looking for spelling mistakes in my script and i i didn’t find any. it still didn’t work :(

    • @kimberlysandoval680
      @kimberlysandoval680 Рік тому +1

      I think it’s because either your proximity prompt or you did something like didn’t add a parenthesis or forgot an end or something like that. Also, you may have named something he named, but isn’t actually called that. You may want to double-check on those.

    • @lifesux1953
      @lifesux1953 11 місяців тому +2

      Turn on 'output' in view and look for any squiggly lines

  • @ayselkaraca6410
    @ayselkaraca6410 Рік тому +1

    i can now add my talking npc to my game thanks

  • @Sorey1_1
    @Sorey1_1 6 місяців тому +2

    There can be some mistakes and some errors but it still work like the video
    Dialogue Manager :
    local npc = workspace.Map.Npcs.rabdjhjk -- change to your npc location
    local dialogueMod = require(script:WaitForChild("Dialogue")) -- change to your screengui name
    local geraldDialogue = require(script:WaitForChild("rabdjhjkDialogue")) -- change to your dialogue module name
    local talkCounter = 1
    npc.ProximityPrompt.Triggered:Connect(function()
    if talkCounter > #geraldDialogue or dialogueMod.IsActive() then return end
    dialogueMod.Activated(geraldDialogue[talkCounter], 0.3, npc)
    talkCounter+=1
    end)
    Dialogue :
    local ts = game:GetService("TweenService")
    local tweenInfo = TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
    local dialogueGui = script.Parent.Parent
    local dialoguebox = dialogueGui:WaitForChild("DialogueBox") -- change to your frame name
    local dialogueText = dialoguebox:WaitForChild("Dialogue") -- change to your screengui name
    local vpfFrame = dialoguebox.Pfp.ViewportFrame -- Adjusted to refer to the correct path
    local pfp = dialoguebox:WaitForChild("Pfp") -- change to your pfp name
    local active = false
    local dialogue = {}
    local function openDialogue()
    dialoguebox.Size = UDim2.new(0, 0, 0, 0)
    dialoguebox.Visible = true
    ts:Create(dialoguebox, tweenInfo, {Size = UDim2.new(0.762, 0, 0.173, 0)}):Play()
    task.wait(1.3)
    end
    local function closeDialogue()
    ts:Create(dialoguebox, tweenInfo, {Size = UDim2.new(0, 0, 0, 0)}):Play()
    task.wait(1)
    dialoguebox.Visible = false
    end
    local function writeText(text, interval)
    dialogueText.Text = ""
    for _, letter in pairs(string.split(text, "")) do
    dialogueText.Text ..= letter
    task.wait(interval)
    end
    task.wait(0.5)
    dialogueText.Text = ""
    end
    local function addPfp(npc)
    local vpfCam = Instance.new("Camera", vpfFrame)
    vpfFrame.CurrentCamera = vpfCam
    local newNpc = npc:Clone()
    newNpc.Parent = vpfFrame.WorldModel
    newNpc.HumanoidRootPart.Anchored = true
    newNpc:PivotTo(CFrame.new(0, 0, 0))
    vpfCam.CFrame = CFrame.new(newNpc.Head.Position + Vector3.new(0, 0, -2), newNpc.Head.Position)
    end
    local function closePfp()
    for _, v in pairs(vpfFrame.WorldModel:GetChildren()) do
    v:Destroy()
    end
    vpfFrame:FindFirstChild("Camera"):Destroy()
    end
    function dialogue.IsActive()
    return active
    end
    function dialogue.Activated(text, interval, npc)
    if active then return end
    active = true
    addPfp(npc)
    openDialogue()
    writeText(text, interval)
    closeDialogue()
    closePfp()
    active = false
    end
    return dialogue
    geraldDialogue :
    return {
    "Text", -- change "Text" to what you want the npc to say
    "TExt", -- change "Text" to what you want the npc to say
    "Text", -- change "Text" to what you want the npc to say
    }

  • @L1llysN4tur3
    @L1llysN4tur3 8 місяців тому

    finally, one that isnt super long

  • @thayki6260
    @thayki6260 6 місяців тому +1

    i followed everything for it to not be what i was looking for...

  • @MrDucky39
    @MrDucky39 Рік тому +3

    The code was a hard part, i would just follow along but i also wanna know what it does, great video but maybe next time it would be a whole lot better if you explained what each part of the code did, thanks!

  • @Louie56837
    @Louie56837 4 місяці тому

    I like how everyone in the comments are mixed up about the text not working. The reason it's doing that is because one of the part that says,
    local dialogueGui = script.Parent.Parent
    local dialogueBox = dialogueGui:WaitForChild("DialogueBox")
    local dialogueText = dialogueGui:WaitForChild("dialogue")
    is referring to something else. This system works, just gotta make your own. you should def learn some tweening I know I will.

  • @Le_goatz
    @Le_goatz Рік тому +2

    heyya bro i love ur vids may i ask how do you learn to coding in roblox? ive been strunggling to make my dream game and i just watch ur tutorial to make my game but it isnt enough for me can you give me some tips or tell me how you learn to do some coding in roblox (i subed btw cuz u helped me so much)

    • @MajesticUC
      @MajesticUC  Рік тому +3

      Just code. If you’re new to scripting it is recommended you don’t start making your dream game. I learnt simply by making scripts for small projects. Eventually i started learning about things like modules scripts and watched yt tutorial and devforum posts to learn more! I wish you luck 😁

    • @Le_goatz
      @Le_goatz Рік тому +3

      @@MajesticUC thx for the tips bro il become a great dev some day like you!!

  • @cca-gy2np
    @cca-gy2np Рік тому +1

    this is truly awsome!

  • @sreekydink
    @sreekydink Рік тому +2

    the text to speech is so unbelievably ridiculusly devious and brain rotting

  • @EggsPlayzz
    @EggsPlayzz 8 місяців тому +4

    Why is my proximity prompt not working :(

    • @RealTacticalMax
      @RealTacticalMax 7 місяців тому

      Same

    • @NPSNEWSHD
      @NPSNEWSHD 7 місяців тому

      @@RealTacticalMax it worked for me but the script...

  • @HusskyVEVO
    @HusskyVEVO Рік тому +3

    Can you tell me what plugins you use, not just for this video, but for all in general. If there is too much, just list the best plugins.

    • @MajesticUC
      @MajesticUC  Рік тому +1

      Ros particle editor is quite good

  • @MadOutGaming1
    @MadOutGaming1 Рік тому +3

    I did all the scripting but when i play the dialogue box is still there

  • @MonkDBL
    @MonkDBL Рік тому +1

    It’s prob a good tutorial I just can’t even keep up with the first 10 seconds

  • @Nirowa_
    @Nirowa_ Рік тому +2

    it didnt work for me, the dialogue box is showing after spawning, when i come up to the guy it doesnt even do anything

    • @tareqjessescousin3774
      @tareqjessescousin3774 Рік тому

      The dialogue showing part i know how to fix it but the coming up the npc isn’t working for me either
      Go to the dialogue frame and anything that involved the thing that is visible go to it’s properties and make sure the visible setting is off

    • @Trashy_Zee
      @Trashy_Zee 9 місяців тому

      I'm having the same problem :[

  • @ItsZeroWow
    @ItsZeroWow Рік тому

    what is that letter on 4:27 after the second .? the video is kinda pixelated so...yeah, idk what that is, either way, great tutorial!

  • @BloxFootballRealm
    @BloxFootballRealm 8 місяців тому +3

    my game has 10k visits tysm!

  • @StarCandy-jz4mp
    @StarCandy-jz4mp 7 місяців тому +2

    IM LITTERLY JUST TRYING TO MAKE A STORY GAME AND I LITTERLY GAVE UP CAUSE YOU SPEEDED UP THE VID AND IT WAS SO HARD

    • @Down_Head
      @Down_Head 6 місяців тому

      change play back speed on settings thats what I did because I got angry to but that fixed it! hope that helps lol

    • @StarCandy-jz4mp
      @StarCandy-jz4mp 6 місяців тому +2

      @@Down_Head Thank you!

    • @Down_Head
      @Down_Head 6 місяців тому

      @@StarCandy-jz4mp no thank you! for not giving up on what you were trying to do! hope whatever game your making goes great!

  • @Just_jaklol
    @Just_jaklol Рік тому +4

    Great vid keep it up ❤ can u maybe do a tut on the inventory system for attacks like you did in your devlog?

  • @Outrun_Official
    @Outrun_Official Рік тому +3

    Yo I love your work and I got a question, on the first dev vlog you used moon animator to animate your actions. Could you make a tutorial on how to use moon animator like you did please?

    • @kyu9148
      @kyu9148 7 місяців тому +1

      bro got hearted with no response ☠

    • @NPSNEWSHD
      @NPSNEWSHD 7 місяців тому

      @@kyu9148 keep in mind you are replying to a 1 year ago comment

    • @kyu9148
      @kyu9148 7 місяців тому +1

      @@NPSNEWSHD oh. But still, the youtuber noticed the comment but didn't answer the question lol.

  • @Adam814cool-retro
    @Adam814cool-retro Рік тому +2

    IF YOUR DIALOGUE BOX AINT WORKIGN THEN LISTEN UP
    GO TO UR DARN MANAGER THEN THIS SHOULD POP UP (minus the fill-in names)
    local (npctitlehere) = workspace:WaitForChild("npcnamehere")
    local dialogueMod = require(script:WaitForChild("Dialogue"))
    (npcnamehere).ProximityPrompt.Triggered:Connect(function()
    dialogueMod.Activate("Hello there!", 0.3)
    end)
    CHANGE THE "Activate" IN "dialogueMod.Activate("Hello there!", 0.3)" TO "Activated"
    DO IT

  • @vaxvea64
    @vaxvea64 5 місяців тому +1

    how do i make it so i dont have to keep pressing talk and i can just have the first text appear, and then after its done typing the next one appears, and it keeps doing that until the table is done and then the box closes?

  • @DripCheems
    @DripCheems 5 місяців тому

    i thank the comments for saving my time

  • @JustGi3n
    @JustGi3n Рік тому +1

    Omg thank you😊

  • @Mason-ky1pd
    @Mason-ky1pd Рік тому

    Can you start making more easy development tutorials I'm a new Developer And you really help me out I'm a new sub

  • @TheRealBroFTW
    @TheRealBroFTW Рік тому +1

    this is perfect i making a demon slayer game thx so much

  • @PAFarmer7
    @PAFarmer7 Рік тому +1

    Does anyone know what and how to fix this error code? “Attempt to concatenate nil with string

  • @faxywastaken
    @faxywastaken Рік тому +1

    didnt work but learned a bit more of coding so still thx

  • @sofiaxoxo_xoxo
    @sofiaxoxo_xoxo Рік тому +1

    can somebody help me, i got this error 12:47:30.951 Activate is not a valid member of ModuleScript "Players.sofiarockzzzzz.PlayerGui.ScreenGui.LocalScript.Dialogue" and i checked the vid 3 times and i did it right, i dont know what to do please help this is my thing
    local noob = workspace:WaitForChild("noob")
    local dialogueMod = script:WaitForChild("Dialogue")
    noob.ProximityPrompt.Triggered:Connect(function()
    dialogueMod.Activate(" hi anything you wanna buy?", 0.3)
    end)

    • @tox4934
      @tox4934 10 місяців тому +1

      replace "script:WaitForChild("Dialogue")" with "require:WaitForChild("Dialogue")". Script trying to find something called "Activate", in a ModuleScript called "Dialogue", but can't find it.

  • @Carlosave
    @Carlosave 4 місяці тому +1

    i give up i cant with this being like 5x speed :/

  • @r1ce2
    @r1ce2 Рік тому +1

    great tutorial but how would you do this as a triggered thing, not needing the prompt interaction?

  • @Mangoloker
    @Mangoloker Рік тому

    yooo www majestic hit 1k subs

  • @Abyssal2496
    @Abyssal2496 9 місяців тому

    at line 5 in the DialogueManager, it keeps failing because of the inactive function

  • @squaresquarestar
    @squaresquarestar 3 місяці тому

    as a person with almost no scripting experience, im stuggling absolutely nothing is working

  • @noyeah493
    @noyeah493 2 місяці тому

    Can you add like choices like the npc says
    "How are you?" And you can choose between "good" or "bad"

  • @Dhm_VR
    @Dhm_VR Рік тому

    The intro is my childhood

  • @lelecas..69lol
    @lelecas..69lol 4 місяці тому

    Honestly I don't know if I'm the problem, but I named everything the same as the video, I wrote the scripts completely the same except for my NPC's name and in the end it didn't work. I don't know if I followed the steps wrong but the tutorial didn't help me at all

  • @GnarpEnthusiast
    @GnarpEnthusiast Рік тому +2

    when I start the game, the screenGui is still on my screen and isn't hidden like yours? Please help when you get The time edit, also when i press E, the gui doesnt come up

  • @GCRealism
    @GCRealism Рік тому

    it doesnt work for me as when i load in the dialogue box immediately appears i already looked through it again

  • @Medacek
    @Medacek 10 місяців тому

    the box doesn't dissapear when pressing play and it doesn't work

  • @matthewman1
    @matthewman1 4 місяці тому

    if you are getting this error "Players.YourUsername.PlayerGui.Dialogue.DialogueManager:5: attempt to call a nil value" make the "Activate" on line 5 of DialogueManager into "Activated"

  • @Angremaan
    @Angremaan 5 місяців тому

    Can you explain what you typed in "vpfFrame"? Is it just, local vpfFrame = pfp:WaitForChild("ViewportFrame") or what am i missing?

  • @fcninja_1211
    @fcninja_1211 7 місяців тому

    I'm normally not the person who would complain about this stuff. But this tutorial wasnt helpful at all. It kept going really fast. It kept cutting ahead, like here (4:55) line 3 just suddenly grows and if you werent looking right there, you would have missed it like me. It was hard to keep up with and over wasted my time because it didn't even work.

  • @imakesillyplaylists
    @imakesillyplaylists 11 місяців тому +2

    Hello, everytime i try the dialogue it comes up with this error from the DialogueManager:
    Infinite yield possible on 'Players.*myname*.PlayerGui.Dialogue.DialogueManager:WaitForChild("Dialogue")

  • @bigmanbimbus
    @bigmanbimbus Рік тому

    a copy n paste with fill in the blank variables for names wouldve been nice
    but they say you learn better when writing something down, (or in this case typing) i guess.
    thanks nonetheless though. good tutorial

  • @lla_playz1318
    @lla_playz1318 Рік тому

    I ACCIDENTLY LOST THE BAR THINGY TO THE LEFT SIDE AND IM SO CONFUSED..

  • @funiprofrfr
    @funiprofrfr Рік тому

    it keeps saying attempt to call a nil value whenever I try to talk to the npc

  • @chanell2505
    @chanell2505 10 місяців тому +1

    how to set anchor point?

  • @Bruv777
    @Bruv777 Рік тому +3

    Can you make a guide on how to make idle animation for npcs

    • @MajesticUC
      @MajesticUC  Рік тому +1

      Its pretty simple. All you do is create an idle animation. At the start of the game, load the animation into a server script (or a local script if you want it to be smoother but then everyone will have to load the animation). THen make the npc play it

    • @Bruv777
      @Bruv777 Рік тому

      ​@@MajesticUC how do I make the npc play it?

    • @MajesticUC
      @MajesticUC  Рік тому

      local anim = root.to.animation
      local npc = root.to.npc
      local animator = npc.Humanoid.Animator
      local loadedAnim = animator:LoadAnimation(anim)
      loadedAnim:Play()

    • @Bruv777
      @Bruv777 Рік тому

      Thanks

  • @akcikas
    @akcikas 6 місяців тому

    1:10 did u deleted "ImageLabel" ?

  • @ZayOnMobIIe
    @ZayOnMobIIe Рік тому +1

    i dont get the part at 4:57

  • @Meep0930
    @Meep0930 9 місяців тому +7

    It didn't work D:

  • @apollowha
    @apollowha Рік тому +1

    for some reason its not letting me talk to the npc, and the gui is just stuck on the screen doing nothing when i test it

    • @MajesticUC
      @MajesticUC  Рік тому

      Are you getting any errors?

    • @apollowha
      @apollowha Рік тому

      @@MajesticUC yea but its not for the dialogue system

    • @apollowha
      @apollowha Рік тому

      @@MajesticUCi did make my own, but i kinda used some of your stuff and it worked

  • @lmixrl8982
    @lmixrl8982 Рік тому +1

    This was kinda fast and hard to follow along pls hellppp idk how to anchor maybe im jus dum 😂😂

    • @MajesticUC
      @MajesticUC  Рік тому

      if you don't know how to anchor a part then I think you should be trying to learn how to use roblox studio before making a game

  • @ChaoticallyBloxxing
    @ChaoticallyBloxxing Рік тому +1

    a move idea for ur fighting game:
    Holy Javelin
    Desc: A Javelin from the heavens
    what it does: you thow the javelin at someone, it slows them for 3 seconds
    hope this helps.
    edit: It might be from item asylum but its different

  • @MaskedTheOne
    @MaskedTheOne Рік тому +1

    I cant seem to put the Frame intot he Dialogue, i actually cant find Dialogue, i only see Dialog and DialogChoice. I cant put the Frame in both.

    • @shittypoops
      @shittypoops Рік тому

      The "Dialogue" probably isn't the actual Dialog and DialogChoice elements built into ROBLOX, but a ScreenGui element renamed as "Dialogue"

    • @enelyrehc
      @enelyrehc Рік тому

      the "Dialogue" is a ScreenGui element but its just renamed to "Dialogue"

  • @idreamaboutcheese1
    @idreamaboutcheese1 Рік тому

    1:11 what the hell did u just do im confused on this part

  • @jonathanceriani9649
    @jonathanceriani9649 8 місяців тому

    Can you make a tutorial on how to make the npc disappear after the dialog please?

  • @HOHZIJIANMoe
    @HOHZIJIANMoe 5 місяців тому

    bro how to make give a mission and how to add accesory to a dialugue npc

  • @172_kak
    @172_kak Рік тому +1

    the dialogue box doesn't appear when i try to talk to the npc

    • @MajesticUC
      @MajesticUC  Рік тому

      do you have any errors

    • @172_kak
      @172_kak Рік тому

      I already made another one, thanks for answering tho

    • @Gameboy_X3
      @Gameboy_X3 Рік тому +1

      @@MajesticUC i know he fixed his but mine says theres an attempt to call a nill value

    • @azarma
      @azarma Рік тому

      @@Gameboy_X3 same i think the problem is the dialogueMod variable

    • @shittypoops
      @shittypoops Рік тому

      @@Gameboy_X3 okok so what I did was
      in the DialogueManager script you know the
      local npc = workspace:WaitForChild("yourNPCname")
      line where you referenced the name of your npc?
      if you go down in the Dialogue script to where the function addPfp(npc) is,
      paste the same
      local npc = workspace:WaitForChild("yourNPCname")
      part that you have in the DialogueManager script right under the
      local function addPfp(npc)
      function which was around line 40 for me (you can see line numbers on the left side of the scripts)
      idk if it's the proper way to do it but it worked for me

  • @IKZombiee
    @IKZombiee Рік тому +1

    the pfp doesnt pop up when the Dialogue box does

  • @DemonicAnims_
    @DemonicAnims_ Рік тому +1

    Pls teach us how to make that menu on how to place attacks to the placeholders

  • @TZTZLTT_NUGGETlil
    @TZTZLTT_NUGGETlil Рік тому +2

    The Dialouge box still is visible when I'm testing my game

    • @MajesticUC
      @MajesticUC  Рік тому +3

      Set visible to false in the explorer

    • @Thecutekirby
      @Thecutekirby Рік тому

      @@MajesticUC where is that

    • @glitchagon09
      @glitchagon09 Рік тому

      @@Thecutekirby in the properties(on the right side) where the size and all that is located, there is something in DialogueBox called Visible. just turn that to unchecked

    • @ayukee
      @ayukee Рік тому

      yo @@glitchagon09 i disabled it but when i tried interacting to my npc there's nothing

    • @Cheeseboy034
      @Cheeseboy034 Рік тому

      @@ayukee have u named ur module script to Dialogue?

  • @MoEditzzzz
    @MoEditzzzz Рік тому

    its dosnt work, as soon as i join, the gui pops up on my screen

  • @Mr.BananaDude
    @Mr.BananaDude 5 місяців тому

    Regular show ahh intro

  • @astroooooooooo
    @astroooooooooo Рік тому

    When i start the game the Dialogue box and everything are always on screen, and i already try to change the name of the "ModelScript" to "Dialogue" but it don't work

    • @REDPOTATO40
      @REDPOTATO40 Рік тому

      Did you check the "Visible" box

  • @KingNooby
    @KingNooby Рік тому +1

    ALMOST 1K!!!!

  • @AbsentPFP
    @AbsentPFP Рік тому +1

    do you know how to make them talk with sounds like in undertale?

    • @MajesticUC
      @MajesticUC  Рік тому

      Whenever it writes out another character, play the noise

  • @doomkingtvrobloxtv1085
    @doomkingtvrobloxtv1085 Рік тому +1

    is there a Model but I tryed making it work it does not seem it wants to work my NPC is also a GUI and in the GUI it as teams in it

    • @MajesticUC
      @MajesticUC  Рік тому

      the entire point of a tutorial is that im teaching you how to make it. Im not gonna create a model and at it to the toolbox

    • @doomkingtvrobloxtv1085
      @doomkingtvrobloxtv1085 Рік тому

      @@MajesticUC I got it to work =)

  • @Riv3rz
    @Riv3rz Рік тому

    Dude, great tutorial, but I just used up 20 minutes of my life typing scripts. You GOTTA put the long ones in the description or something. PLEASE

  • @madsj2007
    @madsj2007 11 місяців тому

    Hey MajesticDev! :)
    As a new developer and no skill in scripting, is it possible you could link the script in the description? yk, for me to copy. :)

  • @Lowzeditzofficial
    @Lowzeditzofficial 7 місяців тому

    pls make it more slower it took me 10 hours to make this it was so much pain EDIT: can you also paste the script in the desc thanks alot

  • @akcikas
    @akcikas 6 місяців тому

    I have error with dialogue its says Unknown global 'dialogue'

  • @-cloverz-7344
    @-cloverz-7344 Рік тому +1

    Ngl man i wanna make the Gui you made for the Abilities, Its for my game

  • @airplaneboy9355
    @airplaneboy9355 2 місяці тому

    Why is the dialogueBox is still showing when i'm not interacting and why is the text not showing?