Hey there reader!
I’m quite new to the DevForum, or at least the creating topic side of things, and I need some help on a particular subject.
So, I love playing around with Ui, and making new discoveries while designing certain things, but one thing baffles me for sure, and it’s the way how this particle effect inside a Gui, looks as clean as it is:
(Sorry for the terrible Gif quality throughout this post)
Now, I’ve gone and done some research on this specific thing, and I’ve found rParticle, located here which sort of does what I want to, see, here’s my code for the particle example itself:
wait(.25)
local Frame = script.Parent.Parent.Parent
Frame.BackgroundTransparency = 0
local t = 5
local tick = tick
local fromHSV = Color3.fromHSV
local RunService = game:GetService("RunService")
RunService:BindToRenderStep("Rainbow", 1000, function()
local hue = tick() % t / t
local color = fromHSV(hue, 1, 1)
Frame.BackgroundColor3 = color
end)
And it ends up looking like this:
(Not quite as I imagined it.)
If any of you have any idea how I could replicate something like I showed in the first Gif, or can give any guidance it would be great. Yea, I know how the good ol’ TweenService() works, but when it comes to using math.random, and that kind of wizardry, I’m a bit stuck.
Thank you for reading!