Hello developers, I am trying to make a GUI show the altitude and speed of a certain part, I’ve tried this and it doesn’t seem to work has anyone else got another suggestion I could try?
I’ve tried doing this so far;
local main = script.Parent.Parent.Parent.VALUE.Value
local value = main:WaitForChild("Altitude")
while true do
wait(0000000000000000000000000000000000000000.1)
script.Parent.Text = "Altitude: "..value.Value
end
wait() minimum is 0.03 seconds, it will automatically get set to 0.03 instead of that number you put in. You should be using a changed event on the Value instead of a while loop
Are you sure that you’re correctly addressing the path to the Value? It seems that you’ve used .Value twice, and you may had got confused there. I’d also advise to use while wait() do instead for a clean-up.