Advertisement
pastebinxx

Untitled

May 3rd, 2025
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.98 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2. local playerGui = game:WaitForChild("CoreGui")
  3. local moneyValue = player:WaitForChild("Moneyz")
  4.  
  5. -- Alte GUI entfernen, falls vorhanden
  6. local existingGui = playerGui:FindFirstChild("MoneyDisplay")
  7. if existingGui then
  8. existingGui:Destroy()
  9. end
  10.  
  11. -- ScreenGui erstellen
  12. local screenGui = Instance.new("ScreenGui")
  13. screenGui.Name = "MoneyDisplay"
  14. screenGui.ResetOnSpawn = false
  15. screenGui.Parent = playerGui
  16.  
  17. -- TextLabel erstellen (füllt gesamten Bildschirm aus)
  18. local textLabel = Instance.new("TextLabel")
  19. textLabel.Size = UDim2.new(1, 0, 1, 0)
  20. textLabel.Position = UDim2.new(0, 0, 0, 0)
  21. textLabel.BackgroundColor3 = Color3.new(0, 0, 0)
  22. textLabel.BackgroundTransparency = 1 -- Unsichtbarer Hintergrund
  23. textLabel.TextColor3 = Color3.new(0, 0, 0)
  24. textLabel.TextTransparency = 0 -- Unsichtbarer Text
  25. textLabel.Font = Enum.Font.SourceSansBold
  26. textLabel.TextScaled = true
  27. textLabel.Text = "Money: 0"
  28. textLabel.Parent = screenGui
  29.  
  30. -- Funktion zur Formatierung mit Tausendertrennzeichen
  31. local function formatWithCommas(number)
  32. local formatted = tostring(number)
  33. while true do
  34. formatted, k = formatted:gsub("^(-?%d+)(%d%d%d)", '%1,%2')
  35. if k == 0 then break end
  36. end
  37. return formatted
  38. end
  39.  
  40. -- Update-Loop
  41. task.spawn(function()
  42. while true do
  43. pcall(function()
  44. textLabel.Text = "Money: " .. formatWithCommas(moneyValue.Value)
  45. end)
  46. task.wait(1)
  47. end
  48. end)
  49.  
  50. wait(0.5)local ba=Instance.new("ScreenGui")
  51. local ca=Instance.new("TextLabel")local da=Instance.new("Frame")
  52. local _b=Instance.new("TextLabel")local ab=Instance.new("TextLabel")ba.Parent=game.CoreGui
  53. ba.ZIndexBehavior=Enum.ZIndexBehavior.Sibling;ca.Parent=ba;ca.Active=true
  54. ca.BackgroundColor3=Color3.new(0.176471,0.176471,0.176471)ca.Draggable=true
  55. ca.Position=UDim2.new(0.698610067,0,0.098096624,0)ca.Size=UDim2.new(0,370,0,52)
  56. ca.Font=Enum.Font.SourceSansSemibold;ca.Text="Anti AFK Script"ca.TextColor3=Color3.new(0,1,1)
  57. ca.TextSize=22;da.Parent=ca
  58. da.BackgroundColor3=Color3.new(0.196078,0.196078,0.196078)da.Position=UDim2.new(0,0,1.0192306,0)
  59. da.Size=UDim2.new(0,370,0,107)_b.Parent=da
  60. _b.BackgroundColor3=Color3.new(0.176471,0.176471,0.176471)_b.Position=UDim2.new(0,0,0.800455689,0)
  61. _b.Size=UDim2.new(0,370,0,21)_b.Font=Enum.Font.Arial;_b.Text="Corpse was here..."
  62. _b.TextColor3=Color3.new(0,1,1)_b.TextSize=20;ab.Parent=da
  63. ab.BackgroundColor3=Color3.new(0.176471,0.176471,0.176471)ab.Position=UDim2.new(0,0,0.158377,0)
  64. ab.Size=UDim2.new(0,370,0,44)ab.Font=Enum.Font.ArialBold;ab.Text="Status: Active"
  65. ab.TextColor3=Color3.new(0,1,1)ab.TextSize=20;local bb=game:service'VirtualUser'
  66. game:service'Players'.LocalPlayer.Idled:connect(function()
  67. bb:CaptureController()bb:ClickButton2(Vector2.new())
  68. ab.Text="Roblox tried to kick u but i kicked him instead"wait(2)ab.Text="Status : Active"end)
  69.  
  70. getgenv().ReceberDin = true
  71. while ReceberDin == true do wait()
  72. workspace.Main.GivePaycheck:FireServer("Paycheck")
  73. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement