I have an error when I run this code:
local geez = Player.PlayerGui:WaitForChild("Price")
local Main = geez.Frame.Main
--other lines of code
The error is:
Can only tween objects in the workspace error
you could try,
local Main = geez:WaitForChild("Frame"):WaitForChild("Main")
also, I’m not sure why you have a nested event declaration inside of your
.MouseClick event, it might be better to bring it outside of that event scope.
Oh my bad, I was getting rid of other code.
I’m still getting the error with that modification.
May 2, 2020, 11:00pm
Hello,um guys you know this is 3D right > Vector3
Sorry, I don’t know if this had anything to do with my post. If you need help with scripting please post in
# and wait patiently! help-and-feedback:scripting-support
May 2, 2020, 11:03pm
This looks fine to me, are you using a local script?
I have this LocalScript in the StarterPack