i want to put the text label in the desired spot but i dont know if its possible this is my script
local h = 1
script.Parent.MouseButton1Down:Connect(function()
print("pressed")
local newf = Instance.new("TextLabel",game.StarterGui.ScreenGui)
newf.Name = (h)
h = h+1
print(h)
h.position == {0,0},{0,0,0}
end)
ive also tried
local h = 1
script.Parent.MouseButton1Down:Connect(function()
print("pressed")
local newf = Instance.new("TextLabel",game.StarterGui.ScreenGui)
newf.Name = (h)
h = h+1
print(h)
(h).position == {0,0},{0,0,0}
end)

4 comments
Your script isn't possible whatsoever. You logic regarding "h" would never be possible either.
You must spawn the Instance in the active user-interface, which is PlayerGui, not StarterGui.
Using parentheses is redundant.
To adjust a UI Instance's position, you need to give it a UDim2.