aDistractr
(aDistractr)
#1
Hello, I keep having the issue, i’ve read through other posts. That didn’t help me out.
The error is: Unable to cast Array to UDim2
Here is the script:
``local Tween = game:GetService(“TweenService”)
local Gui = script.Parent.Parent.Parent.Parent.Main
– Client –
script.Parent.MouseButton1Click:Connect(function()
script.Parent.Visible = false
script.Parent.Parent.format_indent_increase.Visible = true
script.Parent.Parent.Parent:TweenPosition{
UDim2.new(0.784,0,0.414,0),
“Out”,
“Quad”,
2,
false
}
end)
OIogist
(OIogist)
#2
You’re using brackets instead of parentheses.
local Tween = game:GetService(“TweenService”)
local Gui = script.Parent.Parent.Parent.Parent.Main
– Client –
script.Parent.MouseButton1Click:Connect(function()
script.Parent.Visible = false
script.Parent.Parent.format_indent_increase.Visible = true
script.Parent.Parent.Parent:TweenPosition(
UDim2.new(0.784,0,0.414,0),
“Out”,
“Quad”,
2,
false
)
end)
aDistractr
(aDistractr)
#3
Let me update, didn’t even notice that 
aDistractr
(aDistractr)
#4
Thanks, it worked. Sorry for the issue 
1 Like