#Where is my GUI going!!!

1 messages · Page 1 of 1 (latest)

gusty mauve
#

No idea why this is happening

Localscript

local button = script.Parent

local ts = game:GetService("TweenService")

local startSize = UDim2.new({0.146, 0}, {0.043, 0})
local endSize = UDim2.new({0.183, 0},{0.054, 0})

local startPosition = UDim2.new({0.427, 0},{0.634, 0})
local endPosition = UDim2.new({0.408, 0},{0.636, 0})

button.MouseEnter:Connect(function()
    
    warn("MouseEnter")
    button:TweenSize(UDim2.new(endSize))
    button:TweenPosition(UDim2.new(endPosition))
    
end)

button.MouseLeave:Connect(function()
    
    warn("MouseLeave")
    button:TweenSize(UDim2.new(startSize))
    button:TweenPosition(UDim2.new(startPosition))

end)
smoky junco
gusty mauve
#

they're up set as another udim2

#

oh okay well

#

i did this instead

#

made me think of replacing them and removing the curly brackets

smoky junco
gusty mauve
#

yeah that's what i realized lol

lean notch
#

LOL

#

i guess maybe i should change my programming font sometime