hey! i found ur video on the page so i clicked it and i pretty much enjoyed it. Thank you for helping me out with the script. I actually subscribed to u and liked the video. Im hoping u to make more tutorials so whenever they came out i can watch and learn from it. - my english is kinda stupid but sorry eheh
dude, thank you so much man, not only would this be helping me make games, but it also helps me learn at the same time! you've earned yourself another subscriber!
Since I've started working on a little dating sim kind of game in roblox, I've gotten into trying to learn to script in Lua and use Roblox Studio, and your videos have been a delight to watch! Very simple and understandable instructions, nice voice and straight to the point video. You even think of little details like failsafe measures or extra things like sound!
@@lxhhhhhhhh It's a little passion project with friends for fun, and I don't think it really counts as e-dating since it's not real life online romantic relationships.
I got to the end expecting it to work but.. NUH UH. I currently am tweaking out because I just wasted a good 40 minutes of my life trying to find out what I got wrong
For those wanting the code for joe here it is: local gui = script.Parent local textBox = script.Parent.textBox local textlabel = script.Parent.textBox.TextLabel local sound = script.Parent.talksound local plr = game.Players.LocalPlayer local chr = plr.Character local humanoid = chr.Humanoid local dialogueFolder = game.Workspace.dialogueFolder local joeDialogue = dialogueFolder.joeDialogue.ProximityPrompt gui.Enabled = false textBox.Visible = false local function writeText(text,waitTime) humanoid.WalkSpeed = 0 humanoid.JumpPower = 0 gui.Enabled = true textBox.Visible = true textlabel.Text = text sound:play() task.wait(waitTime) end local function endDialogue() gui.Enabled = false textBox.Visible = false textlabel.Text = "" humanoid.WalkSpeed = 16 humanoid.JumpPower = 50 end joeDialogue.Triggered:Connect(function() joeDialogue.Enabled = false writeText("cheese", 2) writeText("ye this is royalmonkey", 2) writeText("cheese",2) endDialogue() joeDialogue.Enabled = true end)
MAN THANKSSS WAS LOOKING FOR SOMETHING LIKE THIS IT WAS SO SIMPLEEEEEE KEEP UP THE GOOD WORK BTW UR CHANNEL IS SOOO UNDERATEDDD Edit: got urself a new sub
if the script doesnt work try this local dgui = script.Parent local textbox = dgui.Textbox local textlabel = dgui.Textbox.TextLabel local sound = dgui.TalkSound local function writeText(text, waitTime) dgui.Enabled = true textbox.Visible = true textlabel.Text = text sound:Play() wait(waitTime) end wait(2) writeText("Your text", 2) writeText("Your text", 2) writeText("Your text", 2) writeText("Your text", 2) writeText("Your text", 2) dgui.Enabled = false textbox.Visible = false (you can make the text whatever you want)
hey, even after pasting in your script and working around trying to get it work, it still wont work at all mind telling me what the problem might be? (found the problem, accidentaly pasted a letter in the sound part thing so it didnt work)
THANKS SO MUCH FOR THIS! I just took around 3 hours doin this... but it definitely helped A TON and I think I understand scripting just a tiny little bit better now. THANKS SO MUCHH! AND I WOULD LOVE TO TRY THE MORE ADVANCED VERSION
Hello guys, if you are experiencing a bug for the proximity prompt when coding, add a wait(0.1) or whatever, before you apply the variable. F.E. : wait(0.1) local npcDialogue = Folder:WaitForChild("NPCDialogue").ProximityPrompt local scripts can be pretty annoying, but this is how you can fix it. If you get hit with a "nil with FindFirstChild" error then always add a quick wait before calling the variable. I also figured out the humanoid problem. This one should also be pretty easy. You just need the code to check if the player has a character. F.E. : local Player = game.Players.LocalPlayer if Player.Character then Player.Character.Humanoid.WalkSpeed = 0 end hopefully this helps!
if your walkspeed/jumppower script doesn't work, use this: local player = game.Players.LocalPlayer player.Character:WaitForChild("Humanoid").WalkSpeed = 0 player.Character:WaitForChild("Humanoid").JumpPower = 0 edit the numbers at the end of the line for different walkspeed.
hey so everything was working up until i tested it and i interacted with joe and the text didint pop up? i thought i did everything right? do u have any solutions? btw i subscribed
Am i the only one getting this error that says joeDialogue isn't valid member of the dialogue folder? I mean it does work in roblox studio but when i tried it on my real game it doesn't work and then when i check my roblox studio back it gives me the error..
Hey! So when i added the parts that stopped the player from moving, the script stopped working. I then removed those edits and it worked again. The player being frozen didn't really matter to me so I just moved on. I added the last edits and the proximity prompt was not working. I have tried everything, I've checked the script for mistakes, and when I interact still nothing happens. Can you reply to this with the fully copied script so I can paste that in? I don't know what to do
no hate, but the script didn't work for me, did i do something wrong? example: i play the game and the text only says "label" it doesn't play the text like usual, please let me know how to fix this!
What’s the BG music name? It’s perfect for the game I’m doing 😭 (For reference, I’m talking about the music that plays at 2:35, this is invade the music changes sometime in the vid)
Hey, your channel has a lot of interesting tutorials. I just am really interested in learning luau because I’ve been building since 2020 and just know the very basics of scripting after like 4 years, so could you please let me know how and where to learn luau from?
I need help I did everything you told me to but for the text it isn’t working I followed everything you did but my text just says “label” how do I fix this please help!
i am having difficulty at the proximity part. ive double checked everything and everytime i run the test, the part in the npc folder dissapears. how do i fix that?
hey this is amazing! i have one tiny issue though, i tried to make some simple dialouge and whenever i edited the script i had to wait 5 minutes for it to work again
doesn´t work :/ the script doesn´t work, i dont know why, i play the game and the textbox appear, but it doesn´t change, it stays: text, i did every thing you did, i dont know what is going on, please help
Maybe because of your spelling. In your script check the errors. If you see an orange line in where you scroll up and down. that means theres something wrong about your spelling or maybe even wrong names.
It doesn't work I did everything like in video I have that button and I wrote all scripts like in video but when I'm pressing E it's just not working (I'm very beginner in scripting)
Hi i know im a little late but this worked until the very end, I could interact with the npc but text is not showing or the dialogue do you know how to fix this?
you might wanna give a more modular way to do this, like you should have a video that takes some extra skill, so you can get some more well made videos out.
how do i make the text animated? a typewriter effect, like make the letters appear one by one, i used to be able to do it but i sorta forgot since im not used to scripting anymore,
Hey, idk if u will see this but I make the script shown in the video but every time I interact with the proximity prompt/npc nothing happens (I’ve checked for spelling)
Here is a better version if you want: follow the tutorial to set up pls local GUI = script.Parent local TextBox = script.Parent.DiolaugeBox local TextLabel = TextBox.TextLabel local TalkSound = GUI.TalkNoise -- make sure the Sound is called TalkNoise in the GUI local plr = game.Players.LocalPlayer local chr = plr.Character local hmd = chr.Humanoid local Dummy = workspace.Dummy -- put Dummy as any other npc or dummy local Prompt = Dummy.ProximityPrompt -- make sure the model has a proximity prompt local function WriteText(Text, WaitTime) hmd.WalkSpeed = 0 hmd.JumpPower = 0 GUI.Enabled = true TextBox.Visible = true TextLabel.Text = Text for i=1,#Text do TextLabel.Text = string.sub(Text, 1, i) TextLabel.TextColor3=Color3.fromRGB(255,255,255) -- color of text TalkSound:Play() task.wait(WaitTime) -- wait time has became the time it takes for each letter to appear end end local function EndDio() hmd.WalkSpeed = 16 hmd.JumpPower = 50 GUI.Enabled = false TextBox.Visible = false TextLabel.Text = "" end Prompt.Triggered:Connect(function() WriteText("Replace with your text", 0.05) wait(2) WriteText("Replace with your text", 0.05) wait(2) EndDio() end)
the second dialogue doesn't work at me i probably did something wrong but i dont think so "fredDialogue is not a valid member of Folder "Workspace.dialogueFolder"" i get this error but fredDialogue is a valid member of dialogueFolder i dont get why it doesn't work and when i try to do the second dialogue the first dialogue doesn't work anymore too think you can help me man?
writetext(text: *error-type*, appears after i try to edit out the text and waittime. I am a beginner and i followed every single steps but it's still not working properly.
can u make Acid rainy weather (like the weather system u made in one of ur videos but damage the player ) and also make a script that when player holds an umbrella, the player will not take any damage from the acid rains I want it for my game pls
Hey RKGAM3Zs can you tell me whats wrong? i dont want a sound but the script down below is what i put in please help me with this, Thank you! local gui = script.Parent local textBox = script.Parent.textBox local textLabel = script.Parent.textBox.TextLabel local function writeText(text, waitTime) gui.Enabled = true textBox.Visible = true textLabel.Text = text end task.wait(2) writeText("This used to be my favorite spot", 2) writeText("But ever since that thing happened", 2) writeText("Things havent been the same...", 4)
hey if you can read this i was wondering on how to make the dialogue sound come on for every letter pressed instead of one time for the entire sentence. is there a way to do that?
Do you mind making a tutorial on something similar like this, but actual chat bubbles? Like, upon interaction, the NPC says something in a chat bubble (similar to our chat bubbles, not the one with a blue highlight)
Can you help me? i copied everything you scripted but when i copied the stuff in "Remove ability to move" timelapse it suddenly doenst work!!!!!!!!!!!!! (i haveno spelling mistakes!!!)