Advertisement
RiasGremory0100

Kurumi

Mar 10th, 2017
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. id = --Image ID here
  2.  
  3. local Players = game:GetService("Players")
  4.  
  5. function onPlayerAdded(player)
  6.  
  7. local gui = Instance.new("ScreenGui",player.PlayerGui)
  8. local frame = Instance.new("Frame", gui)
  9. frame.Size = UDim2.new(1,0,1,0)
  10. frame.BackgroundColor3 = Color3.new(255, 229, 135)
  11. for i = 0, 4.5, 0.05 do
  12. print(i)
  13. local imagegui = Instance.new("ImageLabel",frame)
  14. imagegui.Size = UDim2.new(1,0,1,0)
  15. imagegui.BackgroundTransparency = 1
  16. imagegui.Image = "128136225"
  17. wait()
  18. end
  19. end
  20.  
  21. --When a player joins, call the onPlayerAdded function
  22. Players.PlayerAdded:connect(onPlayerAdded)
  23.  
  24. --Call onPlayerAdded for each player already in the game
  25. for _,player in pairs(Players:GetPlayers()) do
  26. onPlayerAdded(player)
  27. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement