Hudelem.HUD.StoreIcon1(3, 0, 3, 134, 26, 225, 247, 0, 0, 0, 0, 0, 180);//Black Background
Hudelem.HUD.StoreIcon1(4, 0, 3, 0, 20, 227, 250, 0, 0, 255, 255, 255, 255);//Bar
Hudelem.HUD.StoreTextElem1(5, 0, "Text Here", 2, 2, 260, 225, 0, 0, 255, 255, 255, 255);//Text
double Speed = 0.5;//The Speed The Bar Moves At
for (double i = 0; i < 130; i += Speed)
{
Hudelem.HUD.ChangeWidth(4, (int)i);//Changes Width according to i
if (i == 129)//If Loading bar reaches the end it will do this V
{
Hudelem.HUD.ChangeText2(5, "Completed!", 255);//Text When Its Completed
Thread.Sleep(2000);//Waits 2 Seconds
Hudelem.HUD.DestroyElem(3);//Removes Black Background
Hudelem.HUD.DestroyElem(4);//Removes Bar
Hudelem.HUD.DestroyElem(5);//Removes Text
}
}
}
Hudelem.HUD.StoreIcon1(3, 0, 3, 134, 26, 225, 247, 0, 0, 0, 0, 0, 180);//Black Background
Hudelem.HUD.StoreIcon1(4, 0, 3, 0, 20, 227, 250, 0, 0, 255, 255, 255, 255);//Bar
Hudelem.HUD.StoreTextElem1(5, 0, "Text Here", 2, 2, 260, 225, 0, 0, 255, 255, 255, 255);//Text
double Speed = 0.5;//The Speed The Bar Moves At
for (double i = 0; i < 130; i += Speed)
{
Hudelem.HUD.ChangeWidth(4, (int)i);//Changes Width according to i
if (i == 129)//If Loading bar reaches the end it will do this V
{
Hudelem.HUD.ChangeText2(5, "Completed!", 255);//Text When Its Completed
Thread.Sleep(2000);//Waits 2 Seconds
Hudelem.HUD.DestroyElem(3);//Removes Black Background
Hudelem.HUD.DestroyElem(4);//Removes Bar
Hudelem.HUD.DestroyElem(5);//Removes Text
}
}
}
Hudelem.HUD.StoreIcon1(3, 0, 3, 134, 26, 225, 247, 0, 0, 0, 0, 0, 180);//Black Background
Hudelem.HUD.StoreIcon1(4, 0, 3, 0, 20, 227, 250, 0, 0, 255, 255, 255, 255);//Bar
Hudelem.HUD.StoreTextElem1(5, 0, "Text Here", 2, 2, 260, 225, 0, 0, 255, 255, 255, 255);//Text
double Speed = 0.5;//The Speed The Bar Moves At
for (double i = 0; i < 130; i += Speed)
{
Hudelem.HUD.ChangeWidth(4, (int)i);//Changes Width according to i
if (i == 129)//If Loading bar reaches the end it will do this V
{
Hudelem.HUD.ChangeText2(5, "Completed!", 255);//Text When Its Completed
Thread.Sleep(2000);//Waits 2 Seconds
Hudelem.HUD.DestroyElem(3);//Removes Black Background
Hudelem.HUD.DestroyElem(4);//Removes Bar
Hudelem.HUD.DestroyElem(5);//Removes Text
}
}
}
Copyright © 2026, NextGenUpdate.
All Rights Reserved.