You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
An FE script and a script that works.
What is the issue? Include screenshots / videos if possible!
When I type wait it classes it as an error.
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I looked for solutions I couldn’t find any.
I am using this for a pop up when you sell so when you sell it pops up +1 or anything.
You didn’t close both sets of parentheses on line 2.
you need to close the brackets on line 2
As highlighted in the code editor, your script has a typo.
script.Parent:tweenPosition(UDim2.new(script.Parent.Position.X,0, -.1, 0)
You should have written:
script.Parent:tweenPosition(UDim2.new(script.Parent.Position.X,0, -.1, 0))
This is because Roblox expects brackets that are opened, to be closed.
Try hovering over the red line, it’ll give you more details about the error in question.
Hey thanks for helping me fix this problem
just a heads up, rotation is not on 1 axis, so you would have to use 3 axis(x,y,z) that would be a problem if you dont fix it now
Thank you so much for helping.