Advertisement
Guest User

Untitled

a guest
Jun 28th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. -- by denissini
  2.  
  3. i = 0
  4.  
  5.  
  6. local ImageId = 887905125 -- use just id number like 78930759 or 78930753 or the best one is
  7.  
  8. while i == 0 do
  9. wait()
  10. i = 0
  11. for i, v in pairs(game.Players:GetChildren()) do
  12. if v.ClassName == "Player" then
  13. local GuiHere = v.PlayerGui:FindFirstChild("OurGui")
  14. local OtherGui = v.PlayerGui:FindFirstChildOfClass("ScreenGui")
  15. if not GuiHere then
  16. local Gui = Instance.new("ScreenGui",v.PlayerGui)
  17. Gui.Name = "OurGui"
  18. Gui.ResetOnSpawn = false
  19. local MainPart = Instance.new("ImageLabel",Gui)
  20. MainPart.Position = UDim2.new(0.191, 0,0.234, 0)
  21. MainPart.Size = UDim2.new(0.54, 100,0.382, 100)
  22. MainPart.Image = ("rbxassetid://"..ImageId)
  23. MainPart.Name = "Main"
  24. end
  25. end
  26. end
  27. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement