Scrolling SurfaceGUI not working

So long story short: With this script posted below, the text label is not appearing. The part’s size is 0.101, 0.266, 0.632 with text scaled. The text label size is {0, 150},{0, 13}

while true do
	for i = -1, 1, 0.01 do
		wait(0.1)
		script.parent.surfacegui.textlabel.Position = UDim2.new(-i,0,0,0)
		script.Parent.SurfaceGui.TextLabel.AnchorPoint = Vector2.new(-i,0)
	end
end

Yeah sorry for the lack of information I need quick responses but I would be happy to give more information

Lua (along with most other languages) are case-sensitive.

Try doing script.Parent.SurfaceGui.TextLabel