why my WeatherManager never runs, like i added a print line on top to check but it prints WeatherModule, WeatherSpawner but never prints WeatherManager
#Scripts not loading HELP
1 messages · Page 1 of 1 (latest)
did u ever require it
yessir look at the first image
alr so for testing i did this
nope i did this
-- WeatherSpawner.lua
-- Picks random weathers and delegates handling to WeatherManager
print("[WeatherSpawner] Script started!")
local ServerScriptService = game:GetService("ServerScriptService")
-- Require modules
local WeatherModule = require(ServerScriptService.Modules.Weather:WaitForChild("WeatherModule"))
local WeatherManager = require(ServerScriptService.Modules.Weather:WaitForChild("WeatherManager"))
WeatherManager.Test()
print("[WeatherManager] Module loaded")
local WeatherManager = {}
function WeatherManager.Test ()
print("WORKS!!! also u noob")
end
return WeatherManager
Still only prints WeatherManager and WeatherModule
am lost with this naming
whiuch one doesnt work
There is a WeatherSpawner, which spawns weather by using the functions of WeatherManager (this dont work) (this has fucntions like Weather.Play Pause etc etc), and Spawner also uses WeatherModule which is just table with weather data
um dont mind im kinda new;-;
** You are now Level 1! **
like this? if yes i tested it dont print anything
show full ss
FULL
if nothing is printing then weird
ermmm how...
oh console
just use output
way easier
go to view tab
top left
and click i think 1st-3rd small icon
WHAT THIS THING EXCISTED WTF
ok
** You are now Level 6! **
this?
Y
idfk what u broke icl
i dont think so cuz it didnt print the fucntion i called in Spawner
😭
Fix was i accidently forgot to add a folder Named SunnyWeather, due to which was being used in WeatherModule which was yeilding the Manager .___.
Just a stupid question, did u check if script is enabled?
it is a stupid question