Ok so i am making a GUI that will change its size and I get the error Unable to cast string to token
Frame = game.StarterGui.ScreenGui.Play.Frame
Button = script.Parent
-------------------------------------------------------------------------------------------------
Button.MouseEnter:Connect(function()
Frame:TweenSize(
UDim2.new(0.022, 0,0.593, 0),
"out",
"Sine",
.3,
true
)
end)
Button.MouseLeave:Connect(function()
Frame:TweenSize(
UDim2.new(0, 3, 0, 46),
"out",
"Sine",
.3,
true
)
end)
