3Escot
(Escot)
1
Hi everyone,
How could i make a textlabel display a player’s HumanoidRootPart position
this is my current code but it doesn’t seem to work:
while script.Disabled == false do
script.Parent.Text = Character.HumanoidRootPart.Position
end
Thanks in advance!
Try this? 
while wait() do
script.Parent.Text = Character.HumanoidRootPart.Position
end
3Escot
(Escot)
3
Same thing, it doesn’t work. I get the error “Unable to assign property Text. string expected, got Vector3”
Ah.
Try wrapping the position in a tostring()
while wait() do
script.Parent.Text = tostring(Character.HumanoidRootPart.Position)
end
1 Like
3Escot
(Escot)
5
This works perfectly. Thank you!
2 Likes