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

How do I to set The Gui Invisible?

Asked by 5 years ago

Hey Does anyone know how to make a gui invisible after playing a tween Im dumb..

My current Script

01local TweenService = game:GetService("TweenService")
02 
03local frame = script.Parent
04frame.AnchorPoint = Vector2.new(0.5, 0.5)
05frame.Position = UDim2.new(0, 70, 0, 70)
06frame.BorderSizePixel = 0
07frame.Size = UDim2.new(0, 100, 0, 100)
08frame.BackgroundColor3 = Color3.new(0, 0, 0)
09 
10-- Set up tweens
11local tweenInfo1 = TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.Out)
12local tween1 = TweenService:Create(frame, tweenInfo1, {Position=UDim2.new(0.5, 0, 0.5, 0)})
13local tweenInfo2 = TweenInfo.new(1.5, Enum.EasingStyle.Quart, Enum.EasingDirection.InOut)
14local tween2 = TweenService:Create(frame, tweenInfo2, {Rotation=180})
15 
View all 22 lines...
0
Basically just do frame.Visible = Trading_Opportunity 191 — 5y
0
frame.Visible = false Trading_Opportunity 191 — 5y
0
thanks sorry for late reply no0bgaming748 24 — 5y

Answer this question