So I am making a ui that makes it so whenever you touch a part it tweens but it just gives me the error “Unable to cast string to token” whenever I touch the part here is the script:
local Play = script.Parent
game.Workspace.Part.Touched:Connect(function()
Play:TweenPosition(
UDim2.new(0.188, 0,0.262, 0),
"out",
"Elastic",
2,
false
)
end)