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

How to make this show once?

Asked by 10 years ago

How to make this gui show on enter only? BTW this is the Exit gui but add to it

1Gui = script.Parent.Parent
2 
3while true do
4wait(49)
5script.Parent:TweenPosition(UDim2.new(-2,0,-5,0), "In", "Back", 1,true)
6end

1 answer

Log in to vote
1
Answered by
nanaluk01 247 Moderation Voter
10 years ago

Try this, I dont know if it will work

1Gui = script.Parent.Parent
2while true do
3wait(49)
4script.Parent:TweenPosition(UDim2.new(-2,0,-5,0), "In", "Back", 1,true)
5script.Parent.Parent:Destroy()
6end

Or this

1Gui = script.Parent.Parent
2while true do
3wait(49)
4script.Parent:TweenPosition(UDim2.new(-2,0,-5,0), "In", "Back", 1,true)
5end
6 
7script.Parent.Parent:Destroy()

Or this

1Gui = script.Parent.Parent
2while true do
3wait(49)
4script.Parent:TweenPosition(UDim2.new(-2,0,-5,0), "In", "Back", 1,true)
5end
6 
7Gui:Destroy()
Ad

Answer this question