Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Character Display Name Changer Tool
- -- Console invisibility
- -- Recurring feature
- -- Practical usage
- -- By HTS / Fatjohnstrangler --
- -- For hide/open function
- local Key1 = Enum.KeyCode.LeftControl
- local Key2 = Enum.KeyCode.J
- -- For fill function
- local Key3 = Enum.KeyCode.F4
- local ExclFillPlr = false
- local Lp = game.Players.LocalPlayer
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local UICorner = Instance.new("UICorner")
- local _04Info = Instance.new("TextLabel")
- local _03AlterBox = Instance.new("TextBox")
- local _02TargetBox = Instance.new("TextBox")
- local Display = Instance.new("TextLabel")
- local _00Mark = Instance.new("TextButton")
- local UICorner_2 = Instance.new("UICorner")
- local Info = Instance.new("TextLabel")
- local UIListLayout = Instance.new("UIListLayout")
- local _01Mark = Instance.new("TextButton")
- local UICorner_3 = Instance.new("UICorner")
- local Info_2 = Instance.new("TextLabel")
- --Properties:
- ScreenGui.Parent = Lp:WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame.Parent = ScreenGui -- set to core, if needed.
- Frame.BackgroundColor3 = Color3.fromRGB(83, 83, 83)
- Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(.708945274, 0, .699203193, 0)
- Frame.Size = UDim2.new(.272363156, 0, .282868534, 0)
- UICorner.CornerRadius = UDim.new(.1, 0)
- UICorner.Parent = Frame
- _04Info.Name = "04-Info"
- _04Info.Parent = Frame
- _04Info.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- _04Info.BackgroundTransparency = 1
- _04Info.BorderColor3 = Color3.fromRGB(0, 0, 0)
- _04Info.BorderSizePixel = 0
- _04Info.Position = UDim2.new(0, 0, .833162546, 0)
- _04Info.Size = UDim2.new(1, 0, .16, 0)
- _04Info.Font = Enum.Font.SourceSans
- _04Info.Text = "Display Changer($ to hide/open)"
- _04Info.TextColor3 = Color3.fromRGB(0, 0, 0)
- _04Info.TextScaled = true
- _04Info.TextSize = 14
- _04Info.TextWrapped = true
- _03AlterBox.Name = "03-AlterBox"
- _03AlterBox.Parent = Frame
- _03AlterBox.BackgroundColor3 = Color3.fromRGB(162, 162, 162)
- _03AlterBox.BorderColor3 = Color3.fromRGB(0, 0, 0)
- _03AlterBox.BorderSizePixel = 0
- _03AlterBox.Position = UDim2.new(0, 0, .5810287, 0)
- _03AlterBox.Size = UDim2.new(1, 0, .202304721, 0)
- _03AlterBox.TextScaled = true
- _03AlterBox.Font = Enum.Font.SourceSans
- _03AlterBox.PlaceholderColor3 = Color3.fromRGB(68, 68, 68)
- _03AlterBox.PlaceholderText = "New display (refreshes with change)"
- _03AlterBox.Text = ""
- _03AlterBox.TextColor3 = Color3.fromRGB(0, 0, 0)
- _03AlterBox.TextSize = 14
- _03AlterBox.TextXAlignment = Enum.TextXAlignment.Left
- _02TargetBox.Name = "02-TargetBox"
- _02TargetBox.ClearTextOnFocus = false
- _02TargetBox.Parent = Frame
- _02TargetBox.BackgroundColor3 = Color3.fromRGB(162, 162, 162)
- _02TargetBox.BorderColor3 = Color3.fromRGB(0, 0, 0)
- _02TargetBox.BorderSizePixel = 0
- _02TargetBox.Position = UDim2.new(0, 0, .299338549, 0)
- _02TargetBox.Size = UDim2.new(1, 0, .202304721, 0)
- _02TargetBox.TextScaled = true
- _02TargetBox.Font = Enum.Font.SourceSans
- _02TargetBox.Text = ""
- _02TargetBox.PlaceholderColor3 = Color3.fromRGB(68, 68, 68)
- _02TargetBox.PlaceholderText = "Username (press $ to auto fill)"
- _02TargetBox.TextColor3 = Color3.fromRGB(0, 0, 0)
- _02TargetBox.TextSize = 14
- _02TargetBox.TextXAlignment = Enum.TextXAlignment.Left
- Display.Name = "Display"
- Display.Parent = _02TargetBox
- Display.BackgroundTransparency = 1
- Display.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Display.BorderSizePixel = 0
- Display.Size = UDim2.new(1, 0, 1, 0)
- Display.TextScaled = true
- Display.Font = Enum.Font.SourceSans
- Display.Text = ""
- Display.TextColor3 = Color3.fromRGB(68, 68, 68)
- Display.TextSize = 14
- Display.TextTransparency = .7
- Display.TextXAlignment = Enum.TextXAlignment.Left
- _00Mark.Name = "00-Mark"
- _00Mark.Parent = Frame
- _00Mark.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
- _00Mark.BorderColor3 = Color3.fromRGB(0, 0, 0)
- _00Mark.BorderSizePixel = 0
- _00Mark.Position = UDim2.new(.0294117648, 0, .0422535203, 0)
- _00Mark.Size = UDim2.new(0,13,0,13)
- _00Mark.Font = Enum.Font.SourceSans
- _00Mark.Text = ""
- _00Mark.TextColor3 = Color3.fromRGB(0, 0, 0)
- _00Mark.TextSize = 14
- UICorner_2.CornerRadius = UDim.new(1, 0)
- UICorner_2.Parent = _00Mark
- Info.Name = "Info"
- Info.Parent = _00Mark
- Info.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Info.BackgroundTransparency = 1
- Info.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Info.BorderSizePixel = 0
- Info.Position = UDim2.new(1, 0, 0, 0)
- Info.Size = UDim2.new(16, 0, 1, 0)
- Info.Font = Enum.Font.SourceSans
- Info.Text = " Close gui"
- Info.TextXAlignment = Enum.TextXAlignment.Left
- Info.TextColor3 = Color3.fromRGB(0, 0, 0)
- Info.TextScaled = true
- Info.TextSize = 14
- Info.TextWrapped = true
- UIListLayout.Parent = Frame
- UIListLayout.VerticalAlignment = Enum.VerticalAlignment.Center
- UIListLayout.VerticalFlex = Enum.UIFlexAlignment.SpaceAround
- _01Mark.Name = "01-Mark"
- _01Mark.Parent = Frame
- _01Mark.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- _01Mark.BorderColor3 = Color3.fromRGB(0, 0, 0)
- _01Mark.BorderSizePixel = 0
- _01Mark.Position = UDim2.new(.0294117648, 0, .0422535203, 0)
- _01Mark.Size = UDim2.new(0,13,0,13)
- _01Mark.Font = Enum.Font.SourceSans
- _01Mark.Text = ""
- _01Mark.TextColor3 = Color3.fromRGB(0, 0, 0)
- _01Mark.TextSize = 14
- UICorner_3.CornerRadius = UDim.new(1, 0)
- UICorner_3.Parent = _01Mark
- Info_2.Name = "Info"
- Info_2.Parent = _01Mark
- Info_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Info_2.BackgroundTransparency = 1
- Info_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Info_2.BorderSizePixel = 0
- Info_2.TextXAlignment = Enum.TextXAlignment.Left
- Info_2.Position = UDim2.new(1, 0, 0, 0)
- Info_2.Size = UDim2.new(16, 0, 1, 0)
- Info_2.Font = Enum.Font.SourceSans
- Info_2.Text = " Keep changes on reset"
- Info_2.TextColor3 = Color3.fromRGB(0, 0, 0)
- Info_2.TextScaled = true
- Info_2.TextSize = 14
- Info_2.TextWrapped = true
- _02TargetBox.PlaceholderText = _02TargetBox.PlaceholderText:gsub("%$", Key3.Name)
- _04Info.Text = _04Info.Text:gsub("%$", Key1.Name .. "+" .. Key2.Name)
- local Recurrent = false
- local Cons = {}
- local p = game:GetService("Players")
- local UIS = game:GetService("UserInputService")
- local function RemCons()
- for _, Con in Cons do
- Con:Disconnect()
- end
- Cons = {}
- end
- UIS.InputBegan:Connect(function(obj, bs)
- if bs then
- if obj.KeyCode == Key3 then
- if Display.Text then
- _02TargetBox.Text = Display.Text
- end
- end
- else
- if obj.KeyCode == Key2 and UIS:IsKeyDown(Key1) then
- Frame.Visible = not Frame.Visible
- end
- end
- end)
- _00Mark.MouseButton1Click:Connect(function()
- RemCons()
- Frame:Destroy()
- end)
- _01Mark.MouseButton1Click:Connect(function()
- Recurrent = not Recurrent
- _01Mark.BackgroundColor3 = (Recurrent and Color3.new(1,1,1)) or Color3.new(0,0,0)
- if not Recurrent then
- RemCons()
- end
- end)
- _02TargetBox:GetPropertyChangedSignal("Text"):Connect(function()
- Display.Text = ""
- if _02TargetBox.Text:len() == 0 then return end
- if _02TargetBox.Text:len() > 20 then
- _02TargetBox.Text = _02TargetBox.Text:sub(1,20)
- end
- for _, plr in p:GetPlayers() do
- if ExclFillPlr and plr == Lp then
- continue
- end
- if string.sub(plr.Name:lower(), 1, _02TargetBox.Text:len()) == _02TargetBox.Text:lower() then
- Display.Text = plr.Name
- break
- end
- end
- end)
- local function CharAlter(Plr:Player)
- for _ = 1, 40 do
- if Plr.Character then
- break
- end
- task.wait(.01)
- end
- local Char = Plr.Character
- if not Char then return end
- for _ = 1, 40 do
- if Char:FindFirstChildOfClass("Humanoid") then
- break
- end
- task.wait(.01)
- end
- local Hum:Humanoid = Char:FindFirstChildOfClass("Humanoid")
- if not Hum then return end
- Hum.DisplayName = _03AlterBox.Text
- end
- _03AlterBox:GetPropertyChangedSignal("Text"):Connect(function()
- local Player = p:FindFirstChild(_02TargetBox.Text)
- if Player then
- CharAlter(Player)
- if Recurrent then
- table.insert(Cons, Player.CharacterAdded:Connect(function()
- CharAlter(Player)
- end))
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement