Problem with module script

Hello so i’m doing a meteo script and for some reason the script dosent work and i only get this error over and over again:

The script:

local RainModule = require(game.ReplicatedStorage:WaitForChild('ScreenRain'))

local Settings: {[string]: number | Color3} = {
	Rate = 5, -- Spawn rate (droplets/second)
	Size = 0.08, -- Average droplet size
	Tint = Color3.fromRGB(226, 244, 255), -- Droplet colour
	Fade = 1.5, -- Time to fade out
	UpdateFreq = 1 / 45, -- Update frequency

	local Enabled = true

also im using this module: Screen Distortion Rain - Resources / Community Resources - DevForum | Roblox

I can only guess, as I can’t really see the entire output or the RainModule script you have. But my best guess would be the RainModule.Enable doesn’t exist. Check if it needs a colon instead of a period.

Found this:

oh maybe it’s that im gonna try wait a sec

omg i’m sorry im learning javascript at the same time to i did java stuff lol

1 Like