Hello dev’s, recently I’ve been working on this script and I ran into this error and I can’t find a solution to it. I am trying to TweenSize a BillboardGui but this error pops up:
Also here is the script:
dummy:FindFirstChild("BillboardGui").Enabled = true
dummy:FindFirstChild("BillboardGui"):TweenSize(UDim2.new(6,0,6,0),Enum.EasingDirection.InOut,Enum.EasingStyle.Elastic,1,false)
print("Player has been spotted.")
wait(10)
dummy:FindFirstChild("BillboardGui").Enabled = false