i won’t stop having this error for some reason:
Here 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)
in a local script
1 Like
boatbomber
(Zack_Ovits)
January 30, 2022, 9:09pm
#65
You must use :Enable()
not .Enable()
.
4 Likes
yeah sorry i forgot to say that i fixed the bug sorry! i confused javascript with lua
1 Like
squigIet
(shrimp)
January 31, 2022, 2:32am
#67
wow!!! i love this might use it in a game
1 Like
arshawnaa
(s24b)
February 17, 2022, 2:29am
#68
How do I activate the rain and screen distortion? Sorry if this is obvious, I am new to this.
2 Likes
WizardBrand
(TheWizardBrand)
January 12, 2023, 1:43am
#69
Anyone have an asset link as physical demonstration?
I see no video, that don’t exist or private
1 Like
boatbomber
(Zack_Ovits)
January 12, 2023, 1:05pm
#71
DevForum lost all the videos! No idea what happened there
Definitely going to use this in a game! This module is amazing.
1 Like
could you post the particle rain script?
1 Like
Hey to others using this in the future, using depth of field works really well with this, and creates a blur on the particles which is more realistic
4 Likes
No more TweenService usage
Can you provide some sort of alternative then? when the rain drops dissapear they look kind of odd
boatbomber
(Zack_Ovits)
November 9, 2024, 3:15am
#76
They still tween, it’s just lerped with manual math instead of relying on TweenService to reduce overhead. Also, this project is considered complete and has not received updates in years.
Maybe I shouldve been more clear, in the video of your original post it shows when the raindrops dissapear they have a smooth transition of being despawned, where the current version just makes the raindrops dissapear and it somewhat bothers me
boatbomber
(Zack_Ovits)
November 9, 2024, 8:05pm
#78
What is your Fade time set to? Try increasing it
I dunno if it’s intended, but if the graphics quality is set to 7 or less, the droplets dont appear:
But if you turn the graphics quality up to 8, 9 or 10, they do show up
If it is intended, is there a way to make the droplets appear for all graphic qualities?
This happens because ROBLOX disables the glass effect on lower graphics qualities to boost performance on low performance devices.