local textlabel = script.Parent.TextHere
local name = script.Parent.Name
wait(1)
local function typewrite(object,text)
for i = 1,#text,1 do
object.Text = string.sub(text,1,i)
wait(0.025)
end
end
typewrite(textlabel,"HEY! This is private property! Don't make-")
wait(2)
textlabel.TextXAlignment = 2
textlabel.TextYAlignment = 1
typewrite(textlabel,"Wait...")
wait(2)
typewrite(textlabel,"You- You're HIM!")
wait(2)
textlabel.TextXAlignment = 0
textlabel.TextYAlignment = 0
typewrite(textlabel,"I'm sorry, that wasn't very nice of me. I'm sure you're a amazing human being!")
wait(3)
textlabel.TextXAlignment = 2
textlabel.TextYAlignment = 1
typewrite(textlabel,"M-My name is Xanathaniel.")
typewrite(name,"Xanathaniel")
This is the Dialog script, the possible problem is about line 28, I'll paste the error here too.
Players.Mercyvr.PlayerGui.ConversationGui.LocalScript:8: attempt to index string with 'Text' - Client - LocalScript:8
It's either this Error, or a error about line 28.
