Advertisement
Guest User

Fake ClanTag

a guest
Mar 26th, 2020
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.39 KB | None | 0 0
  1. local silentname = 0
  2. local windowmade = 0
  3. local windowactive = 0
  4. local origName = ""
  5.  
  6. local function getOriginalName()
  7.  
  8. origName = client.GetConVar("Name")
  9.  
  10. end
  11. getOriginalName()
  12. local function setName(name)
  13. client.SetConVar("name", name);
  14. end
  15. local boldletters = {
  16.  
  17.  
  18.  
  19. "๐—ฎ","๐—ฏ","๐—ฐ","๐—ฑ","๐—ฒ","๐—ณ","๐—ด","๐—ต","๐—ถ","๐—ท","๐—ธ","๐—น","๐—บ","๐—ป","๐—ผ","๐—ฝ","๐—พ","๐—ฟ","๐˜€","๐˜","๐˜‚","๐˜ƒ","๐˜„","๐˜…","๐˜†","๐˜‡",
  20. "๐—”","๐—•","๐—–","๐——","๐—˜","๐—™","๐—š","๐—›","๐—œ","๐—","๐—ž","๐—Ÿ","๐— ","๐—ก","๐—ข","๐—ฃ","๐—ค","๐—ฅ","๐—ฆ","๐—ง","๐—จ","๐—ฉ","๐—ช","๐—ซ","๐—ฌ","๐—ญ",
  21. "๐Ÿฌ","๐Ÿญ","๐Ÿฎ","๐Ÿฏ","๐Ÿฐ","๐Ÿฑ","๐Ÿฒ","๐Ÿณ","๐Ÿด","๐Ÿต","'"," ","."
  22. }
  23.  
  24. local window = gui.Window(window, "Clantag Changer", 200, 200, 180, 172)
  25. local function refresh(x1,y1,x2,y2,active)
  26. if windowmade == 0 then
  27. local grp1 = gui.Groupbox(window, "Clantag", 0,10,175,130)
  28. local clantag = gui.Editbox( grp1, "Clantag","" )
  29. local resetbutton = gui.Button(grp1, "Reset Clantag", function()
  30.  
  31. setName(origName)
  32. end)
  33. local output = ""
  34. local button = gui.Button(grp1, "Set Clantag", function()
  35. local letters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.' "
  36.  
  37. local input = clantag:GetValue()
  38.  
  39. for i=1, #input do
  40. local char = input:sub(i,i)
  41. output = output .. boldletters[letters:find(char)]
  42. setName(output .. " " .. origName)
  43. end
  44. output = ""
  45. end)
  46.  
  47. windowmade = 1
  48. end
  49. end
  50.  
  51. local custom = gui.Custom( window, "Options", 0, 0, 0, 0, refresh)
  52.  
  53. local function openwindow()
  54. if gui.Reference("MENU"):IsActive() and windowactive == 0 then
  55. window:SetActive(1)
  56. windowactive = 1
  57. elseif not gui.Reference("MENU"):IsActive() and windowactive == 1 then
  58. window:SetActive(0)
  59. windowactive = 0
  60. end
  61. end
  62.  
  63. callbacks.Register("Draw", openwindow)
  64.  
  65. local function makenamesilent()
  66. if windowmade == 1 then
  67. local lp = entities.GetLocalPlayer()
  68. if silentname == 0 and lp ~= nil then
  69. setName("\n\xAD\xAD\xAD\xAD")
  70. curtime = globals.CurTime()
  71. silentname = 1
  72. end
  73. if silentname == 1 and globals.CurTime() >= curtime + 0.1 then
  74. setName(origName)
  75. silentname = 2
  76. end
  77.  
  78. if lp == nil then
  79. silentname = 0
  80. end
  81. end
  82. end
  83.  
  84. callbacks.Register("Draw",makenamesilent)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement