Advertisement
ToxicOZ

Roblox Simple Blacklist

Apr 16th, 2022
1,135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.54 KB | None | 0 0
  1. local Blacklisted = Instance.new("ScreenGui")
  2. local Main = Instance.new("Frame")
  3. local Gradient = Instance.new("UIGradient")
  4. local Skull = Instance.new("ImageLabel")
  5. Blacklisted.Name = "Blacklisted"
  6. Blacklisted.Parent = game:GetService("CoreGui")
  7. Blacklisted.Enabled = false
  8. Blacklisted.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  9. Main.Name = "Main"
  10. Main.Parent = Blacklisted
  11. Main.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  12. Main.BorderSizePixel = 0
  13. Main.Position = UDim2.new(0.318982363, 0, 0.300198793, 0)
  14. Main.Size = UDim2.new(0, 185, 0, 200)
  15. Gradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(0, 0, 0)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(0, 4, 85))}
  16. Gradient.Name = "Gradient"
  17. Gradient.Parent = Main
  18. Skull.Name = "Skull"
  19. Skull.Parent = Main
  20. Skull.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  21. Skull.BackgroundTransparency = 1.000
  22. Skull.Position = UDim2.new(0.32432431, 0, 0.324999988, 0)
  23. Skull.Size = UDim2.new(0, 66, 0, 75)
  24. Skull.Image = "rbxassetid://9064808501"
  25. local players = game:GetService("Players")
  26. local Blacklist = {"Name1", "Name2"} --add more "", "", and end with no comma to complete blacklist
  27. if players.LocalPlayer.Name == Blacklist[1] or players.LocalPlayer.Name == Blacklist[2] then
  28. Blacklisted.Enabled = true
  29. game:GetService("Lighting").FogEnd = 0
  30. game:GetService("Lighting").FogColor = Color3.new(1,0,0)
  31. game:GetService("Workspace"):GetDescendants().Material = Enum.Material.CorrodedMetal
  32. game:GetService("Workspace"):GetDescendants().Color = Color3.new(1,0,0)
  33. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement