Hello, in StarterGUI, there is a script that tells you how many blocks you have placed down. It errors (second error), and I do not know why.
Heres the local script inside StarterGUI:
game.ReplicatedStorage.TweenTransparency.OnClientEvent:Connect(function(len)
script.Parent.Text = "+ " ..tostring(len) " letters"
script.Parent.TextTransparency = 0
script.Parent.Parent.PlusStep.UIStroke.Transparency = 0
task.wait(2)
local tweenInfo = TweenInfo.new(4, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut)
local TweenService = game:GetService("TweenService")
local anim = TweenService:Create(script.Parent, tweenInfo, {TextTransparency = 1})
local anim2 = TweenService:Create(script.Parent.Parent.PlusStep.UIStroke, tweenInfo, {Transparency = 1})
anim:Play()
anim2:Play()
end)
Does anyone know why this is happening? Thanks!