[HALLOWEEN🎃] Counter Blox
7.4k Views
23 Executions

fake username&avatar [avatar only for cb]

Counter Blox
Zuhn
ZuhnPublished 5
4 years ago
Please login to perform these actions:

fake username&avatar [avatar only for cb] is a Counter Blox script for Roblox, uploaded to ScriptBlox on May 30, 2022.

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

it basiclly changes the username&avatar visible to you nobody else, basiclly if youre a streamer who plays blatant you can hide your self from people, it doesnt show the avatar when youre in the main menu

View Raw


getgenv().playername = game:GetService("Players").LocalPlayer.Name -- username 
getgenv().newname = "ZuhnLovesFemboys" -- new username
getgenv().newpfp = 3584313410 -- new avatar


local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local RunService = game:GetService("RunService")


local playerId = Players:GetUserIdFromNameAsync(getgenv().playername)

local GUI
if game.GameId == 115797356 then
    GUI = LocalPlayer.PlayerGui.GUI
end

local mt = getrawmetatable(game)
local __oldNewIndex = mt.__newindex

if setreadonly then setreadonly(mt, false) else make_writeable(mt) end

mt.__newindex = newcclosure(function(self, k, v)
    if (game.IsA(self, "TextLabel") or game.IsA(self, "TextButton")) and k == "Text" and string.find(v, getgenv().playername) then
        return __oldNewIndex(self, k, string.gsub(v, getgenv().playername, getgenv().newname))
    elseif (game.IsA(self, "ImageLabel") or game.IsA(self, "ImageButton")) and k == "Image" then
        if string.find(v, playerId) then
            return __oldNewIndex(self, k, string.gsub(v, playerId, getgenv().newpfp))
        elseif string.find(v, getgenv().playername) then
            return __oldNewIndex(self, k, string.gsub(v, getgenv().playername, Players.GetNameFromUserIdAsync(Players, playerId)))
        end
    end

    return __oldNewIndex(self, k, v)
end)

if setreadonly then setreadonly(mt, true) else make_readonly(mt) end



Comments

3
Log in to join the conversation. Login
MakerScript's profile picture
MakerScript4 years ago(edited)

local script😭

2
oksghde's profile picture
oksghde4 years ago(edited)

OP OP

2
DJ_BEN1's profile picture
DJ_BEN14 years ago(edited)

this lowkey op bruh

1