Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

how to solve TweenService is not a valid member of Frame?

Asked by 4 years ago

I am trying to make that copied parts with tah dot would move but i get this error TweenService is not a valid member of Frame.

local ColletctionService = game:GetService("CollectionService")
local Dot = ColletctionService:GetTagged("Dot")
for _, Dot in pairs(Dot) do
                   Dot:TweenService(UDim2.new(0.495, 0,0.239, 0),"Out","Sine",1)

            end

Thank you for reading

1 answer

Log in to vote
5
Answered by 4 years ago
Edited 4 years ago

I think you ment to do TweenPosition instead of TweenService

TweenService is a function that doesnt exists for a GuiObject thus you get that error

Ad

Answer this question