✓ Accepted answer
local Pos = script.Parent.Position.Value
If script.Parent is some brick, then script.Parent.Position is the Brick's position -- a Vector3. Vector3's don't have a Value property (member) so you're getting this error.
Most likely you just want
local Pos = script.Parent.Position
If, however, Position is actually a Vector3Value that you are using -- the reason for the error is stil the above. It will prefer the Position property over the child named "Position". You could fix this by using :FindFirstChild("Position").Value or, better, by renaming the Vector3Value.
1 comment
Thanks alot! :)