Gui text changer: When the leaderstats is 1 the name on top of the screen changes to "Grassland" And some about the other onces, but whats wrong?
wait (2)
while true do
if script.Parent.Parent.Parent.Parent.Parent.leaderstats.Mappy.Value == 1 then
script.Parent.Text = "Grassland"
elseif script.Parent.Parent.Parent.Parent.Parent.leaderstats.Mappy.Value == 0 then
script.Parent.Text = "Waiting..."
end
if script.Parent.Parent.Parent.Parent.Parent.leaderstats.Mappy.Value == 2 then
script.Parent.Text = "Winter land"
elseif script.Parent.Parent.Parent.Parent.Parent.leaderstats.Mappy.Value == 0 then
script.Parent.Text = "Waiting..."
end
if script.Parent.Parent.Parent.Parent.Parent.leaderstats.Mappy.Value == 3 then
script.Parent.Text = "Desert"
elseif script.Parent.Parent.Parent.Parent.Parent.leaderstats.Mappy.Value == 0 then
script.Parent.Text = "Waiting..."
end
if script.Parent.Parent.Parent.Parent.Parent.leaderstats.Mappy.Value == 4 then
script.Parent.Text = "Space"
elseif script.Parent.Parent.Parent.Parent.Parent.leaderstats.Mappy.Value == 0 then
script.Parent.Text = "Waiting..."
end
end
