Hi! So, I'm making a tween in my ModuleScript which is directed to a client and im trying to use TweenService but it errors. Here is the script:
local tweenInfo = TweenInfo.new(
0.1,
Enum.EasingStyle.Linear,
Enum.EasingDirection.In,
0,
false,
0
)
for i, v in pairs(EP) do
if v:IsA("Part") then
local tween = tweenService:Create(v, tweenInfo {Transparency = 0, CanCollide = true})
tween:Play()
end
end
Here is the error:
ReplicatedStorage.ModuleScript:22: attempt to call a TweenInfo value
It turns out it was a syntax error in the parameters of the tweenService:Create()

2 comments
which line exactly is line 22
oh wait nvm