Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --]
- --____ ____ _
- -- | _ \ ___ __ _ __ _ ___ | _ \ ___ __ __ | | ___ _ __ ___ _ __
- -- | | | | / _ \ / _` | / _` | / _ \ | | | | / _ \ \ \ / / | | / _ \ | '_ \ / _ \ | '__|
- -- | |_| | | (_) | | (_| | | (_| | | (_) | | |_| | | __/ \ V / | | | (_) | | |_) | | __/ | |
- --|____/ \___/ \__, | \__, | \___/ |____/ \___| \_/ |_| \___/ | .__/ \___| |_|
- -- |___/ |___/ |_|
- --]
- -- Hidename Made By : 3dsboy08 --
- --|+ HideName By : 3dsboy08 |+| Edit By : DoggoDevloper |+|
- local Config =
- {
- ProtectedName = "Change this to any name you want",
- OtherPlayers = false,
- OtherPlayersTemplate = "NameProtect",
- RenameTextBoxes = true,
- UseFilterPadding = true,
- FilterPad = " ",
- UseMetatableHook = true,
- UseAggressiveFiltering = true
- }
- local ProtectedNames = {}
- local Counter = 1
- if Config.OtherPlayers then
- for I, V in pairs(game:GetService("Players"):GetPlayers()) do
- local Filter = Config.OtherPlayersTemplate .. tostring(Counter)
- if Config.UseFilterPadding then
- if string.len(Filter) > string.len(V.Name) then
- Filter = string.sub(Filter, 1, string.len(V.Name))
- elseif string.len(Filter) < string.len(V.Name) then
- local Add = string.len(V.Name) - string.len(Filter)
- for I=1,Add do
- Filter = Filter .. Config.FilterPad
- end
- end
- end
- ProtectedNames[V.Name] = Filter
- Counter = Counter + 1
- end
- game:GetService("Players").PlayerAdded:connect(function(Player)
- local Filter = Config.OtherPlayersTemplate .. tostring(Counter)
- if Config.UseFilterPadding then
- if string.len(Filter) > string.len(V.Name) then
- Filter = string.sub(Filter, 1, string.len(V.Name))
- elseif string.len(Filter) < string.len(V.Name) then
- local Add = string.len(V.Name) - string.len(Filter)
- for I=1,Add do
- Filter = Filter .. Config.FilterPad
- end
- end
- end
- ProtectedNames[Player.Name] = Filter
- Counter = Counter + 1
- end)
- end
- local LPName = game:GetService("Players").LocalPlayer.Name
- local IsA = game.IsA
- if Config.UseFilterPadding then
- if string.len(Config.ProtectedName) > string.len(LPName) then
- Config.ProtectedName = string.sub(Config.ProtectedName, 1, string.len(LPName))
- elseif string.len(Config.ProtectedName) < string.len(LPName) then
- local Add = string.len(LPName) - string.len(Config.ProtectedName)
- for I=1,Add do
- Config.ProtectedName = Config.ProtectedName .. Config.FilterPad
- end
- end
- end
- local function FilterString(S)
- local RS = S
- if Config.OtherPlayers then
- for I, V in pairs(ProtectedNames) do
- RS = string.gsub(RS, I, V)
- end
- end
- RS = string.gsub(RS, LPName, Config.ProtectedName)
- return RS
- end
- for I, V in pairs(game:GetDescendants()) do
- if Config.RenameTextBoxes then
- if IsA(V, "TextLabel") or IsA(V, "TextButton") or IsA(V, "TextBox") then
- V.Text = FilterString(V.Text)
- if Config.UseAggressiveFiltering then
- V:GetPropertyChangedSignal("Text"):connect(function()
- V.Text = FilterString(V.Text)
- end)
- end
- end
- else
- if IsA(V, "TextLabel") or IsA(V, "TextButton") then
- V.Text = FilterString(V.Text)
- if Config.UseAggressiveFiltering then
- V:GetPropertyChangedSignal("Text"):connect(function()
- V.Text = FilterString(V.Text)
- end)
- end
- end
- end
- end
- if Config.UseAggressiveFiltering then
- game.DescendantAdded:connect(function(V)
- if Config.RenameTextBoxes then
- if IsA(V, "TextLabel") or IsA(V, "TextButton") or IsA(V, "TextBox") then
- V:GetPropertyChangedSignal("Text"):connect(function()
- V.Text = FilterString(V.Text)
- end)
- end
- else
- if IsA(V, "TextLabel") or IsA(V, "TextButton") then
- V:GetPropertyChangedSignal("Text"):connect(function()
- V.Text = FilterString(V.Text)
- end)
- end
- end
- end)
- end
- if Config.UseMetatableHook then
- if not getrawmetatable then
- error("GetRawMetaTable not found")
- end
- -- Hide name --
- local NewCC = function(F)
- if newcclosure then return newcclosure(F) end
- return F
- end
- local SetRO = function(MT, V)
- if setreadonly then return setreadonly(MT, V) end
- if not V and make_writeable then return make_writeable(MT) end
- if V and make_readonly then return make_readonly(MT) end
- error("No setreadonly found")
- end
- local MT = getrawmetatable(game)
- local OldNewIndex = MT.__newindex
- SetRO(MT, false)
- MT.__newindex = NewCC(function(T, K, V)
- if Config.RenameTextBoxes then
- if (IsA(T, "TextLabel") or IsA(T, "TextButton") or IsA(T, "TextBox")) and K == "Text" and type(V) == "string" then
- return OldNewIndex(T, K, FilterString(V))
- end
- else
- if (IsA(T, "TextLabel") or IsA(T, "TextButton")) and K == "Text" and type(V) == "string" then
- return OldNewIndex(T, K, FilterString(V))
- end
- end
- return OldNewIndex(T, K, V)
- end)
- SetRO(MT, true)
- end
- -- Hitbox --
- _G.HeadSize = 27
- _G.Disabled = true
- game:GetService('RunService').RenderStepped:connect(function()
- if _G.Disabled then
- for i,v in next, game:GetService('Players'):GetPlayers() do
- if v.Name ~= game:GetService('Players').LocalPlayer.Name then
- pcall(function()
- v.Character.HumanoidRootPart.Size = Vector3.new(_G.HeadSize,_G.HeadSize,_G.HeadSize)
- v.Character.HumanoidRootPart.Transparency = 10 -- Change the 10 to 0 to see teh hit box
- v.Character.HumanoidRootPart.BrickColor = BrickColor.new("White")
- v.Character.HumanoidRootPart.Material = "plastic"
- v.Character.HumanoidRootPart.CanCollide = true
- end)
- end
- end
- end
- end)
- wait(0.1)
- local bindableFunction= Instance.new("BindableFunction")
- game.StarterGui:SetCore("SendNotification", {
- Title = "Done! | Hitbox & HideName";
- Text = "Credit | Hidename By : 3dsboy08 / Edit By : DoggoDevloper / hitbox : Unknow ?";
- Duration = 15;
- callback = "20";
- Button1 = " ";
- })
- --git gud btw ur ez in aba
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement