Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Making Varibles in a neat little {} How do i do this?

so i was trying to make this handy little varible thing so my scripts looked nicer but its giving me a error at line 1 how do i fix this?

local GalaxyOneInfo ,{
	local GalaxyName = "Galaxy 1 : Honey Hive Galaxy",
	local Diffuculty = Diffuculties.Diffucultys_GalaxyOne,
	local Info = "The Beginning Of You're Adventure , This Galaxy Is Not Hard And More Of A Start To Your Adventure"
	local Requirement = 0
}

1 answer

found the issue , First line of code should be = instead of , and there is no need to put local infront of everything

Fixed code

local GalaxyOneInfo  = {
	 GalaxyName = "Galaxy 1 : Honey Hive Galaxy",
	 Diffuculty = Diffuculties.Diffucultys_GalaxyOne,
	 Info = "The Beginning Of You're Adventure , This Galaxy Is Not Hard And More Of A Start To Your Adventure",
	 Requirement = 0
}

This discussion is preserved as it was. New answers, comments, and votes are closed.