I am watching this video:
https://www.youtube.com/watch?v=W-vzIohhWr4
and here is my code:
local Inventory = script.Parent.Inventory
local OpenInventory = script.parent.OpenInventory
OpenInventory.MouseButton1Up:Connect(function() Inventory:TweenPosition( UDim2.new(-0.141, 0 -0.798, 0),---end "Out" "Sine",---Easing style 1 false ) end)
and i cannot figure out what is wrong
can someone please help?

2 comments
bruh if you got this off a video on youtube literally nobody is going to help you. All you gotta do is copy and paste the code and then insert UI...
wht englsh pls me beginner