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 9 years ago

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

Gui = script.Parent.Parent

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

1 answer

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

Try this, I dont know if it will work

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

Or this

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

script.Parent.Parent:Destroy()

Or this

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

Gui:Destroy()
Ad

Answer this question