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

GUI keeps going to the upper right corner?

Asked by 5 years ago

Not Sure how But... The GUI keeps going to the left upper corner which is a bit odd...

I've tried countless times and spend hours trying to figure out the problem.. I would really appreciate it to whoever helps me...

Heres the script

01script.Parent.ClickDetector.MouseClick:Connect(function(plr)
02        -------------START OF TWEEN-----------------
03local tweenservice = game:GetService("TweenService")
04local tweeninf = TweenInfo.new(
05    1,3, --length
06    Enum.EasingDirection.Out, -- out    
07    0, --times 2 repeat
08    true,
09    0
10 
11    )
12    local partprob = {
13        Position = UDim2.new({-1.947, 0},{-1.305, 0}); -- putting it on the center
14         Size = UDim2.new({4.893, 0},{3.608, 0}) -- making it small
15 
View all 24 lines...

Here's a gif of what happens...

https://gyazo.com/91c7f65dac47e96074d6d0ab55ce1fd7

Thank you.

1 answer

Log in to vote
0
Answered by 5 years ago

The Middle of your screen is 0.5, maybe try that.

Ad

Answer this question