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
}
game.ReplicatedStorage.Water.OnClientEvent:Connect(function()
local Enabled = true
print('firedlolxd')
RainModule.Enable(Settings)
end)
also im using this module: Screen Distortion Rain - Resources / Community Resources - DevForum | Roblox