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

Gui moves, but to the wrong place. Any help?

In my script after it is done doing what it is doing, it moves to a certain area, which happens to be the bottom left. [Another Gui's position]. However it moves, but to the top left like its going to {0,0}

Here is the script:

wait()
local t = script.Parent
local location = t.Parent.put.Position
wait()
t.Visible = true
wait(0.05)
t.Visible = false
wait(0.05)
t.Visible = true
wait(0.05)
t.Visible = false
wait(0.05)
t.Visible = true
wait(0.05)
t.Visible = false
wait(0.05)
t.Visible = true
wait(0.05)
t.Visible = false
wait(0.05)
t.Visible = true
wait(0.05)
t.Visible = false
wait(0.05)
t.Visible = true
wait(0.05)
t.Visible = false
wait(0.05)
t.Visible = true
wait(1.5)
t.Text = "$100"
t:TweenPosition(UDim2.new(location),"Out","Quad",1,true)

1 answer

I usually use "Out","Quad" for everything. Try changing it to "Out","Quad". The last time I used another GUI's location to determine where a second GUI should move to, those two worked.

4 comments

0

okay ill see, Thanks!

0

it did the same thing

0

Hmm...I can't think of what might be the problem then. Sorry I haven't been of much help.

0

its okay atleast you tried

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