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

Why my frame of the animation is not working properly?

Asked by 5 years ago
Edited 5 years ago

I have a loading screen when the players are teleport in the other place in my game.The GUI has set to animation to Quad to impress players . But I doesn't move after all and it back to the intermission. I have a Frame named "Teleport".The "Teleport" is parented by a Screen GUI . There is no error at the output.Why? This is my script. This part is my Teleportation in the place.

local Plrs = game.Players:GetChildren()
for i,v in pairs(Plrs) do
local Gui = v.PlayerGuiWaitFirChild("ScreenGui")
local Teleport = Gui:WaitForChild("Teleport")
Teleport:TweenPosition(UDim2.new(0,1,0,0),"In", "Quad", 1)

Can you help me??? Please I need it I know how to animate but its not works.

1 answer

Log in to vote
0
Answered by
Alphexus 498 Moderation Voter
5 years ago

You misspelled "WaitForChild()"!

Ad

Answer this question