Ok well technically it works, but it doesn’t tween. It just instantly sets the value to the end goal. There should be nothing wrong with my code, because it was working when I tried it with the normal tween service.
Also, I don’t think TweenService V2 reverses werent working for me which sucks. I had to use a for loop
local ts = require(game:GetService("ReplicatedStorage"):WaitForChild("Modules").ReplicatedTweening)
local fastWait = require(game:GetService("ReplicatedStorage"):WaitForChild("Modules").FastWait)
local info = TweenInfo.new(1.5, Enum.EasingStyle.Quart, Enum.EasingDirection.InOut)
local glowparts = script.Parent:WaitForChild("GlowParts")
local test = glowparts.GlowMain.test
local function FadeIn()
for i, part in pairs(glowparts:GetChildren()) do
ts:GetTweenObject(part, info, {Transparency = 0}):Play()
fastWait(.5)
end
FadeOut()
end
function FadeOut()
for i, part in pairs(glowparts:GetChildren()) do
ts:GetTweenObject(part, info, {Transparency = 1}):Play()
fastWait(.5)
end
FadeIn()
end
FadeIn()
Edit: It might be because it’s not in a local script hold on
Edit 2: Nope, didn’t work.
This is what it’s doing: