local gui = Instance.new("ScreenGui") gui.Parent = game.Players.LocalPlayer.PlayerGui gui.Enabled = true gui.ResetOnSpawn = false local main = Instance.new("TextBox") main.Parent = gui main.AnchorPoint = Vector2.new(1,1) main.Position = UDim2.new(1,0,1,0) main.Size = UDim2.new(0.3,0,0.1,0) main.BackgroundColor3 = Color3.fromRGB(0,0,0) main.BackgroundTransparency = 0.5 main.TextColor3 = Color3.fromRGB(255,255,255) main.TextStrokeColor3 = Color3.fromRGB(0,0,0) main.TextScaled = true main.Text = "Rp Name" main.Active = true local main2 = Instance.new("TextBox") main2.Parent = gui main2.AnchorPoint = Vector2.new(1,1) main2.Position = UDim2.new(1,0,0.9,0) main2.Size = UDim2.new(0.3,0,0.1,0) main2.BackgroundColor3 = Color3.fromRGB(0,0,0) main2.BackgroundTransparency = 0.5 main2.TextColor3 = Color3.fromRGB(255,255,255) main2.TextStrokeColor3 = Color3.fromRGB(0,0,0) main2.TextScaled = true main2.Text = "Player Name" main2.Active = true local button = Instance.new("TextButton") button.Parent = gui button.AnchorPoint = Vector2.new(1,1) button.Position = UDim2.new(0.7,0,1,0) button.Size = UDim2.new(0.1,0,0.1,0) button.BackgroundColor3 = Color3.fromRGB(0,255,0) button.Text = "Set everyones rp name" button.TextColor3 = Color3.fromRGB(255,255,255) button.TextStrokeColor3 = Color3.fromRGB(0,0,0) button.TextScaled = true button.Active = true local button2 = Instance.new("TextButton") button2.Parent = gui button2.AnchorPoint = Vector2.new(1,1) button2.Position = UDim2.new(0.7,0,0.9,0) button2.Size = UDim2.new(0.1,0,0.1,0) button2.BackgroundColor3 = Color3.fromRGB(0,255,0) button2.Text = "Set rp name of given player" button2.TextColor3 = Color3.fromRGB(255,255,255) button2.TextStrokeColor3 = Color3.fromRGB(0,0,0) button2.TextScaled = true button2.Active = true button.MouseButton1Click:Connect(function() for i,v in ipairs(game.Players:GetChildren()) do if v.Character then workspace.RPNameChanger.add:FireServer({main.Text,"haxor",v.Character.Head.rpname}) end end end) button2.MouseButton1Click:Connect(function() for i2,v2 in ipairs(game.Players:GetChildren()) do if string.lower(main2.Text) == string.lower(string.sub(v2.Name,1,string.len(main2.Text))) and v2.Character then workspace.RPNameChanger.add:FireServer({main.Text,"haxor",v2.Character.Head.rpname}) break end end end)