Advertisement
basbas1234

Blind Script

Dec 30th, 2018
2,317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.58 KB | None | 0 0
  1. local function getPlayerFromCharacter(character)
  2.     for _, player in pairs(game:GetService("Players"):GetPlayers()) do
  3.         if player.Character == character then
  4.             return player
  5.         end
  6.     end
  7. end
  8.  
  9. local Name = "crazynoobs123"
  10. local Character = workspace[Name]
  11. local Player = getPlayerFromCharacter(Character)
  12.  
  13. local PlrUI = Player.PlayerGui
  14.  
  15. local sc = Instance.new("ScreenGui",PlrUI)
  16. sc.ResetOnSpawn = false
  17. local blind = Instance.new("Frame",sc)
  18. blind.BackgroundColor3 = Color3.new(0,0,0)
  19. blind.BorderSizePixel = 0
  20. blind.Size = UDim2.new(1,0,1,0)
  21. blind.Position = UDim2.new(0,0,0,0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement