Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Gui Tween please help??

			player:WaitForChild("PlayerGui"):WaitForChild("ScreenGui"):WaitForChild("ImageLabel").Visible=true 
   wait(1)
        game.StarterGui.ScreenGui.ImageLabel:TweenPosition(UDim2.new(0.5,-200,0,0),"In,"Sine",0.5)
wait()

the output says it something wrong With Sine

1 answer

✓ Accepted answer

Sine may not be a proper tween value. Just use Quad or something. Also, StarterGui is simply where the guis are cloned from, they don't actually change anything in the player unless they respawn. Try this:

for _,v in pairs (game.Players:GetChildren()) do
	local gui = v.PlayerGui:FindFirstChild("GuiName")
	if gui then
		gui.ImageLabel:TweenPosition(UDim2.new(0.5,-200,0,0),"In","Quad",0.5)
	end
end

This goes through a table of all the players, searches for the gui, then tweens it.

This discussion is preserved as it was. New answers, comments, and votes are closed.