Fun_Lewis
(Lewis)
#1
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.
https://prnt.sc/pw3t47
-
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.
rogchamp
(pasta)
#2
You didn’t close both sets of parentheses on line 2.
1 Like
you need to close the brackets on line 2
1 Like
As highlighted in the code editor, your script has a typo.
You wrote:
wait(1)
script.Parent:tweenPosition(UDim2.new(script.Parent.Position.X,0, -.1, 0)
wait(.1)
[...]
You should have written:
wait(1)
script.Parent:tweenPosition(UDim2.new(script.Parent.Position.X,0, -.1, 0))
wait(.1)
[...]
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.
3 Likes
Fun_Lewis
(Lewis)
#5
Hey thanks for helping me fix this problem 
1 Like
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
Fun_Lewis
(Lewis)
#7
Thank you so much for helping.
1 Like