Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer
- local playerGui = game:WaitForChild("CoreGui")
- local moneyValue = player:WaitForChild("Moneyz")
- -- Alte GUI entfernen, falls vorhanden
- local existingGui = playerGui:FindFirstChild("MoneyDisplay")
- if existingGui then
- existingGui:Destroy()
- end
- -- ScreenGui erstellen
- local screenGui = Instance.new("ScreenGui")
- screenGui.Name = "MoneyDisplay"
- screenGui.ResetOnSpawn = false
- screenGui.Parent = playerGui
- -- TextLabel erstellen (füllt gesamten Bildschirm aus)
- local textLabel = Instance.new("TextLabel")
- textLabel.Size = UDim2.new(1, 0, 1, 0)
- textLabel.Position = UDim2.new(0, 0, 0, 0)
- textLabel.BackgroundColor3 = Color3.new(0, 0, 0)
- textLabel.BackgroundTransparency = 1 -- Unsichtbarer Hintergrund
- textLabel.TextColor3 = Color3.new(0, 0, 0)
- textLabel.TextTransparency = 0 -- Unsichtbarer Text
- textLabel.Font = Enum.Font.SourceSansBold
- textLabel.TextScaled = true
- textLabel.Text = "Money: 0"
- textLabel.Parent = screenGui
- -- Funktion zur Formatierung mit Tausendertrennzeichen
- local function formatWithCommas(number)
- local formatted = tostring(number)
- while true do
- formatted, k = formatted:gsub("^(-?%d+)(%d%d%d)", '%1,%2')
- if k == 0 then break end
- end
- return formatted
- end
- -- Update-Loop
- task.spawn(function()
- while true do
- pcall(function()
- textLabel.Text = "Money: " .. formatWithCommas(moneyValue.Value)
- end)
- task.wait(1)
- end
- end)
- wait(0.5)local ba=Instance.new("ScreenGui")
- local ca=Instance.new("TextLabel")local da=Instance.new("Frame")
- local _b=Instance.new("TextLabel")local ab=Instance.new("TextLabel")ba.Parent=game.CoreGui
- ba.ZIndexBehavior=Enum.ZIndexBehavior.Sibling;ca.Parent=ba;ca.Active=true
- ca.BackgroundColor3=Color3.new(0.176471,0.176471,0.176471)ca.Draggable=true
- ca.Position=UDim2.new(0.698610067,0,0.098096624,0)ca.Size=UDim2.new(0,370,0,52)
- ca.Font=Enum.Font.SourceSansSemibold;ca.Text="Anti AFK Script"ca.TextColor3=Color3.new(0,1,1)
- ca.TextSize=22;da.Parent=ca
- da.BackgroundColor3=Color3.new(0.196078,0.196078,0.196078)da.Position=UDim2.new(0,0,1.0192306,0)
- da.Size=UDim2.new(0,370,0,107)_b.Parent=da
- _b.BackgroundColor3=Color3.new(0.176471,0.176471,0.176471)_b.Position=UDim2.new(0,0,0.800455689,0)
- _b.Size=UDim2.new(0,370,0,21)_b.Font=Enum.Font.Arial;_b.Text="Corpse was here..."
- _b.TextColor3=Color3.new(0,1,1)_b.TextSize=20;ab.Parent=da
- ab.BackgroundColor3=Color3.new(0.176471,0.176471,0.176471)ab.Position=UDim2.new(0,0,0.158377,0)
- ab.Size=UDim2.new(0,370,0,44)ab.Font=Enum.Font.ArialBold;ab.Text="Status: Active"
- ab.TextColor3=Color3.new(0,1,1)ab.TextSize=20;local bb=game:service'VirtualUser'
- game:service'Players'.LocalPlayer.Idled:connect(function()
- bb:CaptureController()bb:ClickButton2(Vector2.new())
- ab.Text="Roblox tried to kick u but i kicked him instead"wait(2)ab.Text="Status : Active"end)
- getgenv().ReceberDin = true
- while ReceberDin == true do wait()
- workspace.Main.GivePaycheck:FireServer("Paycheck")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement