Advertisement
cuhieu9xk

Ví dụ (man hinh tai)

Dec 10th, 2019
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. local PlayerGui = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  2. PlayerGui:SetTopbarTransparency(0)
  3.  
  4. local screen = Instance.new("ScreenGui")
  5. screen.Parent = PlayerGui
  6.  
  7. local textLabel = Instance.new("TextLabel")
  8. textLabel.Text = "Loading"
  9. textLabel.Size = UDim2.new(1,0,1,0)
  10. textLabel.FontSize = Enum.FontSize.Size14
  11. textLabel.Parent = screen
  12.  
  13. script.Parent:RemoveDefaultLoadingScreen()
  14.  
  15. local count = 0
  16. local start = tick()
  17. while tick() - start < 6 do
  18. textLabel.Text = "Loading " .. string.rep(".",count)
  19. count = (count + 1)
  20. wait(.3)
  21. end
  22.  
  23. screen.Parent = nil
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement