Advertisement
MisterH_t

LoadGame | LocalScript

Jul 3rd, 2022
959
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.51 KB | None
  1. local plr = game.Players.LocalPlayer
  2. local repFirst = game:GetService("ReplicatedFirst")
  3.  
  4. local pGui = plr:WaitForChild("PlayerGui")
  5. local scrGui = pGui:WaitForChild("--O NOME DO SEU SCREEN GUI--")
  6. local frame = scrGui:WaitForChild("--O NOME DO SEU FRAME--")
  7. local text = scrGui:WaitForChild("--O NOME DO SEU TEXTLABEL--")
  8.  
  9. text.Text = "Game is Loading..."
  10. repFirst:RemoveDefaultLoadingScreen()
  11.  
  12. if not game:IsLoaded() then
  13.     game.Loaded:Wait()
  14. end
  15. text.Text = "Game is Loaded!"
  16. wait(1)
  17. scrGui:Destroy()
Advertisement
RAW Paste Data Copied
Advertisement