The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
Player level leaderboard script pastebin roblox
By Player level leaderboard on 2024-09-22 08:00 am | Syntax: LUA | Views: 8



New Script | Raw | Show/Hide line no. | Copy text to clipboard
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local TC3lvls = Instance.new("ScreenGui")
  7. local Frame = Instance.new("ScrollingFrame")
  8. local TextLabel = Instance.new("TextLabel")
  9. local UICorner = Instance.new("UICorner")
  10. local TextLabel_2 = Instance.new("TextLabel")
  11. local UICorner_2 = Instance.new("UICorner")
  12. local TextLabel_3 = Instance.new("TextLabel")
  13. local UICorner_3 = Instance.new("UICorner")
  14. local TextLabel_4 = Instance.new("TextLabel")
  15. local UICorner_4 = Instance.new("UICorner")
  16. local TextLabel_5 = Instance.new("TextLabel")
  17. local UICorner_5 = Instance.new("UICorner")
  18. local TextLabel_6 = Instance.new("TextLabel")
  19. local UICorner_6 = Instance.new("UICorner")
  20. local TextLabel_7 = Instance.new("TextLabel")
  21. local UICorner_7 = Instance.new("UICorner")
  22. local TextLabel_8 = Instance.new("TextLabel")
  23. local UICorner_8 = Instance.new("UICorner")
  24. local TextLabel_9 = Instance.new("TextLabel")
  25. local UICorner_9 = Instance.new("UICorner")
  26. local TextLabel_10 = Instance.new("TextLabel")
  27. local UICorner_10 = Instance.new("UICorner")
  28. local TextLabel_11 = Instance.new("TextLabel")
  29. local UICorner_11 = Instance.new("UICorner")
  30. local TextLabel_12 = Instance.new("TextLabel")
  31. local UICorner_12 = Instance.new("UICorner")
  32. local TextLabel_13 = Instance.new("TextLabel")
  33. local UICorner_13 = Instance.new("UICorner")
  34. local TextLabel_14 = Instance.new("TextLabel")
  35. local UICorner_14 = Instance.new("UICorner")
  36. local TextLabel_15 = Instance.new("TextLabel")
  37. local UICorner_15 = Instance.new("UICorner")
  38. local TextLabel_16 = Instance.new("TextLabel")
  39. local UICorner_16 = Instance.new("UICorner")
  40. local TextLabel_17 = Instance.new("TextLabel")
  41. local UICorner_17 = Instance.new("UICorner")
  42. local TextLabel_18 = Instance.new("TextLabel")
  43. local UICorner_18 = Instance.new("UICorner")
  44. local TextLabel_19 = Instance.new("TextLabel")
  45. local UICorner_19 = Instance.new("UICorner")
  46. local TextLabel_20 = Instance.new("TextLabel")
  47. local UICorner_20 = Instance.new("UICorner")
  48. local TextLabel_21 = Instance.new("TextLabel")
  49. local UICorner_21 = Instance.new("UICorner")
  50. local TextLabel_22 = Instance.new("TextLabel")
  51. local UICorner_22 = Instance.new("UICorner")
  52. local TextLabel_23 = Instance.new("TextLabel")
  53. local UICorner_23 = Instance.new("UICorner")
  54. local TextLabel_24 = Instance.new("TextLabel")
  55. local UICorner_24 = Instance.new("UICorner")
  56. local TextLabel_25 = Instance.new("TextLabel")
  57. local UICorner_25 = Instance.new("UICorner")
  58. local TextLabel_26 = Instance.new("TextLabel")
  59. local UICorner_26 = Instance.new("UICorner")
  60. local TextLabel_27 = Instance.new("TextLabel")
  61. local UICorner_27 = Instance.new("UICorner")
  62. local TextLabel_28 = Instance.new("TextLabel")
  63. local UICorner_28 = Instance.new("UICorner")
  64. local TextLabel_29 = Instance.new("TextLabel")
  65. local UICorner_29 = Instance.new("UICorner")
  66. local TextLabel_30 = Instance.new("TextLabel")
  67. local UICorner_30 = Instance.new("UICorner")
  68. local TextLabel_31 = Instance.new("TextLabel")
  69. local UICorner_31 = Instance.new("UICorner")
  70. local TextLabel_32 = Instance.new("TextLabel")
  71. local UICorner_32 = Instance.new("UICorner")
  72. local TextLabel_33 = Instance.new("TextLabel")
  73. local UICorner_33 = Instance.new("UICorner")
  74. local TextLabel_34 = Instance.new("TextLabel")
  75. local UICorner_34 = Instance.new("UICorner")
  76. local TextLabel_35 = Instance.new("TextLabel")
  77. local UICorner_35 = Instance.new("UICorner")
  78. local TextLabel_36 = Instance.new("TextLabel")
  79. local UICorner_36 = Instance.new("UICorner")
  80. local TextLabel_37 = Instance.new("TextLabel")
  81. local UICorner_37 = Instance.new("UICorner")
  82. local TextLabel_38 = Instance.new("TextLabel")
  83. local UICorner_38 = Instance.new("UICorner")
  84. local TextLabel_39 = Instance.new("TextLabel")
  85. local UICorner_39 = Instance.new("UICorner")
  86. local TextLabel_40 = Instance.new("TextLabel")
  87. local UICorner_40 = Instance.new("UICorner")
  88. local TextLabel_41 = Instance.new("TextLabel")
  89. local UICorner_41 = Instance.new("UICorner")
  90. local TextLabel_42 = Instance.new("TextLabel")
  91. local UICorner_42 = Instance.new("UICorner")
  92. local TextLabel_43 = Instance.new("TextLabel")
  93. local UICorner_43 = Instance.new("UICorner")
  94. local TextLabel_44 = Instance.new("TextLabel")
  95. local UICorner_44 = Instance.new("UICorner")
  96. local TextLabel_45 = Instance.new("TextLabel")
  97. local UICorner_45 = Instance.new("UICorner")
  98. local TextLabel_46 = Instance.new("TextLabel")
  99. local UICorner_46 = Instance.new("UICorner")
  100. local TextLabel_47 = Instance.new("TextLabel")
  101. local UICorner_47 = Instance.new("UICorner")
  102. local TextLabel_48 = Instance.new("TextLabel")
  103. local UICorner_48 = Instance.new("UICorner")
  104. local TextLabel_49 = Instance.new("TextLabel")
  105. local UICorner_49 = Instance.new("UICorner")
  106. local TextLabel_50 = Instance.new("TextLabel")
  107. local UICorner_50 = Instance.new("UICorner")
  108. local TextLabel_51 = Instance.new("TextLabel")
  109. local UICorner_51 = Instance.new("UICorner")
  110. local TextLabel_52 = Instance.new("TextLabel")
  111. local UICorner_52 = Instance.new("UICorner")
  112. local TextLabel_53 = Instance.new("TextLabel")
  113. local UICorner_53 = Instance.new("UICorner")
  114. local TextLabel_54 = Instance.new("TextLabel")
  115. local UICorner_54 = Instance.new("UICorner")
  116. local TextLabel_55 = Instance.new("TextLabel")
  117. local UICorner_55 = Instance.new("UICorner")
  118. local TextLabel_56 = Instance.new("TextLabel")
  119. local UICorner_56 = Instance.new("UICorner")
  120. local Deez = Instance.new("Frame")
  121. local TextLabel_57 = Instance.new("TextLabel")
  122. local UICorner_57 = Instance.new("UICorner")
  123. local UserName = Instance.new("TextBox")
  124. local UICorner_58 = Instance.new("UICorner")
  125.  
  126. --Properties:
  127.  
  128. TC3lvls.Name = "TC3lvls"
  129. TC3lvls.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  130. TC3lvls.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  131.  
  132. Frame.Name = "Frame""Deez"
  133. Deez.Parent = TC3lvls
  134. Deez.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  135. Deez.BackgroundTransparency = 1.000
  136. Deez.Position = UDim2.new(0.0869791657, 0, 0.113067657, 0)
  137. Deez.Size = UDim2.new(0, 716, 0, 66)
  138.  
  139. TextLabel_57.Parent = Deez
  140. TextLabel_57.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  141. TextLabel_57.BackgroundTransparency = 0.900
  142. TextLabel_57.Size = UDim2.new(0, 715, 0, 53)
  143. TextLabel_57.Font = Enum.Font.SourceSans
  144. TextLabel_57.Text = "TC3 Player Levels list"
  145. TextLabel_57.TextColor3 = Color3.fromRGB(0, 0, 0)
  146. TextLabel_57.TextSize = 53.000
  147. TextLabel_57.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  148.  
  149. UICorner_57.Parent = TextLabel_57
  150.  
  151. UserName.Name = "UserName"
  152. UserName.Parent = Deez
  153. UserName.BackgroundColor3 = Color3.fromRGB(176, 176, 176)
  154. UserName.BorderSizePixel = 0
  155. UserName.Position = UDim2.new(0.773743033, 0, 0.146710947, 0)
  156. UserName.Size = UDim2.new(0, 145, 0, 34)
  157. UserName.Font = Enum.Font.SourceSans
  158. UserName.Text = ""
  159. UserName.TextColor3 = Color3.fromRGB(24, 24, 24)
  160. UserName.TextSize = 26.000
  161.  
  162. UICorner_58.Parent = UserName
  163.  
  164. -- Scripts:
  165.  
  166. local function LVOZBSP_fake_script() -- TC3lvls.LocalScript
  167.         local script = Instance.new('LocalScript', TC3lvls)
  168.  
  169.         local Players = game:GetService("Players")
  170.         local Frame = script.Parent.Frame
  171.         local Box = script.Parent.Deez.UserName
  172.        
  173.         game:GetService("UserInputService").InputBegan:Connect(function(inpt)
  174.                 if inpt.KeyCode == Enum.KeyCode.RightShift then
  175.                         if script.Parent.Enabled == true then
  176.                                 script.Parent.Enabled = false
  177.                         else
  178.                                 script.Parent.Enabled = true
  179.                         end
  180.                 end
  181.         end)
  182.        
  183.        
  184.        
  185.        
  186.         function Refresh()
  187.                 for i3, v3 in pairs(Frame:GetChildren()) do
  188.                         v3.Text = "Label"
  189.                 end
  190.                
  191.                
  192.                 if Box.Text == "" then
  193.                         print("Text is nil")
  194.                         for i, v in pairs(Players:GetPlayers()) do
  195.                                 local lvl = v.PlayerValues.Level.Value
  196.                                 for i2, v2 in pairs(Frame:GetChildren()) do
  197.                                         if v2.Text == "Label" then
  198.                                                 v2.Text = v.Name.." - "..lvl
  199.                                                 break
  200.                                         end
  201.                                 end
  202.                         end
  203.                 else
  204.                         local First = string.sub(Box.Text, 1, 1)
  205.                         for i, v in pairs(Players:GetPlayers()) do
  206.                                 local lvl = v.PlayerValues.Level.Value
  207.                                 if string.sub(v.Name, 1, 1) == First then
  208.                                         for i2, v2 in pairs(Frame:GetChildren()) do
  209.                                                 if v2.Text == "Label" then
  210.                                                         v2.Text = v.Name.." - "..lvl
  211.                                                         break
  212.                                                 end
  213.                                         end
  214.                                 end
  215.                         end
  216.                 end
  217.         end
  218.        
  219.        
  220.        
  221.         Players.PlayerRemoving:Connect(function(plr)
  222.                 for i, v in pairs(Frame:GetChildren()) do
  223.                         if v.Text == plr.Name then
  224.                                 v.Text = "Label"
  225.                         end
  226.                 end
  227.         end)
  228.        
  229.         while true do
  230.                 wait(0.1)
  231.                 Refresh()
  232.         end
  233.        
  234.         game:GetService("UserInputService").InputBegan:Connect(function(inpt)
  235.                 if string.len(Box.Text) >= 1 then
  236.                         Box.Text = string.sub(Box.Text, 1, 1)
  237.                 end
  238.         end)
  239. end
  240. coroutine.wrap(LVOZBSP_fake_script)()
  241. local function BOQYKI_fake_script() -- TC3lvls.Neon
  242.         local script = Instance.new('LocalScript', TC3lvls)
  243.  
  244.         local Frame = script.Parent.Frame
  245.        
  246.         while true do
  247.                 wait(0.1)
  248.                 Frame.BorderColor = BrickColor.Random()
  249.         end
  250. end
  251. coroutine.wrap(BOQYKI_fake_script)()



  • Recent Roblox Scripts