The title says it all i tried this but it prints that error
local WeatherData = {
["Weather"] = {
BaseWeather = {
Raining = false;
RainIntensity = 0;
EventName = "Base"
};
Raining = {
Raining = true;
RainIntensity = 4;
EventName = "Rainning"
}
}
}
return WeatherData
print(WeatherData.Weather[math.random(1, #WeatherData.Weather)])