#Hey there getting this error every time i go to add a line after

35 messages · Page 1 of 1 (latest)

obtuse latch
turbid thunder
#

try adding comma's behind every closing bracket

#

[5] = {
text = " "
},

obtuse latch
#

dont think it liked that lol

turbid thunder
#

hover over the red squiggly line it should tell you the problem

#

sometimes it's a problem within the text and how it's formatted

obtuse latch
turbid thunder
#

can you screenshot the beginning of the module?

turbid thunder
#

hmm

obtuse latch
#

its weirf

turbid thunder
#

so ur beginning is right it must be in the middle can u copy paste i might be able to help u that way

#

i'm pretty sure tho it's just a forgotten ; or , somehwere

obtuse latch
#

no worries ill do that now, its so weird it just seems to freak out as soon as i add the next line of code

#

probably is

#

};
[3] = {
Text = "Oh.. uhm well we have had a bit of a shortage of staff.. seems liken they have all gone on a holiday themselves.."; --first line of convo that pops up
Choices = { --what players can choose from
[1] = { Text = "Oh okay, Whats differnt on board then?"; Next = 4 };
[2] = { Text = "Whats that mark on your shirt?";Next = 5 }; --Next = 2 means that it will forard the code to the next tabel
[3] = { Text = "How do i get to my room?"; Next = 6 };

        }
        
        
};
[4] = {
    Text = "Not a whole lot... well the water slide is gone..ice cream bar... swimming pool.. you will still have fun tho!"; Next = 3; Follow = true};
        }
};
[5] = {
    Text = "Just a bit of ketchup!.. i uhm .. do cooking in my spare time!"; Next = 3; Follow = true};    
    }
    
};
[6] = {
    Text = "Your room is room is 10! and you can find it upstairs.. There is some welcoming gifts as well! ";
    }
turbid thunder
#

alr ima take a look rq

obtuse latch
#

thanks so much

turbid thunder
#

can you put the whole script it's missing info.dialogue

orchid waveBOT
#

studio** You are now Level 4! **studio

turbid thunder
#

bc rn the problem is that the code i pasted doesn't have the parent table

obtuse latch
#

mhmm okay ill send the whole script

turbid thunder
#

ty

obtuse latch
#

local Info = {}

Info.LeaveMessage = "Goodbye, I'll see you around" --End msg when player ends convosation with NPC
Info.CameraDistance = 3 --Camera distance 3 vectors away from npc head

Info.Dialog = {
[1] = {
Text = "Hello there,Welcome aboard this fine cruise line! , How are you!"; --first line of convo that pops up
Choices = { --what players can choose from
[1] = { Text = "Not to bad, excited for my trip!"; Next= 2 };
[2] = { Text = "That doesnt look like the cruise ship online?"; Next = 3 }; --Next = 2 means that it will forard the code to the next tabel

};
[2] = {
    Text = "Im glad your exctied to explore the oceans with our cruiseline!"; Next = 1; Follow = true };
  
}


   
};
[3] = {
    Text = "Oh.. uhm well we have had a bit of a shortage of staff.. seems liken they have all gone on a holiday themselves..";  --first line of convo that pops up 
    Choices = { --what players can choose from 
        [1] = { Text = "Oh okay, Whats differnt on board then?"; Next = 4 };
        [2] = { Text = "Whats that mark on your shirt?";Next = 5 }; --Next = 2 means that it will forard the code to the next tabel 
        [3] = { Text = "How do i get to my room?"; Next = 6 };
        
        }
        
        
};
[4] = {
    Text = "Not a whole lot... well the water slide is gone..ice cream bar... swimming pool.. you will still have fun tho!"; Next = 3; Follow = true};
        }
};
[5] = {
    Text = "Just a bit of ketchup!.. i uhm .. do cooking in my spare time!"; Next = 3; Follow = true};    
    }
    
};
[6] = {
    Text = "Your room is room is 10! and you can find it upstairs.. There is some welcoming gifts as well! ";
    }



return Info
turbid thunder
#

alright

#

so there seemed to be a bit too many '}'s

#

uh here is the updated one idk if i fkd anything up but there are no errors

#

_
_

#

local Info = {}

Info.LeaveMessage = "Goodbye, I'll see you around" --End msg when player ends convosation with NPC
Info.CameraDistance = 3 --Camera distance 3 vectors away from npc head

Info.Dialog = {
[1] = {
Text = "Hello there,Welcome aboard this fine cruise line! , How are you!"; --first line of convo that pops up
Choices = { --what players can choose from
[1] = { Text = "Not to bad, excited for my trip!"; Next= 2 };
[2] = { Text = "That doesnt look like the cruise ship online?"; Next = 3 }; --Next = 2 means that it will forard the code to the next tabel

    };
    [2] = {
        Text = "Im glad your exctied to explore the oceans with our cruiseline!"; Next = 1; Follow = true };






[3] = {
Text = "Oh.. uhm well we have had a bit of a shortage of staff.. seems liken they have all gone on a holiday themselves..";  --first line of convo that pops up 
Choices = { --what players can choose from 
    [1] = { Text = "Oh okay, Whats differnt on board then?"; Next = 4 };
    [2] = { Text = "Whats that mark on your shirt?";Next = 5 }; --Next = 2 means that it will forard the code to the next tabel 
    [3] = { Text = "How do i get to my room?"; Next = 6 };

},

};
[4] = {
Text = "Not a whole lot... well the water slide is gone..ice cream bar... swimming pool.. you will still have fun tho!"; Next = 3; Follow = true};

[5] = {
Text = "Just a bit of ketchup!.. i uhm .. do cooking in my spare time!"; Next = 3; Follow = true};    



[6] = {
Text = "Your room is room is 10! and you can find it upstairs.. There is some welcoming gifts as well! ";
    }


}

}
return Info

obtuse latch
#

let me run and ill get back to you

turbid thunder
#

lmk yeah

#

bc i just removed what i thought was causing the problem but idk if that messed shit up, though directories might be altered?

obtuse latch
#

Works perfect! thanks so much. i thought i might of added way to many . makes much more sense now