Advertisement
RiasGremory0100

Kurumi123

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